1 |
commit: 200e7670eb1b8c19cea4d5ae3cd4c5fc96848d81 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 26 18:05:44 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 26 18:05:44 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=200e7670 |
7 |
|
8 |
net-nds/rpcbind: Bump to version 1.2.5 |
9 |
|
10 |
Package-Manager: Portage-2.3.48, Repoman-2.3.10 |
11 |
|
12 |
net-nds/rpcbind/Manifest | 1 + |
13 |
net-nds/rpcbind/metadata.xml | 1 + |
14 |
net-nds/rpcbind/rpcbind-1.2.5.ebuild | 56 ++++++++++++++++++++++++++++++++++++ |
15 |
3 files changed, 58 insertions(+) |
16 |
|
17 |
diff --git a/net-nds/rpcbind/Manifest b/net-nds/rpcbind/Manifest |
18 |
index aa93e472e8c..f3285ad8814 100644 |
19 |
--- a/net-nds/rpcbind/Manifest |
20 |
+++ b/net-nds/rpcbind/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST rpcbind-0.2.4.tar.bz2 122781 BLAKE2B ac1c374a1081559bf09bc209256daa1bb530d71f0c7fe45cec4c9b87cf110c15251a05dce2cf2b78ffa4d902f817efed30350ad08a23e12a7f219f10fe626aa8 SHA512 f3966a7284e94bdf120a9b3f0dd66efa1fe8761df2313545a031f77b7c06e27d7955d2780469943deb537d34f95c4cf3f30de523ec9fab9f571322d7224b210c |
23 |
+DIST rpcbind-1.2.5.tar.bz2 123502 BLAKE2B de0d10406aeffd75195c1fa1d0179b2c7c0ba54c3f3ac58ce9d7e9448d1dbe91a296ad69c45dee115e0a739aa9cfec53b750d3a5ca405e16605a92bbb2006859 SHA512 e884c4757950ccead0f9a07f50625a63e6f18f9bfae9fcfffa3e5fa4b7a66c3a99d9fa303061848fe8211509d5456f24ff26e4579af6e161a35522268f3ef3e4 |
24 |
|
25 |
diff --git a/net-nds/rpcbind/metadata.xml b/net-nds/rpcbind/metadata.xml |
26 |
index 664c6a547a0..8b85a22052b 100644 |
27 |
--- a/net-nds/rpcbind/metadata.xml |
28 |
+++ b/net-nds/rpcbind/metadata.xml |
29 |
@@ -5,6 +5,7 @@ |
30 |
<email>base-system@g.o</email> |
31 |
</maintainer> |
32 |
<use> |
33 |
+ <flag name="remotecalls">Enable remote calls</flag> |
34 |
<flag name="warmstarts">Enables rpcbind to cache configuration for warm restarts</flag> |
35 |
</use> |
36 |
<upstream> |
37 |
|
38 |
diff --git a/net-nds/rpcbind/rpcbind-1.2.5.ebuild b/net-nds/rpcbind/rpcbind-1.2.5.ebuild |
39 |
new file mode 100644 |
40 |
index 00000000000..7e3bbeae8e8 |
41 |
--- /dev/null |
42 |
+++ b/net-nds/rpcbind/rpcbind-1.2.5.ebuild |
43 |
@@ -0,0 +1,56 @@ |
44 |
+# Copyright 1999-2018 Gentoo Foundation |
45 |
+# Distributed under the terms of the GNU General Public License v2 |
46 |
+ |
47 |
+EAPI=6 |
48 |
+ |
49 |
+inherit systemd |
50 |
+ |
51 |
+if [[ ${PV} == "9999" ]] ; then |
52 |
+ EGIT_REPO_URI="git://linux-nfs.org/~steved/rpcbind.git" |
53 |
+ inherit autotools git-r3 |
54 |
+else |
55 |
+ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
56 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
57 |
+fi |
58 |
+ |
59 |
+DESCRIPTION="portmap replacement which supports RPC over various protocols" |
60 |
+HOMEPAGE="https://sourceforge.net/projects/rpcbind/" |
61 |
+ |
62 |
+LICENSE="BSD" |
63 |
+SLOT="0" |
64 |
+IUSE="debug remotecalls selinux systemd tcpd warmstarts" |
65 |
+REQUIRED_USE="systemd? ( warmstarts )" |
66 |
+ |
67 |
+CDEPEND=">=net-libs/libtirpc-0.2.3:= |
68 |
+ systemd? ( sys-apps/systemd:= ) |
69 |
+ tcpd? ( sys-apps/tcp-wrappers )" |
70 |
+DEPEND="${CDEPEND} |
71 |
+ virtual/pkgconfig" |
72 |
+RDEPEND="${CDEPEND} |
73 |
+ selinux? ( sec-policy/selinux-rpcbind )" |
74 |
+ |
75 |
+src_prepare() { |
76 |
+ default |
77 |
+ [[ ${PV} == "9999" ]] && eautoreconf |
78 |
+} |
79 |
+ |
80 |
+src_configure() { |
81 |
+ local myeconfargs=( |
82 |
+ --bindir="${EPREFIX}"/sbin |
83 |
+ --sbindir="${EPREFIX}"/sbin |
84 |
+ --with-statedir="${EPREFIX}"/run/${PN} |
85 |
+ --with-systemdsystemunitdir=$(usex systemd "$(systemd_get_systemunitdir)" "no") |
86 |
+ $(use_enable debug) |
87 |
+ $(use_enable remotecalls rmtcalls) |
88 |
+ $(use_enable warmstarts) |
89 |
+ $(use_enable tcpd libwrap) |
90 |
+ ) |
91 |
+ econf "${myeconfargs[@]}" |
92 |
+} |
93 |
+ |
94 |
+src_install() { |
95 |
+ default |
96 |
+ |
97 |
+ newinitd "${FILESDIR}"/${PN}.initd ${PN} |
98 |
+ newconfd "${FILESDIR}"/${PN}.confd ${PN} |
99 |
+} |