Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/
Date: Thu, 25 Jan 2018 00:39:13
Message-Id: 1516840681.9392b103397ac6227b8a141d8a262e86bfcc239e.bman@gentoo
1 commit: 9392b103397ac6227b8a141d8a262e86bfcc239e
2 Author: Aaron Bauman <bman <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jan 25 00:38:01 2018 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Thu Jan 25 00:38:01 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9392b103
7
8 net-nds/rpcbind: cleanup vulnerable wrt bug #617472
9
10 net-nds/rpcbind/Manifest | 1 -
11 net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild | 56 --------------------------------
12 net-nds/rpcbind/rpcbind-0.2.3-r2.ebuild | 57 ---------------------------------
13 net-nds/rpcbind/rpcbind-0.2.4.ebuild | 54 -------------------------------
14 4 files changed, 168 deletions(-)
15
16 diff --git a/net-nds/rpcbind/Manifest b/net-nds/rpcbind/Manifest
17 index 21ca048f811..aa93e472e8c 100644
18 --- a/net-nds/rpcbind/Manifest
19 +++ b/net-nds/rpcbind/Manifest
20 @@ -1,2 +1 @@
21 -DIST rpcbind-0.2.3.tar.bz2 121306 BLAKE2B 996bae5b58ee20d96dd1f1dcc7adc1ad227e34082184f9537a0d9a2944bf5b22734694acbdd52f65c29df4a8d16df343f74e93bd92d264b84d9c9120cd5a750d SHA512 b91cb4e0849213d344063ccf32d16c49819906b65e4d07c4aa7d3c8842bd83acb408d07aa285da902c389f3c9716f01678012b93a11863eb174a2577cd6ba1d6
22 DIST rpcbind-0.2.4.tar.bz2 122781 BLAKE2B ac1c374a1081559bf09bc209256daa1bb530d71f0c7fe45cec4c9b87cf110c15251a05dce2cf2b78ffa4d902f817efed30350ad08a23e12a7f219f10fe626aa8 SHA512 f3966a7284e94bdf120a9b3f0dd66efa1fe8761df2313545a031f77b7c06e27d7955d2780469943deb537d34f95c4cf3f30de523ec9fab9f571322d7224b210c
23
24 diff --git a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
25 deleted file mode 100644
26 index cdbbee00c44..00000000000
27 --- a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
28 +++ /dev/null
29 @@ -1,56 +0,0 @@
30 -# Copyright 1999-2015 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI="5"
34 -
35 -inherit eutils systemd
36 -
37 -if [[ ${PV} == "9999" ]] ; then
38 - EGIT_REPO_URI="git://linux-nfs.org/~steved/rpcbind.git"
39 - inherit autotools git-r3
40 -else
41 - SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
42 - KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
43 -fi
44 -
45 -DESCRIPTION="portmap replacement which supports RPC over various protocols"
46 -HOMEPAGE="https://sourceforge.net/projects/rpcbind/"
47 -
48 -LICENSE="BSD"
49 -SLOT="0"
50 -IUSE="debug selinux systemd tcpd warmstarts"
51 -
52 -CDEPEND=">=net-libs/libtirpc-0.2.3:=
53 - systemd? ( sys-apps/systemd:= )
54 - tcpd? ( sys-apps/tcp-wrappers )"
55 -DEPEND="${CDEPEND}
56 - virtual/pkgconfig"
57 -RDEPEND="${CDEPEND}
58 - selinux? ( sec-policy/selinux-rpcbind )"
59 -
60 -src_prepare() {
61 - [[ ${PV} == "9999" ]] && eautoreconf
62 - epatch "${FILESDIR}"/${P}-libtirpc.patch
63 - epatch "${FILESDIR}"/${P}-mem-corrupt.patch #560990
64 - epatch_user
65 -}
66 -
67 -src_configure() {
68 - econf \
69 - --bindir="${EPREFIX}"/sbin \
70 - --with-statedir="${EPREFIX}"/run/${PN} \
71 - --with-rpcuser=root \
72 - --with-systemdsystemunitdir=$(usex systemd "$(systemd_get_unitdir)" "no") \
73 - $(use_enable tcpd libwrap) \
74 - $(use_enable debug) \
75 - $(use_enable warmstarts)
76 -}
77 -
78 -src_install() {
79 - default
80 -
81 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
82 - newconfd "${FILESDIR}"/${PN}.confd ${PN}
83 -
84 - systemd_dounit "${FILESDIR}"/${PN}.service
85 -}
86
87 diff --git a/net-nds/rpcbind/rpcbind-0.2.3-r2.ebuild b/net-nds/rpcbind/rpcbind-0.2.3-r2.ebuild
88 deleted file mode 100644
89 index 1d4183d7905..00000000000
90 --- a/net-nds/rpcbind/rpcbind-0.2.3-r2.ebuild
91 +++ /dev/null
92 @@ -1,57 +0,0 @@
93 -# Copyright 1999-2016 Gentoo Foundation
94 -# Distributed under the terms of the GNU General Public License v2
95 -
96 -EAPI="5"
97 -
98 -inherit eutils systemd
99 -
100 -if [[ ${PV} == "9999" ]] ; then
101 - EGIT_REPO_URI="git://linux-nfs.org/~steved/rpcbind.git"
102 - inherit autotools git-r3
103 -else
104 - SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
105 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
106 -fi
107 -
108 -DESCRIPTION="portmap replacement which supports RPC over various protocols"
109 -HOMEPAGE="https://sourceforge.net/projects/rpcbind/"
110 -
111 -LICENSE="BSD"
112 -SLOT="0"
113 -IUSE="debug selinux systemd tcpd warmstarts"
114 -
115 -CDEPEND=">=net-libs/libtirpc-0.2.3:=
116 - systemd? ( sys-apps/systemd:= )
117 - tcpd? ( sys-apps/tcp-wrappers )"
118 -DEPEND="${CDEPEND}
119 - virtual/pkgconfig"
120 -RDEPEND="${CDEPEND}
121 - selinux? ( sec-policy/selinux-rpcbind )"
122 -
123 -src_prepare() {
124 - [[ ${PV} == "9999" ]] && eautoreconf
125 - epatch "${FILESDIR}"/${P}-libtirpc.patch
126 - epatch "${FILESDIR}"/${P}-mem-corrupt.patch #560990
127 - epatch "${FILESDIR}"/${P}-remove-P-macro.patch #589666
128 - epatch_user
129 -}
130 -
131 -src_configure() {
132 - econf \
133 - --bindir="${EPREFIX}"/sbin \
134 - --with-statedir="${EPREFIX}"/run/${PN} \
135 - --with-rpcuser=root \
136 - --with-systemdsystemunitdir=$(usex systemd "$(systemd_get_unitdir)" "no") \
137 - $(use_enable tcpd libwrap) \
138 - $(use_enable debug) \
139 - $(use_enable warmstarts)
140 -}
141 -
142 -src_install() {
143 - default
144 -
145 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
146 - newconfd "${FILESDIR}"/${PN}.confd ${PN}
147 -
148 - systemd_dounit "${FILESDIR}"/${PN}.service
149 -}
150
151 diff --git a/net-nds/rpcbind/rpcbind-0.2.4.ebuild b/net-nds/rpcbind/rpcbind-0.2.4.ebuild
152 deleted file mode 100644
153 index 79f8f8fe713..00000000000
154 --- a/net-nds/rpcbind/rpcbind-0.2.4.ebuild
155 +++ /dev/null
156 @@ -1,54 +0,0 @@
157 -# Copyright 1999-2017 Gentoo Foundation
158 -# Distributed under the terms of the GNU General Public License v2
159 -
160 -EAPI="5"
161 -
162 -inherit eutils systemd
163 -
164 -if [[ ${PV} == "9999" ]] ; then
165 - EGIT_REPO_URI="git://linux-nfs.org/~steved/rpcbind.git"
166 - inherit autotools git-r3
167 -else
168 - SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
169 - KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
170 -fi
171 -
172 -DESCRIPTION="portmap replacement which supports RPC over various protocols"
173 -HOMEPAGE="https://sourceforge.net/projects/rpcbind/"
174 -
175 -LICENSE="BSD"
176 -SLOT="0"
177 -IUSE="debug selinux systemd tcpd warmstarts"
178 -
179 -CDEPEND=">=net-libs/libtirpc-1.0:=
180 - systemd? ( sys-apps/systemd:= )
181 - tcpd? ( sys-apps/tcp-wrappers )"
182 -DEPEND="${CDEPEND}
183 - virtual/pkgconfig"
184 -RDEPEND="${CDEPEND}
185 - selinux? ( sec-policy/selinux-rpcbind )"
186 -
187 -src_prepare() {
188 - [[ ${PV} == "9999" ]] && eautoreconf
189 - epatch_user
190 -}
191 -
192 -src_configure() {
193 - econf \
194 - --bindir="${EPREFIX}"/sbin \
195 - --with-statedir="${EPREFIX}"/run/${PN} \
196 - --with-rpcuser=root \
197 - --with-systemdsystemunitdir=$(usex systemd "$(systemd_get_unitdir)" "no") \
198 - $(use_enable tcpd libwrap) \
199 - $(use_enable debug) \
200 - $(use_enable warmstarts)
201 -}
202 -
203 -src_install() {
204 - default
205 -
206 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
207 - newconfd "${FILESDIR}"/${PN}.confd ${PN}
208 -
209 - systemd_dounit "${FILESDIR}"/${PN}.service
210 -}