summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Timo Gurr <tgurr@exherbo.org> 2018-10-31 18:35:13 +0100
committerAvatar Timo Gurr <tgurr@exherbo.org> 2018-10-31 18:38:02 +0100
commit334376a4058721bb7f6e368227704861609dd13e (patch)
tree6634f2eb1e18a7078cd50c975e1a8024ef67bd57
parent373fb704d3293e6bfe6ad5c881b9cfd83925fad8 (diff)
downloadnet-334376a4058721bb7f6e368227704861609dd13e.tar.gz
net-334376a4058721bb7f6e368227704861609dd13e.tar.xz
autofs: version bump to 5.1.5
Borrow some defaults from fedora, add libtirpc for IPv6 support.
-rw-r--r--packages/net-fs/autofs/autofs-5.1.5.exheres-0 (renamed from packages/net-fs/autofs/autofs-5.1.4-r1.exheres-0)21
1 files changed, 16 insertions, 5 deletions
diff --git a/packages/net-fs/autofs/autofs-5.1.4-r1.exheres-0 b/packages/net-fs/autofs/autofs-5.1.5.exheres-0
index a4d9f7f..3653315 100644
--- a/packages/net-fs/autofs/autofs-5.1.4-r1.exheres-0
+++ b/packages/net-fs/autofs/autofs-5.1.5.exheres-0
@@ -5,6 +5,7 @@
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 ] ]
require openrc-service systemd-service
+require option-renames [ renames=[ 'openldap ldap' ] ]
SUMMARY="Kernel based automounter"
@@ -15,35 +16,45 @@ SLOT="0"
PLATFORMS="~amd64 ~x86"
MYOPTIONS="
- openldap
+ ldap
sasl [[ requires = openldap ]]
+ systemd
"
DEPENDENCIES="
build:
virtual/pkg-config
build+run:
+ net-libs/libtirpc
sys-apps/util-linux [[ note = [ for mount utils ] ]]
- openldap? ( net-directory/openldap )
+ ldap? ( net-directory/openldap )
sasl? (
app-crypt/krb5
- dev-libs/libxml2
+ dev-libs/libxml2:2.0
)
+ systemd? ( sys-apps/systemd )
"
DEFAULT_SRC_CONFIGURE_PARAMS=(
+ --enable-fedfs
+ --enable-force-shutdown
+ --enable-no-canon-umount
--enable-ignore-busy
+ --disable-mount-locking
--with-confdir=/etc/autofs
- --with-systemd="${SYSTEMDSYSTEMUNITDIR}"
+ --with-libtirpc
)
DEFAULT_SRC_CONFIGURE_OPTION_WITHS=(
- openldap
+ 'ldap openldap'
sasl
+ systemd
)
DEFAULT_SRC_COMPILE_PARAMS=( DONTSTRIP=1 )
+DEFAULT_SRC_INSTALL_PARAMS=( systemddir="${SYSTEMDSYSTEMUNITDIR}" install_samples )
+
src_prepare() {
# Wants to use cpp directly otherwise
edo sed -i 's:^RPCGEN = .*$:& -Y /usr/bin:' Makefile.conf.in