Lines 6-14
Link Here
|
6 |
inherit autotools linux-info systemd |
6 |
inherit autotools linux-info systemd |
7 |
|
7 |
|
8 |
DESCRIPTION="NFS client and server daemons" |
8 |
DESCRIPTION="NFS client and server daemons" |
9 |
HOMEPAGE="http://linux-nfs.org/ https://git.linux-nfs.org/?p=steved/nfs-utils.git" |
9 |
HOMEPAGE="http://linux-nfs.org/" |
10 |
|
10 |
|
11 |
if [[ ${PV} == *_rc* ]] ; then |
11 |
if [[ "${PV}" = *_rc* ]] ; then |
12 |
MY_PV="$(ver_rs 1- -)" |
12 |
MY_PV="$(ver_rs 1- -)" |
13 |
SRC_URI="http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=snapshot;h=refs/tags/${PN}-${MY_PV};sf=tgz -> ${P}.tar.gz" |
13 |
SRC_URI="http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=snapshot;h=refs/tags/${PN}-${MY_PV};sf=tgz -> ${P}.tar.gz" |
14 |
S="${WORKDIR}/${PN}-${PN}-${MY_PV}" |
14 |
S="${WORKDIR}/${PN}-${PN}-${MY_PV}" |
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 |
|
Lines 108-114
Link Here
|
108 |
--enable-tirpc |
108 |
--enable-tirpc |
109 |
--with-tirpcinclude="${ESYSROOT}"/usr/include/tirpc/ |
109 |
--with-tirpcinclude="${ESYSROOT}"/usr/include/tirpc/ |
110 |
--with-pluginpath="${EPREFIX}"/usr/$(get_libdir)/libnfsidmap |
110 |
--with-pluginpath="${EPREFIX}"/usr/$(get_libdir)/libnfsidmap |
111 |
--with-rpcgen |
|
|
112 |
--with-systemd="$(systemd_get_systemunitdir)" |
111 |
--with-systemd="$(systemd_get_systemunitdir)" |
113 |
--without-gssglue |
112 |
--without-gssglue |
114 |
$(use_enable caps) |
113 |
$(use_enable caps) |
Lines 124-129
Link Here
|
124 |
$(use_enable uuid) |
123 |
$(use_enable uuid) |
125 |
$(use_with tcpd tcp-wrappers) |
124 |
$(use_with tcpd tcp-wrappers) |
126 |
) |
125 |
) |
|
|
126 |
if use nis ; then |
127 |
myeconfargs+=( --with-rpcgen ) |
128 |
else |
129 |
myeconfargs+=( --with-rpcgen=internal ) |
130 |
fi |
127 |
econf "${myeconfargs[@]}" |
131 |
econf "${myeconfargs[@]}" |
128 |
} |
132 |
} |
129 |
|
133 |
|