summaryrefslogtreecommitdiffstats
path: root/abs/core/runit/PKGBUILD
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-09-26 01:57:08 (GMT)
commit7b29169fff9e7c624890c5edffe85def8a293136 (patch)
tree47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/runit/PKGBUILD
parentc491dea779dac29afff3578bf8245943817c2339 (diff)
downloadlinhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz
linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2
LinHES 6.01.00
Diffstat (limited to 'abs/core/runit/PKGBUILD')
-rwxr-xr-xabs/core/runit/PKGBUILD27
1 files changed, 12 insertions, 15 deletions
diff --git a/abs/core/runit/PKGBUILD b/abs/core/runit/PKGBUILD
index 4065ae6..90bb57e2 100755
--- a/abs/core/runit/PKGBUILD
+++ b/abs/core/runit/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit
pkgver=1.8.0
-pkgrel=51
+pkgrel=62
pkgdesc="A replacement for sysvinit, and other init schemes, with service supervision"
url="http://smarden.org/runit/"
license="BSD"
@@ -10,7 +10,7 @@ conflicts=()
replaces=()
backup=()
install=runit.install
-source=(http://smarden.org/runit/$pkgname-$pkgver.tar.gz add_service.sh remove_service.sh halt.script reboot.script poweroff.script)
+source=(http://smarden.org/runit/$pkgname-$pkgver.tar.gz add_service.sh remove_service.sh halt.script reboot.script poweroff.script shutdown.script)
arch=('i686')
build() {
@@ -34,36 +34,33 @@ 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
+ install -m0755 $startdir/src/shutdown.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
- install -m0755 fbd $startdir/pkg/usr/bin/fbd
+
}