1 |
commit: f90514d4fff02460cd198ada7314903d630ad591 |
2 |
Author: Pierre-Olivier Mercier <nemunaire <AT> nemunai <DOT> re> |
3 |
AuthorDate: Wed Jan 30 18:29:27 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 19 14:09:03 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f90514d4 |
7 |
|
8 |
net-dns/knot: bump to 2.7.6 and 2.8.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
11 |
Signed-off-by: Pierre-Olivier Mercier <nemunaire <AT> nemunai.re> |
12 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
13 |
|
14 |
net-dns/knot/Manifest | 2 + |
15 |
net-dns/knot/knot-2.7.6.ebuild | 107 +++++++++++++++++++++++++++++++++++++++++ |
16 |
net-dns/knot/knot-2.8.0.ebuild | 107 +++++++++++++++++++++++++++++++++++++++++ |
17 |
3 files changed, 216 insertions(+) |
18 |
|
19 |
diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest |
20 |
index dccc263e41f..526c3c4c490 100644 |
21 |
--- a/net-dns/knot/Manifest |
22 |
+++ b/net-dns/knot/Manifest |
23 |
@@ -2,3 +2,5 @@ DIST knot-2.6.9.tar.xz 1126872 BLAKE2B c15b7e61ccad5417ce53f3d3895014931a2825835 |
24 |
DIST knot-2.7.2.tar.xz 1148880 BLAKE2B bf3042d762d2b66f47dbd27a1c9ecd03d111259c7db82254c1175e660497fd8343c3f1cf1cc14e6068cb3d3618931b659888a7b97d7d6e4ba9d0e74c00540e31 SHA512 e09f8a38e975ff4f90db59db9ae8a6baaca9b0cbc9c2ecd37225febfe718b7c2038ae45481ed830dc66f2b70d8312266e2dc7cb54a0aa0fdc02c87ca42bac96d |
25 |
DIST knot-2.7.3.tar.xz 1146456 BLAKE2B d584db01b2354c259cf5e5cdfeb2dff677b04e76b68156a2c672fffe95ee8c6516f82b8e199d8ec8cacfcd93f15b370a25172826460b82c5964f38207c9818f2 SHA512 ba735eb06d99f8cb41619f44413f6450178ab249ef9ff282bae36e8e965cb421f082852bbf0ae5814e3e3148f27431fc1f2b4ed30e21bfd0cbea1be189bdadfd |
26 |
DIST knot-2.7.4.tar.xz 1148652 BLAKE2B 081a23a0429b4fec1feebbe417bc95fe24d11404a2a6b9e4e71d89f99bc9cf2a5ed2bdc3a0fd2727cc4d45629b71faefda179e68c4781f8b21c475a7b1fe8bdd SHA512 e5f60a23817503468b18eaea517c5936945b901f568c56cb1ca67a208cc6206ff103e9ca03f1bf05018d13a688f54580ae816a5d70510f28a98ae31116a3f674 |
27 |
+DIST knot-2.7.6.tar.xz 1151068 BLAKE2B aba7b9f89d98ddabe5596198b0767b6d88cab2278eda33bea2738bcc2f62bc3b7463ee517488f8d2efa40b11859b3aefaa212999968654e5e5580969a173ec8e SHA512 6b6a727d57337da01e2d44abec7fde4504d112604769b118fe6254b0317f149ed4e9fab321a04517eccedb08e409818d1817fc1136c27d1fd351538e6816022a |
28 |
+DIST knot-2.8.0.tar.xz 1168900 BLAKE2B e6d54709ce0bbc5411918de337fd2eb1cb939bbaf1b0dec149b169c2a93c6c0f4719028e35ff9a07d940d5e30470a4661e847a83c73ba0baaf89a520d8ee4fc3 SHA512 0cf2840d908bbab3197bff82d37e4a754204a3b79efa7e982719bc19028519d3ff0b2177780dada54e1b070f5f7aa28dab7bbfcc2d2ea086817f3a29b746228e |
29 |
|
30 |
diff --git a/net-dns/knot/knot-2.7.6.ebuild b/net-dns/knot/knot-2.7.6.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..5ccc7dcad7c |
33 |
--- /dev/null |
34 |
+++ b/net-dns/knot/knot-2.7.6.ebuild |
35 |
@@ -0,0 +1,107 @@ |
36 |
+# Copyright 1999-2019 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+inherit systemd user |
42 |
+ |
43 |
+DESCRIPTION="High-performance authoritative-only DNS server" |
44 |
+HOMEPAGE="https://www.knot-dns.cz/" |
45 |
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz" |
46 |
+ |
47 |
+LICENSE="GPL-3" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~x86" |
50 |
+ |
51 |
+KNOT_MODULES=( |
52 |
+ "+cookies" |
53 |
+ "+dnsproxy" |
54 |
+ "dnstap" |
55 |
+ "geoip" |
56 |
+ "+noudp" |
57 |
+ "+onlinesign" |
58 |
+ "+queryacl" |
59 |
+ "+rrl" |
60 |
+ "+stats" |
61 |
+ "+synthrecord" |
62 |
+ "+whoami" |
63 |
+) |
64 |
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}" |
65 |
+ |
66 |
+RDEPEND=" |
67 |
+ dev-db/lmdb |
68 |
+ dev-libs/libedit |
69 |
+ dev-libs/userspace-rcu:= |
70 |
+ dev-python/lmdb |
71 |
+ net-libs/gnutls:= |
72 |
+ caps? ( sys-libs/libcap-ng ) |
73 |
+ dnstap? ( |
74 |
+ dev-libs/fstrm |
75 |
+ dev-libs/protobuf-c:= |
76 |
+ ) |
77 |
+ geoip? ( dev-libs/libmaxminddb:= ) |
78 |
+ idn? ( |
79 |
+ !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 ) |
80 |
+ libidn2? ( net-dns/libidn2:= ) |
81 |
+ ) |
82 |
+ systemd? ( sys-apps/systemd:= ) |
83 |
+" |
84 |
+DEPEND="${RDEPEND}" |
85 |
+BDEPEND=" |
86 |
+ virtual/pkgconfig |
87 |
+ doc? ( dev-python/sphinx ) |
88 |
+" |
89 |
+ |
90 |
+S="${WORKDIR}/${P/_/-}" |
91 |
+ |
92 |
+src_configure() { |
93 |
+ local u |
94 |
+ local my_conf=( |
95 |
+ --with-storage="${EPREFIX}/var/lib/${PN}" |
96 |
+ --with-rundir="${EPREFIX}/var/run/${PN}" |
97 |
+ $(use_enable fastparser) |
98 |
+ $(use_enable dnstap) |
99 |
+ $(use_enable doc documentation) |
100 |
+ $(use_enable utils utilities) |
101 |
+ --enable-systemd=$(usex systemd) |
102 |
+ $(use_with idn libidn) |
103 |
+ ) |
104 |
+ |
105 |
+ for u in "${KNOT_MODULES[@]#+}"; do |
106 |
+ my_conf+=("$(use_with ${u} module-${u})") |
107 |
+ done |
108 |
+ |
109 |
+ econf "${my_conf[@]}" |
110 |
+} |
111 |
+ |
112 |
+src_compile() { |
113 |
+ default |
114 |
+ |
115 |
+ if use doc; then |
116 |
+ emake -C doc html |
117 |
+ HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} ) |
118 |
+ fi |
119 |
+} |
120 |
+ |
121 |
+src_test() { |
122 |
+ emake check |
123 |
+} |
124 |
+ |
125 |
+src_install() { |
126 |
+ default |
127 |
+ |
128 |
+ rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die |
129 |
+ keepdir /var/lib/${PN} |
130 |
+ |
131 |
+ newinitd "${FILESDIR}/knot.init" knot |
132 |
+ if use systemd; then |
133 |
+ systemd_newunit "${FILESDIR}/knot-1.service" knot.service |
134 |
+ fi |
135 |
+ |
136 |
+ find "${D}" -name '*.la' -delete || die |
137 |
+} |
138 |
+ |
139 |
+pkg_postinst() { |
140 |
+ enewgroup knot 53 |
141 |
+ enewuser knot 53 -1 /var/lib/knot knot |
142 |
+} |
143 |
|
144 |
diff --git a/net-dns/knot/knot-2.8.0.ebuild b/net-dns/knot/knot-2.8.0.ebuild |
145 |
new file mode 100644 |
146 |
index 00000000000..5ccc7dcad7c |
147 |
--- /dev/null |
148 |
+++ b/net-dns/knot/knot-2.8.0.ebuild |
149 |
@@ -0,0 +1,107 @@ |
150 |
+# Copyright 1999-2019 Gentoo Authors |
151 |
+# Distributed under the terms of the GNU General Public License v2 |
152 |
+ |
153 |
+EAPI=7 |
154 |
+ |
155 |
+inherit systemd user |
156 |
+ |
157 |
+DESCRIPTION="High-performance authoritative-only DNS server" |
158 |
+HOMEPAGE="https://www.knot-dns.cz/" |
159 |
+SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz" |
160 |
+ |
161 |
+LICENSE="GPL-3" |
162 |
+SLOT="0" |
163 |
+KEYWORDS="~amd64 ~x86" |
164 |
+ |
165 |
+KNOT_MODULES=( |
166 |
+ "+cookies" |
167 |
+ "+dnsproxy" |
168 |
+ "dnstap" |
169 |
+ "geoip" |
170 |
+ "+noudp" |
171 |
+ "+onlinesign" |
172 |
+ "+queryacl" |
173 |
+ "+rrl" |
174 |
+ "+stats" |
175 |
+ "+synthrecord" |
176 |
+ "+whoami" |
177 |
+) |
178 |
+IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}" |
179 |
+ |
180 |
+RDEPEND=" |
181 |
+ dev-db/lmdb |
182 |
+ dev-libs/libedit |
183 |
+ dev-libs/userspace-rcu:= |
184 |
+ dev-python/lmdb |
185 |
+ net-libs/gnutls:= |
186 |
+ caps? ( sys-libs/libcap-ng ) |
187 |
+ dnstap? ( |
188 |
+ dev-libs/fstrm |
189 |
+ dev-libs/protobuf-c:= |
190 |
+ ) |
191 |
+ geoip? ( dev-libs/libmaxminddb:= ) |
192 |
+ idn? ( |
193 |
+ !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 ) |
194 |
+ libidn2? ( net-dns/libidn2:= ) |
195 |
+ ) |
196 |
+ systemd? ( sys-apps/systemd:= ) |
197 |
+" |
198 |
+DEPEND="${RDEPEND}" |
199 |
+BDEPEND=" |
200 |
+ virtual/pkgconfig |
201 |
+ doc? ( dev-python/sphinx ) |
202 |
+" |
203 |
+ |
204 |
+S="${WORKDIR}/${P/_/-}" |
205 |
+ |
206 |
+src_configure() { |
207 |
+ local u |
208 |
+ local my_conf=( |
209 |
+ --with-storage="${EPREFIX}/var/lib/${PN}" |
210 |
+ --with-rundir="${EPREFIX}/var/run/${PN}" |
211 |
+ $(use_enable fastparser) |
212 |
+ $(use_enable dnstap) |
213 |
+ $(use_enable doc documentation) |
214 |
+ $(use_enable utils utilities) |
215 |
+ --enable-systemd=$(usex systemd) |
216 |
+ $(use_with idn libidn) |
217 |
+ ) |
218 |
+ |
219 |
+ for u in "${KNOT_MODULES[@]#+}"; do |
220 |
+ my_conf+=("$(use_with ${u} module-${u})") |
221 |
+ done |
222 |
+ |
223 |
+ econf "${my_conf[@]}" |
224 |
+} |
225 |
+ |
226 |
+src_compile() { |
227 |
+ default |
228 |
+ |
229 |
+ if use doc; then |
230 |
+ emake -C doc html |
231 |
+ HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} ) |
232 |
+ fi |
233 |
+} |
234 |
+ |
235 |
+src_test() { |
236 |
+ emake check |
237 |
+} |
238 |
+ |
239 |
+src_install() { |
240 |
+ default |
241 |
+ |
242 |
+ rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die |
243 |
+ keepdir /var/lib/${PN} |
244 |
+ |
245 |
+ newinitd "${FILESDIR}/knot.init" knot |
246 |
+ if use systemd; then |
247 |
+ systemd_newunit "${FILESDIR}/knot-1.service" knot.service |
248 |
+ fi |
249 |
+ |
250 |
+ find "${D}" -name '*.la' -delete || die |
251 |
+} |
252 |
+ |
253 |
+pkg_postinst() { |
254 |
+ enewgroup knot 53 |
255 |
+ enewuser knot 53 -1 /var/lib/knot knot |
256 |
+} |