mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 12:16:41 +02:00
net-nds/rpcbind: Sync with Gentoo
It's from Gentoo commit 6622ad38e9560917e284bd8208d81c77d97268da.
This commit is contained in:
parent
fb32c5abbb
commit
6a2ab5a2c5
@ -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
|
||||
|
||||
64
sdk_container/src/third_party/portage-stable/net-nds/rpcbind/rpcbind-1.2.7.ebuild
vendored
Normal file
64
sdk_container/src/third_party/portage-stable/net-nds/rpcbind/rpcbind-1.2.7.ebuild
vendored
Normal file
@ -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}
|
||||
}
|
||||
@ -1,33 +1,36 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
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 ~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"
|
||||
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:=
|
||||
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"
|
||||
tcpd? ( sys-apps/tcp-wrappers )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
selinux? ( sec-policy/selinux-rpcbind )
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user