1 |
commit: 81db8780b3933a9e282ada2effe9efb7963926d1 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jul 1 21:33:05 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jul 1 21:33:23 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81db8780 |
7 |
|
8 |
net-libs/rpcsvc-proto: bump up to 1.4.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
11 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
12 |
|
13 |
net-libs/rpcsvc-proto/Manifest | 1 + |
14 |
net-libs/rpcsvc-proto/rpcsvc-proto-1.4.2.ebuild | 38 +++++++++++++++++++++++++ |
15 |
2 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/net-libs/rpcsvc-proto/Manifest b/net-libs/rpcsvc-proto/Manifest |
18 |
index 8680cd917c8..f85b701b110 100644 |
19 |
--- a/net-libs/rpcsvc-proto/Manifest |
20 |
+++ b/net-libs/rpcsvc-proto/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST rpcsvc-proto-1.4.1.tar.gz 61724 BLAKE2B 4fd04b36d30561edf3bbc9f565b07a8f1450ca28d7489b63d241f0b7eb2b98640d2dc2d798b1469460f682c0774fc99a995239d7e0fe2f244852b2561b37a0fb SHA512 a75546255bc5c553ec12dc0844783907b70499eb65ea6fb9de7c0a0f669e4ef0caa717c0cbe9ba8651dc7acfb0c9c4e0fc644ebf12e0a704819fa47e6c65b8b7 |
23 |
+DIST rpcsvc-proto-1.4.2.tar.gz 61788 BLAKE2B e941fa86088d690e3e80a501beb5169a51ff77b60d618f54db9d9fd5fb96c2b2a4277ab8d847dcdb29dadd2f6947d155b15cd8b6af1f1420e023da8637d555c0 SHA512 6769f9439e3f187eebdeef4ee8d54f8a6fee6f410e3137d0c1b26e61b705873932890856faff55b68c39aa702e456b36fe9410b85baf1ef9b20ee97f2158971a |
24 |
|
25 |
diff --git a/net-libs/rpcsvc-proto/rpcsvc-proto-1.4.2.ebuild b/net-libs/rpcsvc-proto/rpcsvc-proto-1.4.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..d7df5d09a44 |
28 |
--- /dev/null |
29 |
+++ b/net-libs/rpcsvc-proto/rpcsvc-proto-1.4.2.ebuild |
30 |
@@ -0,0 +1,38 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+inherit autotools |
37 |
+ |
38 |
+DESCRIPTION="rpcsvc protocol definitions from glibc" |
39 |
+HOMEPAGE="https://github.com/thkukuk/rpcsvc-proto" |
40 |
+SRC_URI="https://github.com/thkukuk/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+SLOT="0" |
43 |
+LICENSE="LGPL-2.1+ BSD" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
45 |
+IUSE="" |
46 |
+ |
47 |
+# sys-devel/gettext is only for libintl detection macros. |
48 |
+DEPEND="sys-devel/gettext" |
49 |
+RDEPEND=" |
50 |
+ !<sys-libs/glibc-2.26 |
51 |
+ virtual/libintl |
52 |
+" |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ default |
56 |
+ eautoreconf |
57 |
+ |
58 |
+ # Use ${CHOST}-cpp, not 'cpp': bug #718138 |
59 |
+ # Ideally we should use @CPP@ but rpcgen makes it hard to use '${CHOST}-gcc -E' |
60 |
+ sed -i -s "s/CPP = \"cpp\";/CPP = \"${CHOST}-cpp\";/" rpcgen/rpc_main.c || die |
61 |
+} |
62 |
+ |
63 |
+src_install() { |
64 |
+ default |
65 |
+ |
66 |
+ # provided by sys-fs/quota[rpc] |
67 |
+ rm "${ED}"/usr/include/rpcsvc/rquota.{x,h} || die |
68 |
+} |