Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/files/, net-nds/rpcbind/
Date: Sat, 28 Sep 2019 18:27:31
Message-Id: 1569695233.52738dd4838a6bdef10c7c086a11cad9d04fa6d0.mattst88@gentoo
1 commit: 52738dd4838a6bdef10c7c086a11cad9d04fa6d0
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 28 18:08:29 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 28 18:27:13 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52738dd4
7
8 net-nds/rpcbind: Drop old versions
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 net-nds/rpcbind/Manifest | 1 -
13 .../files/rpcbind-0.2.4-CVE-2017-8779.patch | 21 --------
14 net-nds/rpcbind/rpcbind-0.2.4-r3.ebuild | 58 ----------------------
15 3 files changed, 80 deletions(-)
16
17 diff --git a/net-nds/rpcbind/Manifest b/net-nds/rpcbind/Manifest
18 index f3285ad8814..1e114d6b58e 100644
19 --- a/net-nds/rpcbind/Manifest
20 +++ b/net-nds/rpcbind/Manifest
21 @@ -1,2 +1 @@
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/files/rpcbind-0.2.4-CVE-2017-8779.patch b/net-nds/rpcbind/files/rpcbind-0.2.4-CVE-2017-8779.patch
26 deleted file mode 100644
27 index cef088badc9..00000000000
28 --- a/net-nds/rpcbind/files/rpcbind-0.2.4-CVE-2017-8779.patch
29 +++ /dev/null
30 @@ -1,21 +0,0 @@
31 -diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c
32 -index 5862c26..e11f61b 100644
33 ---- a/src/rpcb_svc_com.c
34 -+++ b/src/rpcb_svc_com.c
35 -@@ -48,6 +48,7 @@
36 - #include <rpc/rpc.h>
37 - #include <rpc/rpcb_prot.h>
38 - #include <rpc/svc_dg.h>
39 -+#include <rpc/rpc_com.h>
40 - #include <netconfig.h>
41 - #include <errno.h>
42 - #include <syslog.h>
43 -@@ -432,7 +433,7 @@ rpcbproc_taddr2uaddr_com(void *arg, struct svc_req *rqstp /*__unused*/,
44 - static bool_t
45 - xdr_encap_parms(XDR *xdrs, struct encap_parms *epp)
46 - {
47 -- return (xdr_bytes(xdrs, &(epp->args), (u_int *) &(epp->arglen), ~0));
48 -+ return (xdr_bytes(xdrs, &(epp->args), (u_int *) &(epp->arglen), RPC_MAXDATASIZE));
49 - }
50 -
51 - /*
52
53 diff --git a/net-nds/rpcbind/rpcbind-0.2.4-r3.ebuild b/net-nds/rpcbind/rpcbind-0.2.4-r3.ebuild
54 deleted file mode 100644
55 index 8431b518c94..00000000000
56 --- a/net-nds/rpcbind/rpcbind-0.2.4-r3.ebuild
57 +++ /dev/null
58 @@ -1,58 +0,0 @@
59 -# Copyright 1999-2018 Gentoo Foundation
60 -# Distributed under the terms of the GNU General Public License v2
61 -
62 -EAPI="5"
63 -
64 -inherit eutils systemd
65 -
66 -if [[ ${PV} == "9999" ]] ; then
67 - EGIT_REPO_URI="git://linux-nfs.org/~steved/rpcbind.git"
68 - inherit autotools git-r3
69 -else
70 - SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
71 - KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86"
72 -fi
73 -
74 -DESCRIPTION="portmap replacement which supports RPC over various protocols"
75 -HOMEPAGE="https://sourceforge.net/projects/rpcbind/"
76 -
77 -LICENSE="BSD"
78 -SLOT="0"
79 -IUSE="debug selinux systemd tcpd warmstarts"
80 -REQUIRED_USE="systemd? ( warmstarts )"
81 -
82 -CDEPEND=">=net-libs/libtirpc-1.0:=
83 - systemd? ( sys-apps/systemd:= )
84 - tcpd? ( sys-apps/tcp-wrappers )"
85 -DEPEND="${CDEPEND}
86 - virtual/pkgconfig"
87 -RDEPEND="${CDEPEND}
88 - selinux? ( sec-policy/selinux-rpcbind )"
89 -
90 -PATCHES=(
91 - "${FILESDIR}/${P}-CVE-2017-8779.patch"
92 -)
93 -
94 -src_prepare() {
95 - [[ ${PV} == "9999" ]] && eautoreconf
96 - epatch "${PATCHES[@]}"
97 - epatch_user
98 -}
99 -
100 -src_configure() {
101 - econf \
102 - --bindir="${EPREFIX}"/sbin \
103 - --with-statedir="${EPREFIX}"/run/${PN} \
104 - --with-rpcuser=root \
105 - --with-systemdsystemunitdir=$(usex systemd "$(systemd_get_unitdir)" "no") \
106 - $(use_enable tcpd libwrap) \
107 - $(use_enable debug) \
108 - $(use_enable warmstarts)
109 -}
110 -
111 -src_install() {
112 - default
113 -
114 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
115 - newconfd "${FILESDIR}"/${PN}.confd ${PN}
116 -}