summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2017-01-20 06:52:56 +0100
committerJeroen Roovers <jer@gentoo.org>2017-01-20 06:52:56 +0100
commit2c52c62be78c0e454e5d74a5b7bc8a00f102c516 (patch)
treea2f802cebbfc78475dbbf31ca2c3a15ca0827e37 /net-dns
parentnet-analyzer/arping: Old. (diff)
downloadgentoo-2c52c62be78c0e454e5d74a5b7bc8a00f102c516.tar.gz
gentoo-2c52c62be78c0e454e5d74a5b7bc8a00f102c516.tar.bz2
gentoo-2c52c62be78c0e454e5d74a5b7bc8a00f102c516.zip
net-dns/libidn2: Version bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/libidn2/Manifest1
-rw-r--r--net-dns/libidn2/files/libidn2-0.16-gengetopt.patch11
-rw-r--r--net-dns/libidn2/libidn2-0.16.ebuild51
3 files changed, 63 insertions, 0 deletions
diff --git a/net-dns/libidn2/Manifest b/net-dns/libidn2/Manifest
index ec398e199836..fbff95b78d72 100644
--- a/net-dns/libidn2/Manifest
+++ b/net-dns/libidn2/Manifest
@@ -2,3 +2,4 @@ DIST libidn2-0.11.tar.gz 1563669 SHA256 5d397bdc258b372b8a25c8fb5240430d6fae28f9
DIST libidn2-0.13.tar.gz 1504713 SHA256 7595f68f189f8bee8c6847a71aab4df2dcb3e24fdc679912c0554043e664bafd SHA512 eb3ed5de8d4554be85b9c85737e1140625e7262599092a6341212fddbaf9b0ee29002a43ec3e46c2931754eb0e4d8a6bb8e38b1bcae23b63769e13ad54077d4b WHIRLPOOL e9a3f922ef4ac0cf7e0dcc452389fec44e11bffae87cc9b57377fc6fddaca254280181ebfad95ba6e2c83ec94d3ca32296baae5bf50dde80adae525a8c115614
DIST libidn2-0.14.tar.gz 1503716 SHA256 ba5dfbf2ac617846d9a02ecbfd43d813de5e3100963d2412f1774fd16ea3218a SHA512 5d074a0dc3adc5773a0cbdba947534a292f41fb37e66b71fc5212bba0df244fde258aded61918f2d4bc0665fe18773ed9c422d9c44995805186c623830d913c7 WHIRLPOOL 8caa34f46b6af7f3df2711bd1ed3140fbf646370ad62b25771f662d2b64eb2b5a77b9a6c7758df213ebbabd4ea04804e46e93761f303ffbf95db019442cab4d7
DIST libidn2-0.15.tar.gz 1495200 SHA256 459534cae46233f0ae8e09dae071a46ec3f201ebafd5f4edcdfa8b02bc23cf4e SHA512 4b019bef7cbd8ea8a22fd75f81b3b01509830c764c4348d87e1ff403447cf5da4da2172f756a52b77e4df70c6dc531c884bf673d923e7b57fa00690cd6112c66 WHIRLPOOL 229be50b9062929f56003b78be8d38c0e00807f9bff6588bcf0734a0b70dd8af51f04c5065af2b6cabfacb2ac035cebdaeb01bda89e16d339f3eaeff7d75164c
+DIST libidn2-0.16.tar.gz 1494295 SHA256 2fad9efff4082ae2143f69df76339ca99379e0e0f4231455f5d3d9d2089c688f SHA512 85f41c79bd2b88f2724383461a78e56b47e52e66e3f088d631a922438742938721d26aeebef17f6ca4fd028d95dfb5b0fa298a96982ef777c07fefe5244d1e73 WHIRLPOOL be10d0e2994e4fa0e31d710b358c7375e9454b4291bd4603a683a6ddb737241442007f04893395b36d7ef636614b6982354840bb07570e2a6b8f6aa2d888996a
diff --git a/net-dns/libidn2/files/libidn2-0.16-gengetopt.patch b/net-dns/libidn2/files/libidn2-0.16-gengetopt.patch
new file mode 100644
index 000000000000..80b10de1b80f
--- /dev/null
+++ b/net-dns/libidn2/files/libidn2-0.16-gengetopt.patch
@@ -0,0 +1,11 @@
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -30,7 +30,7 @@
+ libidn2_cmd_la_LIBADD = ../lib/libgnu.la
+ libidn2_cmd_la_CFLAGS =
+
+-idn2_cmd.c idn2_cmd.h: idn2.ggo Makefile.am
++idn2_cmd.c idn2_cmd.h: idn2.ggo
+ gengetopt --unamed-opts --no-handle-version --no-handle-help \
+ --set-package="idn2" \
+ --input $^ --file-name idn2_cmd
diff --git a/net-dns/libidn2/libidn2-0.16.ebuild b/net-dns/libidn2/libidn2-0.16.ebuild
new file mode 100644
index 000000000000..1b90fbf6104a
--- /dev/null
+++ b/net-dns/libidn2/libidn2-0.16.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools eutils 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.gz
+"
+
+LICENSE="GPL-2+ LGPL-3+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~ppc-aix ~x64-freebsd ~x86-freebsd ~hppa-hpux ~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
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.12-Werror.patch
+ "${FILESDIR}"/${PN}-0.12-examples.patch
+ "${FILESDIR}"/${PN}-0.16-gengetopt.patch
+)
+
+src_prepare() {
+ default
+
+ eautoreconf
+
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ econf \
+ $(use_enable static-libs static)
+}
+
+multilib_src_install() {
+ default
+
+ prune_libtool_files
+}