[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2022-10-19 Thread Sam James
commit: d56a8922ffd6b46a08a6c244a88427d2e43fb853
Author: kochera  google  com>
AuthorDate: Wed Oct 19 18:31:36 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 19 19:21:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d56a8922

net-nds/rpcbind: Add cpe_uri for rpcbind package.

Signed-off-by: Michael Kochera  google.com>
Signed-off-by: Sam James  gentoo.org>

 net-nds/rpcbind/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-nds/rpcbind/metadata.xml b/net-nds/rpcbind/metadata.xml
index 7c87940b9c70..0f3a3d4aa27e 100644
--- a/net-nds/rpcbind/metadata.xml
+++ b/net-nds/rpcbind/metadata.xml
@@ -9,6 +9,7 @@
Enables rpcbind to cache configuration 
for warm restarts


+   cpe:/a:rpcbind_project:rpcbind
rpcbind

 



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2022-08-28 Thread WANG Xuerui
commit: e189c070feeaf4cb5f0f1b04d10ec48aeea22c75
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sun Aug 28 05:41:14 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun Aug 28 06:28:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e189c070

net-nds/rpcbind: keyword 1.2.6 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.6.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
index fb9749bd19a0..2eb671ed8755 100644
--- a/net-nds/rpcbind/rpcbind-1.2.6.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc 
ppc64 ~riscv ~s390 sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2022-01-15 Thread James Le Cuirot
commit: d6d8592bb51ceea8711a81d3d298c785e557fbea
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Jan 15 23:08:59 2022 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Jan 15 23:30:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6d8592b

net-nds/rpcbind: Keyword 1.2.6 for ~m68k

Signed-off-by: James Le Cuirot  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.6.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
index 6107f2e5bec6..fb9749bd19a0 100644
--- a/net-nds/rpcbind/rpcbind-1.2.6.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2021-06-14 Thread David Seifert
commit: c6b4a38e2200c9b30f61d33a6cfaebcd25a41d27
Author: David Seifert  gentoo  org>
AuthorDate: Mon Jun 14 09:19:05 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Jun 14 09:19:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6b4a38e

net-nds/rpcbind: drop 1.2.5

Signed-off-by: David Seifert  gentoo.org>

 net-nds/rpcbind/Manifest |  1 -
 net-nds/rpcbind/rpcbind-1.2.5.ebuild | 61 
 2 files changed, 62 deletions(-)

diff --git a/net-nds/rpcbind/Manifest b/net-nds/rpcbind/Manifest
index a64b021db6b..33851a30360 100644
--- a/net-nds/rpcbind/Manifest
+++ b/net-nds/rpcbind/Manifest
@@ -1,2 +1 @@
-DIST rpcbind-1.2.5.tar.bz2 123502 BLAKE2B 
de0d10406aeffd75195c1fa1d0179b2c7c0ba54c3f3ac58ce9d7e9448d1dbe91a296ad69c45dee115e0a739aa9cfec53b750d3a5ca405e16605a92bbb2006859
 SHA512 
e884c4757950ccead0f9a07f50625a63e6f18f9bfae9fcfffa3e5fa4b7a66c3a99d9fa303061848fe8211509d5456f24ff26e4579af6e161a35522268f3ef3e4
 DIST rpcbind-1.2.6.tar.bz2 124590 BLAKE2B 
bb0e9f81e4747f8a732c9e25af561e79f2b6cd1c1955db586833871901b6da73f4b7ef32149a81b75daa81359b9c0554726670460b28857042dd66a2f861cac2
 SHA512 
fb89c61be4c533fe2e6057749d97079a2d1c9fac0d35d6be1a159a0edbf86092b3fc121f19fa920e75aac5ecdd3f59f5978e6401d5cad16cd438c977736206a7

diff --git a/net-nds/rpcbind/rpcbind-1.2.5.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
deleted file mode 100644
index dba9155d7bd..000
--- a/net-nds/rpcbind/rpcbind-1.2.5.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit systemd
-
-if [[ ${PV} == "" ]] ; 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 ~riscv 
~s390 sparc x86"
-fi
-
-DESCRIPTION="portmap replacement which supports RPC over various protocols"
-HOMEPAGE="https://sourceforge.net/projects/rpcbind/;
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="debug remotecalls selinux systemd tcpd warmstarts"
-REQUIRED_USE="systemd? ( 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() {
-   default
-   [[ ${PV} == "" ]] && eautoreconf
-}
-
-src_configure() {
-   local myeconfargs=(
-   --bindir="${EPREFIX}"/sbin
-   --sbindir="${EPREFIX}"/sbin
-   --with-statedir="${EPREFIX}"/run/${PN}
-   --with-systemdsystemunitdir=$(usex systemd 
"$(systemd_get_systemunitdir)" "no")
-   $(use_enable debug)
-   $(use_enable remotecalls rmtcalls)
-   $(use_enable warmstarts)
-   $(use_enable tcpd libwrap)
-   )
-
-   # Avoid using rpcsvc headers
-   # https://bugs.gentoo.org/705224
-   export ac_cv_header_rpcsvc_mount_h=no
-
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-}



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2021-06-13 Thread Sergei Trofimovich
commit: 1f3db99b2dea771c27223476acf302bfecf9a9aa
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Jun 13 09:26:59 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Jun 13 10:46:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f3db99b

net-nds/rpcbind: stable 1.2.6 for hppa, bug #795624

Package-Manager: Portage-3.0.18, Repoman-3.0.2
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.6.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
index 98606a2a320..6107f2e5bec 100644
--- a/net-nds/rpcbind/rpcbind-1.2.6.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2021-06-13 Thread Agostino Sarubbo
commit: 133edf21d823b1a51a1b4208793f83f5ca9f6d89
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jun 13 06:32:40 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jun 13 06:32:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=133edf21

net-nds/rpcbind: x86 stable wrt bug #795624

Package-Manager: Portage-3.0.13, Repoman-3.0.2
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.6.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
index a2738c154b9..98606a2a320 100644
--- a/net-nds/rpcbind/rpcbind-1.2.6.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2021-06-13 Thread Sam James
commit: 2bd82abed61ae61591e12e53e2eec41089c97b31
Author: Sam James  gentoo  org>
AuthorDate: Sun Jun 13 06:09:28 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jun 13 06:10:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bd82abe

net-nds/rpcbind: Stabilize 1.2.6 amd64, #795624

Signed-off-by: Sam James  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.6.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
index 566a359b202..a2738c154b9 100644
--- a/net-nds/rpcbind/rpcbind-1.2.6.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2021-06-12 Thread Sam James
commit: d445edb13e3e263dc693ab1d352d75fa1a7d420d
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 12 16:07:15 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 12 16:07:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d445edb1

net-nds/rpcbind: Stabilize 1.2.6 arm, #795624

Signed-off-by: Sam James  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.6.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
index 8c545424cd2..566a359b202 100644
--- a/net-nds/rpcbind/rpcbind-1.2.6.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2021-06-12 Thread Sam James
commit: 088ab81f1bdf82bb594cb8aebf317d08ea89c4c9
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 12 16:07:08 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 12 16:07:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=088ab81f

net-nds/rpcbind: Stabilize 1.2.6 arm64, #795624

Signed-off-by: Sam James  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.6.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
index 1f67a2e6b37..8c545424cd2 100644
--- a/net-nds/rpcbind/rpcbind-1.2.6.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2021-06-12 Thread Sam James
commit: c02e5ee761d3be95701a3461fed30ea321ebab80
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 12 15:46:39 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 12 15:46:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c02e5ee7

net-nds/rpcbind: Stabilize 1.2.6 sparc, #795624

Signed-off-by: Sam James  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.6.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
index a59f7e80399..1f67a2e6b37 100644
--- a/net-nds/rpcbind/rpcbind-1.2.6.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 sparc ~x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2021-06-12 Thread Sam James
commit: cf31530f6619cda73e4fd3ac9204caf30cea2e28
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 12 15:45:51 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 12 15:45:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf31530f

net-nds/rpcbind: Stabilize 1.2.6 ppc64, #795624

Signed-off-by: Sam James  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.6.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
index 8e3bca1c116..a59f7e80399 100644
--- a/net-nds/rpcbind/rpcbind-1.2.6.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
~s390 ~sparc ~x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2021-06-12 Thread Sam James
commit: 77ef960c16c6d622ccadeb6b3b8ebc9bb1d77877
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 12 15:44:51 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 12 15:44:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77ef960c

net-nds/rpcbind: Stabilize 1.2.6 ppc, #795624

Signed-off-by: Sam James  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.6.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
index 51778b3ddf6..8e3bca1c116 100644
--- a/net-nds/rpcbind/rpcbind-1.2.6.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2021-05-12 Thread Matt Turner
commit: 9246c5cb6cdf03feccbac48f23a3a9748c4137a5
Author: Matt Turner  gentoo  org>
AuthorDate: Wed May 12 06:12:30 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed May 12 06:25:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9246c5cb

net-nds/rpcbind: Port to EAPI=7

And propagate ~riscv keyword.

Signed-off-by: Matt Turner  gentoo.org>

 net-nds/rpcbind/rpcbind-.ebuild | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/net-nds/rpcbind/rpcbind-.ebuild 
b/net-nds/rpcbind/rpcbind-.ebuild
index aada63a8585..51778b3ddf6 100644
--- a/net-nds/rpcbind/rpcbind-.ebuild
+++ b/net-nds/rpcbind/rpcbind-.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 inherit systemd
 
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"
@@ -21,13 +21,13 @@ SLOT="0"
 IUSE="debug remotecalls selinux systemd tcpd warmstarts"
 REQUIRED_USE="systemd? ( warmstarts )"
 
-CDEPEND=">=net-libs/libtirpc-0.2.3:=
+DEPEND=">=net-libs/libtirpc-0.2.3:=
systemd? ( sys-apps/systemd:= )
tcpd? ( sys-apps/tcp-wrappers )"
-DEPEND="${CDEPEND}
-   virtual/pkgconfig"
-RDEPEND="${CDEPEND}
+RDEPEND="${DEPEND}
selinux? ( sec-policy/selinux-rpcbind )"
+BDEPEND="
+   virtual/pkgconfig"
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2021-05-12 Thread Matt Turner
commit: be0ca6b40ce62d7ef2b09bf8fccdadf89504d42d
Author: Matt Turner  gentoo  org>
AuthorDate: Wed May 12 06:09:37 2021 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed May 12 06:25:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be0ca6b4

net-nds/rpcbind: Version bump to 1.2.6

Signed-off-by: Matt Turner  gentoo.org>

 net-nds/rpcbind/Manifest |  1 +
 net-nds/rpcbind/rpcbind-1.2.6.ebuild | 61 
 2 files changed, 62 insertions(+)

diff --git a/net-nds/rpcbind/Manifest b/net-nds/rpcbind/Manifest
index 1e114d6b58e..a64b021db6b 100644
--- a/net-nds/rpcbind/Manifest
+++ b/net-nds/rpcbind/Manifest
@@ -1 +1,2 @@
 DIST rpcbind-1.2.5.tar.bz2 123502 BLAKE2B 
de0d10406aeffd75195c1fa1d0179b2c7c0ba54c3f3ac58ce9d7e9448d1dbe91a296ad69c45dee115e0a739aa9cfec53b750d3a5ca405e16605a92bbb2006859
 SHA512 
e884c4757950ccead0f9a07f50625a63e6f18f9bfae9fcfffa3e5fa4b7a66c3a99d9fa303061848fe8211509d5456f24ff26e4579af6e161a35522268f3ef3e4
+DIST rpcbind-1.2.6.tar.bz2 124590 BLAKE2B 
bb0e9f81e4747f8a732c9e25af561e79f2b6cd1c1955db586833871901b6da73f4b7ef32149a81b75daa81359b9c0554726670460b28857042dd66a2f861cac2
 SHA512 
fb89c61be4c533fe2e6057749d97079a2d1c9fac0d35d6be1a159a0edbf86092b3fc121f19fa920e75aac5ecdd3f59f5978e6401d5cad16cd438c977736206a7

diff --git a/net-nds/rpcbind/rpcbind-1.2.6.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
new file mode 100644
index 000..51778b3ddf6
--- /dev/null
+++ b/net-nds/rpcbind/rpcbind-1.2.6.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+if [[ ${PV} == "" ]] ; 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 
~riscv ~s390 ~sparc ~x86"
+fi
+
+DESCRIPTION="portmap replacement which supports RPC over various protocols"
+HOMEPAGE="https://sourceforge.net/projects/rpcbind/;
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="debug remotecalls selinux systemd tcpd warmstarts"
+REQUIRED_USE="systemd? ( warmstarts )"
+
+DEPEND=">=net-libs/libtirpc-0.2.3:=
+   systemd? ( sys-apps/systemd:= )
+   tcpd? ( sys-apps/tcp-wrappers )"
+RDEPEND="${DEPEND}
+   selinux? ( sec-policy/selinux-rpcbind )"
+BDEPEND="
+   virtual/pkgconfig"
+
+src_prepare() {
+   default
+   [[ ${PV} == "" ]] && eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --bindir="${EPREFIX}"/sbin
+   --sbindir="${EPREFIX}"/sbin
+   --with-statedir="${EPREFIX}"/run/${PN}
+   --with-systemdsystemunitdir=$(usex systemd 
"$(systemd_get_systemunitdir)" "no")
+   $(use_enable debug)
+   $(use_enable remotecalls rmtcalls)
+   $(use_enable warmstarts)
+   $(use_enable tcpd libwrap)
+   )
+
+   # Avoid using rpcsvc headers
+   # https://bugs.gentoo.org/705224
+   export ac_cv_header_rpcsvc_mount_h=no
+
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2020-01-13 Thread Mike Gilbert
commit: 800eb4146cfe655ca8962d7fb692bae138bdfeb1
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon Jan 13 16:54:37 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Jan 13 16:56:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=800eb414

net-nds/rpcbind: avoid using rpcsvc headers

Closes: https://bugs.gentoo.org/705224
Package-Manager: Portage-2.3.84_p2, Repoman-2.3.20_p24
Signed-off-by: Mike Gilbert  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild | 63 -
 net-nds/rpcbind/rpcbind-1.2.5.ebuild|  7 +++-
 net-nds/rpcbind/rpcbind-.ebuild | 10 +++---
 3 files changed, 10 insertions(+), 70 deletions(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
deleted file mode 100644
index 601f3ec4d42..000
--- a/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit flag-o-matic systemd
-
-if [[ ${PV} == "" ]] ; 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 ppc ppc64 sparc x86"
-fi
-
-DESCRIPTION="portmap replacement which supports RPC over various protocols"
-HOMEPAGE="https://sourceforge.net/projects/rpcbind/;
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="debug remotecalls selinux systemd tcpd warmstarts"
-REQUIRED_USE="systemd? ( warmstarts )"
-
-CDEPEND=">=net-libs/libtirpc-0.2.3:=
-   systemd? ( sys-apps/systemd:= )
-   tcpd? ( sys-apps/tcp-wrappers )"
-DEPEND="${CDEPEND}
-   net-libs/libnsl
-   sys-fs/quota[rpc]
-   virtual/pkgconfig"
-RDEPEND="${CDEPEND}
-   selinux? ( sec-policy/selinux-rpcbind )"
-
-src_prepare() {
-   default
-   [[ ${PV} == "" ]] && eautoreconf
-}
-
-src_configure() {
-   local myeconfargs=(
-   --bindir="${EPREFIX}"/sbin
-   --sbindir="${EPREFIX}"/sbin
-   --with-statedir="${EPREFIX}"/run/${PN}
-   --with-systemdsystemunitdir=$(usex systemd 
"$(systemd_get_systemunitdir)" "no")
-   $(use_enable debug)
-   $(use_enable remotecalls rmtcalls)
-   $(use_enable warmstarts)
-   $(use_enable tcpd libwrap)
-   )
-
-   # Allow configure to find /usr/include/rpc/rpc.h in rpcsvc/mount.h
-   # https://bugs.gentoo.org/665222
-   append-cppflags "$($(tc-getPKG_CONFIG) --cflags libtirpc)"
-
-   econf "${myeconfargs[@]}"
-}
-
-src_install() {
-   default
-
-   newinitd "${FILESDIR}"/${PN}.initd ${PN}
-   newconfd "${FILESDIR}"/${PN}.confd ${PN}
-}

diff --git a/net-nds/rpcbind/rpcbind-1.2.5.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
index 5c983718d52..4bd86fa2003 100644
--- a/net-nds/rpcbind/rpcbind-1.2.5.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -45,6 +45,11 @@ src_configure() {
$(use_enable warmstarts)
$(use_enable tcpd libwrap)
)
+
+   # Avoid using rpcsvc headers
+   # https://bugs.gentoo.org/705224
+   export ac_cv_header_rpcsvc_mount_h=no
+
econf "${myeconfargs[@]}"
 }
 

diff --git a/net-nds/rpcbind/rpcbind-.ebuild 
b/net-nds/rpcbind/rpcbind-.ebuild
index 57838955f52..eccd9dd4139 100644
--- a/net-nds/rpcbind/rpcbind-.ebuild
+++ b/net-nds/rpcbind/rpcbind-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-inherit flag-o-matic systemd
+inherit systemd
 
 if [[ ${PV} == "" ]] ; then
EGIT_REPO_URI="git://linux-nfs.org/~steved/rpcbind.git"
@@ -25,8 +25,6 @@ CDEPEND=">=net-libs/libtirpc-0.2.3:=
systemd? ( sys-apps/systemd:= )
tcpd? ( sys-apps/tcp-wrappers )"
 DEPEND="${CDEPEND}
-   net-libs/libnsl
-   sys-fs/quota[rpc]
virtual/pkgconfig"
 RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-rpcbind )"
@@ -48,9 +46,9 @@ src_configure() {
$(use_enable tcpd libwrap)
)
 
-   # Allow configure to find /usr/include/rpc/rpc.h in rpcsvc/mount.h
-   # https://bugs.gentoo.org/665222
-   append-cppflags "$($(tc-getPKG_CONFIG) --cflags libtirpc)"
+   # Avoid using rpcsvc headers
+   # https://bugs.gentoo.org/705224
+   export ac_cv_header_rpcsvc_mount_h=no
 
econf "${myeconfargs[@]}"
 }



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2020-01-12 Thread Jeroen Roovers
commit: 897cb1373108bd4f63e9967fcec81ad17fefd73a
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Jan 12 09:36:53 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Jan 12 09:40:00 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=897cb137

net-nds/rpcbind: Stable for hppa too

Package-Manager: Portage-2.3.84, Repoman-2.3.20
RepoMan-Options: --ignore-arches
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
index 785a465f415..601f3ec4d42 100644
--- a/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86"
+   KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2020-01-11 Thread Mike Gilbert
commit: df44d4cfb677fe5af0703324716828bdc466a629
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Jan 12 02:10:07 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Jan 12 02:10:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df44d4cf

net-nds/rpcbind: de-stable hppa on 1.2.5-r1

Package-Manager: Portage-2.3.84_p2, Repoman-2.3.20_p24
Signed-off-by: Mike Gilbert  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
index 601f3ec4d42..785a465f415 100644
--- a/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86"
+   KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2020-01-11 Thread Mike Gilbert
commit: 791f842d65238c4990c3b263fb7440340f926edd
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sun Jan 12 02:01:27 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sun Jan 12 02:01:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=791f842d

net-nds/rpcbind: depend on net-libs/libnsl for rpcsvc/yp.h

Closes: https://bugs.gentoo.org/705194
Package-Manager: Portage-2.3.84_p2, Repoman-2.3.20_p24
Signed-off-by: Mike Gilbert  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild | 1 +
 net-nds/rpcbind/rpcbind-.ebuild | 1 +
 2 files changed, 2 insertions(+)

diff --git a/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
index 2d923d491e9..601f3ec4d42 100644
--- a/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
@@ -25,6 +25,7 @@ CDEPEND=">=net-libs/libtirpc-0.2.3:=
systemd? ( sys-apps/systemd:= )
tcpd? ( sys-apps/tcp-wrappers )"
 DEPEND="${CDEPEND}
+   net-libs/libnsl
sys-fs/quota[rpc]
virtual/pkgconfig"
 RDEPEND="${CDEPEND}

diff --git a/net-nds/rpcbind/rpcbind-.ebuild 
b/net-nds/rpcbind/rpcbind-.ebuild
index 59bcc41863e..57838955f52 100644
--- a/net-nds/rpcbind/rpcbind-.ebuild
+++ b/net-nds/rpcbind/rpcbind-.ebuild
@@ -25,6 +25,7 @@ CDEPEND=">=net-libs/libtirpc-0.2.3:=
systemd? ( sys-apps/systemd:= )
tcpd? ( sys-apps/tcp-wrappers )"
 DEPEND="${CDEPEND}
+   net-libs/libnsl
sys-fs/quota[rpc]
virtual/pkgconfig"
 RDEPEND="${CDEPEND}



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2020-01-11 Thread Mike Gilbert
commit: 1bd1352212037f90897df33efc27fd50ccd19e5e
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Jan 11 17:54:33 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Jan 11 17:54:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bd13522

net-nds/rpcbind: drop mips, s390, sh keywords

Package-Manager: Portage-2.3.84_p2, Repoman-2.3.20_p24
Signed-off-by: Mike Gilbert  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
index 3ac20590e43..2d923d491e9 100644
--- a/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2020-01-11 Thread Mike Gilbert
commit: 4d28ce76fa14fe426a30be6d711a8be456d15ddc
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Jan 11 17:44:16 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Jan 11 17:44:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d28ce76

net-nds/rpcbind: 1.2.5-r1 stable for all but arm64

Package-Manager: Portage-2.3.84_p2, Repoman-2.3.20_p24
Signed-off-by: Mike Gilbert  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
index 59bcc41863e..3ac20590e43 100644
--- a/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 s390 ~sh 
sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2020-01-11 Thread Mike Gilbert
commit: b9f7df9e9c531dd6d7f29b315cd1af6a5a48d854
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Jan 11 17:27:51 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Jan 11 17:36:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9f7df9e

net-nds/rpcbind: fix detection of rpcsvc/mount.h

Dropped ~riscv keyword due to sys-fs/quota.

Closes: https://bugs.gentoo.org/665222
Package-Manager: Portage-2.3.84_p2, Repoman-2.3.20_p24
Signed-off-by: Mike Gilbert  gentoo.org>

 .../rpcbind/{rpcbind-.ebuild => rpcbind-1.2.5-r1.ebuild}   | 10 --
 net-nds/rpcbind/rpcbind-.ebuild| 10 --
 2 files changed, 16 insertions(+), 4 deletions(-)

diff --git a/net-nds/rpcbind/rpcbind-.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
similarity index 84%
copy from net-nds/rpcbind/rpcbind-.ebuild
copy to net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
index 7e3bbeae8e8..59bcc41863e 100644
--- a/net-nds/rpcbind/rpcbind-.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.5-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit systemd
+inherit flag-o-matic systemd
 
 if [[ ${PV} == "" ]] ; then
EGIT_REPO_URI="git://linux-nfs.org/~steved/rpcbind.git"
@@ -25,6 +25,7 @@ CDEPEND=">=net-libs/libtirpc-0.2.3:=
systemd? ( sys-apps/systemd:= )
tcpd? ( sys-apps/tcp-wrappers )"
 DEPEND="${CDEPEND}
+   sys-fs/quota[rpc]
virtual/pkgconfig"
 RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-rpcbind )"
@@ -45,6 +46,11 @@ src_configure() {
$(use_enable warmstarts)
$(use_enable tcpd libwrap)
)
+
+   # Allow configure to find /usr/include/rpc/rpc.h in rpcsvc/mount.h
+   # https://bugs.gentoo.org/665222
+   append-cppflags "$($(tc-getPKG_CONFIG) --cflags libtirpc)"
+
econf "${myeconfargs[@]}"
 }
 

diff --git a/net-nds/rpcbind/rpcbind-.ebuild 
b/net-nds/rpcbind/rpcbind-.ebuild
index 7e3bbeae8e8..59bcc41863e 100644
--- a/net-nds/rpcbind/rpcbind-.ebuild
+++ b/net-nds/rpcbind/rpcbind-.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit systemd
+inherit flag-o-matic systemd
 
 if [[ ${PV} == "" ]] ; then
EGIT_REPO_URI="git://linux-nfs.org/~steved/rpcbind.git"
@@ -25,6 +25,7 @@ CDEPEND=">=net-libs/libtirpc-0.2.3:=
systemd? ( sys-apps/systemd:= )
tcpd? ( sys-apps/tcp-wrappers )"
 DEPEND="${CDEPEND}
+   sys-fs/quota[rpc]
virtual/pkgconfig"
 RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-rpcbind )"
@@ -45,6 +46,11 @@ src_configure() {
$(use_enable warmstarts)
$(use_enable tcpd libwrap)
)
+
+   # Allow configure to find /usr/include/rpc/rpc.h in rpcsvc/mount.h
+   # https://bugs.gentoo.org/665222
+   append-cppflags "$($(tc-getPKG_CONFIG) --cflags libtirpc)"
+
econf "${myeconfargs[@]}"
 }
 



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/files/, net-nds/rpcbind/

2019-09-28 Thread Matt Turner
commit: 52738dd4838a6bdef10c7c086a11cad9d04fa6d0
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Sep 28 18:08:29 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Sep 28 18:27:13 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52738dd4

net-nds/rpcbind: Drop old versions

Signed-off-by: Matt Turner  gentoo.org>

 net-nds/rpcbind/Manifest   |  1 -
 .../files/rpcbind-0.2.4-CVE-2017-8779.patch| 21 
 net-nds/rpcbind/rpcbind-0.2.4-r3.ebuild| 58 --
 3 files changed, 80 deletions(-)

diff --git a/net-nds/rpcbind/Manifest b/net-nds/rpcbind/Manifest
index f3285ad8814..1e114d6b58e 100644
--- a/net-nds/rpcbind/Manifest
+++ b/net-nds/rpcbind/Manifest
@@ -1,2 +1 @@
-DIST rpcbind-0.2.4.tar.bz2 122781 BLAKE2B 
ac1c374a1081559bf09bc209256daa1bb530d71f0c7fe45cec4c9b87cf110c15251a05dce2cf2b78ffa4d902f817efed30350ad08a23e12a7f219f10fe626aa8
 SHA512 
f3966a7284e94bdf120a9b3f0dd66efa1fe8761df2313545a031f77b7c06e27d7955d2780469943deb537d34f95c4cf3f30de523ec9fab9f571322d7224b210c
 DIST rpcbind-1.2.5.tar.bz2 123502 BLAKE2B 
de0d10406aeffd75195c1fa1d0179b2c7c0ba54c3f3ac58ce9d7e9448d1dbe91a296ad69c45dee115e0a739aa9cfec53b750d3a5ca405e16605a92bbb2006859
 SHA512 
e884c4757950ccead0f9a07f50625a63e6f18f9bfae9fcfffa3e5fa4b7a66c3a99d9fa303061848fe8211509d5456f24ff26e4579af6e161a35522268f3ef3e4

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
deleted file mode 100644
index cef088badc9..000
--- a/net-nds/rpcbind/files/rpcbind-0.2.4-CVE-2017-8779.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c
-index 5862c26..e11f61b 100644
 a/src/rpcb_svc_com.c
-+++ b/src/rpcb_svc_com.c
-@@ -48,6 +48,7 @@
- #include 
- #include 
- #include 
-+#include 
- #include 
- #include 
- #include 
-@@ -432,7 +433,7 @@ rpcbproc_taddr2uaddr_com(void *arg, struct svc_req *rqstp 
/*__unused*/,
- static bool_t
- xdr_encap_parms(XDR *xdrs, struct encap_parms *epp)
- {
--  return (xdr_bytes(xdrs, &(epp->args), (u_int *) &(epp->arglen), ~0));
-+  return (xdr_bytes(xdrs, &(epp->args), (u_int *) &(epp->arglen), 
RPC_MAXDATASIZE));
- }
- 
- /*

diff --git a/net-nds/rpcbind/rpcbind-0.2.4-r3.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.4-r3.ebuild
deleted file mode 100644
index 8431b518c94..000
--- a/net-nds/rpcbind/rpcbind-0.2.4-r3.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils systemd
-
-if [[ ${PV} == "" ]] ; 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"
-REQUIRED_USE="systemd? ( warmstarts )"
-
-CDEPEND=">=net-libs/libtirpc-1.0:=
-   systemd? ( sys-apps/systemd:= )
-   tcpd? ( sys-apps/tcp-wrappers )"
-DEPEND="${CDEPEND}
-   virtual/pkgconfig"
-RDEPEND="${CDEPEND}
-   selinux? ( sec-policy/selinux-rpcbind )"
-
-PATCHES=(
-   "${FILESDIR}/${P}-CVE-2017-8779.patch"
-)
-
-src_prepare() {
-   [[ ${PV} == "" ]] && eautoreconf
-   epatch "${PATCHES[@]}"
-   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}
-}



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2019-09-20 Thread Matt Turner
commit: f9714c8ee5240f0dd8e8dd03f59a6be8ea22f010
Author: Matt Turner  gentoo  org>
AuthorDate: Sat Sep 21 05:14:36 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sat Sep 21 05:19:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9714c8e

net-nds/rpcbind-1.2.5: alpha stable, bug 693310

Signed-off-by: Matt Turner  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.5.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
index 36d9893c28f..5c983718d52 100644
--- a/net-nds/rpcbind/rpcbind-1.2.5.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~riscv s390 
~sh sparc x86"
+   KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~riscv s390 
~sh sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2019-09-20 Thread Sergei Trofimovich
commit: 2340af73336ffa06703fc8f9eee964bb595e4d79
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Fri Sep 20 06:38:50 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Fri Sep 20 06:38:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2340af73

net-nds/rpcbind: stable 1.2.5 for hppa, bug #693310

Package-Manager: Portage-2.3.76, Repoman-2.3.17
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.5.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
index 87d988934b8..36d9893c28f 100644
--- a/net-nds/rpcbind/rpcbind-1.2.5.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~riscv s390 
~sh sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~riscv s390 
~sh sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2019-09-13 Thread Agostino Sarubbo
commit: 8d8f6ee7b3a61c09442f64be32982d6ea8941c41
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Sep 13 12:04:27 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Sep 13 12:04:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d8f6ee7

net-nds/rpcbind: ia64 stable wrt bug #693310

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.5.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
index 13cae39f55d..87d988934b8 100644
--- a/net-nds/rpcbind/rpcbind-1.2.5.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
s390 ~sh sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 ~riscv s390 
~sh sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2019-09-09 Thread Agostino Sarubbo
commit: 0d813ff9b1078384a02ee4cfad29342467c06638
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Sep  9 06:02:12 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Sep  9 06:02:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d813ff9

net-nds/rpcbind: sparc stable wrt bug #693310

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.5.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
index 093803154cc..13cae39f55d 100644
--- a/net-nds/rpcbind/rpcbind-1.2.5.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
s390 ~sh ~sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
s390 ~sh sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2019-09-08 Thread Agostino Sarubbo
commit: 096e794d8b28d88f46d2227229b9ef415c6d5774
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Sep  9 05:53:45 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Sep  9 05:53:45 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=096e794d

net-nds/rpcbind: amd64 stable wrt bug #693310

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.5.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
index eb29c7123a4..093803154cc 100644
--- a/net-nds/rpcbind/rpcbind-1.2.5.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
s390 ~sh ~sparc x86"
+   KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
s390 ~sh ~sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2019-09-08 Thread Matt Turner
commit: c5740af0a286e794f23da74d11435a6924209078
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Sep  9 03:59:05 2019 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Sep  9 03:59:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5740af0

net-nds/rpcbind-1.2.5: arm stable, bug 693310

Signed-off-by: Matt Turner  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.5.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
index da710683d0e..eb29c7123a4 100644
--- a/net-nds/rpcbind/rpcbind-1.2.5.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
s390 ~sh ~sparc x86"
+   KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
s390 ~sh ~sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2019-09-08 Thread Aaron Bauman
commit: bd4fd1b3a4db0db8e22ea7442bf9271c1eeb99cb
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sun Sep  8 22:28:12 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Sep  8 22:28:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd4fd1b3

net-nds/rpcbind: arm64 stable (bug #693310)

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.75, Repoman-2.3.17
RepoMan-Options: --include-arches="arm64"

 net-nds/rpcbind/rpcbind-1.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.5.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
index 2ac6250cc81..da710683d0e 100644
--- a/net-nds/rpcbind/rpcbind-1.2.5.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
s390 ~sh ~sparc x86"
+   KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
s390 ~sh ~sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2019-09-08 Thread Sergei Trofimovich
commit: 25daea248b2f5fc0555ff710f7c853d773a71577
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Sep  8 18:28:52 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Sep  8 18:28:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25daea24

net-nds/rpcbind: stable 1.2.5 for ppc64, bug #693310

Package-Manager: Portage-2.3.75, Repoman-2.3.17
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.5.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
index d3eaaa6f4df..2ac6250cc81 100644
--- a/net-nds/rpcbind/rpcbind-1.2.5.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv 
s390 ~sh ~sparc x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
s390 ~sh ~sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2019-09-08 Thread Sergei Trofimovich
commit: 55d11f5b5572a76d23e8099ea689f3f641fd74cc
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Sep  8 18:24:16 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Sep  8 18:24:16 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55d11f5b

net-nds/rpcbind: stable 1.2.5 for ppc, bug #693310

Package-Manager: Portage-2.3.75, Repoman-2.3.17
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.5.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
index d8b36f5b492..d3eaaa6f4df 100644
--- a/net-nds/rpcbind/rpcbind-1.2.5.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv s390 ~sh ~sparc x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~riscv 
s390 ~sh ~sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2019-09-08 Thread Agostino Sarubbo
commit: c40bc3266f4f46a24a266f885ac08df57fceb11c
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Sep  8 10:21:52 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Sep  8 10:21:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c40bc326

net-nds/rpcbind: s390 stable wrt bug #693310

Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="s390"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.5.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
index 36e0975d75a..d8b36f5b492 100644
--- a/net-nds/rpcbind/rpcbind-1.2.5.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sh ~sparc x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv s390 ~sh ~sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2019-09-07 Thread Thomas Deutschmann
commit: 55cb6635e66055502b79cfe0785afff0c162dd46
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun Sep  8 00:45:12 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun Sep  8 01:13:14 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55cb6635

net-nds/rpcbind: x86 stable (bug #693310)

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.5.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
index 9178ff90a0b..36e0975d75a 100644
--- a/net-nds/rpcbind/rpcbind-1.2.5.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
inherit autotools git-r3
 else
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sh ~sparc ~x86"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sh ~sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2019-05-06 Thread Yixun Lan
commit: 699be5b18915ad2ff549267e65554da35c269b51
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon May  6 05:37:34 2019 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Mon May  6 08:56:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=699be5b1

net-nds/rpcbind: Add ~riscv keyword

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Yixun Lan  gentoo.org>

 net-nds/rpcbind/rpcbind-1.2.5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-nds/rpcbind/rpcbind-1.2.5.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
index 7e3bbeae8e8..9178ff90a0b 100644
--- a/net-nds/rpcbind/rpcbind-1.2.5.ebuild
+++ b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~s390 ~sh ~sparc ~x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2018-08-26 Thread Lars Wendler
commit: 200e7670eb1b8c19cea4d5ae3cd4c5fc96848d81
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Aug 26 18:05:44 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Aug 26 18:05:44 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=200e7670

net-nds/rpcbind: Bump to version 1.2.5

Package-Manager: Portage-2.3.48, Repoman-2.3.10

 net-nds/rpcbind/Manifest |  1 +
 net-nds/rpcbind/metadata.xml |  1 +
 net-nds/rpcbind/rpcbind-1.2.5.ebuild | 56 
 3 files changed, 58 insertions(+)

diff --git a/net-nds/rpcbind/Manifest b/net-nds/rpcbind/Manifest
index aa93e472e8c..f3285ad8814 100644
--- a/net-nds/rpcbind/Manifest
+++ b/net-nds/rpcbind/Manifest
@@ -1 +1,2 @@
 DIST rpcbind-0.2.4.tar.bz2 122781 BLAKE2B 
ac1c374a1081559bf09bc209256daa1bb530d71f0c7fe45cec4c9b87cf110c15251a05dce2cf2b78ffa4d902f817efed30350ad08a23e12a7f219f10fe626aa8
 SHA512 
f3966a7284e94bdf120a9b3f0dd66efa1fe8761df2313545a031f77b7c06e27d7955d2780469943deb537d34f95c4cf3f30de523ec9fab9f571322d7224b210c
+DIST rpcbind-1.2.5.tar.bz2 123502 BLAKE2B 
de0d10406aeffd75195c1fa1d0179b2c7c0ba54c3f3ac58ce9d7e9448d1dbe91a296ad69c45dee115e0a739aa9cfec53b750d3a5ca405e16605a92bbb2006859
 SHA512 
e884c4757950ccead0f9a07f50625a63e6f18f9bfae9fcfffa3e5fa4b7a66c3a99d9fa303061848fe8211509d5456f24ff26e4579af6e161a35522268f3ef3e4

diff --git a/net-nds/rpcbind/metadata.xml b/net-nds/rpcbind/metadata.xml
index 664c6a547a0..8b85a22052b 100644
--- a/net-nds/rpcbind/metadata.xml
+++ b/net-nds/rpcbind/metadata.xml
@@ -5,6 +5,7 @@
base-sys...@gentoo.org


+   Enable remote calls
Enables rpcbind to cache configuration 
for warm restarts



diff --git a/net-nds/rpcbind/rpcbind-1.2.5.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
new file mode 100644
index 000..7e3bbeae8e8
--- /dev/null
+++ b/net-nds/rpcbind/rpcbind-1.2.5.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit systemd
+
+if [[ ${PV} == "" ]] ; 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 remotecalls selinux systemd tcpd warmstarts"
+REQUIRED_USE="systemd? ( 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() {
+   default
+   [[ ${PV} == "" ]] && eautoreconf
+}
+
+src_configure() {
+   local myeconfargs=(
+   --bindir="${EPREFIX}"/sbin
+   --sbindir="${EPREFIX}"/sbin
+   --with-statedir="${EPREFIX}"/run/${PN}
+   --with-systemdsystemunitdir=$(usex systemd 
"$(systemd_get_systemunitdir)" "no")
+   $(use_enable debug)
+   $(use_enable remotecalls rmtcalls)
+   $(use_enable warmstarts)
+   $(use_enable tcpd libwrap)
+   )
+   econf "${myeconfargs[@]}"
+}
+
+src_install() {
+   default
+
+   newinitd "${FILESDIR}"/${PN}.initd ${PN}
+   newconfd "${FILESDIR}"/${PN}.confd ${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2018-08-26 Thread Lars Wendler
commit: 12239c5a2660660d047af65e3a7bce08f395fdd2
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Aug 26 18:07:05 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Aug 26 18:07:05 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12239c5a

net-nds/rpcbind: Synced live ebuild.

Package-Manager: Portage-2.3.48, Repoman-2.3.10

 net-nds/rpcbind/rpcbind-.ebuild | 23 ++-
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git a/net-nds/rpcbind/rpcbind-.ebuild 
b/net-nds/rpcbind/rpcbind-.ebuild
index 3a5262860d7..7e3bbeae8e8 100644
--- a/net-nds/rpcbind/rpcbind-.ebuild
+++ b/net-nds/rpcbind/rpcbind-.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI=6
 
-inherit eutils systemd
+inherit systemd
 
 if [[ ${PV} == "" ]] ; then
EGIT_REPO_URI="git://linux-nfs.org/~steved/rpcbind.git"
@@ -18,7 +18,7 @@ HOMEPAGE="https://sourceforge.net/projects/rpcbind/;
 
 LICENSE="BSD"
 SLOT="0"
-IUSE="debug selinux systemd tcpd warmstarts"
+IUSE="debug remotecalls selinux systemd tcpd warmstarts"
 REQUIRED_USE="systemd? ( warmstarts )"
 
 CDEPEND=">=net-libs/libtirpc-0.2.3:=
@@ -30,17 +30,22 @@ RDEPEND="${CDEPEND}
selinux? ( sec-policy/selinux-rpcbind )"
 
 src_prepare() {
+   default
[[ ${PV} == "" ]] && eautoreconf
-   epatch_user
 }
 
 src_configure() {
-   econf \
-   --with-statedir="${EPREFIX}"/run/${PN} \
-   --with-systemdsystemunitdir=$(usex systemd 
"$(systemd_get_unitdir)" "no") \
-   $(use_enable tcpd libwrap) \
-   $(use_enable debug) \
+   local myeconfargs=(
+   --bindir="${EPREFIX}"/sbin
+   --sbindir="${EPREFIX}"/sbin
+   --with-statedir="${EPREFIX}"/run/${PN}
+   --with-systemdsystemunitdir=$(usex systemd 
"$(systemd_get_systemunitdir)" "no")
+   $(use_enable debug)
+   $(use_enable remotecalls rmtcalls)
$(use_enable warmstarts)
+   $(use_enable tcpd libwrap)
+   )
+   econf "${myeconfargs[@]}"
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2018-03-12 Thread Mike Gilbert
commit: 0bffded2ba7ff5c3c5660c19c829a6ffeedea353
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon Mar 12 17:24:07 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Mar 12 17:28:58 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bffded2

net-nds/rpcbind: require warmstarts for systemd

Bug: https://bugs.gentoo.org/650030#c7
Package-Manager: Portage-2.3.24, Repoman-2.3.6_p81

 net-nds/rpcbind/{rpcbind-0.2.4-r2.ebuild => rpcbind-0.2.4-r3.ebuild} | 1 +
 net-nds/rpcbind/rpcbind-.ebuild  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/net-nds/rpcbind/rpcbind-0.2.4-r2.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.4-r3.ebuild
similarity index 97%
rename from net-nds/rpcbind/rpcbind-0.2.4-r2.ebuild
rename to net-nds/rpcbind/rpcbind-0.2.4-r3.ebuild
index aa7c610e94f..8431b518c94 100644
--- a/net-nds/rpcbind/rpcbind-0.2.4-r2.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.4-r3.ebuild
@@ -19,6 +19,7 @@ HOMEPAGE="https://sourceforge.net/projects/rpcbind/;
 LICENSE="BSD"
 SLOT="0"
 IUSE="debug selinux systemd tcpd warmstarts"
+REQUIRED_USE="systemd? ( warmstarts )"
 
 CDEPEND=">=net-libs/libtirpc-1.0:=
systemd? ( sys-apps/systemd:= )

diff --git a/net-nds/rpcbind/rpcbind-.ebuild 
b/net-nds/rpcbind/rpcbind-.ebuild
index bd9f7853dc4..3a5262860d7 100644
--- a/net-nds/rpcbind/rpcbind-.ebuild
+++ b/net-nds/rpcbind/rpcbind-.ebuild
@@ -19,6 +19,7 @@ HOMEPAGE="https://sourceforge.net/projects/rpcbind/;
 LICENSE="BSD"
 SLOT="0"
 IUSE="debug selinux systemd tcpd warmstarts"
+REQUIRED_USE="systemd? ( warmstarts )"
 
 CDEPEND=">=net-libs/libtirpc-0.2.3:=
systemd? ( sys-apps/systemd:= )



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/files/, net-nds/rpcbind/

2018-03-10 Thread Mike Gilbert
commit: fbaf911f4355d5c9992694288b586dcbc5f154cc
Author: Mike Gilbert  gentoo  org>
AuthorDate: Sat Mar 10 14:09:43 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Mar 10 14:09:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbaf911f

net-nds/rpcbind: use upstream rpcbind.service

Closes: https://bugs.gentoo.org/650030
Package-Manager: Portage-2.3.24, Repoman-2.3.6_p81

 net-nds/rpcbind/files/rpcbind.service   | 13 -
 .../{rpcbind-0.2.4-r1.ebuild => rpcbind-0.2.4-r2.ebuild}|  4 +---
 net-nds/rpcbind/rpcbind-.ebuild |  2 --
 3 files changed, 1 insertion(+), 18 deletions(-)

diff --git a/net-nds/rpcbind/files/rpcbind.service 
b/net-nds/rpcbind/files/rpcbind.service
deleted file mode 100644
index 305ea9b10b7..000
--- a/net-nds/rpcbind/files/rpcbind.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=RPC Bind
-After=network.target
-Wants=rpcbind.target
-Before=rpcbind.target
-
-[Service]
-Type=forking
-ExecStart=/sbin/rpcbind
-Restart=always
-
-[Install]
-WantedBy=multi-user.target

diff --git a/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.4-r2.ebuild
similarity index 93%
rename from net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
rename to net-nds/rpcbind/rpcbind-0.2.4-r2.ebuild
index 8aff208b2db..aa7c610e94f 100644
--- a/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.4-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -54,6 +54,4 @@ src_install() {
 
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
-
-   systemd_dounit "${FILESDIR}"/${PN}.service
 }

diff --git a/net-nds/rpcbind/rpcbind-.ebuild 
b/net-nds/rpcbind/rpcbind-.ebuild
index 788cb937f34..bd9f7853dc4 100644
--- a/net-nds/rpcbind/rpcbind-.ebuild
+++ b/net-nds/rpcbind/rpcbind-.ebuild
@@ -47,6 +47,4 @@ src_install() {
 
newinitd "${FILESDIR}"/${PN}.initd ${PN}
newconfd "${FILESDIR}"/${PN}.confd ${PN}
-
-   systemd_dounit "${FILESDIR}"/${PN}.service
 }



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/files/

2018-01-31 Thread Lars Wendler
commit: 78aebe852d70109b7fe6073026d6a7262ebd94b3
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Wed Jan 31 17:06:28 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Jan 31 21:38:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78aebe85

net-nds/rpcbind: remove unused patches

Closes: https://github.com/gentoo/gentoo/pull/7010

 net-nds/rpcbind/files/rpcbind-0.2.3-libtirpc.patch |  42 
 .../rpcbind/files/rpcbind-0.2.3-mem-corrupt.patch  |  86 ---
 .../files/rpcbind-0.2.3-remove-P-macro.patch   | 246 -
 3 files changed, 374 deletions(-)

diff --git a/net-nds/rpcbind/files/rpcbind-0.2.3-libtirpc.patch 
b/net-nds/rpcbind/files/rpcbind-0.2.3-libtirpc.patch
deleted file mode 100644
index 92ea22f0e4c..000
--- a/net-nds/rpcbind/files/rpcbind-0.2.3-libtirpc.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-fix from upstream for building w/newer libtirpc
-
-From 9194122389f2a56b1cd1f935e64307e2e963c2da Mon Sep 17 00:00:00 2001
-From: Steve Dickson 
-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 

- 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 = _auth_none;
-+#endif
-   svc_sendreply(xprt, (xdrproc_t) xdr_rmtcall_result, (char *) );
-+#if !defined(SVC_XP_AUTH)
-   SVCAUTH_DESTROY(xprt->xp_auth);
-   xprt->xp_auth = NULL;
-+#endif
-+
- done:
-   if (buffer)
-   free(buffer);
--- 
-2.5.2
-

diff --git a/net-nds/rpcbind/files/rpcbind-0.2.3-mem-corrupt.patch 
b/net-nds/rpcbind/files/rpcbind-0.2.3-mem-corrupt.patch
deleted file mode 100644
index 9c03bda80a0..000
--- a/net-nds/rpcbind/files/rpcbind-0.2.3-mem-corrupt.patch
+++ /dev/null
@@ -1,86 +0,0 @@
-https://bugs.gentoo.org/560990
-
-fix from upstream
-
-From d5dace219953c45d26ae42db238052b68540649a Mon Sep 17 00:00:00 2001
-From: Olaf Kirch 
-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 
-Signed-off-by: Steve Dickson 

- 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;
-+
-+  

[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2018-01-24 Thread Aaron Bauman
commit: 9392b103397ac6227b8a141d8a262e86bfcc239e
Author: Aaron Bauman  gentoo  org>
AuthorDate: Thu Jan 25 00:38:01 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Thu Jan 25 00:38:01 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9392b103

net-nds/rpcbind: cleanup vulnerable wrt bug #617472

 net-nds/rpcbind/Manifest|  1 -
 net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild | 56 
 net-nds/rpcbind/rpcbind-0.2.3-r2.ebuild | 57 -
 net-nds/rpcbind/rpcbind-0.2.4.ebuild| 54 ---
 4 files changed, 168 deletions(-)

diff --git a/net-nds/rpcbind/Manifest b/net-nds/rpcbind/Manifest
index 21ca048f811..aa93e472e8c 100644
--- a/net-nds/rpcbind/Manifest
+++ b/net-nds/rpcbind/Manifest
@@ -1,2 +1 @@
-DIST rpcbind-0.2.3.tar.bz2 121306 BLAKE2B 
996bae5b58ee20d96dd1f1dcc7adc1ad227e34082184f9537a0d9a2944bf5b22734694acbdd52f65c29df4a8d16df343f74e93bd92d264b84d9c9120cd5a750d
 SHA512 
b91cb4e0849213d344063ccf32d16c49819906b65e4d07c4aa7d3c8842bd83acb408d07aa285da902c389f3c9716f01678012b93a11863eb174a2577cd6ba1d6
 DIST rpcbind-0.2.4.tar.bz2 122781 BLAKE2B 
ac1c374a1081559bf09bc209256daa1bb530d71f0c7fe45cec4c9b87cf110c15251a05dce2cf2b78ffa4d902f817efed30350ad08a23e12a7f219f10fe626aa8
 SHA512 
f3966a7284e94bdf120a9b3f0dd66efa1fe8761df2313545a031f77b7c06e27d7955d2780469943deb537d34f95c4cf3f30de523ec9fab9f571322d7224b210c

diff --git a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
deleted file mode 100644
index cdbbee00c44..000
--- a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils systemd
-
-if [[ ${PV} == "" ]] ; 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} == "" ]] && 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
-}

diff --git a/net-nds/rpcbind/rpcbind-0.2.3-r2.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.3-r2.ebuild
deleted file mode 100644
index 1d4183d7905..000
--- a/net-nds/rpcbind/rpcbind-0.2.3-r2.ebuild
+++ /dev/null
@@ -1,57 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils systemd
-
-if [[ ${PV} == "" ]] ; 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} == "" ]] && 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)" 

[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2018-01-20 Thread Michael Orlitzky
commit: d21091ab12da59df78633ca800900d6e622042a2
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Jan 20 17:21:19 2018 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat Jan 20 17:22:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d21091ab

net-nds/rpcbind: use default values for "--bindir" and "--with-rpcuser"

Upstream commit 9afccfc moves the rpcbind executable from the bindir
to the sbindir, meaning that we don't have to override the bindir in
our ebuild if we want rpcbind installed to e.g. /usr/sbin. This commit
drops the "--bindir" flag from src_configure, so the default will be
used. As a side effect, this will place the rpcinfo executable in the
bindir where it belongs, allowing us to fix things like bug 457042.

Our ebuild was also passing "--with-rpcuser=root" explicitly, even
though that is the default value. This commit removes the redundancy.

Bug: https://bugs.gentoo.org/457042
Closes: https://bugs.gentoo.org/628766
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 net-nds/rpcbind/rpcbind-.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/net-nds/rpcbind/rpcbind-.ebuild 
b/net-nds/rpcbind/rpcbind-.ebuild
index 8ed5edc7bbf..788cb937f34 100644
--- a/net-nds/rpcbind/rpcbind-.ebuild
+++ b/net-nds/rpcbind/rpcbind-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -35,9 +35,7 @@ src_prepare() {
 
 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) \



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2018-01-09 Thread Mike Frysinger
commit: 50e8dbf70a6ce68cd76b74d70f863ebfb9881c3f
Author: Mike Frysinger  gentoo  org>
AuthorDate: Wed Jan 10 04:26:11 2018 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Jan 10 04:26:11 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50e8dbf7

net-nds/rpcbind: mark 0.2.4-r1 arm64/s390/sh stable

 net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
index 9afcf79d328..8aff208b2db 100644
--- a/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc 
x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2017-05-15 Thread Markus Meier
commit: ff512e8b66e67a3f4d681007bae4779ecead87c0
Author: Markus Meier  gentoo  org>
AuthorDate: Tue May 16 04:42:02 2017 +
Commit: Markus Meier  gentoo  org>
CommitDate: Tue May 16 04:42:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff512e8b

net-nds/rpcbind: arm stable, bug #617472

Package-Manager: Portage-2.3.5, Repoman-2.3.1
RepoMan-Options: --include-arches="arm"

 net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
index eb5becabea4..65fe2a2df2b 100644
--- a/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh 
sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2017-05-14 Thread Michael Weber
commit: df18aa50092580d09a4d4c129fcc687bbf0b510c
Author: Michael Weber  gentoo  org>
AuthorDate: Sun May 14 09:48:37 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Sun May 14 09:48:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df18aa50

net-nds/rpcbind: ppc ppc64 stable (bug 616486).

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --include-arches="ppc ppc64"

 net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
index 3093f18f85e..eb5becabea4 100644
--- a/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh 
sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2017-05-12 Thread Tobias Klausmann
commit: 7447b6f6e96d57b619592505e3bba53c2049ada6
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Fri May 12 17:54:44 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Fri May 12 17:54:44 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7447b6f6

net-nds/rpcbind-0.2.4-r1: add alpha keyword

Gentoo-Bug: 617472

 net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
index 9fe2ec7d40a..3093f18f85e 100644
--- a/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sh sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2017-05-10 Thread Jeroen Roovers
commit: 359bb408988ed14dbebdaae6f3ac8f4f9da00335
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed May 10 10:55:36 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed May 10 10:55:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=359bb408

net-nds/rpcbind: Stable for HPPA (bug #617472).

Package-Manager: Portage-2.3.5, Repoman-2.3.2
RepoMan-Options: --ignore-arches

 net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
index 456ea806d0e..d1ff74f9513 100644
--- a/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2017-05-10 Thread Agostino Sarubbo
commit: 68c35b53a469d3046117da2e61d2e565914060f7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed May 10 09:30:30 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed May 10 09:30:30 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68c35b53

net-nds/rpcbind: amd64 stable wrt bug #617472

Package-Manager: Portage-2.3.5, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
index 5c16cb5c982..456ea806d0e 100644
--- a/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/files/, net-nds/rpcbind/

2017-05-08 Thread Patrick McLean
commit: eae6e7a80bc2934ae1557731fc0ad71cd92af99b
Author: Patrick McLean  gentoo  org>
AuthorDate: Mon May  8 18:39:36 2017 +
Commit: Patrick McLean  gentoo  org>
CommitDate: Mon May  8 18:39:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eae6e7a8

net-nds/rpcbind: Revision bump to pull in patch for CVE-2017-8779

Gentoo-Bug: 617472
Package-Manager: Portage-2.3.5, Repoman-2.3.2

 .../files/rpcbind-0.2.4-CVE-2017-8779.patch| 21 
 net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild| 59 ++
 2 files changed, 80 insertions(+)

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
new file mode 100644
index 000..cef088badc9
--- /dev/null
+++ b/net-nds/rpcbind/files/rpcbind-0.2.4-CVE-2017-8779.patch
@@ -0,0 +1,21 @@
+diff --git a/src/rpcb_svc_com.c b/src/rpcb_svc_com.c
+index 5862c26..e11f61b 100644
+--- a/src/rpcb_svc_com.c
 b/src/rpcb_svc_com.c
+@@ -48,6 +48,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ #include 
+ #include 
+ #include 
+@@ -432,7 +433,7 @@ rpcbproc_taddr2uaddr_com(void *arg, struct svc_req *rqstp 
/*__unused*/,
+ static bool_t
+ xdr_encap_parms(XDR *xdrs, struct encap_parms *epp)
+ {
+-  return (xdr_bytes(xdrs, &(epp->args), (u_int *) &(epp->arglen), ~0));
++  return (xdr_bytes(xdrs, &(epp->args), (u_int *) &(epp->arglen), 
RPC_MAXDATASIZE));
+ }
+ 
+ /*

diff --git a/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
new file mode 100644
index 000..5c16cb5c982
--- /dev/null
+++ b/net-nds/rpcbind/rpcbind-0.2.4-r1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit eutils systemd
+
+if [[ ${PV} == "" ]] ; 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-1.0:=
+   systemd? ( sys-apps/systemd:= )
+   tcpd? ( sys-apps/tcp-wrappers )"
+DEPEND="${CDEPEND}
+   virtual/pkgconfig"
+RDEPEND="${CDEPEND}
+   selinux? ( sec-policy/selinux-rpcbind )"
+
+PATCHES=(
+   "${FILESDIR}/${P}-CVE-2017-8779.patch"
+)
+
+src_prepare() {
+   [[ ${PV} == "" ]] && eautoreconf
+   epatch "${PATCHES[@]}"
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2017-03-14 Thread Jeroen Roovers
commit: 57253ae9defb81ad3b20705c2683df19768f7ea4
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Mar 15 05:42:08 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Mar 15 05:44:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57253ae9

net-nds/rpcbind: Stable for HPPA (bug #610704).

Package-Manager: Portage-2.3.4, Repoman-2.3.2
RepoMan-Options: --ignore-arches

 net-nds/rpcbind/rpcbind-0.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.4.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.4.ebuild
index 2f54a8f0f3c..79f8f8fe713 100644
--- a/net-nds/rpcbind/rpcbind-0.2.4.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.4.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh 
sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2017-03-01 Thread Michael Weber
commit: c4f1fad0ad4afb55201a5260f2106b29bb0e23d0
Author: Michael Weber  gentoo  org>
AuthorDate: Wed Mar  1 08:27:47 2017 +
Commit: Michael Weber  gentoo  org>
CommitDate: Wed Mar  1 10:08:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4f1fad0

net-nds/rpcbind: arm stable (bug 610704).

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 net-nds/rpcbind/rpcbind-0.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.4.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.4.ebuild
index bc087d05aef..f1b01668c4f 100644
--- a/net-nds/rpcbind/rpcbind-0.2.4.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.4.ebuild
@@ -10,7 +10,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh 
~sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2017-02-28 Thread Tobias Klausmann
commit: a21e8a6a075fbbeaef2d1711a25320f83aa7a7b0
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue Feb 28 12:51:28 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue Feb 28 12:51:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a21e8a6a

net-nds/rpcbind-0.2.4-r0: add alpha keyword

Gentoo-Bug: 610704

 net-nds/rpcbind/rpcbind-0.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.4.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.4.ebuild
index eb8408c842..e98ee92e1f 100644
--- a/net-nds/rpcbind/rpcbind-0.2.4.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.4.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh 
~sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2017-02-25 Thread Agostino Sarubbo
commit: 32bc962919a3be7703bbb6decd4a36856247c7a7
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Feb 25 09:58:03 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Feb 25 09:58:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32bc9629

net-nds/rpcbind: x86 stable wrt bug #610704

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-nds/rpcbind/rpcbind-0.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.4.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.4.ebuild
index b8f846a832..eb8408c842 100644
--- a/net-nds/rpcbind/rpcbind-0.2.4.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.4.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 
~sh ~sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2017-02-24 Thread Agostino Sarubbo
commit: 551422e50c3d06e4e60458aed4f4000ddcfa8c36
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Feb 24 13:35:10 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Feb 24 13:35:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=551422e5

net-nds/rpcbind: amd64 stable wrt bug #610704

Package-Manager: portage-2.3.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-nds/rpcbind/rpcbind-0.2.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.4.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.4.ebuild
index 561423bddc..1c0f5412aa 100644
--- a/net-nds/rpcbind/rpcbind-0.2.4.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2016-12-20 Thread Mike Frysinger
commit: 8ee40dc5e40b781d29220b883b152b939e33927f
Author: Mike Frysinger  gentoo  org>
AuthorDate: Wed Dec 21 07:15:24 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Wed Dec 21 07:15:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ee40dc5

net-nds/rpcbind: force newer libtirpc #602346

 net-nds/rpcbind/rpcbind-0.2.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.4.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.4.ebuild
index 807123b..561423b 100644
--- a/net-nds/rpcbind/rpcbind-0.2.4.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.4.ebuild
@@ -21,7 +21,7 @@ LICENSE="BSD"
 SLOT="0"
 IUSE="debug selinux systemd tcpd warmstarts"
 
-CDEPEND=">=net-libs/libtirpc-0.2.3:=
+CDEPEND=">=net-libs/libtirpc-1.0:=
systemd? ( sys-apps/systemd:= )
tcpd? ( sys-apps/tcp-wrappers )"
 DEPEND="${CDEPEND}



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2016-12-09 Thread Mike Frysinger
commit: f47b1583df883041c35fed08f9ac28c7b0f5e2ef
Author: Mike Frysinger  gentoo  org>
AuthorDate: Sat Dec 10 06:57:17 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Sat Dec 10 07:03:00 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f47b1583

net-nds/rpcbind: version bump to 0.2.4

 net-nds/rpcbind/Manifest |  1 +
 net-nds/rpcbind/rpcbind-0.2.4.ebuild | 55 
 2 files changed, 56 insertions(+)

diff --git a/net-nds/rpcbind/Manifest b/net-nds/rpcbind/Manifest
index 598b6b8..35e6116 100644
--- a/net-nds/rpcbind/Manifest
+++ b/net-nds/rpcbind/Manifest
@@ -2,3 +2,4 @@ DIST rpcbind-0.2.0.tar.bz2 271018 SHA256 
c92f263e0353887f16379d7708ef1fb4c7eedcf
 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 
f8ff512974e6092faf786ef2f5fe23f404a48c28017809c22a3705cb3dfd0dc3b230235de8a7b64bc46b21f38562ba18af23539bfff439f6e39d6d44cfb3
+DIST rpcbind-0.2.4.tar.bz2 122781 SHA256 
074a9a530dc7c11e0d905aa59bcb0847c009313f02e98d3d798aa9568f414c66 SHA512 
f3966a7284e94bdf120a9b3f0dd66efa1fe8761df2313545a031f77b7c06e27d7955d2780469943deb537d34f95c4cf3f30de523ec9fab9f571322d7224b210c
 WHIRLPOOL 
9eec5752e3b80f0c3feccf1667e54fb9630b9fabad6613e3f7030489d7b9cfbb5585e173545274f0b3656d27085f71b7c3290da7a2ec022f1948a62a336e278e

diff --git a/net-nds/rpcbind/rpcbind-0.2.4.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.4.ebuild
new file mode 100644
index ..807123b
--- /dev/null
+++ b/net-nds/rpcbind/rpcbind-0.2.4.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils systemd
+
+if [[ ${PV} == "" ]] ; 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} == "" ]] && eautoreconf
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2016-12-09 Thread Mike Frysinger
commit: 5d014ca211f05612edb5c9946679c37ba06c5118
Author: Mike Frysinger  gentoo  org>
AuthorDate: Sat Dec 10 06:58:38 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Sat Dec 10 07:03:01 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d014ca2

net-nds/rpcbind: mark 0.2.3-r1 arm64/s390/sh stable

 net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
index f3b8c85..2227ed7 100644
--- a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc 
x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/, net-nds/rpcbind/files/

2016-12-09 Thread Mike Frysinger
commit: a01805cf1fe57e514ea5fa99789902956499bb07
Author: Mike Frysinger  gentoo  org>
AuthorDate: Sat Dec 10 07:00:11 2016 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Sat Dec 10 07:03:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a01805cf

net-nds/rpcbind: drop old <0.2.3-r1 versions

 net-nds/rpcbind/Manifest   |  3 -
 net-nds/rpcbind/files/rpcbind-0.2.0-no-nss.patch   | 34 ---
 .../rpcbind/files/rpcbind-0.2.0-pkgconfig.patch| 65 --
 net-nds/rpcbind/rpcbind-0.2.0-r1.ebuild| 57 ---
 net-nds/rpcbind/rpcbind-0.2.1-r1.ebuild| 53 --
 net-nds/rpcbind/rpcbind-0.2.2-r1.ebuild| 55 --
 net-nds/rpcbind/rpcbind-0.2.3.ebuild   | 56 ---
 7 files changed, 323 deletions(-)

diff --git a/net-nds/rpcbind/Manifest b/net-nds/rpcbind/Manifest
index 35e6116..2f7b9db 100644
--- a/net-nds/rpcbind/Manifest
+++ b/net-nds/rpcbind/Manifest
@@ -1,5 +1,2 @@
-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 
f8ff512974e6092faf786ef2f5fe23f404a48c28017809c22a3705cb3dfd0dc3b230235de8a7b64bc46b21f38562ba18af23539bfff439f6e39d6d44cfb3
 DIST rpcbind-0.2.4.tar.bz2 122781 SHA256 
074a9a530dc7c11e0d905aa59bcb0847c009313f02e98d3d798aa9568f414c66 SHA512 
f3966a7284e94bdf120a9b3f0dd66efa1fe8761df2313545a031f77b7c06e27d7955d2780469943deb537d34f95c4cf3f30de523ec9fab9f571322d7224b210c
 WHIRLPOOL 
9eec5752e3b80f0c3feccf1667e54fb9630b9fabad6613e3f7030489d7b9cfbb5585e173545274f0b3656d27085f71b7c3290da7a2ec022f1948a62a336e278e

diff --git a/net-nds/rpcbind/files/rpcbind-0.2.0-no-nss.patch 
b/net-nds/rpcbind/files/rpcbind-0.2.0-no-nss.patch
deleted file mode 100644
index 4e73b88..
--- a/net-nds/rpcbind/files/rpcbind-0.2.0-no-nss.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-From 112d0028cd2f4e0a3fafc83a4b2f1cb38bdbd6d4 Mon Sep 17 00:00:00 2001
-From: Mike Frysinger 
-Date: Mon, 18 Feb 2013 17:00:13 -0500
-Subject: [PATCH] fix building one systems w/out nss.h
-
-The nss.h header is glibc-specific, so use the existing HAVE_NSS_H define
-to avoid including/using it when it is not available.
-
-URL: http://bugs.gentoo.org/458024
-Reported-by: Mark Reiche 
-Signed-off-by: Mike Frysinger 

- src/rpcbind.c | 4 
- 1 file changed, 4 insertions(+)
-
-diff --git a/src/rpcbind.c b/src/rpcbind.c
-index 9a0504d..83dbe93 100644
 a/src/rpcbind.c
-+++ b/src/rpcbind.c
-@@ -67,7 +67,11 @@
- #include 
- #include 
- #include 
-+#ifdef HAVE_NSS_H
- #include 
-+#else
-+static inline void __nss_configure_lookup(const char *db, const char *s) {}
-+#endif
- #include "config.h"
- #include "rpcbind.h"
- 
--- 
-1.8.1.2
-

diff --git a/net-nds/rpcbind/files/rpcbind-0.2.0-pkgconfig.patch 
b/net-nds/rpcbind/files/rpcbind-0.2.0-pkgconfig.patch
deleted file mode 100644
index e0339af..
--- a/net-nds/rpcbind/files/rpcbind-0.2.0-pkgconfig.patch
+++ /dev/null
@@ -1,65 +0,0 @@
-From afd71b8fc0df036a884b3af14ddb875674a49a85 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Diego=20Elio=20Petten=F2?= 
-Date: Mon, 29 Nov 2010 16:28:38 -0500
-Subject: [PATCH] Use pkg-config to find libtirpc
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This allows to properly cross-compile rpcbind, as /usr/include/tirpc is
-no longer a valid path in that case.
-
-Signed-off-by: Diego Elio Petten� 
-Signed-off-by: Steve Dickson 

- configure.in|4 +++-
- 

[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/files/, net-nds/rpcbind/

2016-10-06 Thread Anthony G. Basile
commit: 69aafed0a8dcbf6c4a108ecd3712f2d36a7bf3c7
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Thu Oct  6 21:21:17 2016 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Thu Oct  6 21:21:35 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69aafed0

net-nds/rpcbind: remove _P() macro, bug #589666

Package-Manager: portage-2.2.28

 .../files/rpcbind-0.2.3-remove-P-macro.patch   | 246 +
 net-nds/rpcbind/rpcbind-0.2.3-r2.ebuild|  58 +
 2 files changed, 304 insertions(+)

diff --git a/net-nds/rpcbind/files/rpcbind-0.2.3-remove-P-macro.patch 
b/net-nds/rpcbind/files/rpcbind-0.2.3-remove-P-macro.patch
new file mode 100644
index ..8e1b69b
--- /dev/null
+++ b/net-nds/rpcbind/files/rpcbind-0.2.3-remove-P-macro.patch
@@ -0,0 +1,246 @@
+From 196e8f3abaa6e8899ba2655c6c2d8751e33a9795 Mon Sep 17 00:00:00 2001
+From: "Yann E. MORIN" 
+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) 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 
+Signed-off-by: "Yann E. MORIN" 
+Signed-off-by: Steve Dickson 
+Cc: Chuck Lever 
+Cc: Steve Dickson 
+Cc: Mike Frysinger 
+---
+ 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  /* 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;
+- 

[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2016-03-31 Thread Michael Palimaka
commit: 7856e03a507ee4a2e93e8d9ef2c5e2fee63cf8b3
Author: Michael Palimaka  gentoo  org>
AuthorDate: Thu Mar 31 12:42:59 2016 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Thu Mar 31 12:43:03 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7856e03a

net-nds/rpcbind: package is maintained by base-system

Package-Manager: portage-2.2.28

 net-nds/rpcbind/metadata.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/metadata.xml b/net-nds/rpcbind/metadata.xml
index ad56599..664c6a5 100644
--- a/net-nds/rpcbind/metadata.xml
+++ b/net-nds/rpcbind/metadata.xml
@@ -1,7 +1,9 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-   
+   
+   base-sys...@gentoo.org
+   

Enables rpcbind to cache configuration 
for warm restarts




[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2015-11-18 Thread Agostino Sarubbo
commit: 7332c96bcf3eff782b635da430bbb91f5ffe90c0
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov 18 09:31:38 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov 18 09:31:38 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7332c96b

net-nds/rpcbind: ia64 stable wrt bug #560990

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ia64"

 net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
index d10548b..5be1abf 100644
--- a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh 
sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2015-11-15 Thread Matt Turner
commit: ef43cfc9fc579fe95600f63cdf028329e87d54da
Author: Matt Turner  gentoo  org>
AuthorDate: Sun Nov 15 18:01:13 2015 +
Commit: Matt Turner  gentoo  org>
CommitDate: Sun Nov 15 18:27:49 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef43cfc9

net-nds/rpcbind: alpha stable, bug 560990.

 net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
index aa7535c..d10548b 100644
--- a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh 
sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2015-11-14 Thread Markus Meier
commit: 81f28829e6d2abd9774c9af00b6b11ca49ab4b1e
Author: Markus Meier  gentoo  org>
AuthorDate: Sat Nov 14 16:48:01 2015 +
Commit: Markus Meier  gentoo  org>
CommitDate: Sat Nov 14 16:48:01 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81f28829

net-nds/rpcbind: arm stable, bug #560990

Package-Manager: portage-2.2.24
RepoMan-Options: --include-arches="arm"

 net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
index 7a81baf..aa7535c 100644
--- a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh 
sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2015-11-05 Thread Agostino Sarubbo
commit: 5394c75f467a511696267497c40e125b3088bb6e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Nov  5 10:58:11 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Nov  5 10:58:11 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5394c75f

net-nds/rpcbind: sparc stable wrt bug #560990

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="sparc"

 net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
index b0c04ca..e313dbd 100644
--- a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 
~sh sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2015-11-05 Thread Jeroen Roovers
commit: e3ba9ab16c390a02f4d5caa67908fec651b574e3
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Nov  6 04:15:37 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Nov  6 04:15:37 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3ba9ab1

net-nds/rpcbind: Stable for HPPA PPC64 (bug #560990).

Package-Manager: portage-2.2.24
RepoMan-Options: --ignore-arches

 net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
index e313dbd..7a81baf 100644
--- a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh 
sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2015-11-04 Thread Agostino Sarubbo
commit: 661632216b0d75823ba45a939c0c33fb0af55729
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Nov  4 14:26:31 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Nov  4 14:26:31 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66163221

net-nds/rpcbind: ppc stable wrt bug #560990

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="ppc"

 net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
index 4f648ac..b0c04ca 100644
--- a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 
~sh ~sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/files/, net-nds/rpcbind/

2015-11-03 Thread Mike Frysinger
commit: de6d02b6cf69bec8e91b7e7e3b4a083f8b13b822
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Nov  3 14:53:27 2015 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Nov  3 15:08:06 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de6d02b6

net-nds/rpcbind: add upstream fix for CVE-2015-7236 #560990

 .../rpcbind/files/rpcbind-0.2.3-mem-corrupt.patch  | 86 ++
 net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild| 57 ++
 2 files changed, 143 insertions(+)

diff --git a/net-nds/rpcbind/files/rpcbind-0.2.3-mem-corrupt.patch 
b/net-nds/rpcbind/files/rpcbind-0.2.3-mem-corrupt.patch
new file mode 100644
index 000..9c03bda
--- /dev/null
+++ b/net-nds/rpcbind/files/rpcbind-0.2.3-mem-corrupt.patch
@@ -0,0 +1,86 @@
+https://bugs.gentoo.org/560990
+
+fix from upstream
+
+From d5dace219953c45d26ae42db238052b68540649a Mon Sep 17 00:00:00 2001
+From: Olaf Kirch 
+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 
+Signed-off-by: Steve Dickson 
+---
+ 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
+

diff --git a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
new file mode 100644
index 000..937aaae
--- /dev/null
+++ b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
@@ -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} == "" ]] ; 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="http://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() {
+  

[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/files/, net-nds/rpcbind/

2015-11-03 Thread Mike Frysinger
commit: 87ec7f7f26cabc142eb8460a4d3287940fea9fa3
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Nov  3 14:48:20 2015 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Nov  3 15:08:05 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87ec7f7f

net-nds/rpcbind: add upstream fix for building w/newer libtirpc

 net-nds/rpcbind/files/rpcbind-0.2.3-libtirpc.patch | 42 ++
 net-nds/rpcbind/rpcbind-0.2.3.ebuild   |  1 +
 2 files changed, 43 insertions(+)

diff --git a/net-nds/rpcbind/files/rpcbind-0.2.3-libtirpc.patch 
b/net-nds/rpcbind/files/rpcbind-0.2.3-libtirpc.patch
new file mode 100644
index 000..92ea22f
--- /dev/null
+++ b/net-nds/rpcbind/files/rpcbind-0.2.3-libtirpc.patch
@@ -0,0 +1,42 @@
+fix from upstream for building w/newer libtirpc
+
+From 9194122389f2a56b1cd1f935e64307e2e963c2da Mon Sep 17 00:00:00 2001
+From: Steve Dickson 
+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 
+---
+ 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 = _auth_none;
++#endif
+   svc_sendreply(xprt, (xdrproc_t) xdr_rmtcall_result, (char *) );
++#if !defined(SVC_XP_AUTH)
+   SVCAUTH_DESTROY(xprt->xp_auth);
+   xprt->xp_auth = NULL;
++#endif
++
+ done:
+   if (buffer)
+   free(buffer);
+-- 
+2.5.2
+

diff --git a/net-nds/rpcbind/rpcbind-0.2.3.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.3.ebuild
index 23a68ef..a2437fe 100644
--- a/net-nds/rpcbind/rpcbind-0.2.3.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.3.ebuild
@@ -31,6 +31,7 @@ RDEPEND="${CDEPEND}
 
 src_prepare() {
[[ ${PV} == "" ]] && eautoreconf
+   epatch "${FILESDIR}"/${P}-libtirpc.patch
epatch_user
 }
 



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2015-11-03 Thread Mike Frysinger
commit: 464446ea81dffbd13d2143da3d5148c25e9f74af
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Nov  3 14:48:59 2015 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Nov  3 15:08:05 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=464446ea

net-nds/rpcbind: add subslot on libtirpc dep

 net-nds/rpcbind/rpcbind-0.2.3.ebuild | 2 +-
 net-nds/rpcbind/rpcbind-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.3.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.3.ebuild
index a2437fe..ab8c53b 100644
--- a/net-nds/rpcbind/rpcbind-0.2.3.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.3.ebuild
@@ -21,7 +21,7 @@ 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}

diff --git a/net-nds/rpcbind/rpcbind-.ebuild 
b/net-nds/rpcbind/rpcbind-.ebuild
index 23a68ef..748caec 100644
--- a/net-nds/rpcbind/rpcbind-.ebuild
+++ b/net-nds/rpcbind/rpcbind-.ebuild
@@ -21,7 +21,7 @@ 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}



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2015-11-03 Thread Mike Frysinger
commit: abfeb8b63c06160b24fa3b4f5938eb772e2b8b07
Author: Mike Frysinger  gentoo  org>
AuthorDate: Tue Nov  3 14:47:03 2015 +
Commit: Mike Frysinger  gentoo  org>
CommitDate: Tue Nov  3 15:08:04 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abfeb8b6

net-nds/rpcbind: minor style fix

 net-nds/rpcbind/rpcbind-0.2.3.ebuild | 4 ++--
 net-nds/rpcbind/rpcbind-.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.3.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.3.ebuild
index 4a47c9a..23a68ef 100644
--- a/net-nds/rpcbind/rpcbind-0.2.3.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.3.ebuild
@@ -27,8 +27,8 @@ CDEPEND=">=net-libs/libtirpc-0.2.3
 DEPEND="${CDEPEND}
virtual/pkgconfig"
 RDEPEND="${CDEPEND}
-   selinux? ( sec-policy/selinux-rpcbind )
-"
+   selinux? ( sec-policy/selinux-rpcbind )"
+
 src_prepare() {
[[ ${PV} == "" ]] && eautoreconf
epatch_user

diff --git a/net-nds/rpcbind/rpcbind-.ebuild 
b/net-nds/rpcbind/rpcbind-.ebuild
index 4a47c9a..23a68ef 100644
--- a/net-nds/rpcbind/rpcbind-.ebuild
+++ b/net-nds/rpcbind/rpcbind-.ebuild
@@ -27,8 +27,8 @@ CDEPEND=">=net-libs/libtirpc-0.2.3
 DEPEND="${CDEPEND}
virtual/pkgconfig"
 RDEPEND="${CDEPEND}
-   selinux? ( sec-policy/selinux-rpcbind )
-"
+   selinux? ( sec-policy/selinux-rpcbind )"
+
 src_prepare() {
[[ ${PV} == "" ]] && eautoreconf
epatch_user



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2015-11-03 Thread Agostino Sarubbo
commit: 02448e34f516b4f342ccae41003dd5795655ce21
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov  3 17:12:27 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov  3 17:12:27 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02448e34

net-nds/rpcbind: amd64 stable wrt bug #560990

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"

 net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
index 937aaae..cdcda3f 100644
--- a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc ~x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"



[gentoo-commits] repo/gentoo:master commit in: net-nds/rpcbind/

2015-11-03 Thread Agostino Sarubbo
commit: 8bd21de912d4a18f621e3153a49fc4cf295e5697
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Nov  3 17:13:31 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Nov  3 17:13:31 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bd21de9

net-nds/rpcbind: x86 stable wrt bug #560990

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="x86"

 net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild 
b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
index cdcda3f..4f648ac 100644
--- a/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
+++ b/net-nds/rpcbind/rpcbind-0.2.3-r1.ebuild
@@ -11,7 +11,7 @@ if [[ ${PV} == "" ]] ; then
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"
+   KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 
~sh ~sparc x86"
 fi
 
 DESCRIPTION="portmap replacement which supports RPC over various protocols"