summaryrefslogtreecommitdiff
path: root/community/autofs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/autofs/PKGBUILD')
-rw-r--r--community/autofs/PKGBUILD20
1 files changed, 10 insertions, 10 deletions
diff --git a/community/autofs/PKGBUILD b/community/autofs/PKGBUILD
index a588f3448..69c6234ab 100644
--- a/community/autofs/PKGBUILD
+++ b/community/autofs/PKGBUILD
@@ -1,30 +1,30 @@
-# $Id: PKGBUILD 66461 2012-02-25 03:07:56Z lfleischer $
+# $Id: PKGBUILD 75188 2012-08-15 18:36:09Z lfleischer $
# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Dale Blount <dale@archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=autofs
-pkgver=5.0.6
-pkgrel=3
+pkgver=5.0.7
+pkgrel=1
pkgdesc='A kernel-based automounter for Linux.'
arch=('i686' 'x86_64' 'mips64el')
url='http://freshmeat.net/projects/autofs'
license=('GPL2')
-depends=('libldap' 'libxml2' 'krb5')
+depends=('libxml2')
+makedepends=('libldap' 'krb5')
+optdepends=('krb5: for LDAP support')
backup=('etc/autofs/auto.master'
'etc/autofs/auto.misc'
'etc/conf.d/autofs')
options=(!makeflags)
install='autofs.install'
source=("http://www.kernel.org/pub/linux/daemons/${pkgname}/v5/${pkgname}-${pkgver}.tar.bz2"
- "http://www.kernel.org/pub/linux/daemons/${pkgname}/v5/patches-5.0.7/${pkgname}-${pkgver}-fix-ipv6-name-for-lookup-fix.patch"
'autofs'
'autofs.conf.d'
'auto.master'
'auto.misc')
-md5sums=('44cea7f711e2290a0b50fddeda079705'
- '221bf50d6e496b22014a9a7b234fe556'
+md5sums=('bc46838dece83c02d800ff144ed9f431'
'e307bf6d2638e46eeb916cf42fe029b2'
'47f597c870410055e0fdb66103daf928'
'a6cefb591e77b31b79dbb7243646c96b'
@@ -36,10 +36,8 @@ build() {
sed -i "s:SUBDIRS = lib daemon modules man samples:SUBDIRS = lib daemon modules man:" \
Makefile.rules
- patch -p1 -i "../${pkgname}-${pkgver}-fix-ipv6-name-for-lookup-fix.patch"
-
./configure --prefix=/usr --sysconfdir=/etc/autofs --with-mapdir=/etc/autofs --without-hesiod \
- --enable-ignore-busy
+ --enable-ignore-busy --with-systemd
make
}
@@ -52,4 +50,6 @@ package() {
install -Dm0644 "${srcdir}/auto.misc" "${pkgdir}/etc/autofs/auto.misc"
install -Dm0755 "${srcdir}/autofs" "${pkgdir}/etc/rc.d/autofs"
install -Dm0644 "${srcdir}/autofs.conf.d" "${pkgdir}/etc/conf.d/autofs"
+
+ install -Dm0644 "samples/autofs.service" "${pkgdir}/usr/lib/systemd/system/autofs.service"
}