summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/autofs/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verison.net>2010-07-16 01:27:59 (GMT)
committerMichael Hanson <hansonorders@verison.net>2010-07-16 01:27:59 (GMT)
commit677bbf9bc1a7b1e638c33d2683b367d3b0fd5159 (patch)
treed0a5c2f68206846798a0c4eebbdc48dddab0373c /abs/extra-testing/autofs/PKGBUILD
parent1520f89cb8cad4eb6ba5685bdd5fb14470acf992 (diff)
parent494d57bcc659282c41e99606b0496163dcd9b35d (diff)
downloadlinhes_pkgbuild-677bbf9bc1a7b1e638c33d2683b367d3b0fd5159.zip
linhes_pkgbuild-677bbf9bc1a7b1e638c33d2683b367d3b0fd5159.tar.gz
linhes_pkgbuild-677bbf9bc1a7b1e638c33d2683b367d3b0fd5159.tar.bz2
Merge branch 'master' of mihanson@knoppmyth.net:LinHES-PKGBUILD
Diffstat (limited to 'abs/extra-testing/autofs/PKGBUILD')
-rwxr-xr-xabs/extra-testing/autofs/PKGBUILD43
1 files changed, 23 insertions, 20 deletions
diff --git a/abs/extra-testing/autofs/PKGBUILD b/abs/extra-testing/autofs/PKGBUILD
index a06e83d..ac317d2 100755
--- a/abs/extra-testing/autofs/PKGBUILD
+++ b/abs/extra-testing/autofs/PKGBUILD
@@ -1,21 +1,21 @@
-# $Id: PKGBUILD 36638 2009-04-26 19:00:46Z andrea $
+# $Id: PKGBUILD 75323 2010-04-01 10:16:24Z allan $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Dale Blount <dale@archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=autofs
-pkgver=5.0.4
-pkgrel=6
-pkgdesc="A kernel-based automounter for Linux."
+pkgver=5.0.5
+pkgrel=1
+pkgdesc="A kernel-based automounter for Linux"
arch=('i686' 'x86_64')
url="http://wiki.autofs.net/FrontPage"
license=('GPL2')
depends=('libldap' 'libxml2' 'heimdal')
backup=(etc/autofs/auto.master etc/autofs/auto.misc etc/conf.d/autofs)
-install=autofs.install
+install=${pkgname}.install
source=("http://www.kernel.org/pub/linux/daemons/${pkgname}/v5/${pkgname}-${pkgver}.tar.bz2"
'autofs.conf.d' 'auto.master' 'auto.misc'
- 'heimdal.patch' 'run' 'log.run')
+ 'heimdal.patch' 'run' 'log.run' 'finish')
build() {
export MAKEFLAGS="-j1"
@@ -29,26 +29,29 @@ build() {
--with-mapdir=/etc/autofs \
--without-hesiod
make || return 1
+
+ sed -i "s:/etc:/etc/autofs:g" man/auto.master.5
+}
+
+package(){
+ cd ${srcdir}/${pkgname}-${pkgver}
make INSTALLROOT=${pkgdir} install
- local conf_file
- for conf_file in auto.{master,misc}; do
- install -D -m 644 ${srcdir}/$conf_file ${pkgdir}/etc/autofs/$conf_file
- done
-
- sed -i "s:/etc:/etc/autofs:g" ${pkgdir}/usr/share/man/man5/auto.master.5
- install -D -m 644 ${srcdir}/autofs.conf.d ${pkgdir}/etc/conf.d/autofs
+ install -Dm644 ${srcdir}/auto.master ${pkgdir}/etc/autofs/auto.master || return 1
+ install -Dm644 ${srcdir}/auto.misc ${pkgdir}/etc/autofs/auto.misc || return 1
+ install -Dm644 ${srcdir}/autofs.conf.d ${pkgdir}/etc/conf.d/autofs || return 1
mkdir -p ${pkgdir}/etc/sv/autofs/supervise
mkdir -p ${pkgdir}/etc/sv/autofs/log/supervise
- install -D -m 744 ${srcdir}/run ${pkgdir}/etc/sv/autofs
- install -D -m 744 ${srcdir}/log.run ${pkgdir}/etc/sv/autofs/log/run
+ install -Dm744 ${srcdir}/run ${pkgdir}/etc/sv/autofs || return 1
+ install -Dm744 ${srcdir}/finish ${pkgdir}/etc/sv/autofs || return 1
+ install -Dm744 ${srcdir}/log.run ${pkgdir}/etc/sv/autofs/log/run || return 1
}
-# vim: ts=2 sw=2 et ft=sh
-md5sums=('2646dde61edd08dd952255558c733c08'
+md5sums=('a1d262cb6ebef0c2dd0fe22232fb3d5a'
'47f597c870410055e0fdb66103daf928'
'a6cefb591e77b31b79dbb7243646c96b'
'd8a15ec9186c5c0b36e5cea1e2739e8a'
- '1ee4825e26ad72bfe86acec3d3da5d2a'
- 'de5341a56e0c6c5ec89ed361f9107b3b'
- '518e277f960a1af837ba6c5cca13c615')
+ 'efd46b6406b940cb48f7c6197790fb8e'
+ 'f2048c24da7fa1421c2e8b0b90fb17f9'
+ '518e277f960a1af837ba6c5cca13c615'
+ '5b30948886b6d71287652d784fccf1fb')