aboutsummaryrefslogtreecommitdiffstats
path: root/testing/autofs
diff options
context:
space:
mode:
authorHenrik Riomar <henrik.riomar@gmail.com>2019-03-21 22:11:17 +0100
committerHenrik Riomar <henrik.riomar@gmail.com>2019-03-21 23:01:57 +0100
commit92890fbdb0c533394819d0c25484ad7d88bf4e35 (patch)
tree8eb3223f166b795e11aca3e0d1518b06e269301a /testing/autofs
parent1b5e1a72021e783153d1a6a6d132a901881e6ae9 (diff)
downloadaports-92890fbdb0c533394819d0c25484ad7d88bf4e35.tar.bz2
aports-92890fbdb0c533394819d0c25484ad7d88bf4e35.tar.xz
testing/autofs: misc fixes
Clarify license, and some minor fixes.
Diffstat (limited to 'testing/autofs')
-rw-r--r--testing/autofs/APKBUILD9
-rw-r--r--testing/autofs/autofs.initd6
2 files changed, 8 insertions, 7 deletions
diff --git a/testing/autofs/APKBUILD b/testing/autofs/APKBUILD
index 7dd205aeb7..354ab1b642 100644
--- a/testing/autofs/APKBUILD
+++ b/testing/autofs/APKBUILD
@@ -2,14 +2,15 @@
# Maintainer: Alex Laskin <alex@lask.in>
pkgname=autofs
pkgver=5.1.4
-pkgrel=0
+pkgrel=1
pkgdesc="A kernel-based automounter for Linux"
url="https://www.kernel.org/pub/linux/daemons/autofs/"
arch="all"
-license="GPL-2.0-only"
+license="GPL-2.0-or-later"
depends=""
-makedepends="linux-headers automake flex bison rpcgen libtirpc-dev libnfs-dev"
+makedepends="linux-headers automake flex bison rpcgen libtirpc-dev libnfs-dev coreutils"
subpackages="$pkgname-doc $pkgname-openrc"
+options="!check" # no test suite provided
source="
https://www.kernel.org/pub/linux/daemons/${pkgname}/v5/${pkgname}-${pkgver}.tar.xz
autofs.initd
@@ -27,7 +28,7 @@ build() {
--without-hesiod \
--with-libtirpc \
--enable-ignore-busy
- make -j8
+ make
}
check() {
diff --git a/testing/autofs/autofs.initd b/testing/autofs/autofs.initd
index 832e00bac0..c5ea208666 100644
--- a/testing/autofs/autofs.initd
+++ b/testing/autofs/autofs.initd
@@ -2,12 +2,12 @@
name=${RC_SVCNAME}
+pidfile="/run/${RC_SVCNAME}.pid"
+
command="/usr/sbin/automount"
-command_args="$automount_opts"
+command_args="$automount_opts --pid-file $pidfile"
command_background="yes"
-pidfile="/run/${RC_SVCNAME}.pid"
-
depend() {
need net
after firewall