Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libnsl/
Date: Thu, 23 Nov 2017 20:48:54
Message-Id: 1511470100.e468ce1b22b45e0c7f7de849579dd25e2faae1a3.whissi@gentoo
1 commit: e468ce1b22b45e0c7f7de849579dd25e2faae1a3
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 23 19:24:29 2017 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 23 20:48:20 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e468ce1b
7
8 net-libs/libnsl: Bump to v1.2.0
9
10 Package-Manager: Portage-2.3.16, Repoman-2.3.6
11
12 net-libs/libnsl/Manifest | 1 +
13 net-libs/libnsl/libnsl-1.2.0.ebuild | 43 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 44 insertions(+)
15
16 diff --git a/net-libs/libnsl/Manifest b/net-libs/libnsl/Manifest
17 index 69abf021a44..cd67530ee21 100644
18 --- a/net-libs/libnsl/Manifest
19 +++ b/net-libs/libnsl/Manifest
20 @@ -1 +1,2 @@
21 DIST libnsl-1.1.0.tar.gz 209148 BLAKE2B 1fe1cbd279f317c0ca74a635e7cb7a35e3c70055f8f590b6814b2d40f1daaf381ec9d9710e0bbb894489d251788a135550848714e8b015bf237cf41d72feabf0 SHA512 12555ed701d06247b6774c6c2759ada280ffce73820976adb4aaa48b50b97121b1805412541778dfcdd8845af6a10b2e5a9dc0eb7b953e84467d0a40ad3360cd
22 +DIST libnsl-1.2.0.tar.gz 209188 BLAKE2B 4249cfbf0b5391790f5e5f81e4eb0be963e5fdc0c32a9400d4128e717d93da49f8751caf8de3bb4ba1a23b8670a0e4f8e750f38f4612dd0cc97db4c157421a06 SHA512 30115aa679a04ad01f55cff9dd1890b4c41c730a9bac2adab5add9ae03a0b4687c5f4b6e3b8652ecbb074eefac8faee3f1f13ea60d42cf4432db8a575ca72cd8
23
24 diff --git a/net-libs/libnsl/libnsl-1.2.0.ebuild b/net-libs/libnsl/libnsl-1.2.0.ebuild
25 new file mode 100644
26 index 00000000000..cf182e06e36
27 --- /dev/null
28 +++ b/net-libs/libnsl/libnsl-1.2.0.ebuild
29 @@ -0,0 +1,43 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI="6"
34 +
35 +inherit autotools multilib-minimal
36 +
37 +DESCRIPTION="Public client interface for NIS(YP) and NIS+ in a IPv6 ready version"
38 +HOMEPAGE="https://github.com/thkukuk/libnsl"
39 +SRC_URI="https://github.com/thkukuk/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
40 +
41 +SLOT="0/2"
42 +LICENSE="LGPL-2.1+"
43 +
44 +# Stabilize together with glibc-2.26!
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
46 +
47 +IUSE=""
48 +
49 +DEPEND="
50 + net-libs/libtirpc[${MULTILIB_USEDEP}]
51 +"
52 +RDEPEND="${DEPEND}
53 + !<sys-libs/glibc-2.26
54 +"
55 +
56 +src_prepare(){
57 + default
58 + eautoreconf
59 +}
60 +
61 +multilib_src_configure() {
62 + local myconf=(
63 + --enable-shared
64 + --disable-static
65 + )
66 + ECONF_SOURCE=${S} econf "${myconf[@]}"
67 +}
68 +
69 +multilib_src_install_all() {
70 + einstalldocs
71 + find "${ED}" -name '*.la' -delete || die
72 +}