Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/idnkit/, net-dns/idnkit/files/
Date: Thu, 01 Mar 2018 20:28:49
Message-Id: 1519936120.5929b40510064c231aed4811e4ac9c002291e71f.jer@gentoo
1 commit: 5929b40510064c231aed4811e4ac9c002291e71f
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 1 20:27:07 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 1 20:28:40 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5929b405
7
8 net-dns/idnkit: Version 2.3.
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 net-dns/idnkit/Manifest | 1 +
13 net-dns/idnkit/files/idnkit-2.3-log_h.patch | 38 +++++++++++++++++++++++++++++
14 net-dns/idnkit/idnkit-2.3.ebuild | 35 ++++++++++++++++++++++++++
15 net-dns/idnkit/metadata.xml | 10 +++++---
16 4 files changed, 80 insertions(+), 4 deletions(-)
17
18 diff --git a/net-dns/idnkit/Manifest b/net-dns/idnkit/Manifest
19 index d21950c3f52..05f1c89fabb 100644
20 --- a/net-dns/idnkit/Manifest
21 +++ b/net-dns/idnkit/Manifest
22 @@ -1 +1,2 @@
23 DIST idnkit-1.0-src.tar.gz 432823 BLAKE2B 4e96bed174ea704ec0eb5c6655cb65145ed808b2bf9582ec9b6dcb8606de7a006937a2f8d8fce386dbc328e074b95ca504464c1ed6d16acc7be82d9904f2c2b4 SHA512 74f2db007a1991610f62a7a060d534f724f08395a16a7d76fda0824e9017aa47ffe4e251c90d0481218b70534fcd2b32724a66223042f59c1e16c1ff39f3be19
24 +DIST idnkit-2.3.tar.bz2 1473267 BLAKE2B efc2a93527c217b32bfd0e2546944b30d39c3fa046e17c11f2084721f966dc838bfa821c88378c0604cbeafb8d4970cf3c19122182448d5e48c2d392a42225c6 SHA512 a0cbc111d4b7d5f444c9b79ae76378fd2edf18097adca27d5ebf811e12091f609ec45d2c62a95b1e295bd1fa644bd8a38d79841f7f4e85dcd1f6a1cd5ca622e4
25
26 diff --git a/net-dns/idnkit/files/idnkit-2.3-log_h.patch b/net-dns/idnkit/files/idnkit-2.3-log_h.patch
27 new file mode 100644
28 index 00000000000..975ea0b58db
29 --- /dev/null
30 +++ b/net-dns/idnkit/files/idnkit-2.3-log_h.patch
31 @@ -0,0 +1,38 @@
32 +net-dns/bind-tools uses idn/log.h
33 +
34 +--- a/include/Makefile.am
35 ++++ b/include/Makefile.am
36 +@@ -1,6 +1,7 @@
37 + nobase_include_HEADERS = \
38 + idn/api.h \
39 + idn/export.h \
40 ++ idn/log.h \
41 + idn/res.h \
42 + idn/resconf.h \
43 + idn/result.h
44 +@@ -22,7 +23,6 @@
45 + idn/langlocalmap.h \
46 + idn/localconverter.h \
47 + idn/localencoding.h \
48 +- idn/log.h \
49 + idn/logmacro.h \
50 + idn/lowercasemap.h \
51 + idn/maplist.h \
52 +--- a/include/Makefile.in
53 ++++ b/include/Makefile.in
54 +@@ -226,6 +226,7 @@
55 + nobase_include_HEADERS = \
56 + idn/api.h \
57 + idn/export.h \
58 ++ idn/log.h \
59 + idn/res.h \
60 + idn/resconf.h \
61 + idn/result.h
62 +@@ -247,7 +248,6 @@
63 + idn/langlocalmap.h \
64 + idn/localconverter.h \
65 + idn/localencoding.h \
66 +- idn/log.h \
67 + idn/logmacro.h \
68 + idn/lowercasemap.h \
69 + idn/maplist.h \
70
71 diff --git a/net-dns/idnkit/idnkit-2.3.ebuild b/net-dns/idnkit/idnkit-2.3.ebuild
72 new file mode 100644
73 index 00000000000..6935a925254
74 --- /dev/null
75 +++ b/net-dns/idnkit/idnkit-2.3.ebuild
76 @@ -0,0 +1,35 @@
77 +# Copyright 1999-2018 Gentoo Foundation
78 +# Distributed under the terms of the GNU General Public License v2
79 +
80 +EAPI=6
81 +inherit ltprune
82 +
83 +DESCRIPTION="Toolkit for Internationalized Domain Names (IDN)"
84 +HOMEPAGE="https://jprs.co.jp/idn/"
85 +SRC_URI="${HOMEPAGE}${P}.tar.bz2"
86 +
87 +LICENSE="JPRS"
88 +SLOT="0"
89 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
90 +IUSE="liteonly static-libs"
91 +DEPEND="
92 + virtual/libiconv
93 +"
94 +RDEPEND="
95 + ${DEPEND}
96 +"
97 +PATCHES=(
98 + "${FILESDIR}"/${PN}-2.3-log_h.patch
99 +)
100 +
101 +src_configure() {
102 + econf \
103 + $(use_enable static-libs static) \
104 + $(use_enable liteonly)
105 +}
106 +
107 +src_install() {
108 + default
109 +
110 + prune_libtool_files
111 +}
112
113 diff --git a/net-dns/idnkit/metadata.xml b/net-dns/idnkit/metadata.xml
114 index f8bd6f3f34f..568bd4ccbd6 100644
115 --- a/net-dns/idnkit/metadata.xml
116 +++ b/net-dns/idnkit/metadata.xml
117 @@ -1,8 +1,10 @@
118 <?xml version="1.0" encoding="UTF-8"?>
119 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
120 <pkgmetadata>
121 - <maintainer type="person">
122 - <email>jer@g.o</email>
123 - <name>Jeroen Roovers</name>
124 - </maintainer>
125 +<maintainer type="person">
126 +<email>jer@g.o</email>
127 +</maintainer>
128 +<use>
129 +<flag name="liteonly">Compile and install lite library only</flag>
130 +</use>
131 </pkgmetadata>