diff options
Diffstat (limited to 'net-dns/libidn')
-rw-r--r-- | net-dns/libidn/Manifest | 2 | ||||
-rw-r--r-- | net-dns/libidn/libidn-1.33-r99.ebuild | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/net-dns/libidn/Manifest b/net-dns/libidn/Manifest index 706165d57b23..4fa0e7f77a2a 100644 --- a/net-dns/libidn/Manifest +++ b/net-dns/libidn/Manifest @@ -1,8 +1,10 @@ AUX 50libidn-gentoo.el 455 BLAKE2B d6d3a0576c1d0b5030ae32ed5c99e198f06faa897864d06251b07ee2fd3ecbac16347d633644f30dc7428e5bdf9747b0a4d51d7541601d3fbd4be6f9f746693f SHA512 13bcc7078ae8e088014323707d451c0bfdb53414e550945248a9648afa81681db013cb523eae71116c84f1dcfbb3b87e8743971775b75c4ce6dad914b3b0a501 AUX libidn-1.33-CVE-2017-14062.patch 2348 BLAKE2B 4f9606d25405d950f23444886e423008d928991b23c5a05a8de794eea18f236aa8f4b53b7945f4340aa3b2f4f7aa9c63d5dadaf3bc0513ee3f5e27ecb9040a7a SHA512 25e6ff17d2d6886fec51db7e9584bbb7aff9b717c23accf7c956611f1bf4c965cc5f51837367c410b7c8c29c58170e94e2e0146e9e2921b3a0c5bc411bcddfbb AUX libidn-1.33-parallel-make.patch 3584 BLAKE2B fbd1f372b11bc1da38bdeb3a8c0f01708339e0a7c23da7f22b450985a2b69c31887a5f686430e5014d1a5c116ae7e03b922c0350f3926e5a43e5cbc6cdbbfb83 SHA512 de98b4122c272bcd38a673beab8da56fac5b4c877d4bc0930505979addf4cc4e85fcf065ee9044d1196e83b1d2d5389ee8dceac4ffe7bf623a3f3c7bc7aca4f1 +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 EBUILD libidn-1.33-r2.ebuild 2879 BLAKE2B c57bb01c91e3a82c5f68961ab0df8e12aba16781d59800fa82440e507555b996fa04da2c386a36d5021f06f6fa28a52afb93133d863d22b3f18b98ebe811af2a SHA512 965d7cc368ef053ab4cfeb9f7fcab9a1f9a618e2242810585950dca0a7266947ecd5ecec69be747c0db07872e5d90f39300c577ccb28b324b6017a9531e4c11f +EBUILD libidn-1.33-r99.ebuild 1594 BLAKE2B 7e4fda8f1b660258d6c9cb92dfa5e86d2b24d0f6fbdfb6d47a217bb69928316a1897e7b67bf9b3206a0704185684e6d30089e96557dc03f7fec6b62380be2f46 SHA512 6e615d93dc2d3fa63f4cdcdb681f8faa8944182c840f243cf217cc8e4b33d545005a5d6a0c290d922b92895d018203c594d94d04f5fd99be85b1d5a8d8262540 EBUILD libidn-1.35.ebuild 2654 BLAKE2B 3de2aa84ba4b997c1e2955d6c88f54b55b85e2ffcad5514129d99421ae27da763c963de215caaae57dad8a27e77b72be481922b890d7c4e8f68a1d1bd85dad71 SHA512 6fbf0397ff674d6a06f1f302e6c1fb9110ac4b19dc0d47436f1375fba61a7c50cd0623d57e6e6bb9cc88fec7fb1b0dddf53187de5da9fb02dc8571ceceb1fbda MISC metadata.xml 244 BLAKE2B 9c6750147c240d7416fad33e04b53730dc89cbb615648a7f3defeed3ec058aeee6dbed55a1f81241417b42ca9f7daec177c725692166a5ba08765b5dcf5a6bc5 SHA512 1da71f4fae0251c97a8fcfa1e13b0a3f8b95a856fa919ebd30bf4f2f1b8fa900841db09ebc2a0ae9fe0d91f786ac40b63290382668412fcb05bca15b0746f1db 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..170b0346b6e2 --- /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* +} |