]> git.armaanb.net Git - asd-repo.git/commitdiff
baseinit: new package at 1.0.4
authorArmaan Bhojwani <me@armaanb.net>
Tue, 29 Jun 2021 03:05:23 +0000 (23:05 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Tue, 29 Jun 2021 19:59:47 +0000 (15:59 -0400)
baseinit/build [new file with mode: 0755]
baseinit/checksums [new file with mode: 0644]
baseinit/sources [new file with mode: 0644]
baseinit/version [new file with mode: 0644]

diff --git a/baseinit/build b/baseinit/build
new file mode 100755 (executable)
index 0000000..dc21c62
--- /dev/null
@@ -0,0 +1,13 @@
+#!/bin/sh -ef
+
+sed -i 's/IFS=\./IFS='\'' '\''/g' lib/init/rc.boot
+
+mkdir -p "$1/usr/bin"
+
+cp -R etc "$1"
+cp -R lib "$1/usr/lib"
+
+for bin in kpow kall; do
+    "${CC:-cc}" -o "$1/usr/bin/$bin" "bin/$bin.c" $CFLAGS -static
+    install -Dm644 "bin/$bin.c" "$1/usr/share/doc/kiss/init/$bin.c"
+done
diff --git a/baseinit/checksums b/baseinit/checksums
new file mode 100644 (file)
index 0000000..67c13be
--- /dev/null
@@ -0,0 +1 @@
+2dbb2141cfd1b24d604ccdac4ee9422987c74efac75c05631bbb66d2d646eb0d
diff --git a/baseinit/sources b/baseinit/sources
new file mode 100644 (file)
index 0000000..f13d389
--- /dev/null
@@ -0,0 +1 @@
+https://github.com/kiss-community/init/archive/1.0.4.tar.gz
diff --git a/baseinit/version b/baseinit/version
new file mode 100644 (file)
index 0000000..b4b1ce2
--- /dev/null
@@ -0,0 +1 @@
+1.0.4 1