Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/
Date: Sun, 26 Aug 2018 18:07:31
Message-Id: 1535306825.12239c5a2660660d047af65e3a7bce08f395fdd2.polynomial-c@gentoo
1 commit: 12239c5a2660660d047af65e3a7bce08f395fdd2
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 26 18:07:05 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 26 18:07:05 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12239c5a
7
8 net-nds/rpcbind: Synced live ebuild.
9
10 Package-Manager: Portage-2.3.48, Repoman-2.3.10
11
12 net-nds/rpcbind/rpcbind-9999.ebuild | 23 ++++++++++++++---------
13 1 file changed, 14 insertions(+), 9 deletions(-)
14
15 diff --git a/net-nds/rpcbind/rpcbind-9999.ebuild b/net-nds/rpcbind/rpcbind-9999.ebuild
16 index 3a5262860d7..7e3bbeae8e8 100644
17 --- a/net-nds/rpcbind/rpcbind-9999.ebuild
18 +++ b/net-nds/rpcbind/rpcbind-9999.ebuild
19 @@ -1,9 +1,9 @@
20 # Copyright 1999-2018 Gentoo Foundation
21 # Distributed under the terms of the GNU General Public License v2
22
23 -EAPI="5"
24 +EAPI=6
25
26 -inherit eutils systemd
27 +inherit systemd
28
29 if [[ ${PV} == "9999" ]] ; then
30 EGIT_REPO_URI="git://linux-nfs.org/~steved/rpcbind.git"
31 @@ -18,7 +18,7 @@ HOMEPAGE="https://sourceforge.net/projects/rpcbind/"
32
33 LICENSE="BSD"
34 SLOT="0"
35 -IUSE="debug selinux systemd tcpd warmstarts"
36 +IUSE="debug remotecalls selinux systemd tcpd warmstarts"
37 REQUIRED_USE="systemd? ( warmstarts )"
38
39 CDEPEND=">=net-libs/libtirpc-0.2.3:=
40 @@ -30,17 +30,22 @@ RDEPEND="${CDEPEND}
41 selinux? ( sec-policy/selinux-rpcbind )"
42
43 src_prepare() {
44 + default
45 [[ ${PV} == "9999" ]] && eautoreconf
46 - epatch_user
47 }
48
49 src_configure() {
50 - econf \
51 - --with-statedir="${EPREFIX}"/run/${PN} \
52 - --with-systemdsystemunitdir=$(usex systemd "$(systemd_get_unitdir)" "no") \
53 - $(use_enable tcpd libwrap) \
54 - $(use_enable debug) \
55 + local myeconfargs=(
56 + --bindir="${EPREFIX}"/sbin
57 + --sbindir="${EPREFIX}"/sbin
58 + --with-statedir="${EPREFIX}"/run/${PN}
59 + --with-systemdsystemunitdir=$(usex systemd "$(systemd_get_systemunitdir)" "no")
60 + $(use_enable debug)
61 + $(use_enable remotecalls rmtcalls)
62 $(use_enable warmstarts)
63 + $(use_enable tcpd libwrap)
64 + )
65 + econf "${myeconfargs[@]}"
66 }
67
68 src_install() {