diff options
author | Sam James <sam@gentoo.org> | 2023-05-10 20:29:26 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-05-10 20:29:26 +0100 |
commit | 146d7abc157943375069faef5ebbee1b634241ce (patch) | |
tree | fc8a2326f2e1c0ef27cac3fdda0ab7b594fe3fe2 /net-libs/rpcsvc-proto | |
parent | sci-libs/gdal: add 3.7.0 (diff) | |
download | gentoo-146d7abc157943375069faef5ebbee1b634241ce.tar.gz gentoo-146d7abc157943375069faef5ebbee1b634241ce.tar.bz2 gentoo-146d7abc157943375069faef5ebbee1b634241ce.zip |
net-libs/rpcsvc-proto: add 1.4.4
Bug: https://bugs.gentoo.org/905985
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs/rpcsvc-proto')
-rw-r--r-- | net-libs/rpcsvc-proto/Manifest | 1 | ||||
-rw-r--r-- | net-libs/rpcsvc-proto/rpcsvc-proto-1.4.4.ebuild | 44 |
2 files changed, 45 insertions, 0 deletions
diff --git a/net-libs/rpcsvc-proto/Manifest b/net-libs/rpcsvc-proto/Manifest index 47966d531423..ef23798ce3be 100644 --- a/net-libs/rpcsvc-proto/Manifest +++ b/net-libs/rpcsvc-proto/Manifest @@ -1 +1,2 @@ DIST rpcsvc-proto-1.4.3.tar.xz 167964 BLAKE2B dc15392fd68b76ffa92c08039076aed293834b047ebea4a418dc767ea13e3a04b19e5108ebda808dfa4356ca426db610847758d69b23cc66981eb4ea844eb218 SHA512 e46ba9ccdd6c520128bf3a154db90742f288a4d593b094a630141cdc5aeb834ffebf9b0eb6d5d0aad9faef3c445c75e2355cbc3e1382b50d29f4d2799441c6e9 +DIST rpcsvc-proto-1.4.4.tar.xz 168648 BLAKE2B 2cba39b0307d773133306c4222e43cc44d4189bb125f993634b2a5e7679e5f5b4d28b05b95db6e694d316b4fdd182cf91c2a01ed1c519a3ca7ced5ebf5da3d10 SHA512 0138ac8fb2d8de3cb56f661bd1b6435fa0a35d3bd12c5cb7081c9ae1701e3620f47fe3dd002263db456655b61316749768e9a1a44325a1a6a542beae364a0393 diff --git a/net-libs/rpcsvc-proto/rpcsvc-proto-1.4.4.ebuild b/net-libs/rpcsvc-proto/rpcsvc-proto-1.4.4.ebuild new file mode 100644 index 000000000000..d1cd463c1ad5 --- /dev/null +++ b/net-libs/rpcsvc-proto/rpcsvc-proto-1.4.4.ebuild @@ -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 +} |