Line
Link Here
|
0 |
-- net-fs/nfs-utils/nfs-utils-2.6.1.ebuild 2022-05-07 20:40:33.000000000 +0200 |
0 |
++ net-fs/nfs-utils/nfs-utils-2.6.1.ebuild 2022-06-01 15:12:19.011372063 +0200 |
Lines 19-25
Link Here
|
19 |
|
19 |
|
20 |
LICENSE="GPL-2" |
20 |
LICENSE="GPL-2" |
21 |
SLOT="0" |
21 |
SLOT="0" |
22 |
IUSE="caps junction kerberos ldap +libmount nfsdcld +nfsidmap +nfsv4 nfsv41 sasl selinux tcpd +uuid" |
22 |
IUSE="caps junction kerberos ldap +libmount nfsdcld +nfsidmap +nfsv4 nfsv41 nis sasl selinux tcpd +uuid" |
23 |
REQUIRED_USE="kerberos? ( nfsv4 )" |
23 |
REQUIRED_USE="kerberos? ( nfsv4 )" |
24 |
RESTRICT="test" #315573 |
24 |
RESTRICT="test" #315573 |
25 |
|
25 |
|
Lines 32-37
Link Here
|
32 |
net-libs/libtirpc:= |
32 |
net-libs/libtirpc:= |
33 |
>=net-nds/rpcbind-0.2.4 |
33 |
>=net-nds/rpcbind-0.2.4 |
34 |
sys-fs/e2fsprogs |
34 |
sys-fs/e2fsprogs |
|
|
35 |
virtual/rpcgen[nis=] |
35 |
caps? ( sys-libs/libcap ) |
36 |
caps? ( sys-libs/libcap ) |
36 |
ldap? ( |
37 |
ldap? ( |
37 |
net-nds/openldap:= |
38 |
net-nds/openldap:= |
Lines 66-72
Link Here
|
66 |
) |
67 |
) |
67 |
" |
68 |
" |
68 |
BDEPEND=" |
69 |
BDEPEND=" |
69 |
net-libs/rpcsvc-proto |
|
|
70 |
virtual/pkgconfig |
70 |
virtual/pkgconfig |
71 |
" |
71 |
" |
72 |
|
72 |
|
73 |
@@ -85,6 +85,7 @@ |
73 |
@@ -85,6 +85,7 @@ |
74 |
} |
74 |
} |
75 |
|
75 |
|
76 |
src_prepare() { |
76 |
src_prepare() { |
|
|
77 |
use nis || eapply "${FILESDIR}"/${PN}-2.3.3-no-nis.patch |
77 |
default |
78 |
default |
78 |
|
79 |
|
79 |
sed \ |
80 |
sed \ |
Lines 108-114
Link Here
|
108 |
--enable-tirpc |
109 |
--enable-tirpc |
109 |
--with-tirpcinclude="${ESYSROOT}"/usr/include/tirpc/ |
110 |
--with-tirpcinclude="${ESYSROOT}"/usr/include/tirpc/ |
110 |
--with-pluginpath="${EPREFIX}"/usr/$(get_libdir)/libnfsidmap |
111 |
--with-pluginpath="${EPREFIX}"/usr/$(get_libdir)/libnfsidmap |
111 |
--with-rpcgen |
|
|
112 |
--with-systemd="$(systemd_get_systemunitdir)" |
112 |
--with-systemd="$(systemd_get_systemunitdir)" |
113 |
--without-gssglue |
113 |
--without-gssglue |
114 |
$(use_enable caps) |
114 |
$(use_enable caps) |
Lines 124-129
Link Here
|
124 |
$(use_enable uuid) |
124 |
$(use_enable uuid) |
125 |
$(use_with tcpd tcp-wrappers) |
125 |
$(use_with tcpd tcp-wrappers) |
126 |
) |
126 |
) |
|
|
127 |
if use nis ; then |
128 |
myeconfargs+=( --with-rpcgen ) |
129 |
else |
130 |
myeconfargs+=( --with-rpcgen=internal ) |
131 |
fi |
127 |
econf "${myeconfargs[@]}" |
132 |
econf "${myeconfargs[@]}" |
128 |
} |
133 |
} |
129 |
|
134 |
|