1 |
commit: 43058137249b79b215d14190f62a5d66f14de21f |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 3 21:57:25 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 3 21:57:25 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43058137 |
7 |
|
8 |
net-fs/nfs-utils: Fix sasl/mit-krb5 automagic |
9 |
|
10 |
Closes: https://bugs.gentoo.org/810592 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
net-fs/nfs-utils/nfs-utils-2.5.4-r1.ebuild | 15 +++++++++++++-- |
14 |
1 file changed, 13 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/net-fs/nfs-utils/nfs-utils-2.5.4-r1.ebuild b/net-fs/nfs-utils/nfs-utils-2.5.4-r1.ebuild |
17 |
index 09b5abbe4c3..414117f1f15 100644 |
18 |
--- a/net-fs/nfs-utils/nfs-utils-2.5.4-r1.ebuild |
19 |
+++ b/net-fs/nfs-utils/nfs-utils-2.5.4-r1.ebuild |
20 |
@@ -19,7 +19,7 @@ fi |
21 |
|
22 |
LICENSE="GPL-2" |
23 |
SLOT="0" |
24 |
-IUSE="caps ipv6 junction kerberos ldap +libmount nfsdcld +nfsidmap +nfsv4 nfsv41 selinux tcpd +uuid" |
25 |
+IUSE="caps ipv6 junction kerberos ldap +libmount nfsdcld +nfsidmap +nfsv4 nfsv41 sasl selinux tcpd +uuid" |
26 |
REQUIRED_USE="kerberos? ( nfsv4 )" |
27 |
RESTRICT="test" #315573 |
28 |
|
29 |
@@ -34,7 +34,13 @@ DEPEND=" |
30 |
>=net-nds/rpcbind-0.2.4 |
31 |
sys-fs/e2fsprogs |
32 |
caps? ( sys-libs/libcap ) |
33 |
- ldap? ( net-nds/openldap ) |
34 |
+ ldap? ( |
35 |
+ net-nds/openldap |
36 |
+ sasl? ( |
37 |
+ app-crypt/mit-krb5 |
38 |
+ dev-libs/cyrus-sasl:2 |
39 |
+ ) |
40 |
+ ) |
41 |
libmount? ( sys-apps/util-linux ) |
42 |
nfsv4? ( |
43 |
dev-libs/libevent:= |
44 |
@@ -88,6 +94,11 @@ src_prepare() { |
45 |
src_configure() { |
46 |
export libsqlite3_cv_is_recent=yes # Our DEPEND forces this. |
47 |
export ac_cv_header_keyutils_h=$(usex nfsidmap) |
48 |
+ |
49 |
+ # SASL is consumed in a purely automagic way |
50 |
+ export ac_cv_header_sasl_h=no |
51 |
+ export ac_cv_header_sasl_sasl_h=$(usex sasl) |
52 |
+ |
53 |
local myeconfargs=( |
54 |
--disable-static |
55 |
--with-statedir="${EPREFIX}"/var/lib/nfs |