Gentoo Archives: gentoo-commits

From: "Andreas K. Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/libidn2/
Date: Mon, 08 Apr 2019 21:01:31
Message-Id: 1554757280.be0ef3204c3189c1bae2c7d310b83a5603e5f341.dilfridge@gentoo
1 commit: be0ef3204c3189c1bae2c7d310b83a5603e5f341
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 8 20:59:22 2019 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 8 21:01:20 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be0ef320
7
8 net-dns/libidn2: Restore 2.0.5 for testing purposes
9
10 Searching for the origin of failures in the glibc testsuite
11 This partially reverts commit f3bb278b8165084d35dceb7c8f91c61e8800560f.
12
13 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
14
15 net-dns/libidn2/Manifest | 1 +
16 net-dns/libidn2/libidn2-2.0.5.ebuild | 51 ++++++++++++++++++++++++++++++++++++
17 2 files changed, 52 insertions(+)
18
19 diff --git a/net-dns/libidn2/Manifest b/net-dns/libidn2/Manifest
20 index 31e4d7dc0c2..21999ddc244 100644
21 --- a/net-dns/libidn2/Manifest
22 +++ b/net-dns/libidn2/Manifest
23 @@ -1,2 +1,3 @@
24 DIST libidn2-2.0.4.tar.gz 2008524 BLAKE2B 7163e1eff498031c7433911533b34d993876b55d9b324aaef39c93db2cceee78dec4c8cfbf4d9dabd1dbbb03a8cbd65021f26a94758f57b32ef98dc869f744b6 SHA512 1e51bd4b8f8907531576291f1c2a8865d17429b4105418b4c98754eb982cd1cbb3adbeab4ec0c1c561d2dba11d876c7c09e5dc5b315c55a2c24986d7a2a3b4d2
25 +DIST libidn2-2.0.5.tar.gz 2091929 BLAKE2B 1eb52ae7c9295bf4b5d6e36e6852ffb54b10663a0e3cea06df110bd7798fcb0d1b8e3b7169e4a11e800a23fc9f606167dcb7fc2d4a684e861d73a236de5c578c SHA512 9d040d60de40316788825d8720d509d5b8a82287415e09e17792c2f32fad99ca77f43e55888b9484db69426eaa0ece59e9671eee9cc46411afbdb0f81af31a79
26 DIST libidn2-2.1.1a.tar.gz 2122867 BLAKE2B 616bdf4c2c5095a29511db293fa908d4cac23f77e17bb6c60f8aa8c8a8a10f1b4e8b84b82406599fe0cc7122fd89c50ec252f1716198f72496800a19924fa09c SHA512 404a739e33d324f700ac8e8119de3feef0de778bbb11be09049cb64eab447cd101883f6d489cca1e88c230f58bcaf9758fe102e571b6501450aa750ec2a4a9c6
27
28 diff --git a/net-dns/libidn2/libidn2-2.0.5.ebuild b/net-dns/libidn2/libidn2-2.0.5.ebuild
29 new file mode 100644
30 index 00000000000..7d53fcdaf7a
31 --- /dev/null
32 +++ b/net-dns/libidn2/libidn2-2.0.5.ebuild
33 @@ -0,0 +1,51 @@
34 +# Copyright 1999-2018 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=6
38 +inherit eutils flag-o-matic multilib-minimal
39 +
40 +DESCRIPTION="An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)"
41 +HOMEPAGE="https://www.gnu.org/software/libidn/#libidn2 https://gitlab.com/jas/libidn2"
42 +SRC_URI="
43 + mirror://gnu/libidn/${P}.tar.gz
44 +"
45 +
46 +LICENSE="GPL-2+ LGPL-3+"
47 +SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
49 +IUSE="static-libs"
50 +
51 +RDEPEND="
52 + dev-libs/libunistring[${MULTILIB_USEDEP}]
53 +"
54 +DEPEND="
55 + ${RDEPEND}
56 + dev-lang/perl
57 + sys-apps/help2man
58 +"
59 +
60 +src_prepare() {
61 + default
62 +
63 + if [[ ${CHOST} == *-darwin* ]] ; then
64 + # Darwin ar chokes when TMPDIR doesn't exist (as done for some
65 + # reason in the Makefile)
66 + sed -i -e '/^TMPDIR = /d' Makefile.in || die
67 + export TMPDIR="${T}"
68 + fi
69 +
70 + multilib_copy_sources
71 +}
72 +
73 +multilib_src_configure() {
74 + econf \
75 + $(use_enable static-libs static) \
76 + --disable-doc \
77 + --disable-gtk-doc
78 +}
79 +
80 +multilib_src_install() {
81 + default
82 +
83 + prune_libtool_files
84 +}