1 |
commit: b2b0b872257c6602af3eef5724403660316b8bc9 |
2 |
Author: Pierre-Olivier Mercier <nemunaire <AT> nemunai <DOT> re> |
3 |
AuthorDate: Tue Aug 21 11:20:25 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 8 08:26:52 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2b0b872 |
7 |
|
8 |
net-dns/knot: bump to 2.7.2 & 2.6.9 |
9 |
|
10 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
11 |
|
12 |
net-dns/knot/Manifest | 2 + |
13 |
net-dns/knot/knot-2.6.9.ebuild | 103 ++++++++++++++++++++++++++++++++++++++++ |
14 |
net-dns/knot/knot-2.7.2.ebuild | 105 +++++++++++++++++++++++++++++++++++++++++ |
15 |
net-dns/knot/metadata.xml | 6 +++ |
16 |
4 files changed, 216 insertions(+) |
17 |
|
18 |
diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest |
19 |
index 544eb05882e..f7f927046c9 100644 |
20 |
--- a/net-dns/knot/Manifest |
21 |
+++ b/net-dns/knot/Manifest |
22 |
@@ -1,3 +1,5 @@ |
23 |
DIST knot-2.5.7.tar.xz 1084656 BLAKE2B c2d583625a19f6a61248b3b42cdf14f5bb2bdbafdb20be6b0813744095a4016a4be2eb5e2dfaff0628238c60153480175a86706db0b88569d76156f86ba33968 SHA512 96e375f556309bb89cea982dda169cef70c23d03c48282110e47a44849c1102cd37d98aa7650781b399f5d932b724b8a935f0b9e55e4920465ae7b74a0d1d55a |
24 |
DIST knot-2.6.6.tar.xz 1120340 BLAKE2B 374d9b78f2ef2143d1221fced29184a52ee3773abd7cb08b6b48910f6ffc0f7c4f07c00d17d28344c93d71a709363bdf855d20587f87da622153c44d08d85fd8 SHA512 bd7a36decc74041f12971045cd69b8cc9e7ecce68f8d2b4cddc9b5f23ee96e8ed290d98fe9e6c441d6727ad4395bea615cbd9ec19cc641abce19ef8da6371972 |
25 |
DIST knot-2.6.8.tar.xz 1121740 BLAKE2B 2da7e20630fec53952c6892ee4002afeee0c36ef5cb271346caf1760389abaacac7f11dd0b24950ff5eedca40564ccf70c25b5c8548564bdd61c78a1bd9cf93e SHA512 3300985bd4fbf88b58fbb5ba06bdd3dcbe7a50885baa89f9db47811c071a93994a2b17a0dbd27d185feade056ed5d65eef712eedb26de5a4101da363a7c24967 |
26 |
+DIST knot-2.6.9.tar.xz 1126872 BLAKE2B c15b7e61ccad5417ce53f3d3895014931a2825835958735bdd9459634d9d9f39d6bb3681036772e6a510570a7f6a8afc8b0de5e77e67778831dc6415378889fe SHA512 80fcbef17c3e6685c09eb57e59001a5f298a083c18ce077dc2f2d1fadbe7c36e543c205c0820bc7971a8ed7547897aec408f51e1a9555a50dae82d047fac471b |
27 |
+DIST knot-2.7.2.tar.xz 1148880 BLAKE2B bf3042d762d2b66f47dbd27a1c9ecd03d111259c7db82254c1175e660497fd8343c3f1cf1cc14e6068cb3d3618931b659888a7b97d7d6e4ba9d0e74c00540e31 SHA512 e09f8a38e975ff4f90db59db9ae8a6baaca9b0cbc9c2ecd37225febfe718b7c2038ae45481ed830dc66f2b70d8312266e2dc7cb54a0aa0fdc02c87ca42bac96d |
28 |
|
29 |
diff --git a/net-dns/knot/knot-2.6.9.ebuild b/net-dns/knot/knot-2.6.9.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..e4afd6cf3d8 |
32 |
--- /dev/null |
33 |
+++ b/net-dns/knot/knot-2.6.9.ebuild |
34 |
@@ -0,0 +1,103 @@ |
35 |
+# Copyright 1999-2018 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+inherit systemd user |
41 |
+ |
42 |
+DESCRIPTION="High-performance authoritative-only DNS server" |
43 |
+HOMEPAGE="https://www.knot-dns.cz/" |
44 |
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz" |
45 |
+ |
46 |
+LICENSE="GPL-3" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+ |
50 |
+KNOT_MODULES=( |
51 |
+ "+dnsproxy" |
52 |
+ "dnstap" |
53 |
+ "+noudp" |
54 |
+ "+onlinesign" |
55 |
+ "rosedb" |
56 |
+ "+rrl" |
57 |
+ "+stats" |
58 |
+ "+synthrecord" |
59 |
+ "+whoami" |
60 |
+) |
61 |
+IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}" |
62 |
+ |
63 |
+RDEPEND=" |
64 |
+ dev-db/lmdb |
65 |
+ dev-libs/libedit |
66 |
+ dev-libs/userspace-rcu |
67 |
+ dev-python/lmdb |
68 |
+ net-libs/gnutls |
69 |
+ caps? ( sys-libs/libcap-ng ) |
70 |
+ dnstap? ( |
71 |
+ dev-libs/fstrm |
72 |
+ dev-libs/protobuf-c |
73 |
+ ) |
74 |
+ idn? ( |
75 |
+ !libidn2? ( net-dns/libidn:* ) |
76 |
+ libidn2? ( net-dns/libidn2 ) |
77 |
+ ) |
78 |
+ systemd? ( sys-apps/systemd ) |
79 |
+" |
80 |
+DEPEND="${RDEPEND} |
81 |
+ virtual/pkgconfig |
82 |
+ doc? ( dev-python/sphinx ) |
83 |
+" |
84 |
+ |
85 |
+S="${WORKDIR}/${P/_/-}" |
86 |
+ |
87 |
+src_configure() { |
88 |
+ local u |
89 |
+ local my_conf=( |
90 |
+ --with-storage="${EPREFIX}/var/lib/${PN}" |
91 |
+ --with-rundir="${EPREFIX}/var/run/${PN}" |
92 |
+ $(use_enable fastparser) |
93 |
+ $(use_enable dnstap) |
94 |
+ $(use_enable doc documentation) |
95 |
+ $(use_enable utils utilities) |
96 |
+ --enable-systemd=$(usex systemd) |
97 |
+ $(use_with idn libidn) |
98 |
+ ) |
99 |
+ |
100 |
+ for u in "${KNOT_MODULES[@]#+}"; do |
101 |
+ my_conf+=("$(use_with ${u} module-${u})") |
102 |
+ done |
103 |
+ |
104 |
+ econf "${my_conf[@]}" |
105 |
+} |
106 |
+ |
107 |
+src_compile() { |
108 |
+ default |
109 |
+ |
110 |
+ if use doc; then |
111 |
+ emake -C doc html |
112 |
+ HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} ) |
113 |
+ fi |
114 |
+} |
115 |
+ |
116 |
+src_test() { |
117 |
+ emake check |
118 |
+} |
119 |
+ |
120 |
+src_install() { |
121 |
+ default |
122 |
+ |
123 |
+ rmdir "${D}var/run/${PN}" "${D}var/run/" || die |
124 |
+ keepdir /var/lib/${PN} |
125 |
+ |
126 |
+ newinitd "${FILESDIR}/knot.init" knot |
127 |
+ if use systemd; then |
128 |
+ systemd_newunit "${FILESDIR}/knot-1.service" knot.service |
129 |
+ fi |
130 |
+ |
131 |
+ find "${D}" -name '*.la' -delete || die |
132 |
+} |
133 |
+ |
134 |
+pkg_postinst() { |
135 |
+ enewgroup knot 53 |
136 |
+ enewuser knot 53 -1 /var/lib/knot knot |
137 |
+} |
138 |
|
139 |
diff --git a/net-dns/knot/knot-2.7.2.ebuild b/net-dns/knot/knot-2.7.2.ebuild |
140 |
new file mode 100644 |
141 |
index 00000000000..2da8f50f93a |
142 |
--- /dev/null |
143 |
+++ b/net-dns/knot/knot-2.7.2.ebuild |
144 |
@@ -0,0 +1,105 @@ |
145 |
+# Copyright 1999-2018 Gentoo Foundation |
146 |
+# Distributed under the terms of the GNU General Public License v2 |
147 |
+ |
148 |
+EAPI=6 |
149 |
+ |
150 |
+inherit systemd user |
151 |
+ |
152 |
+DESCRIPTION="High-performance authoritative-only DNS server" |
153 |
+HOMEPAGE="https://www.knot-dns.cz/" |
154 |
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz" |
155 |
+ |
156 |
+LICENSE="GPL-3" |
157 |
+SLOT="0" |
158 |
+KEYWORDS="~amd64 ~x86" |
159 |
+ |
160 |
+KNOT_MODULES=( |
161 |
+ "+cookies" |
162 |
+ "+dnsproxy" |
163 |
+ "dnstap" |
164 |
+ "geoip" |
165 |
+ "+noudp" |
166 |
+ "+onlinesign" |
167 |
+ "+rrl" |
168 |
+ "+stats" |
169 |
+ "+synthrecord" |
170 |
+ "+whoami" |
171 |
+) |
172 |
+IUSE="doc caps +fastparser idn libidn2 systemd +utils ${KNOT_MODULES[@]}" |
173 |
+ |
174 |
+RDEPEND=" |
175 |
+ dev-db/lmdb |
176 |
+ dev-libs/libedit |
177 |
+ dev-libs/userspace-rcu |
178 |
+ dev-python/lmdb |
179 |
+ net-libs/gnutls |
180 |
+ caps? ( sys-libs/libcap-ng ) |
181 |
+ dnstap? ( |
182 |
+ dev-libs/fstrm |
183 |
+ dev-libs/protobuf-c |
184 |
+ ) |
185 |
+ geoip? ( dev-libs/libmaxminddb ) |
186 |
+ idn? ( |
187 |
+ !libidn2? ( net-dns/libidn:* ) |
188 |
+ libidn2? ( net-dns/libidn2 ) |
189 |
+ ) |
190 |
+ systemd? ( sys-apps/systemd ) |
191 |
+" |
192 |
+DEPEND="${RDEPEND} |
193 |
+ virtual/pkgconfig |
194 |
+ doc? ( dev-python/sphinx ) |
195 |
+" |
196 |
+ |
197 |
+S="${WORKDIR}/${P/_/-}" |
198 |
+ |
199 |
+src_configure() { |
200 |
+ local u |
201 |
+ local my_conf=( |
202 |
+ --with-storage="${EPREFIX}/var/lib/${PN}" |
203 |
+ --with-rundir="${EPREFIX}/var/run/${PN}" |
204 |
+ $(use_enable fastparser) |
205 |
+ $(use_enable dnstap) |
206 |
+ $(use_enable doc documentation) |
207 |
+ $(use_enable utils utilities) |
208 |
+ --enable-systemd=$(usex systemd) |
209 |
+ $(use_with idn libidn) |
210 |
+ ) |
211 |
+ |
212 |
+ for u in "${KNOT_MODULES[@]#+}"; do |
213 |
+ my_conf+=("$(use_with ${u} module-${u})") |
214 |
+ done |
215 |
+ |
216 |
+ econf "${my_conf[@]}" |
217 |
+} |
218 |
+ |
219 |
+src_compile() { |
220 |
+ default |
221 |
+ |
222 |
+ if use doc; then |
223 |
+ emake -C doc html |
224 |
+ HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} ) |
225 |
+ fi |
226 |
+} |
227 |
+ |
228 |
+src_test() { |
229 |
+ emake check |
230 |
+} |
231 |
+ |
232 |
+src_install() { |
233 |
+ default |
234 |
+ |
235 |
+ rmdir "${D}var/run/${PN}" "${D}var/run/" || die |
236 |
+ keepdir /var/lib/${PN} |
237 |
+ |
238 |
+ newinitd "${FILESDIR}/knot.init" knot |
239 |
+ if use systemd; then |
240 |
+ systemd_newunit "${FILESDIR}/knot-1.service" knot.service |
241 |
+ fi |
242 |
+ |
243 |
+ find "${D}" -name '*.la' -delete || die |
244 |
+} |
245 |
+ |
246 |
+pkg_postinst() { |
247 |
+ enewgroup knot 53 |
248 |
+ enewuser knot 53 -1 /var/lib/knot knot |
249 |
+} |
250 |
|
251 |
diff --git a/net-dns/knot/metadata.xml b/net-dns/knot/metadata.xml |
252 |
index 9245494df34..b4c4ececc73 100644 |
253 |
--- a/net-dns/knot/metadata.xml |
254 |
+++ b/net-dns/knot/metadata.xml |
255 |
@@ -10,6 +10,9 @@ |
256 |
<name>Proxy Maintainers</name> |
257 |
</maintainer> |
258 |
<use> |
259 |
+ <flag name="cookies"> |
260 |
+ Enable the DNS cookie module (RFC 7873) |
261 |
+ </flag> |
262 |
<flag name="dnsproxy"> |
263 |
Enable the tiny DNS proxy module |
264 |
</flag> |
265 |
@@ -21,6 +24,9 @@ |
266 |
Use a zone file parser that is faster, but requires |
267 |
more memory and CPU time to compile |
268 |
</flag> |
269 |
+ <flag name="geoip"> |
270 |
+ Enable the Geography-based responses module |
271 |
+ </flag> |
272 |
<flag name="libidn2"> |
273 |
If IDN support is enabled, use net-dns/libidn2 instead |
274 |
of net-dns/libidn |