mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-27 16:41:11 +02:00
net-libs/rpcsvc-proto: Sync with Gentoo
It's from Gentoo commit 6224cc9e8fc46385e18d62bd1c5fa96801e13d18.
This commit is contained in:
parent
747f318742
commit
72701e273d
@ -1 +1 @@
|
||||
DIST rpcsvc-proto-1.4.2.tar.gz 61788 BLAKE2B e941fa86088d690e3e80a501beb5169a51ff77b60d618f54db9d9fd5fb96c2b2a4277ab8d847dcdb29dadd2f6947d155b15cd8b6af1f1420e023da8637d555c0 SHA512 6769f9439e3f187eebdeef4ee8d54f8a6fee6f410e3137d0c1b26e61b705873932890856faff55b68c39aa702e456b36fe9410b85baf1ef9b20ee97f2158971a
|
||||
DIST rpcsvc-proto-1.4.4.tar.xz 168648 BLAKE2B 2cba39b0307d773133306c4222e43cc44d4189bb125f993634b2a5e7679e5f5b4d28b05b95db6e694d316b4fdd182cf91c2a01ed1c519a3ca7ced5ebf5da3d10 SHA512 0138ac8fb2d8de3cb56f661bd1b6435fa0a35d3bd12c5cb7081c9ae1701e3620f47fe3dd002263db456655b61316749768e9a1a44325a1a6a542beae364a0393
|
||||
|
@ -1,12 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>toolchain@gentoo.org</email>
|
||||
<name>Gentoo Toolchain Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>base-system@gentoo.org</email>
|
||||
<name>Gentoo Base System Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>toolchain@gentoo.org</email>
|
||||
<name>Gentoo Toolchain Project</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>base-system@gentoo.org</email>
|
||||
<name>Gentoo Base System Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">thkukuk/rpcsvc-proto</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1,17 +1,16 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="rpcsvc protocol definitions from glibc"
|
||||
HOMEPAGE="https://github.com/thkukuk/rpcsvc-proto"
|
||||
|
||||
# Fake version to help portage upgrading.
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-2.1+ BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="elibc_glibc? ( sys-libs/glibc[rpc(-)] )"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="rpcsvc protocol definitions from glibc"
|
||||
HOMEPAGE="https://github.com/thkukuk/rpcsvc-proto"
|
||||
SRC_URI="https://github.com/thkukuk/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="LGPL-2.1+ BSD"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
IUSE=""
|
||||
|
||||
# sys-devel/gettext is only for libintl detection macros.
|
||||
DEPEND="sys-devel/gettext"
|
||||
RDEPEND="
|
||||
!<sys-libs/glibc-2.26
|
||||
virtual/libintl
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
|
||||
# Use ${CHOST}-cpp, not 'cpp': bug #718138
|
||||
# Ideally we should use @CPP@ but rpcgen makes it hard to use '${CHOST}-gcc -E'
|
||||
sed -i -s "s/CPP = \"cpp\";/CPP = \"${CHOST}-cpp\";/" rpcgen/rpc_main.c || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# provided by sys-fs/quota[rpc]
|
||||
rm "${ED}"/usr/include/rpcsvc/rquota.{x,h} || die
|
||||
}
|
44
sdk_container/src/third_party/portage-stable/net-libs/rpcsvc-proto/rpcsvc-proto-1.4.4.ebuild
vendored
Normal file
44
sdk_container/src/third_party/portage-stable/net-libs/rpcsvc-proto/rpcsvc-proto-1.4.4.ebuild
vendored
Normal file
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="rpcsvc protocol definitions from glibc"
|
||||
HOMEPAGE="https://github.com/thkukuk/rpcsvc-proto"
|
||||
SRC_URI="https://github.com/thkukuk/rpcsvc-proto/releases/download/v${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1+ BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
!<sys-libs/glibc-2.26
|
||||
virtual/libintl
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
# sys-devel/gettext is only for libintl detection macros.
|
||||
BDEPEND="sys-devel/gettext"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Search for a valid 'cpp' command.
|
||||
# The CPP envvar might contain '${CC} -E', which does not work for rpcgen.
|
||||
# Bug 718138, 870031, 870061.
|
||||
local x cpp=
|
||||
for x in {${CHOST}-,}{,clang-}cpp; do
|
||||
if type -P "${x}" >/dev/null; then
|
||||
cpp=${x}
|
||||
break
|
||||
fi
|
||||
done
|
||||
[[ -n ${cpp} ]] || die "Unable to find cpp"
|
||||
sed -i -e "s/CPP = \"cpp\";/CPP = \"${cpp}\";/" rpcgen/rpc_main.c || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# provided by sys-fs/quota[rpc]
|
||||
rm "${ED}"/usr/include/rpcsvc/rquota.{x,h} || die
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user