diff options
author | Antonio Rojas | 2021-05-08 08:58:52 +0000 |
---|---|---|
committer | Antonio Rojas | 2021-05-08 08:58:52 +0000 |
commit | dff3f6a818b807b1e136165a41f659dfe9482945 (patch) | |
tree | 92430c24a13aacadfccc0798d365955171182e15 | |
download | aur-dff3f6a818b807b1e136165a41f659dfe9482945.tar.gz |
Dropped from repos
-rw-r--r-- | .SRCINFO | 32 | ||||
-rw-r--r-- | PKGBUILD | 58 |
2 files changed, 90 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b12b25e4cdcb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,32 @@ +pkgbase = autofs + pkgdesc = A kernel-based automounter for Linux + pkgver = 5.1.7 + pkgrel = 1 + url = https://www.kernel.org/pub/linux/daemons/autofs/ + arch = x86_64 + license = GPL2 + makedepends = libldap + makedepends = krb5 + makedepends = kmod + makedepends = sssd + makedepends = libnsl + makedepends = rpcsvc-proto + makedepends = systemd + depends = libxml2 + optdepends = krb5: for LDAP support + optdepends = sssd: for SSSD integration + backup = etc/autofs/auto.master + backup = etc/autofs/auto.misc + backup = etc/autofs/auto.net + backup = etc/autofs/auto.smb + backup = etc/autofs/autofs.conf + backup = etc/autofs/autofs_ldap_auth.conf + backup = etc/default/autofs + source = https://www.kernel.org/pub/linux/daemons/autofs/v5/autofs-5.1.7.tar.xz + source = https://www.kernel.org/pub/linux/daemons/autofs/v5/autofs-5.1.7.tar.sign + validpgpkeys = CD0A6E3CBB6768800B0736A8E7677380F54FD8A9 + sha256sums = a36b268611b79b07051749870ba540b139938efc84bc0293244c483e94f9ced7 + sha256sums = SKIP + +pkgname = autofs + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..1c2572298dff --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,58 @@ +# Maintainer: Lukas Fleischer <lfleischer@archlinux.org> +# Contributor: Andrea Scarpino <andrea@archlinux.org> +# Contributor: Dale Blount <dale@archlinux.org> +# Contributor: Manolis Tzanidakis +# Contributor: Leonid Isaev + +pkgname=autofs +pkgver=5.1.7 +pkgrel=1 +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' 'libnsl' 'rpcsvc-proto' 'systemd') +optdepends=('krb5: for LDAP support' + 'sssd: for SSSD integration') +backup=('etc/autofs/auto.master' + 'etc/autofs/auto.misc' + 'etc/autofs/auto.net' + 'etc/autofs/auto.smb' + 'etc/autofs/autofs.conf' + 'etc/autofs/autofs_ldap_auth.conf' + 'etc/default/autofs') +source=("https://www.kernel.org/pub/linux/daemons/${pkgname}/v5/${pkgname}-${pkgver}.tar."{xz,sign}) +sha256sums=('a36b268611b79b07051749870ba540b139938efc84bc0293244c483e94f9ced7' + 'SKIP') +validpgpkeys=('CD0A6E3CBB6768800B0736A8E7677380F54FD8A9') # Ian Kent + +prepare() { + cd "${srcdir}/${pkgname}-${pkgver}" + + 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 +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + ./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 +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + + make INSTALLROOT="${pkgdir}" install install_samples + + install -dm755 "$pkgdir/etc/autofs/auto.master.d" +} |