summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2016-12-30 15:30:05 +0100
committerJeroen Roovers <jer@gentoo.org>2016-12-30 15:30:19 +0100
commit8e2c4c4d924970ce6155ce65d5251ef9736547b9 (patch)
tree80915b413de82b67745513572cb4e12a1a14955f /net-dns/libidn2
parentdev-ml/ocaml-containers: bump to 0.22.1 (diff)
downloadgentoo-8e2c4c4d924970ce6155ce65d5251ef9736547b9.tar.gz
gentoo-8e2c4c4d924970ce6155ce65d5251ef9736547b9.tar.bz2
gentoo-8e2c4c4d924970ce6155ce65d5251ef9736547b9.zip
net-dns/libidn2: Version bump.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'net-dns/libidn2')
-rw-r--r--net-dns/libidn2/Manifest5
-rw-r--r--net-dns/libidn2/files/libidn2-0.12-Werror.patch11
-rw-r--r--net-dns/libidn2/files/libidn2-0.12-examples.patch11
-rw-r--r--net-dns/libidn2/files/libidn2-0.12-noinstall.patch11
-rw-r--r--net-dns/libidn2/files/libidn2-0.12-wget.patch41
-rw-r--r--net-dns/libidn2/libidn2-0.12.ebuild60
6 files changed, 139 insertions, 0 deletions
diff --git a/net-dns/libidn2/Manifest b/net-dns/libidn2/Manifest
index e95f47ce75c2..b380b21c96a1 100644
--- a/net-dns/libidn2/Manifest
+++ b/net-dns/libidn2/Manifest
@@ -1 +1,6 @@
DIST libidn2-0.11.tar.gz 1563669 SHA256 5d397bdc258b372b8a25c8fb5240430d6fae28f9d790d3670f4b6012fa87bfff SHA512 99cbd69b5bbc6463b1e6e1d94a644cb3cb9ea7c16e8eba8b6d8078e5a9c4f25bdca57f8105837a2ed33f955bba6939042be799f749d21f66bd28b06c44b1a773 WHIRLPOOL 82ebf62e087475a5264ae2c3f56dc98f34b531b5b6435149ce13110239f2d53d5d6c1c79bc54c7d3fa23bbb0fdc861f0a38ac7c6dcbacd9e9c1d351f412d3aae
+DIST libidn2-0.12-DerivedNormalizationProps.txt 783470 SHA256 c5e867ae043fe5d1cf713150d859356bfdcdba291c39f584af0bfb943f1a9743 SHA512 a977f708594d40f69a2c25a60254975285346a51ebd27c9bc739ffb4f66a5f1821130849072a8ee9a10992b9de0b28a0e54684b2df407e0bf72cd801535b1aea WHIRLPOOL 34476e86221efd67a620de4f339bcc9c91f6f46d047c5fe32bc2597645e142848c9f35a6cef43c38b8d681a21d9335de35708d4930920beaba637566ece043cf
+DIST libidn2-0.12-IdnaMappingTable.txt 742564 SHA256 84c8f25d2b58531dada678cbfb779c0fb04b1aac42c7744a63fb59784e974775 SHA512 4480f9bd92a70b5b0c24ae02cd3638f95d2517ba5169ba5a36edf8d571d897ee7c654f428e60fb0a2013c534737041aa49fb06dd7809982441ce9eff37271a6a WHIRLPOOL 3eae4e68251d44b47e07c53b9b25c62897e9257cbd34e6e70dbd89c8deda0735e320bb480c963351e2fd1a13f242ddb31c89787f505234ed393b80fd6a0ccddf
+DIST libidn2-0.12-IdnaTest.txt 422220 SHA256 f56af7d031fddd8264cd95086e360375e3a09e680c8e2d947be469bfa4f4097d SHA512 6ca6f22d01ed88170d8799991129823b55497ffd6d82b724e0f1781317d128e9c72344afe0db3eed50aab3b822a1c36a78da4138f1de421c7ce0da3a4778dda0 WHIRLPOOL 2f1ab3a7bb78cb34ac6ece100111e2cf4b6f021882531b4641ae3472108dce6d2c2ab48b2ab263aa1190e63641e95e5c6688c3c54317db978e49da359ee449d0
+DIST libidn2-0.12-idna-tables-6.3.0.txt 162415 SHA256 ac67b5bf7c2de2d3b6e11fa7bf0d7ba54e6457788aec1ebde48739ee084822b7 SHA512 8cb3cc47948a796c2765e220350beccbefda40700bc60fb6b3bcdda24046798e2fee4c6a1a9fc80a3e9bcb3cbaa9a141936d24907eb5a09b43ec94d72fca3de0 WHIRLPOOL d7fffb5a19b0dd602296cb6eb484bf3f55353617c1c2adc9038173156cccf3a8a9eda1c8f5722634ea84099f266b6a036e20694a04a66134b79609b17d6de6a3
+DIST libidn2-0.12.tar.gz 1223699 SHA256 5aac6a35546a472b218a1b1257b39e5e829fda489152f6c793064afc5a2f2956 SHA512 044c0a06dca6866d80400a67ef5e9334afa77f55053cd358f107f2d788aa6938c53cb37791d02c58f2e2a00ed7e4167820cd3c544b6a073db41d4877e0a9ca1b WHIRLPOOL c4db646d229ce0ce2d4ddb3c8de074891d2c965051cb3544a41aaafb9181dbea44731794d9e0230f6e199825f0747b45274f65a4fe9e0ddf69d33daf851cf065
diff --git a/net-dns/libidn2/files/libidn2-0.12-Werror.patch b/net-dns/libidn2/files/libidn2-0.12-Werror.patch
new file mode 100644
index 000000000000..9ab14656f9e8
--- /dev/null
+++ b/net-dns/libidn2/files/libidn2-0.12-Werror.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -27,7 +27,7 @@
+ AC_CONFIG_AUX_DIR([build-aux])
+ AC_CONFIG_HEADERS([config.h])
+ AC_CONFIG_MACRO_DIR([m4])
+-AM_INIT_AUTOMAKE([-Wall -Werror subdir-objects])
++AM_INIT_AUTOMAKE([-Wall subdir-objects])
+ AC_CANONICAL_HOST
+
+ AC_PROG_CC
diff --git a/net-dns/libidn2/files/libidn2-0.12-examples.patch b/net-dns/libidn2/files/libidn2-0.12-examples.patch
new file mode 100644
index 000000000000..4972fece578d
--- /dev/null
+++ b/net-dns/libidn2/files/libidn2-0.12-examples.patch
@@ -0,0 +1,11 @@
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -15,7 +15,7 @@
+
+ DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc
+
+-SUBDIRS = lib . src doc examples tests po
++SUBDIRS = lib . src doc tests po
+ ACLOCAL_AMFLAGS = -I m4
+ EXTRA_DIST = m4/gnulib-cache.m4
+
diff --git a/net-dns/libidn2/files/libidn2-0.12-noinstall.patch b/net-dns/libidn2/files/libidn2-0.12-noinstall.patch
new file mode 100644
index 000000000000..e02779f5fdd2
--- /dev/null
+++ b/net-dns/libidn2/files/libidn2-0.12-noinstall.patch
@@ -0,0 +1,11 @@
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -18,7 +18,7 @@
+ AM_CPPFLAGS = -I$(top_srcdir) -I$(srcdir) -I$(top_builddir)/lib -I$(top_srcdir)/lib
+ AM_CFLAGS = $(WARN_CFLAGS)
+
+-bin_PROGRAMS = idn2 idn2_noinstall
++bin_PROGRAMS = idn2
+
+ idn2_SOURCES = idn2.c blurbs.h
+ idn2_LDADD = libidn2_cmd.la ../libidn2.la $(LIBS)
diff --git a/net-dns/libidn2/files/libidn2-0.12-wget.patch b/net-dns/libidn2/files/libidn2-0.12-wget.patch
new file mode 100644
index 000000000000..5b6fa363220a
--- /dev/null
+++ b/net-dns/libidn2/files/libidn2-0.12-wget.patch
@@ -0,0 +1,41 @@
+--- a/tests/Makefile.am
++++ b/tests/Makefile.am
+@@ -29,8 +29,5 @@
+ DISTCLEANFILES = $(BUILT_SOURCES)
+ EXTRA_DIST = gen-utc-test.pl
+
+-$(IDNA_TXT):
+- wget http://www.unicode.org/Public/idna/6.3.0/IdnaTest.txt
+-
+ $(IDNA_INC): $(IDNA_TXT) $(srcdir)/gen-utc-test.pl
+ $(srcdir)/gen-utc-test.pl < $(IDNA_TXT) > $(IDNA_INC)
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -58,18 +58,6 @@
+ data.c: $(srcdir)/gen-tables-from-iana.pl $(IDNA_TABLE)
+ cat $(IDNA_TABLE) | $(srcdir)/gen-tables-from-iana.pl
+
+-$(IDNA_TABLE):
+- rm -f $(IDNA_TABLE)
+- wget $(IANA_URL)
+-
+-$(TR46MAP):
+- rm -f $(TR46MAP)
+- wget $(TR46MAP_URL)
+-
+-$(NFCQC):
+- rm -f $(NFCQC)
+- wget $(NFCQC_URL)
+-
+ tr46map.c: gentr46map $(TR46MAP) $(NFCQC)
+ ./gentr46map >tr46map.c
+
+@@ -78,7 +66,7 @@
+
+ TLD_URL = https://www.iana.org/domains/root/db/
+ tv.c: $(srcdir)/gen-idn-tld-tv.pl
+- (cat tld-cache || wget -O - $(TLD_URL)) | $(srcdir)/gen-idn-tld-tv.pl
++ (cat tld-cache | $(srcdir)/gen-idn-tld-tv.pl
+
+ if HAVE_LD_VERSION_SCRIPT
+ libidn2_la_LDFLAGS += -Wl,--version-script=$(srcdir)/idn2.map
diff --git a/net-dns/libidn2/libidn2-0.12.ebuild b/net-dns/libidn2/libidn2-0.12.ebuild
new file mode 100644
index 000000000000..4824ae558113
--- /dev/null
+++ b/net-dns/libidn2/libidn2-0.12.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 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"
+SRC_URI="
+ mirror://gnu-alpha/libidn/${P}.tar.gz
+ https://ftp.iana.org/assignments/idna-tables-6.3.0/idna-tables-6.3.0.txt -> ${P}-idna-tables-6.3.0.txt
+ http://www.unicode.org/Public/idna/6.3.0/IdnaMappingTable.txt -> ${P}-IdnaMappingTable.txt
+ http://www.unicode.org/Public/6.3.0/ucd/DerivedNormalizationProps.txt -> ${P}-DerivedNormalizationProps.txt
+ http://www.unicode.org/Public/idna/6.3.0/IdnaTest.txt -> ${P}-IdnaTest.txt
+"
+
+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.12-noinstall.patch
+ "${FILESDIR}"/${PN}-0.12-wget.patch
+)
+
+src_prepare() {
+ default
+
+ cp "${DISTDIR}"/${P}-idna-tables-6.3.0.txt "${S}"/idna-tables-6.3.0.txt || die
+ cp "${DISTDIR}"/${P}-IdnaMappingTable.txt "${S}"/IdnaMappingTable.txt || die
+ cp "${DISTDIR}"/${P}-DerivedNormalizationProps.txt "${S}"/DerivedNormalizationProps.txt || die
+ cp "${DISTDIR}"/${P}-IdnaTest.txt "${S}"/tests/IdnaTest.txt || die
+
+ eautoreconf
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ econf \
+ $(use_enable static-libs static)
+}
+
+multilib_src_install() {
+ default
+
+ prune_libtool_files
+}