summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2018-03-01 21:27:07 +0100
committerJeroen Roovers <jer@gentoo.org>2018-03-01 21:28:40 +0100
commit5929b40510064c231aed4811e4ac9c002291e71f (patch)
tree3e5378e5d5e95ba1ce95ac0f927496077ff05769 /net-dns/idnkit
parentdev-python/ebuildtester: Version bump to v0.1.7 (diff)
downloadgentoo-5929b40510064c231aed4811e4ac9c002291e71f.tar.gz
gentoo-5929b40510064c231aed4811e4ac9c002291e71f.tar.bz2
gentoo-5929b40510064c231aed4811e4ac9c002291e71f.zip
net-dns/idnkit: Version 2.3.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'net-dns/idnkit')
-rw-r--r--net-dns/idnkit/Manifest1
-rw-r--r--net-dns/idnkit/files/idnkit-2.3-log_h.patch38
-rw-r--r--net-dns/idnkit/idnkit-2.3.ebuild35
-rw-r--r--net-dns/idnkit/metadata.xml10
4 files changed, 80 insertions, 4 deletions
diff --git a/net-dns/idnkit/Manifest b/net-dns/idnkit/Manifest
index d21950c3f52b..05f1c89fabbd 100644
--- a/net-dns/idnkit/Manifest
+++ b/net-dns/idnkit/Manifest
@@ -1 +1,2 @@
DIST idnkit-1.0-src.tar.gz 432823 BLAKE2B 4e96bed174ea704ec0eb5c6655cb65145ed808b2bf9582ec9b6dcb8606de7a006937a2f8d8fce386dbc328e074b95ca504464c1ed6d16acc7be82d9904f2c2b4 SHA512 74f2db007a1991610f62a7a060d534f724f08395a16a7d76fda0824e9017aa47ffe4e251c90d0481218b70534fcd2b32724a66223042f59c1e16c1ff39f3be19
+DIST idnkit-2.3.tar.bz2 1473267 BLAKE2B efc2a93527c217b32bfd0e2546944b30d39c3fa046e17c11f2084721f966dc838bfa821c88378c0604cbeafb8d4970cf3c19122182448d5e48c2d392a42225c6 SHA512 a0cbc111d4b7d5f444c9b79ae76378fd2edf18097adca27d5ebf811e12091f609ec45d2c62a95b1e295bd1fa644bd8a38d79841f7f4e85dcd1f6a1cd5ca622e4
diff --git a/net-dns/idnkit/files/idnkit-2.3-log_h.patch b/net-dns/idnkit/files/idnkit-2.3-log_h.patch
new file mode 100644
index 000000000000..975ea0b58dbf
--- /dev/null
+++ b/net-dns/idnkit/files/idnkit-2.3-log_h.patch
@@ -0,0 +1,38 @@
+net-dns/bind-tools uses idn/log.h
+
+--- a/include/Makefile.am
++++ b/include/Makefile.am
+@@ -1,6 +1,7 @@
+ nobase_include_HEADERS = \
+ idn/api.h \
+ idn/export.h \
++ idn/log.h \
+ idn/res.h \
+ idn/resconf.h \
+ idn/result.h
+@@ -22,7 +23,6 @@
+ idn/langlocalmap.h \
+ idn/localconverter.h \
+ idn/localencoding.h \
+- idn/log.h \
+ idn/logmacro.h \
+ idn/lowercasemap.h \
+ idn/maplist.h \
+--- a/include/Makefile.in
++++ b/include/Makefile.in
+@@ -226,6 +226,7 @@
+ nobase_include_HEADERS = \
+ idn/api.h \
+ idn/export.h \
++ idn/log.h \
+ idn/res.h \
+ idn/resconf.h \
+ idn/result.h
+@@ -247,7 +248,6 @@
+ idn/langlocalmap.h \
+ idn/localconverter.h \
+ idn/localencoding.h \
+- idn/log.h \
+ idn/logmacro.h \
+ idn/lowercasemap.h \
+ idn/maplist.h \
diff --git a/net-dns/idnkit/idnkit-2.3.ebuild b/net-dns/idnkit/idnkit-2.3.ebuild
new file mode 100644
index 000000000000..6935a9252545
--- /dev/null
+++ b/net-dns/idnkit/idnkit-2.3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit ltprune
+
+DESCRIPTION="Toolkit for Internationalized Domain Names (IDN)"
+HOMEPAGE="https://jprs.co.jp/idn/"
+SRC_URI="${HOMEPAGE}${P}.tar.bz2"
+
+LICENSE="JPRS"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="liteonly static-libs"
+DEPEND="
+ virtual/libiconv
+"
+RDEPEND="
+ ${DEPEND}
+"
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.3-log_h.patch
+)
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable liteonly)
+}
+
+src_install() {
+ default
+
+ prune_libtool_files
+}
diff --git a/net-dns/idnkit/metadata.xml b/net-dns/idnkit/metadata.xml
index f8bd6f3f34f9..568bd4ccbd6d 100644
--- a/net-dns/idnkit/metadata.xml
+++ b/net-dns/idnkit/metadata.xml
@@ -1,8 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>jer@gentoo.org</email>
- <name>Jeroen Roovers</name>
- </maintainer>
+<maintainer type="person">
+<email>jer@gentoo.org</email>
+</maintainer>
+<use>
+<flag name="liteonly">Compile and install lite library only</flag>
+</use>
</pkgmetadata>