Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/rpcsvc-proto/
Date: Fri, 07 Jan 2022 13:44:52
Message-Id: 1641563080.d9e7b988a5955df1417fa549635da4a7b0554e87.sam@gentoo
1 commit: d9e7b988a5955df1417fa549635da4a7b0554e87
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 7 13:44:12 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 7 13:44:40 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9e7b988
7
8 net-libs/rpcsvc-proto: add 1.4.3
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 net-libs/rpcsvc-proto/Manifest | 1 +
13 net-libs/rpcsvc-proto/rpcsvc-proto-1.4.3.ebuild | 35 +++++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/net-libs/rpcsvc-proto/Manifest b/net-libs/rpcsvc-proto/Manifest
17 index e0324f8e649c..8cea904cb10d 100644
18 --- a/net-libs/rpcsvc-proto/Manifest
19 +++ b/net-libs/rpcsvc-proto/Manifest
20 @@ -1 +1,2 @@
21 DIST rpcsvc-proto-1.4.2.tar.gz 61788 BLAKE2B e941fa86088d690e3e80a501beb5169a51ff77b60d618f54db9d9fd5fb96c2b2a4277ab8d847dcdb29dadd2f6947d155b15cd8b6af1f1420e023da8637d555c0 SHA512 6769f9439e3f187eebdeef4ee8d54f8a6fee6f410e3137d0c1b26e61b705873932890856faff55b68c39aa702e456b36fe9410b85baf1ef9b20ee97f2158971a
22 +DIST rpcsvc-proto-1.4.3.tar.gz 62786 BLAKE2B 9f5cd14b2839c9be654bd237d4b8803536127217a684f21146efc94346c7163010bd30fd9a77e2a5ef3cf69655f3c88de99b8497c863968f02081099f174c115 SHA512 44afac7626147b7c4166bdd90556172bd5d7655f5837245985db7af3cc610de00e215c8cccc4ac6b6a0dd6d0a65d062dc19dab4d1cec0ef45818a7ff709df513
23
24 diff --git a/net-libs/rpcsvc-proto/rpcsvc-proto-1.4.3.ebuild b/net-libs/rpcsvc-proto/rpcsvc-proto-1.4.3.ebuild
25 new file mode 100644
26 index 000000000000..0ce9e567204a
27 --- /dev/null
28 +++ b/net-libs/rpcsvc-proto/rpcsvc-proto-1.4.3.ebuild
29 @@ -0,0 +1,35 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +inherit autotools
36 +
37 +DESCRIPTION="rpcsvc protocol definitions from glibc"
38 +HOMEPAGE="https://github.com/thkukuk/rpcsvc-proto"
39 +SRC_URI="https://github.com/thkukuk/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +SLOT="0"
42 +LICENSE="LGPL-2.1+ BSD"
43 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
44 +
45 +RDEPEND="!<sys-libs/glibc-2.26
46 + virtual/libintl"
47 +# sys-devel/gettext is only for libintl detection macros.
48 +BDEPEND="sys-devel/gettext"
49 +
50 +src_prepare() {
51 + default
52 + eautoreconf
53 +
54 + # Use ${CHOST}-cpp, not 'cpp': bug #718138
55 + # Ideally we should use @CPP@ but rpcgen makes it hard to use '${CHOST}-gcc -E'
56 + sed -i -s "s/CPP = \"cpp\";/CPP = \"${CHOST}-cpp\";/" rpcgen/rpc_main.c || die
57 +}
58 +
59 +src_install() {
60 + default
61 +
62 + # provided by sys-fs/quota[rpc]
63 + rm "${ED}"/usr/include/rpcsvc/rquota.{x,h} || die
64 +}