bump(net-nds/rpcbind): sync with upstream

This commit is contained in:
Nick Owens 2016-11-22 14:33:12 -08:00
parent f42ea4f6d5
commit a092b47f6f
21 changed files with 559 additions and 206 deletions

View File

@ -2,7 +2,7 @@ DEFINED_PHASES=configure install prepare
DEPEND=net-libs/libtirpc tcpd? ( sys-apps/tcp-wrappers ) virtual/pkgconfig !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
DESCRIPTION=portmap replacement which supports RPC over various protocols
EAPI=2
HOMEPAGE=http://sourceforge.net/projects/rpcbind/
HOMEPAGE=https://sourceforge.net/projects/rpcbind/
IUSE=selinux tcpd
KEYWORDS=alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86
LICENSE=BSD
@ -10,4 +10,4 @@ RDEPEND=net-libs/libtirpc tcpd? ( sys-apps/tcp-wrappers ) selinux? ( sec-policy/
SLOT=0
SRC_URI=mirror://sourceforge/rpcbind/rpcbind-0.2.0.tar.bz2
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 9d81603248f2ba3ec59124320d123e5e libtool b75230758539a7da029e24afdb693960 multilib 3972ca401cf7dbb430df9995f5d8d580 systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
_md5_=39ecf2e21c56373c86ff51b9af7ba948
_md5_=62ec8c2f699140eca538ce400a5c647d

View File

@ -2,7 +2,7 @@ DEFINED_PHASES=configure install prepare
DEPEND=>=net-libs/libtirpc-0.2.3 tcpd? ( sys-apps/tcp-wrappers ) virtual/pkgconfig virtual/pkgconfig
DESCRIPTION=portmap replacement which supports RPC over various protocols
EAPI=4
HOMEPAGE=http://sourceforge.net/projects/rpcbind/
HOMEPAGE=https://sourceforge.net/projects/rpcbind/
IUSE=debug selinux tcpd warmstarts
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
LICENSE=BSD
@ -10,4 +10,4 @@ RDEPEND=>=net-libs/libtirpc-0.2.3 tcpd? ( sys-apps/tcp-wrappers ) selinux? ( sec
SLOT=0
SRC_URI=mirror://sourceforge/rpcbind/rpcbind-0.2.1.tar.bz2
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e multilib 3972ca401cf7dbb430df9995f5d8d580 systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
_md5_=b11b42c4505d12a96b5074dbbf0700ce
_md5_=2ec222ddd6ad9eb1bb1e2855999a71d4

View File

@ -2,7 +2,7 @@ DEFINED_PHASES=configure install prepare
DEPEND=>=net-libs/libtirpc-0.2.3 systemd? ( sys-apps/systemd:= ) tcpd? ( sys-apps/tcp-wrappers ) virtual/pkgconfig virtual/pkgconfig
DESCRIPTION=portmap replacement which supports RPC over various protocols
EAPI=5
HOMEPAGE=http://sourceforge.net/projects/rpcbind/
HOMEPAGE=https://sourceforge.net/projects/rpcbind/
IUSE=debug selinux systemd tcpd warmstarts
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
LICENSE=BSD
@ -10,4 +10,4 @@ RDEPEND=>=net-libs/libtirpc-0.2.3 systemd? ( sys-apps/systemd:= ) tcpd? ( sys-ap
SLOT=0
SRC_URI=mirror://sourceforge/rpcbind/rpcbind-0.2.2.tar.bz2
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e multilib 3972ca401cf7dbb430df9995f5d8d580 systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
_md5_=f1643ff36ee94b328fb84e679b9f2280
_md5_=30019f4154abdf32202ea50a689fbbbd

View File

@ -1,13 +1,13 @@
DEFINED_PHASES=configure install prepare
DEPEND=>=net-libs/libtirpc-0.2.3 systemd? ( sys-apps/systemd:= ) tcpd? ( sys-apps/tcp-wrappers ) virtual/pkgconfig virtual/pkgconfig
DEPEND=>=net-libs/libtirpc-0.2.3:= systemd? ( sys-apps/systemd:= ) tcpd? ( sys-apps/tcp-wrappers ) virtual/pkgconfig virtual/pkgconfig
DESCRIPTION=portmap replacement which supports RPC over various protocols
EAPI=5
HOMEPAGE=http://sourceforge.net/projects/rpcbind/
HOMEPAGE=https://sourceforge.net/projects/rpcbind/
IUSE=debug selinux systemd tcpd warmstarts
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
LICENSE=BSD
RDEPEND=>=net-libs/libtirpc-0.2.3 systemd? ( sys-apps/systemd:= ) tcpd? ( sys-apps/tcp-wrappers ) selinux? ( sec-policy/selinux-rpcbind )
RDEPEND=>=net-libs/libtirpc-0.2.3:= systemd? ( sys-apps/systemd:= ) tcpd? ( sys-apps/tcp-wrappers ) selinux? ( sec-policy/selinux-rpcbind )
SLOT=0
SRC_URI=mirror://sourceforge/rpcbind/rpcbind-0.2.3.tar.bz2
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e multilib 3972ca401cf7dbb430df9995f5d8d580 systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
_md5_=72f9ef871be290a509d6115719bbb083
_md5_=9fedd31ff02b377c83092f1fab81f631

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=configure install prepare
DEPEND=>=net-libs/libtirpc-0.2.3:= systemd? ( sys-apps/systemd:= ) tcpd? ( sys-apps/tcp-wrappers ) virtual/pkgconfig virtual/pkgconfig
DESCRIPTION=portmap replacement which supports RPC over various protocols
EAPI=5
HOMEPAGE=https://sourceforge.net/projects/rpcbind/
IUSE=debug selinux systemd tcpd warmstarts
KEYWORDS=alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86
LICENSE=BSD
RDEPEND=>=net-libs/libtirpc-0.2.3:= systemd? ( sys-apps/systemd:= ) tcpd? ( sys-apps/tcp-wrappers ) selinux? ( sec-policy/selinux-rpcbind )
SLOT=0
SRC_URI=mirror://sourceforge/rpcbind/rpcbind-0.2.3.tar.bz2
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e multilib 3972ca401cf7dbb430df9995f5d8d580 systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
_md5_=476acc39d5a0e6321680a5c4d1ebb932

View File

@ -0,0 +1,13 @@
DEFINED_PHASES=configure install prepare
DEPEND=>=net-libs/libtirpc-0.2.3:= systemd? ( sys-apps/systemd:= ) tcpd? ( sys-apps/tcp-wrappers ) virtual/pkgconfig virtual/pkgconfig
DESCRIPTION=portmap replacement which supports RPC over various protocols
EAPI=5
HOMEPAGE=https://sourceforge.net/projects/rpcbind/
IUSE=debug selinux systemd tcpd warmstarts
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
LICENSE=BSD
RDEPEND=>=net-libs/libtirpc-0.2.3:= systemd? ( sys-apps/systemd:= ) tcpd? ( sys-apps/tcp-wrappers ) selinux? ( sec-policy/selinux-rpcbind )
SLOT=0
SRC_URI=mirror://sourceforge/rpcbind/rpcbind-0.2.3.tar.bz2
_eclasses_=eutils 9d81603248f2ba3ec59124320d123e5e multilib 3972ca401cf7dbb430df9995f5d8d580 systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
_md5_=ddc5f9ef6bf182a9caa257182a9737dc

View File

@ -1,11 +1,11 @@
DEFINED_PHASES=configure install prepare unpack
DEPEND=>=net-libs/libtirpc-0.2.3 systemd? ( sys-apps/systemd:= ) tcpd? ( sys-apps/tcp-wrappers ) virtual/pkgconfig virtual/pkgconfig !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 >=dev-vcs/git-1.8.2.1
DEPEND=>=net-libs/libtirpc-0.2.3:= systemd? ( sys-apps/systemd:= ) tcpd? ( sys-apps/tcp-wrappers ) virtual/pkgconfig virtual/pkgconfig !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 >=dev-vcs/git-1.8.2.1
DESCRIPTION=portmap replacement which supports RPC over various protocols
EAPI=5
HOMEPAGE=http://sourceforge.net/projects/rpcbind/
HOMEPAGE=https://sourceforge.net/projects/rpcbind/
IUSE=debug selinux systemd tcpd warmstarts
LICENSE=BSD
RDEPEND=>=net-libs/libtirpc-0.2.3 systemd? ( sys-apps/systemd:= ) tcpd? ( sys-apps/tcp-wrappers ) selinux? ( sec-policy/selinux-rpcbind )
RDEPEND=>=net-libs/libtirpc-0.2.3:= systemd? ( sys-apps/systemd:= ) tcpd? ( sys-apps/tcp-wrappers ) selinux? ( sec-policy/selinux-rpcbind )
SLOT=0
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils 9d81603248f2ba3ec59124320d123e5e git-r3 ef66dfc3db09f327af21cf32f140fb2b libtool b75230758539a7da029e24afdb693960 multilib 3972ca401cf7dbb430df9995f5d8d580 systemd 3165c885f3c71ffae7a867d931fb0e07 toolchain-funcs 7a212e5e01adfa4805c9978366e6ee85
_md5_=72f9ef871be290a509d6115719bbb083
_md5_=3f941e5e4dd0ca1754a70f1b36ef29e0

View File

@ -1,171 +0,0 @@
# ChangeLog for net-nds/rpcbind
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-nds/rpcbind/ChangeLog,v 1.43 2015/04/28 01:50:51 vapier Exp $
*rpcbind-0.2.3 (28 Apr 2015)
28 Apr 2015; Mike Frysinger <vapier@gentoo.org> +rpcbind-0.2.3.ebuild,
rpcbind-9999.ebuild:
Version bump.
23 Dec 2014; Tim Harder <radhermit@gentoo.org> rpcbind-9999.ebuild:
Sync changes to live ebuild.
*rpcbind-0.2.2-r1 (23 Dec 2014)
23 Dec 2014; Tim Harder <radhermit@gentoo.org> -rpcbind-0.2.2.ebuild,
+rpcbind-0.2.2-r1.ebuild:
Add systemd use flag (fixes bug #533356).
*rpcbind-0.2.2 (22 Dec 2014)
22 Dec 2014; Tim Harder <radhermit@gentoo.org> +rpcbind-0.2.2.ebuild:
Version bump.
02 Nov 2014; Sven Vermeulen <swift@gentoo.org> rpcbind-0.2.0-r1.ebuild,
rpcbind-0.2.1-r1.ebuild, rpcbind-9999.ebuild:
Remove sec-policy/selinux-* dependency from DEPEND but keep in RDEPEND (bug
#527698)
30 Jan 2014; Tim Harder <radhermit@gentoo.org> rpcbind-9999.ebuild:
Sync live ebuild.
30 Jan 2014; Tim Harder <radhermit@gentoo.org> -rpcbind-0.2.0.ebuild,
-rpcbind-0.2.1.ebuild:
Remove old.
*rpcbind-0.2.1-r1 (30 Jan 2014)
30 Jan 2014; Tim Harder <radhermit@gentoo.org> +rpcbind-0.2.1-r1.ebuild:
Explicitly set rpcuser to root (bug #499776).
*rpcbind-0.2.1 (30 Jan 2014)
30 Jan 2014; Tim Harder <radhermit@gentoo.org> +rpcbind-0.2.1.ebuild,
rpcbind-9999.ebuild, metadata.xml:
Version bump. Update to EAPI 4, add debug use flag, add warmstarts use flag
(bug #440286 by Sean McGovern), add support for epatch_user.
18 Jan 2014; Mike Frysinger <vapier@gentoo.org> rpcbind-0.2.0-r1.ebuild,
rpcbind-9999.ebuild:
Add arm64 love.
16 Jan 2014; Mike Frysinger <vapier@gentoo.org> rpcbind-0.2.0-r1.ebuild:
Mark s390/sh stable.
23 Sep 2013; Agostino Sarubbo <ago@gentoo.org> rpcbind-0.2.0-r1.ebuild:
Stable for sparc, wrt bug #480094
14 Sep 2013; Agostino Sarubbo <ago@gentoo.org> rpcbind-0.2.0-r1.ebuild:
Stable for alpha, wrt bug #480094
14 Sep 2013; Agostino Sarubbo <ago@gentoo.org> rpcbind-0.2.0-r1.ebuild:
Stable for x86, wrt bug #480094
14 Sep 2013; Agostino Sarubbo <ago@gentoo.org> rpcbind-0.2.0-r1.ebuild:
Stable for ia64, wrt bug #480094
12 Sep 2013; Agostino Sarubbo <ago@gentoo.org> rpcbind-0.2.0-r1.ebuild:
Stable for ppc64, wrt bug #480094
12 Sep 2013; Agostino Sarubbo <ago@gentoo.org> rpcbind-0.2.0-r1.ebuild:
Stable for ppc, wrt bug #480094
10 Sep 2013; Markus Meier <maekke@gentoo.org> rpcbind-0.2.0-r1.ebuild:
arm stable, bug #480094
09 Sep 2013; Jeroen Roovers <jer@gentoo.org> rpcbind-0.2.0-r1.ebuild:
Stable for HPPA (bug #480094).
08 Sep 2013; Agostino Sarubbo <ago@gentoo.org> rpcbind-0.2.0-r1.ebuild:
Stable for amd64, wrt bug #480094
*rpcbind-0.2.0-r1 (13 Jul 2013)
13 Jul 2013; Pacho Ramos <pacho@gentoo.org> +files/rpcbind.service,
+rpcbind-0.2.0-r1.ebuild:
Install unit file (#475866)
27 Apr 2013; Mike Frysinger <vapier@gentoo.org> rpcbind-0.2.0.ebuild:
Fix build with automake-1.13 (fix is already upstream) #467018 by Alphat-PC.
18 Feb 2013; Mike Frysinger <vapier@gentoo.org>
+files/rpcbind-0.2.0-no-nss.patch, rpcbind-0.2.0.ebuild:
Fix building on non-glibc systems #458024 by Mark Reiche.
21 May 2012; Kacper Kowalik <xarthisius@gentoo.org> rpcbind-0.2.0.ebuild:
Add missing inheritance of eutils.eclass
03 May 2012; Jeff Horelick <jdhore@gentoo.org> rpcbind-0.2.0.ebuild,
rpcbind-9999.ebuild:
dev-util/pkgconfig -> virtual/pkgconfig
26 Jan 2012; Mike Frysinger <vapier@gentoo.org> rpcbind-0.2.0.ebuild,
rpcbind-9999.ebuild:
Add USE=tcpd support #400607 by Tor.
28 Dec 2011; <swift@gentoo.org> rpcbind-0.2.0.ebuild:
Add selinux dependency for selinux-rpcbind
21 Sep 2011; Michał Górny <mgorny@gentoo.org> rpcbind-9999.ebuild:
Migrate to git-2.
02 Sep 2011; Mike Frysinger <vapier@gentoo.org> rpcbind-0.2.0.ebuild:
Oops, lost some KEYWORDS there ... back to stable.
02 Sep 2011; Mike Frysinger <vapier@gentoo.org> rpcbind-0.2.0.ebuild,
+files/rpcbind-0.2.0-pkgconfig.patch, rpcbind-9999.ebuild:
Add pkg-config patch from upstream.
02 Sep 2011; Mike Frysinger <vapier@gentoo.org> rpcbind-0.2.0.ebuild,
rpcbind-9999.ebuild:
Migrate to EAPI=2 for fun.
24 Apr 2011; Raúl Porcel <armin76@gentoo.org> rpcbind-0.2.0.ebuild:
sparc stable wrt #358509
24 Mar 2011; Thomas Kahle <tomka@gentoo.org> rpcbind-0.2.0.ebuild:
x86 stable per bug 317517
18 Mar 2011; Mike Frysinger <vapier@gentoo.org> rpcbind-0.2.0.ebuild:
Mark alpha/arm/hppa/ia64/s390/sh stable #317517.
14 Mar 2011; Markos Chandras <hwoarang@gentoo.org> rpcbind-0.2.0.ebuild:
Stable on amd64 wrt bug #317517
13 Mar 2011; Kacper Kowalik <xarthisius@gentoo.org> rpcbind-0.2.0.ebuild:
ppc/ppc64 stable wrt #317517
22 Nov 2009; Mike Frysinger <vapier@gentoo.org> rpcbind-0.2.0.ebuild,
rpcbind-9999.ebuild:
Update LICENSE field #271921 by Chí-Thanh Christopher Nguyễn.
30 May 2009; Mike Frysinger <vapier@gentoo.org> rpcbind-0.2.0.ebuild,
rpcbind-9999.ebuild:
Add keywords for all.
*rpcbind-0.2.0 (30 May 2009)
30 May 2009; Mike Frysinger <vapier@gentoo.org> +rpcbind-0.2.0.ebuild:
Version bump.
*rpcbind-9999 (17 Jan 2009)
17 Jan 2009; Mike Frysinger <vapier@gentoo.org> +rpcbind-9999.ebuild:
Add live git ebuild #255201 by Chi-Thanh Christopher Nguyen.
*rpcbind-0.1.7 (17 Jan 2009)
17 Jan 2009; Mike Frysinger <vapier@gentoo.org> +rpcbind-0.1.7.ebuild:
Version bump #255199 by Chi-Thanh Christopher Nguyen.
*rpcbind-0.1.5.1 (06 Dec 2008)
06 Dec 2008; <ssuominen@gentoo.org> +rpcbind-0.1.5.1.ebuild:
Version bump for bug 249811, thanks to Chi-Thanh Christopher Nguyen.
*rpcbind-0.1.4 (29 Dec 2007)
29 Dec 2007; Mike Frysinger <vapier@gentoo.org> +files/rpcbind.confd,
+files/rpcbind.initd, +metadata.xml, +rpcbind-0.1.4.ebuild:
Initial ebuild by me.

View File

@ -1,16 +1,22 @@
AUX rpcbind-0.2.0-no-nss.patch 901 SHA256 be144a4e4c4a4ab771b9ccd1a81da886613aca9f376cdbe535dab6bfdd210fb1 SHA512 87754fb845baebeaa515b5d95a76cc4a98be052c389df9bd537dfa697a240f95f7fa8f4d44c41960a093041c01455a16c6762176e8b14965a09530750e642868 WHIRLPOOL ef95a9ef139c513bb9e4821e04ec3bf8b73c430e5eec808a2d75c005f71671a4d12cc2e7b6859e63ef94be9a7377fb7024f8dbf1332d83aa8051ed90e7e6a766
AUX rpcbind-0.2.0-pkgconfig.patch 2193 SHA256 8cf1f8dc8a6d75e081ecd50d2b09c51e69d85f54038f7cf09c00121c56917c90 SHA512 50883bd656da48e52cf01254fd5f7d8953681ce57eb6c129981c98b6243c54c7cf42f7a12645543e37dca96d42af8aebde41b9c1ee54fb020d6f8edf631852ed WHIRLPOOL 5a06dc4a72f5bd4d4d4d58625a81d4bc68b7c68dd1f1f2e9d52123a50fb034b0626c806cce6b7a6941c1a8139f833f68472890d0ad79e779d384091afa256f49
AUX rpcbind-0.2.3-libtirpc.patch 1154 SHA256 8f4e2499eccf96b0e49b040f23fffa06ce5cf11ffad39af07fa91a577eafa32e SHA512 2172e18c02bf4111de59110b00798c423f89620b2576dd2fa2de7530ab1a091e4e7f60a9d18d610778110a965e551bc447c1c2566d131c3b18642fb408c7a4b8 WHIRLPOOL 06006bc418ac3c36b51758b4ef9d04929bec29b9ad8492c362fd0ac5f9feed71784a0edb22c292f5e66c74129705b929585f5f8c6ec67ec669127171fb2060df
AUX rpcbind-0.2.3-mem-corrupt.patch 2831 SHA256 5960af91ee3e716326f121811f3f3372cf0956e3bb0449404de67eb15321ac03 SHA512 3423067b552e7ea76fe783eb3cd8f4299887312509a6cbdcd56fc20c5bcb28f3737f04b79d63876d1218cc1fcb9c5385806e203d937feb140d16a9c67e8fe263 WHIRLPOOL 63ce4676b2f8f4d870e803e20ca6f93f7a6a03393fde4a22e28f6c9f5d6f6301290610b0cb64921aa04eafc51d20687c830aff981c3c90b2659a7c1adf9a8a43
AUX rpcbind-0.2.3-remove-P-macro.patch 10070 SHA256 5b8da280f43a10e8de32c3197274fb03089483342396ff91662c16775237ab3a SHA512 6f8a4b98aae39fe0ddbb0750cce98292564d9f0852513e85ff4f140b484fdf3191a6e934980d22c97f7de358f314d0c6331fe5a89b271b1ac38a1e697061219e WHIRLPOOL 66d55250fbc498533420d86b351e91d45b9e0299bdbfc099dad93c7b942ad87f32056e29c84a57b1a612781be9acc6cadb394ed047d720a161b2df1c2a9f6aa5
AUX rpcbind.confd 68 SHA256 38bb95aefc38d843d0890d9c15affd28f19f2133c17f463396c62970e7e2dffc SHA512 f11f6785708bde3ace7b55c1585e283ed07078faf310077c3d26e8e584baec6152d3f86f3d99d7a34fd10f22a7de4d8d70568c9e7f914a82eeb786b08b379044 WHIRLPOOL c9ce4d7d02c7573c96ceaa1a07732e9c8966d79e9266a8767cdd7fa56725b7757d25c31c47821e1ff858983955e3d278ba09da377d40efb6499e9830aaefeb3a
AUX rpcbind.initd 420 SHA256 c67ca35faf6f6bf15973bb84df89134a52c0c275358bdbf58a407068fbf27968 SHA512 02a924a91052652302f84a5a94595a39e9a537eef470b855c9a0aa1c4a723997deb38605389ea9ca7ed04932b12553d2e418810bb24614aa7553c72978029265 WHIRLPOOL 666c444f1201ba77cb889d5b71257b77c72306285dc6007a36ffc12809a4100afbf73c80d574e26dfdec5afcaedbaf4ed257e40bbcb792106a003735c848ce59
AUX rpcbind.initd 421 SHA256 c249b8626522db73ae66b188ec777c39aa270b91b7909114544154c016e0515f SHA512 84c6bb1fb2cf1394df415bdcc2d0eb4ad8b90a158b451574f785c411f0fa8a145e9f55e60bef6e1f140c91813241b40e8ed227ea18af3f85b4b2ee32d9543546 WHIRLPOOL bf154214d4af3e89f136c8c6d2c3399e9f4e715aaaabe41c8ff4a2613fdebd6f9d1012a4f33ed425bdeb6b5c9e8ae4193100d833aa7f268d85bd757484f66690
AUX rpcbind.service 193 SHA256 a7a648529f9480b50dd8e8e5906fa7d97320e7eba25875dba23189ce5e75aa67 SHA512 7ec717ebd69cdf3230d09c51c9b3f926a0860967baccbc2345bf8214a2251441b528bbceaa571c84bdcca17c272d43697567885b517501515d15d42f913f3f49 WHIRLPOOL 23f35d918152baa46278334e8a0fea6540adf96eec70dd7619dbe7a1ffb2975d1146e134ba2b6d2f4b00a9e1cd41ca7bc551ee2cde00413ae5eb07b4d50e6cd0
DIST rpcbind-0.2.0.tar.bz2 271018 SHA256 c92f263e0353887f16379d7708ef1fb4c7eedcf20448bc1e4838f59497a00de3 SHA512 99e56c1877521c4df8288e88b88d9bb4d42c4e99d479fe61dc6e3f067f255dfc96ad894b2ddd425703b0d01ff1c9b362991507130dbd745a8088e6a2c7f29605 WHIRLPOOL 07e86090c6cab6761f1aa4f2f4d56cdc8f86475cb1bf8c0d0aa29bff9c9c3343ea289c147c96fce90d00da120521e34a7427b75fab7ecd6412a10af78bb72d0e
DIST rpcbind-0.2.1.tar.bz2 110681 SHA256 da169ff877a5a07581fad50a9a808ac6e96f0c277a3df49a7ef005778428496e SHA512 5ec1e25c64ad3cd80fc2f14ced64a331afbe896fb3da54c812e3c4a78a69df181f607492762fe852732cc0ac9bd87ee118760b9e7fad2b3f028d581fecc93849 WHIRLPOOL 272996267eacd624493cc656ea02219e0dcf4b0f190c4a06c1fec8ce6fafab057e3d0432017483efd653b82e6d21aaff7179c9dcbeadb7430b955d6306260db8
DIST rpcbind-0.2.2.tar.bz2 112793 SHA256 13dbc8c796dbe0ce8df873007bea0490c8460b56202d918c9eb6fa0358a08f29 SHA512 adcf5c3e6f6a3d995511ed5016ddc5065f7ca6d355097eb27de58415a705cbc45f96f3d0eb8e7db8a915ad3f25ce893e371c09cc03b24a48787485e5c035c054 WHIRLPOOL 3d2bab280f10d0af76bbf60c492b22e9077ea7c1efdba3df70975ec327da52cf756088e245d226bc521e378143491863d37d083458e0ffcf3df391b615047cf0
DIST rpcbind-0.2.3.tar.bz2 121306 SHA256 9897823a9d820ea011d9ea02054d5ab99469b9ca5346265fee380713c8fed27b SHA512 b91cb4e0849213d344063ccf32d16c49819906b65e4d07c4aa7d3c8842bd83acb408d07aa285da902c389f3c9716f01678012b93a11863eb174a2577cd6ba1d6 WHIRLPOOL f8ff512974e6092faf786ef2f5fe23f404a48c28017809c22a3705cb3dfd22220dc3b230235de8a7b64bc46b21f38562ba18af23539bfff439f6e39d6d44cfb3
EBUILD rpcbind-0.2.0-r1.ebuild 1386 SHA256 b68bb2e3933f281987687fc142dffa6236a3ccf84569f042d38d6ac3eeb46e02 SHA512 fe40c7961dce1a302d1a427fa8b03cac0a7836e4f019a2b68853208b92ce164cba279048f04a85de85f795c0fc55f86239b14515208da15851c8a63765261723 WHIRLPOOL 78d96baca2058b6a42fbe4ba6903c54e011793ca169d124557ac43fcba6bb33ac851115f0704226d26c5af27d7f6533f2ef0847d3ef3d251e5548ba37406e8fe
EBUILD rpcbind-0.2.1-r1.ebuild 1216 SHA256 0cf4fabd7cfca667569b443d1ddfd26292b7ad175b51f94f87efa00d988f5656 SHA512 daa37f3a6311194631fa1bcb88bbd704508101383ea273d5704fa6e5878b95d667af02d418bb4247923d6ab64beab825b06350e1a80fcb81f48836179f346354 WHIRLPOOL 03715c96371af89e900b75b81ea63566529d885e1f7eda5a7cc960a19ff68e1f05a0a6b06eb7a3d2b9c7a976bf6073057ddb439d8da7b014370549784c6f3f3a
EBUILD rpcbind-0.2.2-r1.ebuild 1335 SHA256 74a8448505c2d5bc02687ab4fed8e4d178e26b3a5486dc1c7ce37f575d1849a0 SHA512 3796740349da3efcfdfacf49f93aae6f9a0998be4b8279b3c14cac0f2a2bfd5812ab17bf4f8e0605b8df14b4a585d7468d3fad466a8cffd53b685399237499d4 WHIRLPOOL fd48633a5f604d982cdb388e8155695915a25b18908f389a0bf28c68adf0841fdeabf952c84d42db3698afb157714ef7d88b8bad252197e72051df6d64ee655c
EBUILD rpcbind-0.2.3.ebuild 1331 SHA256 555b2c088e8fabf4c34c5530aa0af0ffb237f34b128468e37bf703d629c49e6e SHA512 f65b9aa76f1866c4ea8aad12a631063e5c2162cae50e7ad85a4afe827e81862c37eddeb14ceaf75094caad4e850c72d3c821b87d6655e6d7b005b56e33dfc987 WHIRLPOOL ac5b2d19fa8b56cb7f44e13d3c73e72eaf0bf5cd41094232ca6243d20cb3c7ffb8cc01c46dc6e3cce8702bfbc0f832a23ddce24ac62bfe41fce47ea3d27d3e0b
EBUILD rpcbind-9999.ebuild 1331 SHA256 555b2c088e8fabf4c34c5530aa0af0ffb237f34b128468e37bf703d629c49e6e SHA512 f65b9aa76f1866c4ea8aad12a631063e5c2162cae50e7ad85a4afe827e81862c37eddeb14ceaf75094caad4e850c72d3c821b87d6655e6d7b005b56e33dfc987 WHIRLPOOL ac5b2d19fa8b56cb7f44e13d3c73e72eaf0bf5cd41094232ca6243d20cb3c7ffb8cc01c46dc6e3cce8702bfbc0f832a23ddce24ac62bfe41fce47ea3d27d3e0b
MISC ChangeLog 5908 SHA256 064fb710a31bc7f3ccca52d220832a71fd12e9d2bc44d924821eb59b9f802577 SHA512 380ae6c889bbabbaed12ab1a4a360c974024acdfbdbea27be8a4edb3d1824951ba17472e9f564debeb9928224d4014b01cddef6fe89e9286ffd941602c8339fa WHIRLPOOL d7e7eb9723819fd77f583f32800a532c190469e79303dfc5c2d48d32ee74c1dfff48d0f15cb08a706d6e6abfe8b1d8d5cbda7273542e68e01eaf32620cd036dc
MISC metadata.xml 342 SHA256 6004c05b53e85c976f20010ac30f4b16b578081fd7d1ff9c9b5b617fe4bc79d8 SHA512 84bbbcaf2c0f30c2239f5028a4989e8ac69dd31d098f62c2902842d6553b24adc407318ef32cfb56c3211d8110e6ebb42558e1cb9acc08d96901df23fb8caf1c WHIRLPOOL 1f6eff2806064acbcc5576040394317e526ba4a535ad581a771eea730d3fd3c79ea677c7b9e0316975103ca86cc3d8d0d79231dd62c5b175859fbca2506c8c2e
EBUILD rpcbind-0.2.0-r1.ebuild 1387 SHA256 563f7351159bf24be2eed6e74a47538b6808ef58420ff3ec505d186477643366 SHA512 f1dc998026621105e86db772242dc8cffb2bba2bdad3369a560066a58cfc2c686aaa02aa95af412ba9e003cea3bcfa6f44ebf5a5174de2ad33f0e841271686d3 WHIRLPOOL f540b8f8ebce5c2d74996c727d79df7cfe1cf02ba6220cb2b01f8281f68351ea1b0ccf23fd77b6d5408fc2aab608efd7adb003c50ad46e6560b4852fdfdb2927
EBUILD rpcbind-0.2.1-r1.ebuild 1217 SHA256 7a9d61ffc2f9b105e430c8e7fe9bcfd16c1c141fb1c7c35c69e973a032cb1a42 SHA512 7794fbfb67c220ebaf945f4f673d5c6c4437b0f330396bbe9cba100690886c70a10b7dea8f38ad3e56d97410c0ba6713d4fe24120de0f128e00a279807fef611 WHIRLPOOL 91a702c9f89e0c0e21aa50029e9a22e2ed1fa268353a42333ad23e8119ff1ba2061c795907b68772015ede33ec762612cd0872127ab6de6357585aae3f2c5085
EBUILD rpcbind-0.2.2-r1.ebuild 1336 SHA256 d1abbe6aacd71ae90e49161b876f2923b66abc6ade5e2210d524cb52bf15200a SHA512 953c90c88dc633c09eafb372e11a466961516d315dd24d5af98f709f811241a89e8947a3775c1d707bc5f3fb7c6417d1ff507321eba786ae974a55606cd933a2 WHIRLPOOL ac2fd47b566c54b039c1823b81584f5faafe1916ac554c753b739ffdc79b1927bc3de687c2fb73adb0b09ce73cbc0c1d864455043e37c6d242bdc968e37fd90c
EBUILD rpcbind-0.2.3-r1.ebuild 1420 SHA256 cf229ebdb21860d49d88a7e347d2fa311b6f279c22e25fd8026381a31e578959 SHA512 c53a334678b550981113cc2615bf11b004bdc671e7d353c73c71415e693f3ef98c3005b6fe1246aaef337fb1b047e7b319bf644313455be5247f96ee5d8f5fbe WHIRLPOOL 122efe0536922ef681694de187c69682e255ba5792729f181e99a1e1c8521ffcb43a1b1e8c99c9cb4a2d584b06327bdbe372dd8e0b69b8cdca555be6fde4016d
EBUILD rpcbind-0.2.3-r2.ebuild 1485 SHA256 143046550c8df379751e274d391cc15b0c6183eb88296efb56b3bed7715bbff5 SHA512 0a9c37baaf7010f0af558623121a409cad2ebd216f41646d00580cd536f67831bc2b700cf3d2ecdd2d3b9e8c7a69efc5cd41f6d0bb6a51147e9550d419347b6b WHIRLPOOL ac9b5f194d653d28c9f1b6b405aed9e1c8acea3f423cb71804741f252012e42b10f7e0e1ba703240d2ba576c3018933bf7cfc2fdcb43d8133ef1b34568831334
EBUILD rpcbind-0.2.3.ebuild 1376 SHA256 68d2c5e8294aecdb3f1199114a66204c241c2d63268d518cb32c6f769e61b4b7 SHA512 40e94281c998ad4244ab47a01f7a951ea86a753abde9692cb35dbbacde332677e32a79e1638b4b717f299bfdffea358243924c9c2844213f17e89a7587724f2b WHIRLPOOL 439311815ddefdb85d758b8d2347640f6174e6c29a31cb770c7a1db5d89795cbacddfd50d1d4ae10b0d1429cbb9cf1939916cffc10c5b188b1ad446971d5e22f
EBUILD rpcbind-9999.ebuild 1334 SHA256 64e476fa3a2e123f489a1488354f2b55059ca8135b55a71b6176070a2dab6a6a SHA512 662eed0fa5368b445073122d299ae6bb0e7e1e66510389a82564205571de18cbabf21be9a3cc59277103237700e1265f507780d1f99b3606cfb32986a9c6a701 WHIRLPOOL 3364d58a264533b177b7af14a22af77ba9a75b025af0a8efced2939eca9c6303f163b9ea2698a7cc6a37095d382920d4767ab596a68a6b91ce1c769b087b53f5
MISC ChangeLog 5696 SHA256 bfd3d7cc6a218f030a01ba6ffefd7b5069e7ba216380f4481b192e5bd765857c SHA512 a8900330ecab74c41bccd70a5f1f5911499c1557edd8ca1ff5fce7a7d47cd2f72dba47588f4a78549725ad33b1d4ce91be77d36f0f2ea093b0004f98a8a1da85 WHIRLPOOL 9a2ba508cae901c85145e85a3f37429160b3525a2fee59a0fb2934f835de522c16cd4615f28cc361063260137c4c2aeb36d2a299716866cc3a2b0f7578fd80bf
MISC ChangeLog-2015 5908 SHA256 064fb710a31bc7f3ccca52d220832a71fd12e9d2bc44d924821eb59b9f802577 SHA512 380ae6c889bbabbaed12ab1a4a360c974024acdfbdbea27be8a4edb3d1824951ba17472e9f564debeb9928224d4014b01cddef6fe89e9286ffd941602c8339fa WHIRLPOOL d7e7eb9723819fd77f583f32800a532c190469e79303dfc5c2d48d32ee74c1dfff48d0f15cb08a706d6e6abfe8b1d8d5cbda7273542e68e01eaf32620cd036dc
MISC metadata.xml 405 SHA256 f00aa4ca742840a4285cf6ee239cc319f88af5ba60d5aa1d3f0b62b2db50f99c SHA512 accad1ef4202c9ebd7292ae6e1e68a1c59ddbfb741779a635058d54aa1efbf8b70b5e045d53dc9dba61256d5981e11c57b540a1c7b8fb38207863a6f2c50a5af WHIRLPOOL 9726f030b21142d38207cfdfb784673473346c719e81cbc53a7170a3f0c4838697f7f83de9757ffbc3700477ebc5b9b9b07e8d0194ec34c26727bbdd1ec4b84a

View File

@ -0,0 +1,42 @@
fix from upstream for building w/newer libtirpc
From 9194122389f2a56b1cd1f935e64307e2e963c2da Mon Sep 17 00:00:00 2001
From: Steve Dickson <steved@redhat.com>
Date: Mon, 2 Nov 2015 17:05:18 -0500
Subject: [PATCH rpcbind] handle_reply: Don't use the xp_auth pointer directly
In the latest libtirpc version to access the xp_auth
one must use the SVC_XP_AUTH macro. To be backwards
compatible a couple ifdefs were added to use the
macro when it exists.
Signed-off-by: Steve Dickson <steved@redhat.com>
---
src/rpcb_svc_com.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c
index 4ae93f1..22d6c84 100644
--- a/src/rpcb_svc_com.c
+++ b/src/rpcb_svc_com.c
@@ -1295,10 +1295,17 @@ handle_reply(int fd, SVCXPRT *xprt)
a.rmt_localvers = fi->versnum;
xprt_set_caller(xprt, fi);
+#if defined(SVC_XP_AUTH)
+ SVC_XP_AUTH(xprt) = svc_auth_none;
+#else
xprt->xp_auth = &svc_auth_none;
+#endif
svc_sendreply(xprt, (xdrproc_t) xdr_rmtcall_result, (char *) &a);
+#if !defined(SVC_XP_AUTH)
SVCAUTH_DESTROY(xprt->xp_auth);
xprt->xp_auth = NULL;
+#endif
+
done:
if (buffer)
free(buffer);
--
2.5.2

View File

@ -0,0 +1,86 @@
https://bugs.gentoo.org/560990
fix from upstream
From d5dace219953c45d26ae42db238052b68540649a Mon Sep 17 00:00:00 2001
From: Olaf Kirch <okir@suse.de>
Date: Fri, 30 Oct 2015 10:18:20 -0400
Subject: [PATCH rpcbind] Fix memory corruption in PMAP_CALLIT code
- A PMAP_CALLIT call comes in on IPv4 UDP
- rpcbind duplicates the caller's address to a netbuf and stores it in
FINFO[0].caller_addr. caller_addr->buf now points to a memory region A
with a size of 16 bytes
- rpcbind forwards the call to the local service, receives a reply
- when processing the reply, it does this in xprt_set_caller:
xprt->xp_rtaddr = *FINFO[0].caller_addr
It sends out the reply, and then frees the netbuf caller_addr and
caller_addr.buf.
However, it does not clear xp_rtaddr, so xp_rtaddr.buf now refers
to memory region A, which is free.
- When the next call comes in on the UDP/IPv4 socket, svc_dg_recv will
be called, which will set xp_rtaddr to the client's address.
It will reuse the buffer inside xp_rtaddr, ie it will write a
sockaddr_in to region A
Some time down the road, an incoming TCP connection is accepted,
allocating a fresh SVCXPRT. The memory region A is inside the
new SVCXPRT
- While processing the TCP call, another UDP call comes in, again
overwriting region A with the client's address
- TCP client closes connection. In svc_destroy, we now trip over
the garbage left in region A
We ran into the case where a commercial scanner was triggering
occasional rpcbind segfaults. The core file that was captured showed
a corrupted xprt->xp_netid pointer that was really a sockaddr_in.
Signed-off-by: Olaf Kirch <okir@suse.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
---
src/rpcb_svc_com.c | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c
index ff9ce6b..4ae93f1 100644
--- a/src/rpcb_svc_com.c
+++ b/src/rpcb_svc_com.c
@@ -1183,12 +1183,33 @@ check_rmtcalls(struct pollfd *pfds, int nfds)
return (ncallbacks_found);
}
+/*
+ * This is really a helper function defined in libtirpc,
+ * but unfortunately, it hasn't been exported yet.
+ */
+static struct netbuf *
+__rpc_set_netbuf(struct netbuf *nb, const void *ptr, size_t len)
+{
+ if (nb->len != len) {
+ if (nb->len)
+ mem_free(nb->buf, nb->len);
+ nb->buf = mem_alloc(len);
+ if (nb->buf == NULL)
+ return NULL;
+
+ nb->maxlen = nb->len = len;
+ }
+ memcpy(nb->buf, ptr, len);
+ return nb;
+}
+
static void
xprt_set_caller(SVCXPRT *xprt, struct finfo *fi)
{
+ const struct netbuf *caller = fi->caller_addr;
u_int32_t *xidp;
- *(svc_getrpccaller(xprt)) = *(fi->caller_addr);
+ __rpc_set_netbuf(svc_getrpccaller(xprt), caller->buf, caller->len);
xidp = __rpcb_get_dg_xidp(xprt);
*xidp = fi->caller_xid;
}
--
2.5.2

View File

@ -0,0 +1,246 @@
From 196e8f3abaa6e8899ba2655c6c2d8751e33a9795 Mon Sep 17 00:00:00 2001
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
Date: Wed, 17 Aug 2016 10:16:47 -0400
Subject: [PATCH] src: remove use of the __P() macro
The __P() macro is a legacy compatibility macro aimed making pre-ANSI
(i.e. K&R) compilers that do not support function prototypes happy,
while still allowing such prototypes for ANSI-compliant compilers.
Since virtually all compilers have been ANSI-compliant for a few decades
now, use of __P() is totally useless.
Furthermore, __P() is defined in the non-standard sys/cdefs.h header.
This header is present in glibc and uClibc, and both have it included
from many of their headers. So, sys/cdefs.h is automagically included in
most cases and its macros are available.
However, the musl C library does not provide this sys/cdefs.h header.
Thus, the build breaks on musl.
For all the above reasons, get rid of __P() wherever it is used; just
always declare real function prototypes.
Reviewed-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Steve Dickson <steved@redhat.com>
Cc: Chuck Lever <chuck.lever@oracle.com>
Cc: Steve Dickson <SteveD@redhat.com>
Cc: Mike Frysinger <vapier@gentoo.org>
---
src/check_bound.c | 2 +-
src/pmap_svc.c | 10 +++++-----
src/rpcb_svc.c | 10 +++++-----
src/rpcb_svc_4.c | 14 ++++++--------
src/rpcb_svc_com.c | 46 +++++++++++++++++++++++-----------------------
src/rpcbind.c | 12 ++++++------
src/util.c | 2 +-
src/warmstart.c | 4 ++--
8 files changed, 49 insertions(+), 51 deletions(-)
diff --git a/src/check_bound.c b/src/check_bound.c
index c70b845..92bfd36 100644
--- a/src/check_bound.c
+++ b/src/check_bound.c
@@ -70,7 +70,7 @@ static struct fdlist *fdhead; /* Link list of the check fd's */
static struct fdlist *fdtail;
static char *nullstring = "";
-static bool_t check_bound __P((struct fdlist *, char *uaddr));
+static bool_t check_bound(struct fdlist *, char *uaddr);
/*
* Returns 1 if the given address is bound for the given addr & transport
diff --git a/src/pmap_svc.c b/src/pmap_svc.c
index ad28b93..4c744fe 100644
--- a/src/pmap_svc.c
+++ b/src/pmap_svc.c
@@ -60,11 +60,11 @@ static char sccsid[] = "@(#)pmap_svc.c 1.23 89/04/05 Copyr 1984 Sun Micro";
#include "rpcbind.h"
#include "xlog.h"
#include <rpc/svc_soc.h> /* svc_getcaller routine definition */
-static struct pmaplist *find_service_pmap __P((rpcprog_t, rpcvers_t,
- rpcprot_t));
-static bool_t pmapproc_change __P((struct svc_req *, SVCXPRT *, u_long));
-static bool_t pmapproc_getport __P((struct svc_req *, SVCXPRT *));
-static bool_t pmapproc_dump __P((struct svc_req *, SVCXPRT *));
+static struct pmaplist *find_service_pmap(rpcprog_t, rpcvers_t,
+ rpcprot_t);
+static bool_t pmapproc_change(struct svc_req *, SVCXPRT *, u_long);
+static bool_t pmapproc_getport(struct svc_req *, SVCXPRT *);
+static bool_t pmapproc_dump(struct svc_req *, SVCXPRT *);
/*
* Called for all the version 2 inquiries.
diff --git a/src/rpcb_svc.c b/src/rpcb_svc.c
index bd92201..709e3fb 100644
--- a/src/rpcb_svc.c
+++ b/src/rpcb_svc.c
@@ -53,10 +53,10 @@
#include "rpcbind.h"
#include "xlog.h"
-static void *rpcbproc_getaddr_3_local __P((void *, struct svc_req *, SVCXPRT *,
- rpcvers_t));
-static void *rpcbproc_dump_3_local __P((void *, struct svc_req *, SVCXPRT *,
- rpcvers_t));
+static void *rpcbproc_getaddr_3_local(void *, struct svc_req *, SVCXPRT *,
+ rpcvers_t);
+static void *rpcbproc_dump_3_local(void *, struct svc_req *, SVCXPRT *,
+ rpcvers_t);
/*
* Called by svc_getreqset. There is a separate server handle for
@@ -75,7 +75,7 @@ rpcb_service_3(struct svc_req *rqstp, SVCXPRT *transp)
} argument;
char *result;
xdrproc_t xdr_argument, xdr_result;
- void *(*local) __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t));
+ void *(*local)(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
rpcprog_t setprog = 0;
rpcbs_procinfo(RPCBVERS_3_STAT, rqstp->rq_proc);
diff --git a/src/rpcb_svc_4.c b/src/rpcb_svc_4.c
index b673452..5094879 100644
--- a/src/rpcb_svc_4.c
+++ b/src/rpcb_svc_4.c
@@ -54,13 +54,11 @@
#include "rpcbind.h"
#include "xlog.h"
-static void *rpcbproc_getaddr_4_local __P((void *, struct svc_req *, SVCXPRT *,
- rpcvers_t));
-static void *rpcbproc_getversaddr_4_local __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t));
-static void *rpcbproc_getaddrlist_4_local
- __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t));
-static void free_rpcb_entry_list __P((rpcb_entry_list_ptr *));
-static void *rpcbproc_dump_4_local __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t));
+static void *rpcbproc_getaddr_4_local(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
+static void *rpcbproc_getversaddr_4_local(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
+static void *rpcbproc_getaddrlist_4_local(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
+static void free_rpcb_entry_list(rpcb_entry_list_ptr *);
+static void *rpcbproc_dump_4_local(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
/*
* Called by svc_getreqset. There is a separate server handle for
@@ -78,7 +76,7 @@ rpcb_service_4(struct svc_req *rqstp, SVCXPRT *transp)
} argument;
char *result;
xdrproc_t xdr_argument, xdr_result;
- void *(*local) __P((void *, struct svc_req *, SVCXPRT *, rpcvers_t));
+ void *(*local)(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
rpcprog_t setprog = 0;
rpcbs_procinfo(RPCBVERS_4_STAT, rqstp->rq_proc);
diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c
index 148fe42..5862c26 100644
--- a/src/rpcb_svc_com.c
+++ b/src/rpcb_svc_com.c
@@ -100,29 +100,29 @@ struct finfo {
static struct finfo FINFO[NFORWARD];
-static bool_t xdr_encap_parms __P((XDR *, struct encap_parms *));
-static bool_t xdr_rmtcall_args __P((XDR *, struct r_rmtcall_args *));
-static bool_t xdr_rmtcall_result __P((XDR *, struct r_rmtcall_args *));
-static bool_t xdr_opaque_parms __P((XDR *, struct r_rmtcall_args *));
-static int find_rmtcallfd_by_netid __P((char *));
-static SVCXPRT *find_rmtcallxprt_by_fd __P((int));
-static int forward_register __P((u_int32_t, struct netbuf *, int, char *,
- rpcproc_t, rpcvers_t, u_int32_t *));
-static struct finfo *forward_find __P((u_int32_t));
-static int free_slot_by_xid __P((u_int32_t));
-static int free_slot_by_index __P((int));
-static int netbufcmp __P((struct netbuf *, struct netbuf *));
-static struct netbuf *netbufdup __P((struct netbuf *));
-static void netbuffree __P((struct netbuf *));
-static int check_rmtcalls __P((struct pollfd *, int));
-static void xprt_set_caller __P((SVCXPRT *, struct finfo *));
-static void send_svcsyserr __P((SVCXPRT *, struct finfo *));
-static void handle_reply __P((int, SVCXPRT *));
-static void find_versions __P((rpcprog_t, char *, rpcvers_t *, rpcvers_t *));
-static rpcblist_ptr find_service __P((rpcprog_t, rpcvers_t, char *));
-static char *getowner __P((SVCXPRT *, char *, size_t));
-static int add_pmaplist __P((RPCB *));
-static int del_pmaplist __P((RPCB *));
+static bool_t xdr_encap_parms(XDR *, struct encap_parms *);
+static bool_t xdr_rmtcall_args(XDR *, struct r_rmtcall_args *);
+static bool_t xdr_rmtcall_result(XDR *, struct r_rmtcall_args *);
+static bool_t xdr_opaque_parms(XDR *, struct r_rmtcall_args *);
+static int find_rmtcallfd_by_netid(char *);
+static SVCXPRT *find_rmtcallxprt_by_fd(int);
+static int forward_register(u_int32_t, struct netbuf *, int, char *,
+ rpcproc_t, rpcvers_t, u_int32_t *);
+static struct finfo *forward_find(u_int32_t);
+static int free_slot_by_xid(u_int32_t);
+static int free_slot_by_index(int);
+static int netbufcmp(struct netbuf *, struct netbuf *);
+static struct netbuf *netbufdup(struct netbuf *);
+static void netbuffree(struct netbuf *);
+static int check_rmtcalls(struct pollfd *, int);
+static void xprt_set_caller(SVCXPRT *, struct finfo *);
+static void send_svcsyserr(SVCXPRT *, struct finfo *);
+static void handle_reply(int, SVCXPRT *);
+static void find_versions(rpcprog_t, char *, rpcvers_t *, rpcvers_t *);
+static rpcblist_ptr find_service(rpcprog_t, rpcvers_t, char *);
+static char *getowner(SVCXPRT *, char *, size_t);
+static int add_pmaplist(RPCB *);
+static int del_pmaplist(RPCB *);
/*
* Set a mapping of program, version, netid
diff --git a/src/rpcbind.c b/src/rpcbind.c
index c4265cd..87ccdc2 100644
--- a/src/rpcbind.c
+++ b/src/rpcbind.c
@@ -136,13 +136,13 @@ char *tcp_uaddr; /* Universal TCP address */
static char servname[] = "rpcbind";
static char superuser[] = "superuser";
-int main __P((int, char *[]));
+int main(int, char *[]);
-static int init_transport __P((struct netconfig *));
-static void rbllist_add __P((rpcprog_t, rpcvers_t, struct netconfig *,
- struct netbuf *));
-static void terminate __P((int));
-static void parseargs __P((int, char *[]));
+static int init_transport(struct netconfig *);
+static void rbllist_add(rpcprog_t, rpcvers_t, struct netconfig *,
+ struct netbuf *);
+static void terminate(int);
+static void parseargs(int, char *[]);
int
main(int argc, char *argv[])
diff --git a/src/util.c b/src/util.c
index a6c835b..74b0284 100644
--- a/src/util.c
+++ b/src/util.c
@@ -70,7 +70,7 @@ static struct sockaddr_in *local_in4;
static struct sockaddr_in6 *local_in6;
#endif
-static int bitmaskcmp __P((void *, void *, void *, int));
+static int bitmaskcmp(void *, void *, void *, int);
/*
* For all bits set in "mask", compare the corresponding bits in
diff --git a/src/warmstart.c b/src/warmstart.c
index b6eb73e..122a058 100644
--- a/src/warmstart.c
+++ b/src/warmstart.c
@@ -58,8 +58,8 @@
#define PMAPFILE RPCBIND_STATEDIR "/portmap.xdr"
#endif
-static bool_t write_struct __P((char *, xdrproc_t, void *));
-static bool_t read_struct __P((char *, xdrproc_t, void *));
+static bool_t write_struct(char *, xdrproc_t, void *);
+static bool_t read_struct(char *, xdrproc_t, void *);
static bool_t
write_struct(char *filename, xdrproc_t structproc, void *list)
--
1.8.3.1

View File

@ -1,4 +1,4 @@
#!/sbin/runscript
#!/sbin/openrc-run
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

View File

@ -1,7 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>net-fs</herd>
<maintainer type="project">
<email>base-system@gentoo.org</email>
</maintainer>
<use>
<flag name="warmstarts">Enables rpcbind to cache configuration for warm restarts</flag>
</use>

View File

@ -17,7 +17,7 @@ else
fi
DESCRIPTION="portmap replacement which supports RPC over various protocols"
HOMEPAGE="http://sourceforge.net/projects/rpcbind/"
HOMEPAGE="https://sourceforge.net/projects/rpcbind/"
LICENSE="BSD"
SLOT="0"

View File

@ -15,7 +15,7 @@ else
fi
DESCRIPTION="portmap replacement which supports RPC over various protocols"
HOMEPAGE="http://sourceforge.net/projects/rpcbind/"
HOMEPAGE="https://sourceforge.net/projects/rpcbind/"
LICENSE="BSD"
SLOT="0"

View File

@ -15,7 +15,7 @@ else
fi
DESCRIPTION="portmap replacement which supports RPC over various protocols"
HOMEPAGE="http://sourceforge.net/projects/rpcbind/"
HOMEPAGE="https://sourceforge.net/projects/rpcbind/"
LICENSE="BSD"
SLOT="0"

View File

@ -0,0 +1,57 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils systemd
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://linux-nfs.org/~steved/rpcbind.git"
inherit autotools git-r3
else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86"
fi
DESCRIPTION="portmap replacement which supports RPC over various protocols"
HOMEPAGE="https://sourceforge.net/projects/rpcbind/"
LICENSE="BSD"
SLOT="0"
IUSE="debug selinux systemd tcpd warmstarts"
CDEPEND=">=net-libs/libtirpc-0.2.3:=
systemd? ( sys-apps/systemd:= )
tcpd? ( sys-apps/tcp-wrappers )"
DEPEND="${CDEPEND}
virtual/pkgconfig"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-rpcbind )"
src_prepare() {
[[ ${PV} == "9999" ]] && eautoreconf
epatch "${FILESDIR}"/${P}-libtirpc.patch
epatch "${FILESDIR}"/${P}-mem-corrupt.patch #560990
epatch_user
}
src_configure() {
econf \
--bindir="${EPREFIX}"/sbin \
--with-statedir="${EPREFIX}"/run/${PN} \
--with-rpcuser=root \
--with-systemdsystemunitdir=$(usex systemd "$(systemd_get_unitdir)" "no") \
$(use_enable tcpd libwrap) \
$(use_enable debug) \
$(use_enable warmstarts)
}
src_install() {
default
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
systemd_dounit "${FILESDIR}"/${PN}.service
}

View File

@ -0,0 +1,58 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit eutils systemd
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="git://linux-nfs.org/~steved/rpcbind.git"
inherit autotools git-r3
else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
fi
DESCRIPTION="portmap replacement which supports RPC over various protocols"
HOMEPAGE="https://sourceforge.net/projects/rpcbind/"
LICENSE="BSD"
SLOT="0"
IUSE="debug selinux systemd tcpd warmstarts"
CDEPEND=">=net-libs/libtirpc-0.2.3:=
systemd? ( sys-apps/systemd:= )
tcpd? ( sys-apps/tcp-wrappers )"
DEPEND="${CDEPEND}
virtual/pkgconfig"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-rpcbind )"
src_prepare() {
[[ ${PV} == "9999" ]] && eautoreconf
epatch "${FILESDIR}"/${P}-libtirpc.patch
epatch "${FILESDIR}"/${P}-mem-corrupt.patch #560990
epatch "${FILESDIR}"/${P}-remove-P-macro.patch #589666
epatch_user
}
src_configure() {
econf \
--bindir="${EPREFIX}"/sbin \
--with-statedir="${EPREFIX}"/run/${PN} \
--with-rpcuser=root \
--with-systemdsystemunitdir=$(usex systemd "$(systemd_get_unitdir)" "no") \
$(use_enable tcpd libwrap) \
$(use_enable debug) \
$(use_enable warmstarts)
}
src_install() {
default
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
systemd_dounit "${FILESDIR}"/${PN}.service
}

View File

@ -15,22 +15,23 @@ else
fi
DESCRIPTION="portmap replacement which supports RPC over various protocols"
HOMEPAGE="http://sourceforge.net/projects/rpcbind/"
HOMEPAGE="https://sourceforge.net/projects/rpcbind/"
LICENSE="BSD"
SLOT="0"
IUSE="debug selinux systemd tcpd warmstarts"
CDEPEND=">=net-libs/libtirpc-0.2.3
CDEPEND=">=net-libs/libtirpc-0.2.3:=
systemd? ( sys-apps/systemd:= )
tcpd? ( sys-apps/tcp-wrappers )"
DEPEND="${CDEPEND}
virtual/pkgconfig"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-rpcbind )
"
selinux? ( sec-policy/selinux-rpcbind )"
src_prepare() {
[[ ${PV} == "9999" ]] && eautoreconf
epatch "${FILESDIR}"/${P}-libtirpc.patch
epatch_user
}

View File

@ -15,20 +15,20 @@ else
fi
DESCRIPTION="portmap replacement which supports RPC over various protocols"
HOMEPAGE="http://sourceforge.net/projects/rpcbind/"
HOMEPAGE="https://sourceforge.net/projects/rpcbind/"
LICENSE="BSD"
SLOT="0"
IUSE="debug selinux systemd tcpd warmstarts"
CDEPEND=">=net-libs/libtirpc-0.2.3
CDEPEND=">=net-libs/libtirpc-0.2.3:=
systemd? ( sys-apps/systemd:= )
tcpd? ( sys-apps/tcp-wrappers )"
DEPEND="${CDEPEND}
virtual/pkgconfig"
RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-rpcbind )
"
selinux? ( sec-policy/selinux-rpcbind )"
src_prepare() {
[[ ${PV} == "9999" ]] && eautoreconf
epatch_user