[arch-commits] Commit in autofs/trunk (PKGBUILD)

Lukas Fleischer lfleischer at archlinux.org
Fri Apr 13 05:31:51 UTC 2018


    Date: Friday, April 13, 2018 @ 05:31:50
  Author: lfleischer
Revision: 316149

upgpkg: autofs 5.1.4-2

Fix FS#58101 and FS#58103.

Modified:
  autofs/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-12 22:51:26 UTC (rev 316148)
+++ PKGBUILD	2018-04-13 05:31:50 UTC (rev 316149)
@@ -2,16 +2,17 @@
 # Contributor: Andrea Scarpino <andrea at archlinux.org>
 # Contributor: Dale Blount <dale at archlinux.org>
 # Contributor: Manolis Tzanidakis
+# Contributor: Leonid Isaev
 
 pkgname=autofs
 pkgver=5.1.4
-pkgrel=1
-pkgdesc='A kernel-based automounter for Linux.'
+pkgrel=2
+pkgdesc='A kernel-based automounter for Linux'
 arch=('x86_64')
 url='https://www.kernel.org/pub/linux/daemons/autofs/'
 license=('GPL2')
 depends=('libxml2')
-makedepends=('libldap' 'krb5' 'kmod' 'sssd' '')
+makedepends=('libldap' 'krb5' 'kmod')
 optdepends=('krb5: for LDAP support'
             'sssd: for SSSD integration')
 backup=('etc/autofs/auto.master'
@@ -21,7 +22,6 @@
         'etc/autofs/autofs.conf'
         'etc/autofs/autofs_ldap_auth.conf'
         'etc/default/autofs')
-options=(!makeflags)
 source=("https://www.kernel.org/pub/linux/daemons/${pkgname}/v5/${pkgname}-${pkgver}.tar."{xz,sign})
 sha256sums=('8fce30ee51ffd528fe1a4e8374ef57f43367e1f123030e175fb1b1cf15bc1722'
             'SKIP')
@@ -37,9 +37,15 @@
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
 
-  export CPP=/usr/bin/cpp
-  ./configure --prefix=/usr --sysconfdir=/etc/autofs --sbindir=/usr/bin --with-mapdir=/etc/autofs \
-    --without-hesiod --enable-ignore-busy --with-systemd
+  ./configure --prefix=/usr \
+	--sysconfdir=/etc/autofs \
+	--sbindir=/usr/bin \
+	--with-mapdir=/etc/autofs \
+	--with-confdir=/etc/default \
+	--without-hesiod \
+	--enable-ignore-busy \
+	--with-libtirpc \
+	--with-systemd
   make
 }
 
@@ -47,6 +53,7 @@
   cd "${srcdir}/${pkgname}-${pkgver}"
 
   make INSTALLROOT="${pkgdir}" install
+
   rm -r "$pkgdir/run"
   install -dm755 "$pkgdir/etc/autofs/auto.master.d"
 }



More information about the arch-commits mailing list