From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 691BD139695 for ; Sat, 15 Apr 2017 12:24:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD62CE0C2F; Sat, 15 Apr 2017 12:24:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8BAC2E0C2F for ; Sat, 15 Apr 2017 12:24:28 +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 CF77F3412CB for ; Sat, 15 Apr 2017 12:24:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 341E27430 for ; Sat, 15 Apr 2017 12:24:25 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1492259060.d5d67c0957df506b5ef54680274fc707b42c4337.jer@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.0.0.ebuild X-VCS-Directories: net-dns/libidn2/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: d5d67c0957df506b5ef54680274fc707b42c4337 X-VCS-Branch: master Date: Sat, 15 Apr 2017 12:24:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: bf9edaef-cce8-4a95-bd46-16b563dc761b X-Archives-Hash: 115ac6453ca7c62a035a5a45a2442ee8 commit: d5d67c0957df506b5ef54680274fc707b42c4337 Author: Jeroen Roovers gentoo org> AuthorDate: Sat Apr 15 12:23:02 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sat Apr 15 12:24:20 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5d67c09 net-dns/libidn2: Version bump. Package-Manager: Portage-2.3.5, Repoman-2.3.2 net-dns/libidn2/Manifest | 1 + net-dns/libidn2/libidn2-2.0.0.ebuild | 51 ++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/net-dns/libidn2/Manifest b/net-dns/libidn2/Manifest index 6e94e500633..ea57bda7c61 100644 --- a/net-dns/libidn2/Manifest +++ b/net-dns/libidn2/Manifest @@ -1 +1,2 @@ DIST libidn2-0.16.tar.gz 1494295 SHA256 2fad9efff4082ae2143f69df76339ca99379e0e0f4231455f5d3d9d2089c688f SHA512 85f41c79bd2b88f2724383461a78e56b47e52e66e3f088d631a922438742938721d26aeebef17f6ca4fd028d95dfb5b0fa298a96982ef777c07fefe5244d1e73 WHIRLPOOL be10d0e2994e4fa0e31d710b358c7375e9454b4291bd4603a683a6ddb737241442007f04893395b36d7ef636614b6982354840bb07570e2a6b8f6aa2d888996a +DIST libidn2-2.0.0.tar.xz 1257908 SHA256 039052f2a3c513c56b9961b8afb7379e68a0698032e228953e89b169b88d7838 SHA512 0cc199f05526edebb385cd7ca3bafca341e31cc76ef0efe7e63a07ff1d2830d9d33004dfc51aa245b42fdf0de7eeb807fd18255f58cc2b086e1155beaa738502 WHIRLPOOL daa222e6a3527cbc989a0388cb903e428acd759553e668b97f2ca2b9071067e43a6c23a8b3e52e7bbd98c71788b2ee009ce5f640a09051b5fcca04a50b543d2d diff --git a/net-dns/libidn2/libidn2-2.0.0.ebuild b/net-dns/libidn2/libidn2-2.0.0.ebuild new file mode 100644 index 00000000000..20634db2952 --- /dev/null +++ b/net-dns/libidn2/libidn2-2.0.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils flag-o-matic 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-alpha/libidn/${P}.tar.xz +" + +LICENSE="GPL-2+ LGPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~arm-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} + dev-lang/perl + sys-apps/help2man +" + +src_prepare() { + default + + if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then + # crude hack, fixed properly for next release, no error.h is present + sed -i -e '/#include "error\.h"/d' src/idn2.c || die + append-cppflags -D'error\(E,...\)=exit\(E\)' + fi + + multilib_copy_sources +} + +multilib_src_configure() { + econf \ + $(use_enable static-libs static) \ + --disable-gtk-doc +} + +multilib_src_install() { + default + + rm "${D}"/usr/bin/idn2_noinstall || die + + prune_libtool_files +}