summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-07-05 18:26:44 +0200
committerJeroen Roovers <jer@gentoo.org>2018-07-05 18:26:44 +0200
commit4ca31014e3aa2474be5b38527c85fcea65d3d82d (patch)
tree3b0527b1c981cfb4dc3de2047b5bbc899bd3f7f7 /net-dns
parentapp-doc/root-docs: remove ebuild (diff)
downloadgentoo-4ca31014e3aa2474be5b38527c85fcea65d3d82d.tar.gz
gentoo-4ca31014e3aa2474be5b38527c85fcea65d3d82d.tar.bz2
gentoo-4ca31014e3aa2474be5b38527c85fcea65d3d82d.zip
net-dns/libidn: Version 1.33-r99.
Package-Manager: Portage-2.3.41, Repoman-2.3.9
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/libidn/Manifest1
-rw-r--r--net-dns/libidn/libidn-1.33-r99.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/net-dns/libidn/Manifest b/net-dns/libidn/Manifest
index 8351a9011db1..4f4d621296f4 100644
--- a/net-dns/libidn/Manifest
+++ b/net-dns/libidn/Manifest
@@ -1,2 +1,3 @@
+DIST libidn-1.33-security_backports-01.tar.xz 3420 BLAKE2B c0311d83dee53b83bceab7777e9508ffdc2737e31eec71dc7e67b29ee75cdcef8558db0e89d857ed8c402980fdd7c3419fbb123eba91dddc2358a06684114811 SHA512 e925d20c9258b47821d444c563c75f09f003d1c6b367c934a808242ce4c259ff83e9d67e886cb3e832117df1cd9cae4b18417c48fbf9c77266ab379d3afcd4f4
DIST libidn-1.33.tar.gz 3501056 BLAKE2B ce6319dc61dd825cf7ddb33f4279c178709e16ce2815c3d1a464bba6b5c6cc493107a10a686f349247a0d6023b1b834a650046e68da9f2f559870dba13a59384 SHA512 38dd459eaeda0c9e3cc2d24d967113515a499747550a2a9157f32357def90d71a3a3b52398e96a44a28cd5948dc353b0473c4ff0453a69720191c4cb49cac2c6
DIST libidn-1.35.tar.gz 4169217 BLAKE2B 809f9e854a4f2fcd3b2d5f7cdb34e2c68a0f00f5fcffc9002ead2d2d3dcee38022b3288f29716437f65f09e259e35cc98679d9c9d943423190cebb76fcbc94fa SHA512 782260f73b1fd8ebea8a40e2b3a6866c4f67494b2b3df03748daa9c0f842a9578932e746eb4bbf2547fccb1d65d7fc99a7977759dbe58f87f2fdd26d0fe45a09
diff --git a/net-dns/libidn/libidn-1.33-r99.ebuild b/net-dns/libidn/libidn-1.33-r99.ebuild
new file mode 100644
index 000000000000..716d6cce3a85
--- /dev/null
+++ b/net-dns/libidn/libidn-1.33-r99.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools multilib-minimal libtool
+
+DESCRIPTION="Internationalized Domain Names (IDN) implementation"
+HOMEPAGE="https://www.gnu.org/software/libidn/"
+SRC_URI="
+ mirror://gnu/libidn/${P}.tar.gz
+ https://dev.gentoo.org/~polynomial-c/${P}-security_backports-01.tar.xz
+"
+
+LICENSE="GPL-2 GPL-3 LGPL-3"
+SLOT="1.33"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+RDEPEND="!<${CATEGORY}/${PN}-1.35:0"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.33-parallel-make.patch
+)
+
+src_prepare() {
+ default
+
+ eapply "${WORKDIR}"/patches
+
+ # breaks eautoreconf
+ sed '/AM_INIT_AUTOMAKE/s@ -Werror@@' -i configure.ac || die
+ # Breaks build because --disable-gtk-doc* gets ignored
+ sed '/^SUBDIRS/s@ doc@@' -i Makefile.am || die
+ eautoreconf
+ elibtoolize # for Solaris shared objects
+}
+
+multilib_src_configure() {
+ local myeconfargs=(
+ --disable-java
+ --disable-csharp
+ --disable-nls
+ --disable-static
+ --disable-silent-rules
+ --disable-valgrind-tests
+ --with-packager-bug-reports="https://bugs.gentoo.org"
+ --with-packager-version="r${PR}"
+ --with-packager="Gentoo"
+ )
+ ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_test() {
+ # only run libidn specific tests and not gnulib tests (bug #539356)
+ emake -C tests check
+}
+
+multilib_src_install() {
+ dolib.so lib/.libs/libidn.so.11*
+}