summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/sysvinit-mod/PKGBUILD
diff options
context:
space:
mode:
authorNathan Harris <nharris@eoimaging.com>2009-02-11 19:42:03 (GMT)
committerNathan Harris <nharris@eoimaging.com>2009-02-11 19:42:03 (GMT)
commit9bbbabaae4af2dfeac1f9d00050e358b56ac5fa7 (patch)
treed73b42272daefa2b6971bf8763ed5568c1a173ea /abs/core-testing/sysvinit-mod/PKGBUILD
parent6f5e266635707da88c03920427347575383e0fc2 (diff)
parent09b14aa48e621e4263c095769bbd2697893eef8d (diff)
downloadlinhes_pkgbuild-9bbbabaae4af2dfeac1f9d00050e358b56ac5fa7.zip
linhes_pkgbuild-9bbbabaae4af2dfeac1f9d00050e358b56ac5fa7.tar.gz
linhes_pkgbuild-9bbbabaae4af2dfeac1f9d00050e358b56ac5fa7.tar.bz2
Merge branch 'master' of nharris@knoppmyth.net:LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/sysvinit-mod/PKGBUILD')
-rw-r--r--abs/core-testing/sysvinit-mod/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/abs/core-testing/sysvinit-mod/PKGBUILD b/abs/core-testing/sysvinit-mod/PKGBUILD
new file mode 100644
index 0000000..172ed18
--- /dev/null
+++ b/abs/core-testing/sysvinit-mod/PKGBUILD
@@ -0,0 +1,29 @@
+# Contributor: Simon Bachmann <simonbachmann@freesurf.ch>
+pkgname=sysvinit-mod
+pkgver=2.86
+pkgrel=2
+pkgdesc="Linux System V Init, with a patched killall5 to enable omission of specified pids"
+arch=('i686' 'x86_64')
+url="ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/"
+license=('GPL')
+depends=('shadow' 'util-linux' 'coreutils' 'glibc' 'awk')
+provides=('sysvinit')
+conflicts=('sysvinit')
+source=(ftp://ftp.cistron.nl/pub/people/miquels/sysvinit/sysvinit-$pkgver.tar.gz sysvinit.diff)
+md5sums=('7d5d61c026122ab791ac04c8a84db967' '9fa3c71e4a12465239135d67a8859315')
+
+build() {
+ cd $startdir/src/sysvinit-$pkgver
+ #patch killall5
+ patch -p1 < $startdir/src/sysvinit.diff || return 1
+ cp src/init.c src/init.c.backup
+ sed 's/\(.*\)\(Sending processes\)\(.*\)/\1\2 started by init\3/' \
+ src/init.c > tmp~
+ mv tmp~ src/init.c
+ mkdir -p $startdir/pkg/bin $startdir/pkg/sbin
+ mkdir -p $startdir/pkg/usr/bin
+ mkdir -p $startdir/pkg/usr/man/man5 $startdir/pkg/usr/man/man8
+ mkdir -p $startdir/pkg/usr/man/man1 $startdir/pkg/usr/include
+ make -C src || return 1
+ make -C src MANDIR=/usr/man ROOT=$startdir/pkg install
+}