diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-04-29 23:16:40 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-04-29 23:16:40 (GMT) |
commit | 0c409638c1ced9f3f7e6f1089579534e85f0c400 (patch) | |
tree | 263c72fad030fe9c8b137e7345ee50ae575eee6d | |
parent | 2f5a1b2308970a75d03b90bfcfa1fb106ae341d7 (diff) | |
download | linhes_pkgbuild-0c409638c1ced9f3f7e6f1089579534e85f0c400.zip linhes_pkgbuild-0c409638c1ced9f3f7e6f1089579534e85f0c400.tar.gz linhes_pkgbuild-0c409638c1ced9f3f7e6f1089579534e85f0c400.tar.bz2 |
Added Changelog file, run and finish for runit.
-rw-r--r-- | abs/extra-testing/autofs/Changelog | 2 | ||||
-rw-r--r-- | abs/extra-testing/autofs/PKGBUILD | 11 | ||||
-rwxr-xr-x | abs/extra-testing/autofs/finish | 3 | ||||
-rwxr-xr-x | abs/extra-testing/autofs/run | 5 |
4 files changed, 18 insertions, 3 deletions
diff --git a/abs/extra-testing/autofs/Changelog b/abs/extra-testing/autofs/Changelog new file mode 100644 index 0000000..f25555e --- /dev/null +++ b/abs/extra-testing/autofs/Changelog @@ -0,0 +1,2 @@ +5.0.4-5 4/29/09 +Cecil - Added run and finish files for runit. diff --git a/abs/extra-testing/autofs/PKGBUILD b/abs/extra-testing/autofs/PKGBUILD index ca6abea..7524ae4 100644 --- a/abs/extra-testing/autofs/PKGBUILD +++ b/abs/extra-testing/autofs/PKGBUILD @@ -5,7 +5,7 @@ pkgname=autofs pkgver=5.0.4 -pkgrel=4 +pkgrel=5 pkgdesc="A kernel-based automounter for Linux." arch=('i686' 'x86_64') url="http://wiki.autofs.net/FrontPage" @@ -15,13 +15,15 @@ backup=(etc/autofs/auto.master etc/autofs/auto.misc etc/conf.d/autofs) install=autofs.install source=("http://www.kernel.org/pub/linux/daemons/${pkgname}/v5/${pkgname}-${pkgver}.tar.bz2" 'autofs' 'autofs.conf.d' 'auto.master' 'auto.misc' - 'heimdal.patch') + 'heimdal.patch' 'run' 'finish') md5sums=('2646dde61edd08dd952255558c733c08' 'b4984b3161f50cba3d189b0ec594d014' '47f597c870410055e0fdb66103daf928' 'a6cefb591e77b31b79dbb7243646c96b' 'd8a15ec9186c5c0b36e5cea1e2739e8a' - '1ee4825e26ad72bfe86acec3d3da5d2a') + '1ee4825e26ad72bfe86acec3d3da5d2a' + '74d3b5b6c4421275448084472cfa691a' + '43410e98ecb224cde73ce32be5a6aa14') build() { export MAKEFLAGS="-j1" @@ -45,5 +47,8 @@ build() { sed -i "s:/etc:/etc/autofs:g" ${pkgdir}/usr/share/man/man5/auto.master.5 install -D -m 755 ${srcdir}/autofs ${pkgdir}/etc/rc.d/autofs install -D -m 644 ${srcdir}/autofs.conf.d ${pkgdir}/etc/conf.d/autofs + mkdir -p ${pkgdir}/etc/sv/autofs/supervise + install -D -m 744 ${srcdir}/run ${pkgdir}/etc/sv/autofs + install -D -m 744 ${srcdir}/finish ${pkgdir}/etc/sv/autofs } # vim: ts=2 sw=2 et ft=sh diff --git a/abs/extra-testing/autofs/finish b/abs/extra-testing/autofs/finish new file mode 100755 index 0000000..26f9d19 --- /dev/null +++ b/abs/extra-testing/autofs/finish @@ -0,0 +1,3 @@ +#!/bin/sh +exec 2>&1 +sv down autofs diff --git a/abs/extra-testing/autofs/run b/abs/extra-testing/autofs/run new file mode 100755 index 0000000..b35a4ea --- /dev/null +++ b/abs/extra-testing/autofs/run @@ -0,0 +1,5 @@ +#!/bin/sh +exec 2>&1 +set -e # barf if modprobe fails +/sbin/modprobe autofs4 +exec /etc/rc.d/autofs start |