diff options
Diffstat (limited to 'community/autofs/PKGBUILD')
-rw-r--r-- | community/autofs/PKGBUILD | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/community/autofs/PKGBUILD b/community/autofs/PKGBUILD index f6cfa98e9..d1be9b8cd 100644 --- a/community/autofs/PKGBUILD +++ b/community/autofs/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 103218 2013-12-30 14:30:57Z lfleischer $ +# $Id: PKGBUILD 103697 2014-01-10 07:48:01Z bgyorgy $ # Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> # Contributor: Andrea Scarpino <andrea@archlinux.org> # Contributor: Dale Blount <dale@archlinux.org> @@ -6,7 +6,7 @@ pkgname=autofs pkgver=5.0.8 -pkgrel=1 +pkgrel=2 pkgdesc='A kernel-based automounter for Linux.' arch=('i686' 'x86_64' 'mips64el') url='http://freshmeat.net/projects/autofs' @@ -14,15 +14,24 @@ license=('GPL2') depends=('libxml2') makedepends=('libldap' 'krb5' 'kmod') optdepends=('krb5: for LDAP support') -backup=('etc/default/autofs' - 'etc/autofs/auto.master' - 'etc/autofs/auto.misc') +backup=('etc/autofs/auto.master' + 'etc/autofs/auto.misc' + 'etc/autofs/auto.net' + 'etc/autofs/auto.smb' + 'etc/autofs/autofs_ldap_auth.conf' + 'etc/default/autofs') options=(!makeflags) -source=("http://www.kernel.org/pub/linux/daemons/${pkgname}/v5/${pkgname}-${pkgver}.tar.xz") -sha256sums=('32c41fb4e3439f18400468e84dc82fbbd4b14156bef6b9a7f09196ecd9299d52') +source=("http://www.kernel.org/pub/linux/daemons/${pkgname}/v5/${pkgname}-${pkgver}.tar.xz" + "git-fixes.patch") +sha256sums=('32c41fb4e3439f18400468e84dc82fbbd4b14156bef6b9a7f09196ecd9299d52' + '09c41a73db6a352cb04b51795591e5ae1c4a3fff37257fc8bb117020fa0e2724') prepare() { cd "${srcdir}/${pkgname}-${pkgver}" + + # Apply fixes from git + patch -Np1 -i "${srcdir}/git-fixes.patch" + sed -i -e 's|/etc/auto.misc|/etc/autofs/auto.misc|' \ -e 's|/etc/auto.master.d|/etc/autofs/auto.master.d|' samples/auto.master } |