diff options
| author | Sam James <sam@gentoo.org> | 2025-03-14 04:35:11 +0000 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-03-14 04:35:24 +0000 |
| commit | fb46dff57f312f62ef1f01d9d800ec2acbfdd4ef (patch) | |
| tree | e094bdc1b2758d76aee96d9f8de13220af49c1fa /net-nds | |
| parent | 7004cffe6aee231b02f4a19ea1d4e17e89f5fe35 (diff) | |
| download | gentoo-fb46dff57f312f62ef1f01d9d800ec2acbfdd4ef.tar.gz gentoo-fb46dff57f312f62ef1f01d9d800ec2acbfdd4ef.tar.bz2 gentoo-fb46dff57f312f62ef1f01d9d800ec2acbfdd4ef.zip | |
net-nds/rpcbind: add 1.2.7
... and forward ~loong ~m68k.
Bug: https://bugs.gentoo.org/577772
Bug: https://bugs.gentoo.org/862651
Closes: https://bugs.gentoo.org/650148
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-nds')
| -rw-r--r-- | net-nds/rpcbind/Manifest | 1 | ||||
| -rw-r--r-- | net-nds/rpcbind/rpcbind-1.2.7.ebuild | 61 | ||||
| -rw-r--r-- | net-nds/rpcbind/rpcbind-9999.ebuild | 2 |
3 files changed, 63 insertions, 1 deletions
diff --git a/net-nds/rpcbind/Manifest b/net-nds/rpcbind/Manifest index 33851a303608..83b0903cfd39 100644 --- a/net-nds/rpcbind/Manifest +++ b/net-nds/rpcbind/Manifest @@ -1 +1,2 @@ DIST rpcbind-1.2.6.tar.bz2 124590 BLAKE2B bb0e9f81e4747f8a732c9e25af561e79f2b6cd1c1955db586833871901b6da73f4b7ef32149a81b75daa81359b9c0554726670460b28857042dd66a2f861cac2 SHA512 fb89c61be4c533fe2e6057749d97079a2d1c9fac0d35d6be1a159a0edbf86092b3fc121f19fa920e75aac5ecdd3f59f5978e6401d5cad16cd438c977736206a7 +DIST rpcbind-1.2.7.tar.bz2 125792 BLAKE2B f1e79b304ce5fe06c1c256d3512d999daffca782d956440f612b8a957ad7ddb35356b47aa4f4105d5b24d820daab32ec3a0f4a3b8ac76bb7adf5c3ed22d2ef01 SHA512 ca1517bdab86221d13c645042cc31b25b4d2b574d63ebaa20da4f5392b611cf58811f267214293e953f504d364e5daaa5875eab7aa68a04b89e68fd5508e3926 diff --git a/net-nds/rpcbind/rpcbind-1.2.7.ebuild b/net-nds/rpcbind/rpcbind-1.2.7.ebuild new file mode 100644 index 000000000000..210a36fdf289 --- /dev/null +++ b/net-nds/rpcbind/rpcbind-1.2.7.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd + +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 + +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} == "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} +} diff --git a/net-nds/rpcbind/rpcbind-9999.ebuild b/net-nds/rpcbind/rpcbind-9999.ebuild index 0827a2daf295..fe8f50a8efa0 100644 --- a/net-nds/rpcbind/rpcbind-9999.ebuild +++ b/net-nds/rpcbind/rpcbind-9999.ebuild @@ -10,7 +10,7 @@ if [[ ${PV} == "9999" ]] ; then inherit autotools git-r3 else SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.bz2" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" fi DESCRIPTION="portmap replacement which supports RPC over various protocols" |
