Gentoo Archives: gentoo-commits

From: Aric Belsito <lluixhi@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/musl:master commit in: net-libs/libtirpc/
Date: Tue, 20 Mar 2018 16:23:53
Message-Id: 1521562997.a11db97ada9a8eaccdbde2a0c8161adf675e7522.lluixhi@gentoo
1 commit: a11db97ada9a8eaccdbde2a0c8161adf675e7522
2 Author: Aric Belsito <lluixhi <AT> gmail <DOT> com>
3 AuthorDate: Tue Mar 20 16:23:17 2018 +0000
4 Commit: Aric Belsito <lluixhi <AT> gmail <DOT> com>
5 CommitDate: Tue Mar 20 16:23:17 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=a11db97a
7
8 net-libs/libtirpc: version bump to 1.0.3
9
10 net-libs/libtirpc/Manifest | 5 ++-
11 net-libs/libtirpc/libtirpc-1.0.3.ebuild | 65 +++++++++++++++++++++++++++++++++
12 2 files changed, 68 insertions(+), 2 deletions(-)
13
14 diff --git a/net-libs/libtirpc/Manifest b/net-libs/libtirpc/Manifest
15 index a1f6f69..95af0c2 100644
16 --- a/net-libs/libtirpc/Manifest
17 +++ b/net-libs/libtirpc/Manifest
18 @@ -1,2 +1,3 @@
19 -DIST libtirpc-1.0.2.tar.bz2 509601 SHA256 723c5ce92706cbb601a8db09110df1b4b69391643158f20ff587e20e7c5f90f5 SHA512 6c819019a8e81d8263d3c509b2eee59ba1ef092222c5a0a8d28f004c711afa252097eca7e6b0b919b2d780883dfd9ee7a363df4cee7fd2c9159a065257637cec WHIRLPOOL 59306a645df28cfcfc1bf9e5215c59f0af7b8a01375ccef66c2ded4863e7183afd4b3ae0e7694f3eff78cc88f3978a4fd0c1b3375698fb90b59a08989021ebdc
20 -DIST libtirpc-glibc-nfs.tar.xz 8948 SHA256 2677cfedf626f3f5a8f6e507aed5bb8f79a7453b589d684dbbc086e755170d83 SHA512 90255bf0a27af16164e0710dd940778609925d473f4343093ff19d98cc4f23023788bf4edf0178eae1961afc0ba8b69b273de95b7d7e2afdb706701d8ba6f7ba WHIRLPOOL 06bcf3fd4e424a86071e5c4ddeb89aa571c862e765aae9382d9f9a55ab72cd1c623490555c1a9bd3380a2d04ecb10fb47a75a7dddf449d4368a1a01617226858
21 +DIST libtirpc-1.0.2.tar.bz2 509601 BLAKE2B 7ccf23ca200e2027a66a3105d9b3d0612ac66a08498931f66526a291be6ddef8e7df533af4d44a0e4a1178edd6d51ae39ca50c2536b9b1be7179e7f17cfd165e SHA512 6c819019a8e81d8263d3c509b2eee59ba1ef092222c5a0a8d28f004c711afa252097eca7e6b0b919b2d780883dfd9ee7a363df4cee7fd2c9159a065257637cec
22 +DIST libtirpc-1.0.3.tar.bz2 509831 BLAKE2B 3f908471b3e10f88329793db2c832754b9bb838d115235d7c25256da883960de8d8c94a6941fc9c2a3cc4dca9a77c32b5cb85bb347cc182e5a6255636b79b06e SHA512 1f1cf7dd6f30ddddc919e4caf6db926f1d532f78d5a93e8aaa2acde6b046be0650c4c46549da0ffd5fa7fb9e550af1a871ed6e02ededf504c6667d2e82eba2cc
23 +DIST libtirpc-glibc-nfs.tar.xz 8948 BLAKE2B 7316623d9f2b6928e296137fe2bf6794b208d549c2ffba9e4a35b47f7b04bf023798a09f38c02d039debf6adc466d7689cf3c8274d71a22eaff08729642c0a28 SHA512 90255bf0a27af16164e0710dd940778609925d473f4343093ff19d98cc4f23023788bf4edf0178eae1961afc0ba8b69b273de95b7d7e2afdb706701d8ba6f7ba
24
25 diff --git a/net-libs/libtirpc/libtirpc-1.0.3.ebuild b/net-libs/libtirpc/libtirpc-1.0.3.ebuild
26 new file mode 100644
27 index 0000000..e7b8b0d
28 --- /dev/null
29 +++ b/net-libs/libtirpc/libtirpc-1.0.3.ebuild
30 @@ -0,0 +1,65 @@
31 +# Copyright 1999-2018 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +inherit autotools multilib-minimal toolchain-funcs
37 +
38 +DESCRIPTION="Transport Independent RPC library (SunRPC replacement)"
39 +HOMEPAGE="http://libtirpc.sourceforge.net/"
40 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
41 + mirror://gentoo/${PN}-glibc-nfs.tar.xz"
42 +
43 +LICENSE="GPL-2"
44 +SLOT="0/3" # subslot matches SONAME major
45 +KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86"
46 +IUSE="ipv6 kerberos static-libs"
47 +
48 +RDEPEND="kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] )"
49 +DEPEND="${RDEPEND}
50 + elibc_musl? ( sys-libs/queue )
51 + app-arch/xz-utils
52 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
53 +
54 +PATCHES=(
55 + "${FILESDIR}/${PN}-1.0.2-bcopy-to-memmove.patch"
56 +)
57 +
58 +src_prepare() {
59 + cp -r "${WORKDIR}"/tirpc "${S}"/ || die
60 + default
61 + eapply_user
62 + eautoreconf
63 +}
64 +
65 +multilib_src_configure() {
66 + local myeconfargs=(
67 + $(use_enable ipv6)
68 + $(use_enable kerberos gssapi)
69 + $(use_enable static-libs static)
70 + )
71 + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
72 +}
73 +
74 +multilib_src_install() {
75 + default
76 +
77 + # libtirpc replaces rpc support in glibc, so we need it in /
78 + gen_usr_ldscript -a tirpc
79 +}
80 +
81 +multilib_src_install_all() {
82 + einstalldocs
83 +
84 + insinto /etc
85 + doins doc/netconfig
86 +
87 + insinto /usr/include/tirpc
88 + doins -r "${WORKDIR}"/tirpc/*
89 +
90 + # makes sure that the linking order for nfs-utils is proper, as
91 + # libtool would inject a libgssglue dependency in the list.
92 + if ! use static-libs ; then
93 + find "${ED}" -name "*.la" -delete || die
94 + fi
95 +}