summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-11-11 19:30:47 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-11-11 19:30:47 (GMT)
commit9431f7ae609b0877b403bad9db39aed4df159229 (patch)
treeff95f8397492cb577d8c725f90cd9503d499d5a5 /abs/core-testing/runit/PKGBUILD
parentdf5646446d84f38b695f00706a57b4c851be462a (diff)
downloadlinhes_pkgbuild-9431f7ae609b0877b403bad9db39aed4df159229.zip
linhes_pkgbuild-9431f7ae609b0877b403bad9db39aed4df159229.tar.gz
linhes_pkgbuild-9431f7ae609b0877b403bad9db39aed4df159229.tar.bz2
move the runit init scripts into their own package.
Diffstat (limited to 'abs/core-testing/runit/PKGBUILD')
-rwxr-xr-xabs/core-testing/runit/PKGBUILD22
1 files changed, 9 insertions, 13 deletions
diff --git a/abs/core-testing/runit/PKGBUILD b/abs/core-testing/runit/PKGBUILD
index b9ec5f9..9890c74 100755
--- a/abs/core-testing/runit/PKGBUILD
+++ b/abs/core-testing/runit/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit
pkgver=1.8.0
-pkgrel=52
+pkgrel=56
pkgdesc="A replacement for sysvinit, and other init schemes, with service supervision"
url="http://smarden.org/runit/"
license="BSD"
@@ -34,34 +34,30 @@ build() {
install -m0755 $startdir/src/remove_service.sh $startdir/pkg/sbin
install -m0755 $startdir/src/reboot.script $startdir/pkg/sbin
install -m0755 $startdir/src/halt.script $startdir/pkg/sbin
-install -m0755 $startdir/src/poweroff.script $startdir/pkg/sbin
+ install -m0755 $startdir/src/poweroff.script $startdir/pkg/sbin
for i in `cat ../package/commands`; do
install -m0755 $i $startdir/pkg/sbin/
done
+
install -m0755 svwaitup $startdir/pkg/sbin/
install -m0755 svwaitdown $startdir/pkg/sbin/
install -m0644 ../man/*.8 $startdir/pkg/usr/man/man8
- rsync -a --exclude=.svn $startdir/runitscripts $startdir/src
- #cp -rp $startdir/runitscripts $startdir/src/
- cd $startdir/src/runitscripts
+# rsync -a --exclude=.svn $startdir/runitscripts $startdir/src
+# cd $startdir/src/runitscripts
install -d $startdir/pkg/etc/
install -d $startdir/pkg/etc/runit/
install -d $startdir/pkg/var/service
- #install -d $startdir/pkg/etc/runit/runsvdir
- #install -d $startdir/pkg/etc/runit/runsvdir/default
- #ln -s default $startdir/pkg/etc/runit/runsvdir/current
- install -m0700 1 2 3 ctrlaltdel $startdir/pkg/etc/runit
+# install -m0700 1 2 3 ctrlaltdel $startdir/pkg/etc/runit
+# install -m0755 reboot-runit halt-runit logger $startdir/pkg/sbin
- install -m0755 reboot-runit halt-runit logger $startdir/pkg/sbin
+ # install -d $startdir/pkg/etc/sv
+ # rsync -a --exclude=.svn services/* $startdir/pkg/etc/sv
- install -d $startdir/pkg/etc/sv
- rsync -a --exclude=.svn services/* $startdir/pkg/etc/sv
- #cp -R services/* $startdir/pkg/etc/sv
cd $startdir
install -d $startdir/pkg/usr/bin