summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-12 06:58:15 +0100
committerSam James <sam@gentoo.org>2022-07-12 06:58:25 +0100
commit4fd42a98f727b641b2754d2004461042dbcd1f51 (patch)
tree433aa3369432db22f6ffb1f3701c6abc04648f77 /net-dns
parentnet-mail/relay-ctrl: respect AR, RANLIB (diff)
downloadgentoo-4fd42a98f727b641b2754d2004461042dbcd1f51.tar.gz
gentoo-4fd42a98f727b641b2754d2004461042dbcd1f51.tar.bz2
gentoo-4fd42a98f727b641b2754d2004461042dbcd1f51.zip
net-dns/libidn2: add 2.3.3
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/libidn2/Manifest2
-rw-r--r--net-dns/libidn2/libidn2-2.3.3.ebuild58
2 files changed, 60 insertions, 0 deletions
diff --git a/net-dns/libidn2/Manifest b/net-dns/libidn2/Manifest
index 21d22503114b..1fe438737ecd 100644
--- a/net-dns/libidn2/Manifest
+++ b/net-dns/libidn2/Manifest
@@ -1,2 +1,4 @@
DIST libidn2-2.3.2.tar.gz 2169556 BLAKE2B 6914630ecf6dcf18eb808dae933b819ee705c73011e6ffd68f8d14dd2c2ed084a9b504385c29988b2c4b439c6c8f2f552e47f4d624ae20d8b64767bf4d47f6a3 SHA512 958dbf49a47a84c7627ac182f4cc8ea452696cec3f0d1ff102a6c48e89893e772b2aa81f75da8223dfc6326515cca3ae085268fbf997828de9330c3a351152f1
DIST libidn2-2.3.2.tar.gz.sig 488 BLAKE2B 832a5424034147a2c969fdbe0e094c23cda6305fe6411728f7727054571f54f6f056b939cf13023606dcb4f4bd85ed527b8e85bce6e56ed366e893ea16f8eb13 SHA512 0559b51b37c7937f3e1f8bf9de9b193f137f16b79d6673f85691a4f4a12ec132568e913848a70136f8522118817f7ecaa8432d353a5eff6b99a7be8719421fe0
+DIST libidn2-2.3.3.tar.gz 2116946 BLAKE2B 47847aee34951aa2ba4fd2c3fdfdf6f1cee24bfdff8513f17896bb60fa4fae770b400ff5b78226ac5da6a3ce4120754483bafb9586c52131e7345a5ea51c4509 SHA512 2dd0201b5224b3eb6a5667e53c9a2beb6e6aefefab23060a70f143bb5d447029e8f4200e4e0460a4fab51767f0bdfc9583a0cc757652bee58f5593106dd18274
+DIST libidn2-2.3.3.tar.gz.sig 228 BLAKE2B 47b861c6234e14fc03d606a67a0dd6de829434cb06ba3e3c0fabade59fa3a761d6e5cb81553c74b4356064744efb6a0736cb55a2680ce6f90cd13b0f1001efed SHA512 bad901350e21ff39f0385685c13b3f366cd77dad59c736547773f9555531bc56022982c3fb6fffd5b82624bdd3ea8bd1806e531f80a06c77e4e46b08f18f08a9
diff --git a/net-dns/libidn2/libidn2-2.3.3.ebuild b/net-dns/libidn2/libidn2-2.3.3.ebuild
new file mode 100644
index 000000000000..13841f1613b2
--- /dev/null
+++ b/net-dns/libidn2/libidn2-2.3.3.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/libidn.asc
+inherit multilib-minimal toolchain-funcs verify-sig
+
+DESCRIPTION="An implementation of the IDNA2008 specifications (RFCs 5890, 5891, 5892, 5893)"
+HOMEPAGE="https://www.gnu.org/software/libidn/#libidn2 https://gitlab.com/libidn/libidn2"
+SRC_URI="
+ mirror://gnu/libidn/${P}.tar.gz
+ verify-sig? ( mirror://gnu/libidn/${P}.tar.gz.sig )
+"
+S="${WORKDIR}"/${P/a/}
+
+LICENSE="GPL-2+ LGPL-3+"
+SLOT="0/2"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="static-libs"
+
+RDEPEND="
+ dev-libs/libunistring:=[${MULTILIB_USEDEP}]
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-lang/perl
+ sys-apps/help2man
+ verify-sig? ( sec-keys/openpgp-keys-libidn )
+"
+
+src_prepare() {
+ default
+
+ if [[ ${CHOST} == *-darwin* ]] ; then
+ # Darwin ar chokes when TMPDIR doesn't exist (as done for some
+ # reason in the Makefile)
+ sed -i -e '/^TMPDIR = /d' Makefile.in || die
+ export TMPDIR="${T}"
+ fi
+
+ multilib_copy_sources
+}
+
+multilib_src_configure() {
+ econf \
+ CC_FOR_BUILD="$(tc-getBUILD_CC)" \
+ $(use_enable static-libs static) \
+ --disable-doc \
+ --disable-gcc-warnings \
+ --disable-gtk-doc
+}
+
+multilib_src_install() {
+ default
+
+ find "${ED}" -name '*.la' -delete || die
+}