commit:     fed0025b2d1dcd613f49eee4422c836b1d34d798
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  8 06:57:21 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Aug  8 07:11:02 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fed0025b

net-nds/rpcbind: add 1.2.8

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-nds/rpcbind/Manifest             |  1 +
 net-nds/rpcbind/rpcbind-1.2.8.ebuild | 64 ++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

diff --git a/net-nds/rpcbind/Manifest b/net-nds/rpcbind/Manifest
index 83b0903cfd39..854b64231711 100644
--- a/net-nds/rpcbind/Manifest
+++ b/net-nds/rpcbind/Manifest
@@ -1,2 +1,3 @@
 DIST rpcbind-1.2.6.tar.bz2 124590 BLAKE2B 
bb0e9f81e4747f8a732c9e25af561e79f2b6cd1c1955db586833871901b6da73f4b7ef32149a81b75daa81359b9c0554726670460b28857042dd66a2f861cac2
 SHA512 
fb89c61be4c533fe2e6057749d97079a2d1c9fac0d35d6be1a159a0edbf86092b3fc121f19fa920e75aac5ecdd3f59f5978e6401d5cad16cd438c977736206a7
 DIST rpcbind-1.2.7.tar.bz2 125792 BLAKE2B 
f1e79b304ce5fe06c1c256d3512d999daffca782d956440f612b8a957ad7ddb35356b47aa4f4105d5b24d820daab32ec3a0f4a3b8ac76bb7adf5c3ed22d2ef01
 SHA512 
ca1517bdab86221d13c645042cc31b25b4d2b574d63ebaa20da4f5392b611cf58811f267214293e953f504d364e5daaa5875eab7aa68a04b89e68fd5508e3926
+DIST rpcbind-1.2.8.tar.bz2 129079 BLAKE2B 
70bef658aafc4b1b626a7e9ff312b34748e0142a0a93d058c28d6599545281464f27a5546abe287f0dd369e5264cb38940f85e5e6c128cb0e0f7aaa4b841ab77
 SHA512 
66f3955a67c4d0142ec635614ceafbc9bdbea985f2edaeec903f17efaf3c2e98f6483e8e6b7f1358cf8d2c1c877b281d153a3bf1b6748b6d259ae7ad1465ee71

diff --git a/net-nds/rpcbind/rpcbind-1.2.8.ebuild 
b/net-nds/rpcbind/rpcbind-1.2.8.ebuild
new file mode 100644
index 000000000000..dae4c2ee6abf
--- /dev/null
+++ b/net-nds/rpcbind/rpcbind-1.2.8.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+DESCRIPTION="portmap replacement which supports RPC over various protocols"
+HOMEPAGE="https://sourceforge.net/projects/rpcbind/";
+
+if [[ ${PV} == "9999" ]] ; then
+       EGIT_REPO_URI="git://linux-nfs.org/~steved/rpcbind.git"
+       inherit autotools git-r3
+else
+       SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.bz2";
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc 
~ppc64 ~riscv ~s390 ~sparc ~x86"
+fi
+
+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} == "9999" ]] && 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}
+}

Reply via email to