summaryrefslogtreecommitdiff
path: root/repo/util
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-22 17:47:09 +0100
committerdavidovski <david@davidovski.xyz>2022-05-22 17:47:09 +0100
commit79062a39e9bcb9731adbacd0bd9bcd0b59d19d0a (patch)
treef67d3b58f0c4387e7248967c491442afcee0cd06 /repo/util
parent2f6c333a5bcef47d9fee59f180fa827cb24290d4 (diff)
fixes to allow for full build
Diffstat (limited to 'repo/util')
-rw-r--r--repo/util/fmt/fmt.xibuild17
-rw-r--r--repo/util/lvm2/device-mapper.xibuild (renamed from repo/util/llvm2/device-mapper.xibuild)0
-rw-r--r--repo/util/lvm2/dmeventd.initd (renamed from repo/util/llvm2/dmeventd.initd)0
-rw-r--r--repo/util/lvm2/fix-stdio-usage.patch (renamed from repo/util/llvm2/fix-stdio-usage.patch)0
-rw-r--r--repo/util/lvm2/lvm.confd (renamed from repo/util/llvm2/lvm.confd)0
-rw-r--r--repo/util/lvm2/lvm.initd (renamed from repo/util/llvm2/lvm.initd)0
-rw-r--r--repo/util/lvm2/lvm2.xibuild (renamed from repo/util/llvm2/llvm2.xibuild)3
-rw-r--r--repo/util/lvm2/mallinfo.patch (renamed from repo/util/llvm2/mallinfo.patch)0
-rw-r--r--repo/util/lvm2/mlockall-default-config.patch (renamed from repo/util/llvm2/mlockall-default-config.patch)0
-rw-r--r--repo/util/util-linux/util-linux.xibuild2
10 files changed, 20 insertions, 2 deletions
diff --git a/repo/util/fmt/fmt.xibuild b/repo/util/fmt/fmt.xibuild
new file mode 100644
index 0000000..5c17a60
--- /dev/null
+++ b/repo/util/fmt/fmt.xibuild
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+MAKEDEPS="make"
+DEPS="musl sh"
+
+PKG_VER=0.8.6
+SOURCE=http://landley.net/toybox/downloads/toybox-$PKG_VER.tar.gz
+DESC="fmt from toybox"
+
+build () {
+ ./configure
+ make fmt
+}
+
+package () {
+ install -Dm755 fmt $PKG_DEST/usr/bin/
+}
diff --git a/repo/util/llvm2/device-mapper.xibuild b/repo/util/lvm2/device-mapper.xibuild
index 8db667b..8db667b 100644
--- a/repo/util/llvm2/device-mapper.xibuild
+++ b/repo/util/lvm2/device-mapper.xibuild
diff --git a/repo/util/llvm2/dmeventd.initd b/repo/util/lvm2/dmeventd.initd
index c46f8ba..c46f8ba 100644
--- a/repo/util/llvm2/dmeventd.initd
+++ b/repo/util/lvm2/dmeventd.initd
diff --git a/repo/util/llvm2/fix-stdio-usage.patch b/repo/util/lvm2/fix-stdio-usage.patch
index 5ac99fd..5ac99fd 100644
--- a/repo/util/llvm2/fix-stdio-usage.patch
+++ b/repo/util/lvm2/fix-stdio-usage.patch
diff --git a/repo/util/llvm2/lvm.confd b/repo/util/lvm2/lvm.confd
index 9d150f6..9d150f6 100644
--- a/repo/util/llvm2/lvm.confd
+++ b/repo/util/lvm2/lvm.confd
diff --git a/repo/util/llvm2/lvm.initd b/repo/util/lvm2/lvm.initd
index db6adbe..db6adbe 100644
--- a/repo/util/llvm2/lvm.initd
+++ b/repo/util/lvm2/lvm.initd
diff --git a/repo/util/llvm2/llvm2.xibuild b/repo/util/lvm2/lvm2.xibuild
index cb364ec..eff7a0f 100644
--- a/repo/util/llvm2/llvm2.xibuild
+++ b/repo/util/lvm2/lvm2.xibuild
@@ -1,6 +1,6 @@
#!/bin/sh
-NAME="llvm2"
+NAME="lvm2"
DESC="Logical Volume Manager 2 utilities"
MAKEDEPS="make "
@@ -12,6 +12,7 @@ ADDITIONAL="mlockall-default-config.patch mallinfo.patch lvm.initd lvm.confd fix
prepare () {
apply_patches
+ autoreconf -fi
}
build () {
diff --git a/repo/util/llvm2/mallinfo.patch b/repo/util/lvm2/mallinfo.patch
index 471a6b2..471a6b2 100644
--- a/repo/util/llvm2/mallinfo.patch
+++ b/repo/util/lvm2/mallinfo.patch
diff --git a/repo/util/llvm2/mlockall-default-config.patch b/repo/util/lvm2/mlockall-default-config.patch
index 305ddee..305ddee 100644
--- a/repo/util/llvm2/mlockall-default-config.patch
+++ b/repo/util/lvm2/mlockall-default-config.patch
diff --git a/repo/util/util-linux/util-linux.xibuild b/repo/util/util-linux/util-linux.xibuild
index 327d0db..92a6f38 100644
--- a/repo/util/util-linux/util-linux.xibuild
+++ b/repo/util/util-linux/util-linux.xibuild
@@ -12,7 +12,7 @@ build () {
--libdir=/usr/lib \
--docdir=/usr/share/doc/util-linux-$PKG_VER\
--disable-static \
- runstatedir=/run
+ --runstatedir=/run
make
}