diff options
Diffstat (limited to 'abs/core-testing/sysvinit')
-rw-r--r-- | abs/core-testing/sysvinit/PKGBUILD | 26 | ||||
-rw-r--r-- | abs/core-testing/sysvinit/halt-init.patch | 17 |
2 files changed, 0 insertions, 43 deletions
diff --git a/abs/core-testing/sysvinit/PKGBUILD b/abs/core-testing/sysvinit/PKGBUILD deleted file mode 100644 index 6fbb3cd..0000000 --- a/abs/core-testing/sysvinit/PKGBUILD +++ /dev/null @@ -1,26 +0,0 @@ -pkgname=sysvinit -pkgver=2.86 -pkgrel=12 -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 -} diff --git a/abs/core-testing/sysvinit/halt-init.patch b/abs/core-testing/sysvinit/halt-init.patch deleted file mode 100644 index 88eb0ce..0000000 --- a/abs/core-testing/sysvinit/halt-init.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- src/halt.c.orig 2008-08-30 17:25:02.000000000 +0000 -+++ src/halt.c 2008-08-30 18:10:29.000000000 +0000 -@@ -186,6 +186,14 @@ - if (!strcmp(progname, "reboot")) do_reboot = 1; - if (!strcmp(progname, "poweroff")) do_poweroff = 1; - -+ if (!strcmp(progname, "reboot.init")) do_reboot = 1; -+ if (!strcmp(progname, "poweroff.init")) do_poweroff = 1; -+ -+ //fprintf(stderr, "%d: do_reboot \n ", do_reboot); -+ //fprintf(stderr, "%d: do_poweroff \n ", do_poweroff); -+ //fprintf(stderr, "%s: \n", progname); -+ //do_nothing = 1; -+ - /* - * Get flags - */ |