From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1071176-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 4AE4C138334
	for <garchives@archives.gentoo.org>; Sat,  9 Feb 2019 12:11:05 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 81200E0A95;
	Sat,  9 Feb 2019 12:11:04 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 407D8E0A95
	for <gentoo-commits@lists.gentoo.org>; Sat,  9 Feb 2019 12:11:04 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 70F59335D97
	for <gentoo-commits@lists.gentoo.org>; Sat,  9 Feb 2019 12:11:02 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id B25322A7
	for <gentoo-commits@lists.gentoo.org>; Sat,  9 Feb 2019 12:11:00 +0000 (UTC)
From: "Andreas K. Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" <dilfridge@gentoo.org>
Message-ID: <1549714239.186078398ca339a9826e0263edd639e9f44ea6d8.dilfridge@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/libidn2/
X-VCS-Repository: repo/gentoo
X-VCS-Files: net-dns/libidn2/Manifest net-dns/libidn2/libidn2-2.1.1.ebuild
X-VCS-Directories: net-dns/libidn2/
X-VCS-Committer: dilfridge
X-VCS-Committer-Name: Andreas K. Hüttel
X-VCS-Revision: 186078398ca339a9826e0263edd639e9f44ea6d8
X-VCS-Branch: master
Date: Sat,  9 Feb 2019 12:11:00 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: dde0fc2c-008e-4b56-ba24-19670d71b7d3
X-Archives-Hash: 131979540339f7135be4988d6424ae00

commit:     186078398ca339a9826e0263edd639e9f44ea6d8
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  9 12:10:14 2019 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Sat Feb  9 12:10:39 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18607839

net-dns/libidn2: Version bump

Fixes some issues found by fuzzing. Also, reverts the soversion bump
of 2.1.0, so glibc can load the library again.

Bug: https://bugs.gentoo.org/674126
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 net-dns/libidn2/Manifest             |  1 +
 net-dns/libidn2/libidn2-2.1.1.ebuild | 55 ++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/net-dns/libidn2/Manifest b/net-dns/libidn2/Manifest
index e70ec47c04b..9bf6b1c714d 100644
--- a/net-dns/libidn2/Manifest
+++ b/net-dns/libidn2/Manifest
@@ -1,3 +1,4 @@
 DIST libidn2-2.0.4.tar.gz 2008524 BLAKE2B 7163e1eff498031c7433911533b34d993876b55d9b324aaef39c93db2cceee78dec4c8cfbf4d9dabd1dbbb03a8cbd65021f26a94758f57b32ef98dc869f744b6 SHA512 1e51bd4b8f8907531576291f1c2a8865d17429b4105418b4c98754eb982cd1cbb3adbeab4ec0c1c561d2dba11d876c7c09e5dc5b315c55a2c24986d7a2a3b4d2
 DIST libidn2-2.0.5.tar.gz 2091929 BLAKE2B 1eb52ae7c9295bf4b5d6e36e6852ffb54b10663a0e3cea06df110bd7798fcb0d1b8e3b7169e4a11e800a23fc9f606167dcb7fc2d4a684e861d73a236de5c578c SHA512 9d040d60de40316788825d8720d509d5b8a82287415e09e17792c2f32fad99ca77f43e55888b9484db69426eaa0ece59e9671eee9cc46411afbdb0f81af31a79
 DIST libidn2-2.1.0.tar.gz 2102683 BLAKE2B ef8b29e458598f59044a058e2121b08a0034cf0a14d9a7952e83722a38e03cb66152271a62b690be3ede7dad36cdb69849f1a7ccd6e61c4f75256afeb6b1d1bb SHA512 003f3bdb872f9c6f5db80bc5ad5e5dd8f414e14139f4ae15b451e955eba18f612fda8b159796e9631d741fa0a2d731e6d489f9901d2561ac35b716efe56557a2
+DIST libidn2-2.1.1.tar.gz 2113586 BLAKE2B 9484db84f76b8d584b7949334f97d8924728427cc890e924d382615d4e0a0b34a62adf1101afab8c850183aae9532bba7f01e70cb2987280193272f1f38489eb SHA512 01a366c4fe9d5c153a70978a02f3ac13da2ee912f0bb316edf0e1f6c9e3e1010f13e0318bc56dd1389881f75987ef414082d32963082d77190b8a6f4ac8884e1

diff --git a/net-dns/libidn2/libidn2-2.1.1.ebuild b/net-dns/libidn2/libidn2-2.1.1.ebuild
new file mode 100644
index 00000000000..2346f9c3cf2
--- /dev/null
+++ b/net-dns/libidn2/libidn2-2.1.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit multilib-minimal
+
+DESCRIPTION="An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)"
+HOMEPAGE="https://www.gnu.org/software/libidn/#libidn2 https://gitlab.com/jas/libidn2"
+SRC_URI="
+	mirror://gnu/libidn/${P}.tar.gz
+"
+
+LICENSE="GPL-2+ LGPL-3+"
+
+SLOT="0"
+# Yes, the soversion bump was reverted.
+# See https://gitlab.com/libidn/libidn2/issues/63
+
+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"
+IUSE="static-libs"
+
+RDEPEND="
+	dev-libs/libunistring[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	dev-lang/perl
+	sys-apps/help2man
+"
+
+src_prepare() {
+	default
+
+	if [[ ${CHOST} == *-darwin* ]] ; then
+		# Darwin ar chokes when TMPDIR doesn't exist (as done for some
+		# reason in the Makefile)
+		sed -i -e '/^TMPDIR = /d' Makefile.in || die
+		export TMPDIR="${T}"
+	fi
+
+	multilib_copy_sources
+}
+
+multilib_src_configure() {
+	econf \
+		$(use_enable static-libs static) \
+		--disable-doc \
+		--disable-gtk-doc
+}
+
+multilib_src_install() {
+	default
+
+	find "${D}" -name '*.la' -delete || die
+}