summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/sysvinit/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
committerJames Meyer <James.meyer@operamail.com>2008-10-02 03:19:12 (GMT)
commit0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a (patch)
treec0aa2c0b53c317be87eacfcb77b63f53f1f415e7 /abs/core-testing/sysvinit/PKGBUILD
downloadlinhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.zip
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.gz
linhes_pkgbuild-0e2532d4e8f4eed5e047f1db54d5c03ba849ec0a.tar.bz2
initial import
Diffstat (limited to 'abs/core-testing/sysvinit/PKGBUILD')
-rw-r--r--abs/core-testing/sysvinit/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/abs/core-testing/sysvinit/PKGBUILD b/abs/core-testing/sysvinit/PKGBUILD
new file mode 100644
index 0000000..2a32da9
--- /dev/null
+++ b/abs/core-testing/sysvinit/PKGBUILD
@@ -0,0 +1,26 @@
+pkgname=sysvinit
+pkgver=2.86
+pkgrel=11
+pkgdesc="Linux System V Init"
+arch=(i686 x86_64)
+license=('GPL')
+groups=('base')
+depends=('shadow' 'util-linux' 'coreutils' 'glibc' 'awk')
+source=(ftp://ftp.cistron.nl/pub/people/miquels/$pkgname/$pkgname-$pkgver.tar.gz halt-init.patch)
+md5sums=('7d5d61c026122ab791ac04c8a84db967')
+
+build() {
+ cd $startdir/src/$pkgname-$pkgver
+ cp src/init.c src/init.c.backup
+ cp $startdir/src/halt-init.patch src/
+ patch -p0 < src/halt-init.patch
+ 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
+}