diff options
author | Alex Laskin <alex@lask.in> | 2018-06-15 22:47:39 +0300 |
---|---|---|
committer | Henrik Riomar <henrik.riomar@gmail.com> | 2019-03-21 22:05:44 +0100 |
commit | 1b5e1a72021e783153d1a6a6d132a901881e6ae9 (patch) | |
tree | c74c547e371d5b0011c12e3d5aeee5a4555eb12f /testing/autofs/APKBUILD | |
parent | a3b3a8ec3945c2c16fcc210aad49e02c12413be6 (diff) | |
download | aports-1b5e1a72021e783153d1a6a6d132a901881e6ae9.tar.bz2 aports-1b5e1a72021e783153d1a6a6d132a901881e6ae9.tar.xz |
testing/autofs: new aport
A kernel-based automounter for Linux
Diffstat (limited to 'testing/autofs/APKBUILD')
-rw-r--r-- | testing/autofs/APKBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/testing/autofs/APKBUILD b/testing/autofs/APKBUILD new file mode 100644 index 0000000000..7dd205aeb7 --- /dev/null +++ b/testing/autofs/APKBUILD @@ -0,0 +1,52 @@ +# Contributor: Alex Laskin <alex@lask.in> +# Maintainer: Alex Laskin <alex@lask.in> +pkgname=autofs +pkgver=5.1.4 +pkgrel=0 +pkgdesc="A kernel-based automounter for Linux" +url="https://www.kernel.org/pub/linux/daemons/autofs/" +arch="all" +license="GPL-2.0-only" +depends="" +makedepends="linux-headers automake flex bison rpcgen libtirpc-dev libnfs-dev" +subpackages="$pkgname-doc $pkgname-openrc" +source=" + https://www.kernel.org/pub/linux/daemons/${pkgname}/v5/${pkgname}-${pkgver}.tar.xz + autofs.initd + autofs.confd + 10-glibc.patch + " + +build() { + cd "$builddir" + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc/autofs \ + --with-mapdir=/etc/autofs \ + --with-confdir=/etc/conf.d \ + --without-hesiod \ + --with-libtirpc \ + --enable-ignore-busy + make -j8 +} + +check() { + cd "$builddir" + daemon/automount -V +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + + install -m755 -D "$srcdir"/$pkgname.initd \ + "$pkgdir"/etc/init.d/$pkgname + + install -m644 -D "$srcdir"/$pkgname.confd \ + "$pkgdir"/etc/conf.d/$pkgname +} + +sha512sums="1ef48800a1e44d6bf7048923109f3b8299ef266ff0fbaf5f979c32f42c6c5e28620c1876f64b9d913fddb69244ff83226c01c666401ff6271dd6b53d31860589 autofs-5.1.4.tar.xz +a45c66cbae242b0e446716a98bd84db93609fab442b64fab668e5087440d2b7145d89010f5f1d7453c3c5142d21a4849802a6d0f60c0f7961f9cec899a44a766 autofs.initd +74884b94d8c5dc72579c9c0c9f13c8918ee0babe6fc1e6352bb79cfaf6f5ce3daa87a9b2ea2f34a4600c93a971b329aa0892785fe2efd42829fb7953a6130dd7 autofs.confd +c4edd75443543aa06b7741c2ee4907718d21e791ea70abc7b2b7b8413a7a82a663a3b7ef7bad1661a5d31aab86cc934cba2b4bd0803e502f7db4e73d374adf64 10-glibc.patch" |