Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/unbound/files/, net-dns/unbound/
Date: Sun, 18 Nov 2018 15:27:18
Message-Id: 1542554827.b0f453c9b98220d327d2a3f60afb07dc01ed8928.whissi@gentoo
1 commit: b0f453c9b98220d327d2a3f60afb07dc01ed8928
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 18 15:05:06 2018 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 18 15:27:07 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0f453c9
7
8 net-dns/unbound: drop old
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.12
11 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
12
13 net-dns/unbound/Manifest | 10 --
14 ...-fail-to-start-on-Linux-LTS-3.14.X-ignore.patch | 72 ---------
15 net-dns/unbound/files/unbound-1.4.12-gentoo.patch | 12 --
16 net-dns/unbound/files/unbound.confd | 4 -
17 net-dns/unbound/files/unbound.initd | 55 -------
18 net-dns/unbound/unbound-1.5.1-r2.ebuild | 122 ---------------
19 net-dns/unbound/unbound-1.5.10.ebuild | 124 ---------------
20 net-dns/unbound/unbound-1.6.3.ebuild | 130 ----------------
21 net-dns/unbound/unbound-1.6.4.ebuild | 130 ----------------
22 net-dns/unbound/unbound-1.6.6.ebuild | 130 ----------------
23 net-dns/unbound/unbound-1.6.7.ebuild | 130 ----------------
24 net-dns/unbound/unbound-1.6.8-r2.ebuild | 156 -------------------
25 net-dns/unbound/unbound-1.6.8.ebuild | 130 ----------------
26 net-dns/unbound/unbound-1.7.0.ebuild | 156 -------------------
27 net-dns/unbound/unbound-1.7.1.ebuild | 156 -------------------
28 net-dns/unbound/unbound-1.7.3-r1.ebuild | 169 ---------------------
29 16 files changed, 1686 deletions(-)
30
31 diff --git a/net-dns/unbound/Manifest b/net-dns/unbound/Manifest
32 index 08a17417686..56367e8da8f 100644
33 --- a/net-dns/unbound/Manifest
34 +++ b/net-dns/unbound/Manifest
35 @@ -1,12 +1,2 @@
36 -DIST unbound-1.5.1.tar.gz 4805176 BLAKE2B f8c1f69d028ec61c5821926efb6c8311270b0e73b82315c96d7c8a832d86c80560187a44917325947658b4dc5695036c07b752910277d3871e5d8a8f382082c1 SHA512 85d7069cf47709aceb7d9457c8befb1b327adfb098d8aa98082fc9bf710274e8ba86b56d796c86917639bb7e57ab5c40af1bc79090de038c6375be2c3877e0c4
37 -DIST unbound-1.5.10.tar.gz 4941299 BLAKE2B 500c732403e627bdd037d622b509210f5c357da55f04713de3d02959d9480f85d48669007e11e03ab05ca75c4733642e32be013b5c28078c535b7da578f32bb6 SHA512 1c413886a12d4b626e03e076da6b9ccbcc8fd4769649fef8895eca74199bc22aec33c026e777524e8fe0327045a194f79b52282fe40674a9fb15cac58c4493f6
38 -DIST unbound-1.6.3.tar.gz 5381240 BLAKE2B eb10c20a7e7ddc106f5ec9552e516b329bdf74e2bd9dee25514e306d1e961f0d1f4eccefeb97f23ebce73b2022efcad1e3402af0ed863e5fef071076530b0248 SHA512 1d84fcc4c4b2a2b5cce6540cf252ff964f4acae3b6567c61cee69b76c6cee3e00270b1f7cc7ad83a2754afb33cc199c8b6e8116e5b587811714398b1d34de8a3
39 -DIST unbound-1.6.4.tar.gz 5477897 BLAKE2B b78c80e9a18649f6a12da820f15915f0508f4f01d93aa316fa413452545c93fd80a82f93f265291787210f90b888704671f840e12b1b13852c3a2aa017b4cf50 SHA512 1abf50552c97b304884f07372f9fb05f9f30354647cf5299192deac81fa28a41d89d84ee092baef644a6069d0f545d36e7e814c9b8f83f21a7a53572d9a91907
40 -DIST unbound-1.6.6.tar.gz 5460482 BLAKE2B af0d9ca0e5eeaebc3a2023dc7179a3bc80952d0e4c75ae92035ace648952f0ec1d0760aeb9d5104dda1abea2498a15f668b610c39ad79e86774c376647c94613 SHA512 910fd0956b8828d3db0511a85bf6ab6c4c3982f17c70ccb7123d1de1650d24c2906bc29ac4ea83fd7d95d8af29e2cbc88df666f365e51296f552292ef9753016
41 -DIST unbound-1.6.7.tar.gz 5466931 BLAKE2B 57a051d5ac6d7fbc3d51613305651987670d0f50fbebf661505b42b6c8980543b34b52a4f9ca9e6ee4dbad59d9acf547b78cf35a691d0c00884da979ae22d8c4 SHA512 6e3d1a057081252183343d0d1b8ace742ab15e8f5244e61287340f49289d7449bed93fbfdaa3194c0e99ca23948f4b33038f75af5c5b26c938004d06fc3031e0
42 -DIST unbound-1.6.8.tar.gz 5467536 BLAKE2B 06caffbd905c339b3d0667382114bb3e5d5da90988402c8f488f789f9bf6ab87377e6a26aa083a7e9ba3d023f37d3eeba1e069adf8a8a266b23fb8361aeb6e26 SHA512 653d88d5dbc8cf25f7261e4a9869b6591843c7ff27b5d63f979a94505daafbbb61e05d46bedd2d01230355d5f08dd9fe14ed04c5c7340f3f27581b61ad6edfa3
43 -DIST unbound-1.7.0.tar.gz 5538228 BLAKE2B a825e2cbef74b3a78f9802056d6f0992f77e0d40d4d28889c98b9ffa224ec3281b6873eab59134dcca8dc56bdd17202b3817dd28ab30d0a0bb72d749426b7675 SHA512 49b07643da2a89d8ceedce1295f550f74a76f4f11c2df54df55e9c42f03bad1b133789c7b36fb3c4f37d6b331ac302ecfd1249e8ebaaa4333beda8fa250b61d9
44 -DIST unbound-1.7.1.tar.gz 5565938 BLAKE2B 423dde8a13ea3539d86eade96507e6cdb4ac816393e99f58b4e0dc74a79c31bae57c87924ef737a567cc338d02d672f6c059c86d2f28a634f06e5f9a339f4260 SHA512 99a68abf1f60f6ea80cf2973906df44da9c577d8cac969824af1ce9ca385a2e84dd684937480da87cb73c7dc41ad5c00b0013ec74103eadb8fd7dc6f98a89255
45 -DIST unbound-1.7.3.tar.gz 5570604 BLAKE2B 93a4e7cc0e13b3da1057ce4e4518ab2363f03bff7c820095ed30b5fccd2f4245cfade6bf68a424a090967053c7fd727f33352c9e8004bb05d907a878d69c2517 SHA512 34b2e93660e519b2eccefef26a6c7ac09fa3312384cc3bc449ff2b10743bd86bfeb36ec19d35eb913f8d0a3d91ad7923260a66fc799f28b0a2cc06741d80f27a
46 DIST unbound-1.8.0.tar.gz 5609213 BLAKE2B 41e464df60e03d502f13758e75f9143658b2a496c4fad69804d9d404e23a8d4b5480cc09048197f8593e37feffdffaea33b18a06d864d0d35e986169b49f42e4 SHA512 6c46f5b86b5bd98a7b549b660173d487e59e65385cebd7bc29429b4fee69f2b490651a409c57b072b9b604fa98e289fa82eeecfea8779900038c25b28a6bd064
47 DIST unbound-1.8.1.tar.gz 5610191 BLAKE2B 15118f5940b4362dd515f8b335c8a39fc5ef1d3fbf0c20efbf0097342fabb4890eae0527f8b00ace181a425b413882db962b63d329f664cf12649d4d6ec8e5ea SHA512 1872a980e06258d28d2bc7f69a4c56fc07e03e4c9856161e89abc28527fff5812a47ea9927fd362bca690e3a87b95046ac96c8beeccaeb8596458f140c33b217
48
49 diff --git a/net-dns/unbound/files/0001-fix-fail-to-start-on-Linux-LTS-3.14.X-ignore.patch b/net-dns/unbound/files/0001-fix-fail-to-start-on-Linux-LTS-3.14.X-ignore.patch
50 deleted file mode 100644
51 index c1be28cbc0d..00000000000
52 --- a/net-dns/unbound/files/0001-fix-fail-to-start-on-Linux-LTS-3.14.X-ignore.patch
53 +++ /dev/null
54 @@ -1,72 +0,0 @@
55 -From 858da540f70a4411ad8fbe7144cef6ce9da18f89 Mon Sep 17 00:00:00 2001
56 -From: wouter <wouter@be551aaa-1e26-0410-a405-d3ace91eadb9>
57 -Date: Mon, 5 Jan 2015 13:51:22 +0000
58 -Subject: [PATCH] - Fix #634: fix fail to start on Linux LTS 3.14.X, ignores
59 - missing IP_MTU_DISCOVER OMIT option.
60 -
61 ---- a/services/listen_dnsport.c
62 -+++ b/services/listen_dnsport.c
63 -@@ -368,29 +368,47 @@ create_udp_sock(int family, int socktype, struct sockaddr* addr,
64 - * (and also uses the interface mtu to determine the size of the packets).
65 - * So there won't be any EMSGSIZE error. Against DNS fragmentation attacks.
66 - * FreeBSD already has same semantics without setting the option. */
67 --# if defined(IP_PMTUDISC_OMIT)
68 -- int action = IP_PMTUDISC_OMIT;
69 --# else
70 -- int action = IP_PMTUDISC_DONT;
71 --# endif
72 -+ int omit_set = 0;
73 -+ int action;
74 -+# if defined(IP_PMTUDISC_OMIT)
75 -+ action = IP_PMTUDISC_OMIT;
76 - if (setsockopt(s, IPPROTO_IP, IP_MTU_DISCOVER,
77 - &action, (socklen_t)sizeof(action)) < 0) {
78 -- log_err("setsockopt(..., IP_MTU_DISCOVER, "
79 --# if defined(IP_PMTUDISC_OMIT)
80 -- "IP_PMTUDISC_OMIT"
81 -+
82 -+ if (errno != EINVAL) {
83 -+ log_err("setsockopt(..., IP_MTU_DISCOVER, IP_PMTUDISC_OMIT...) failed: %s",
84 -+ strerror(errno));
85 -+
86 -+# ifndef USE_WINSOCK
87 -+ close(s);
88 - # else
89 -- "IP_PMTUDISC_DONT"
90 -+ closesocket(s);
91 - # endif
92 -- "...) failed: %s",
93 -- strerror(errno));
94 -+ *noproto = 0;
95 -+ *inuse = 0;
96 -+ return -1;
97 -+ }
98 -+ }
99 -+ else
100 -+ {
101 -+ omit_set = 1;
102 -+ }
103 -+# endif
104 -+ if (omit_set == 0) {
105 -+ action = IP_PMTUDISC_DONT;
106 -+ if (setsockopt(s, IPPROTO_IP, IP_MTU_DISCOVER,
107 -+ &action, (socklen_t)sizeof(action)) < 0) {
108 -+ log_err("setsockopt(..., IP_MTU_DISCOVER, IP_PMTUDISC_DONT...) failed: %s",
109 -+ strerror(errno));
110 - # ifndef USE_WINSOCK
111 -- close(s);
112 -+ close(s);
113 - # else
114 -- closesocket(s);
115 -+ closesocket(s);
116 - # endif
117 -- *noproto = 0;
118 -- *inuse = 0;
119 -- return -1;
120 -+ *noproto = 0;
121 -+ *inuse = 0;
122 -+ return -1;
123 -+ }
124 - }
125 - # elif defined(IP_DONTFRAG)
126 - int off = 0;
127
128 diff --git a/net-dns/unbound/files/unbound-1.4.12-gentoo.patch b/net-dns/unbound/files/unbound-1.4.12-gentoo.patch
129 deleted file mode 100644
130 index 57920689783..00000000000
131 --- a/net-dns/unbound/files/unbound-1.4.12-gentoo.patch
132 +++ /dev/null
133 @@ -1,12 +0,0 @@
134 -diff -Naur unbound-1.4.12.orig/doc/example.conf.in unbound-1.4.12/doc/example.conf.in
135 ---- unbound-1.4.12.orig/doc/example.conf.in 2011-07-14 17:33:37.000000000 +0900
136 -+++ unbound-1.4.12/doc/example.conf.in 2011-07-16 10:01:06.644402341 +0900
137 -@@ -334,7 +334,7 @@
138 - # with several entries, one file per entry.
139 - # Zone file format, with DS and DNSKEY entries.
140 - # Note this gets out of date, use auto-trust-anchor-file please.
141 -- # trust-anchor-file: ""
142 -+ # trust-anchor-file: "@UNBOUND_ROOTKEY_FILE@"
143 -
144 - # Trusted key for validation. DS or DNSKEY. specify the RR on a
145 - # single line, surrounded by "". TTL is ignored. class is IN default.
146
147 diff --git a/net-dns/unbound/files/unbound.confd b/net-dns/unbound/files/unbound.confd
148 deleted file mode 100644
149 index b4de7cf1142..00000000000
150 --- a/net-dns/unbound/files/unbound.confd
151 +++ /dev/null
152 @@ -1,4 +0,0 @@
153 -# Settings should normally not need any changes.
154 -
155 -# Location of the unbound configuration file. Leave empty for the default.
156 -#UNBOUND_CONFFILE="/etc/unbound/unbound.conf"
157
158 diff --git a/net-dns/unbound/files/unbound.initd b/net-dns/unbound/files/unbound.initd
159 deleted file mode 100644
160 index b295f285dd1..00000000000
161 --- a/net-dns/unbound/files/unbound.initd
162 +++ /dev/null
163 @@ -1,55 +0,0 @@
164 -#!/sbin/openrc-run
165 -# Copyright 1999-2011 Gentoo Foundation
166 -# Distributed under the terms of the GNU General Public License v2
167 -
168 -name="unbound daemon"
169 -extra_commands="configtest"
170 -extra_started_commands="reload"
171 -description="unbound is a Domain Name Server (DNS) that is used to resolve host names to IP address."
172 -description_configtest="Run syntax tests for configuration files only."
173 -description_reload="Kills all children and reloads the configuration."
174 -
175 -
176 -UNBOUND_BINARY=${UNBOUND_BINARY:-/usr/sbin/unbound}
177 -UNBOUND_CHECKCONF=${UNBOUND_CHECKCONF:-/usr/sbin/unbound-checkconf}
178 -UNBOUND_CONFFILE=${UNBOUND_CONFFILE:-/etc/unbound/${SVCNAME}.conf}
179 -
180 -depend() {
181 - need net
182 - use logger
183 - provide dns
184 - after auth-dns
185 -}
186 -
187 -checkconfig() {
188 - UNBOUND_PIDFILE=$("${UNBOUND_CHECKCONF}" -o pidfile "${UNBOUND_CONFFILE}")
189 - return $?
190 -}
191 -
192 -configtest() {
193 - ebegin "Checking ${SVCNAME} configuration"
194 - checkconfig
195 - eend $?
196 -}
197 -
198 -start() {
199 - checkconfig || return $?
200 - ebegin "Starting ${SVCNAME}"
201 - start-stop-daemon --start --pidfile "${UNBOUND_PIDFILE}" \
202 - --exec "${UNBOUND_BINARY}" -- -c "${UNBOUND_CONFFILE}"
203 - eend $?
204 -}
205 -
206 -stop() {
207 - checkconfig || return $?
208 - ebegin "Stopping ${SVCNAME}"
209 - start-stop-daemon --stop --pidfile "${UNBOUND_PIDFILE}"
210 - eend $?
211 -}
212 -
213 -reload() {
214 - checkconfig || return $?
215 - ebegin "Reloading ${SVCNAME}"
216 - start-stop-daemon --signal HUP --pidfile "${UNBOUND_PIDFILE}"
217 - eend $?
218 -}
219
220 diff --git a/net-dns/unbound/unbound-1.5.1-r2.ebuild b/net-dns/unbound/unbound-1.5.1-r2.ebuild
221 deleted file mode 100644
222 index eeb41c65a8f..00000000000
223 --- a/net-dns/unbound/unbound-1.5.1-r2.ebuild
224 +++ /dev/null
225 @@ -1,122 +0,0 @@
226 -# Copyright 1999-2015 Gentoo Foundation
227 -# Distributed under the terms of the GNU General Public License v2
228 -
229 -EAPI=5
230 -PYTHON_COMPAT=( python2_7 )
231 -
232 -inherit eutils flag-o-matic multilib-minimal python-single-r1 systemd user
233 -
234 -MY_P=${PN}-${PV/_/}
235 -DESCRIPTION="A validating, recursive and caching DNS resolver"
236 -HOMEPAGE="http://unbound.net/"
237 -SRC_URI="http://unbound.net/downloads/${MY_P}.tar.gz"
238 -
239 -LICENSE="BSD GPL-2"
240 -SLOT="0"
241 -KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 x86"
242 -IUSE="debug dnstap +ecdsa gost python selinux static-libs test threads"
243 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
244 -
245 -# Note: expat is needed by executable only but the Makefile is custom
246 -# and doesn't make it possible to easily install the library without
247 -# the executables. MULTILIB_USEDEP may be dropped once build system
248 -# is fixed.
249 -
250 -CDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
251 - >=dev-libs/libevent-2.0.21[${MULTILIB_USEDEP}]
252 - >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}]
253 - dnstap? (
254 - dev-libs/fstrm[${MULTILIB_USEDEP}]
255 - >=dev-libs/protobuf-c-1.0.2-r1[${MULTILIB_USEDEP}]
256 - )
257 - ecdsa? ( dev-libs/openssl:0[-bindist] )
258 - python? ( ${PYTHON_DEPS} )"
259 -
260 -DEPEND="${CDEPEND}
261 - python? ( dev-lang/swig )
262 - test? (
263 - net-dns/ldns-utils[examples]
264 - dev-util/splint
265 - app-text/wdiff
266 - )"
267 -
268 -RDEPEND="${CDEPEND}
269 - selinux? ( sec-policy/selinux-bind )"
270 -
271 -# bug #347415
272 -RDEPEND="${RDEPEND}
273 - net-dns/dnssec-root"
274 -
275 -S=${WORKDIR}/${MY_P}
276 -
277 -pkg_setup() {
278 - enewgroup unbound
279 - enewuser unbound -1 -1 /etc/unbound unbound
280 -
281 - use python && python-single-r1_pkg_setup
282 -}
283 -
284 -src_prepare() {
285 - # To avoid below error messages, set 'trust-anchor-file' to same value in
286 - # 'auto-trust-anchor-file'.
287 - # [23109:0] error: Could not open autotrust file for writing,
288 - # /etc/dnssec/root-anchors.txt: Permission denied
289 - epatch "${FILESDIR}"/${PN}-1.4.12-gentoo.patch
290 - epatch "${FILESDIR}"/0001-fix-fail-to-start-on-Linux-LTS-3.14.X-ignore.patch
291 -
292 - # required for the python part
293 - multilib_copy_sources
294 -}
295 -
296 -src_configure() {
297 - [[ ${CHOST} == *-darwin* ]] || append-ldflags -Wl,-z,noexecstack
298 - multilib-minimal_src_configure
299 -}
300 -
301 -multilib_src_configure() {
302 - econf \
303 - $(use_enable debug) \
304 - $(use_enable gost) \
305 - $(use_enable dnstap) \
306 - $(use_enable ecdsa) \
307 - $(use_enable static-libs static) \
308 - $(multilib_native_use_with python pythonmodule) \
309 - $(multilib_native_use_with python pyunbound) \
310 - $(use_with threads pthreads) \
311 - --disable-flto \
312 - --disable-rpath \
313 - --with-libevent="${EPREFIX}"/usr \
314 - --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
315 - --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \
316 - --with-ssl="${EPREFIX}"/usr \
317 - --with-libexpat="${EPREFIX}"/usr
318 -
319 - # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
320 - # $(use_enable debug lock-checks) \
321 - # $(use_enable debug alloc-checks) \
322 - # $(use_enable debug alloc-lite) \
323 - # $(use_enable debug alloc-nonregional) \
324 -}
325 -
326 -multilib_src_install_all() {
327 - prune_libtool_files --modules
328 - use python && python_optimize
329 -
330 - newinitd "${FILESDIR}"/unbound.initd unbound
331 - newconfd "${FILESDIR}"/unbound.confd unbound
332 -
333 - systemd_dounit "${FILESDIR}"/unbound.service
334 - systemd_newunit "${FILESDIR}"/unbound_at.service "unbound@.service"
335 - systemd_dounit "${FILESDIR}"/unbound-anchor.service
336 -
337 - dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES}
338 -
339 - # bug #315519
340 - dodoc contrib/unbound_munin_
341 -
342 - docinto selinux
343 - dodoc contrib/selinux/*
344 -
345 - exeinto /usr/share/${PN}
346 - doexe contrib/update-anchor.sh
347 -}
348
349 diff --git a/net-dns/unbound/unbound-1.5.10.ebuild b/net-dns/unbound/unbound-1.5.10.ebuild
350 deleted file mode 100644
351 index 93b077ac9bc..00000000000
352 --- a/net-dns/unbound/unbound-1.5.10.ebuild
353 +++ /dev/null
354 @@ -1,124 +0,0 @@
355 -# Copyright 1999-2017 Gentoo Foundation
356 -# Distributed under the terms of the GNU General Public License v2
357 -
358 -EAPI=5
359 -PYTHON_COMPAT=( python2_7 )
360 -
361 -inherit eutils flag-o-matic multilib-minimal python-single-r1 systemd user
362 -
363 -MY_P=${PN}-${PV/_/}
364 -DESCRIPTION="A validating, recursive and caching DNS resolver"
365 -HOMEPAGE="http://unbound.net/"
366 -SRC_URI="http://unbound.net/downloads/${MY_P}.tar.gz"
367 -
368 -LICENSE="BSD GPL-2"
369 -SLOT="0"
370 -KEYWORDS="amd64 arm ~hppa ~mips ppc ppc64 x86"
371 -IUSE="debug dnstap +ecdsa gost libressl python selinux static-libs test threads"
372 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
373 -
374 -# Note: expat is needed by executable only but the Makefile is custom
375 -# and doesn't make it possible to easily install the library without
376 -# the executables. MULTILIB_USEDEP may be dropped once build system
377 -# is fixed.
378 -
379 -CDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
380 - >=dev-libs/libevent-2.0.21:0=[${MULTILIB_USEDEP}]
381 - libressl? ( >=dev-libs/libressl-2.2.4:0[${MULTILIB_USEDEP}] )
382 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
383 - dnstap? (
384 - dev-libs/fstrm[${MULTILIB_USEDEP}]
385 - >=dev-libs/protobuf-c-1.0.2-r1[${MULTILIB_USEDEP}]
386 - )
387 - ecdsa? (
388 - !libressl? ( dev-libs/openssl:0[-bindist] )
389 - )
390 - python? ( ${PYTHON_DEPS} )"
391 -
392 -DEPEND="${CDEPEND}
393 - python? ( dev-lang/swig )
394 - test? (
395 - net-dns/ldns-utils[examples]
396 - dev-util/splint
397 - app-text/wdiff
398 - )"
399 -
400 -RDEPEND="${CDEPEND}
401 - selinux? ( sec-policy/selinux-bind )"
402 -
403 -# bug #347415
404 -RDEPEND="${RDEPEND}
405 - net-dns/dnssec-root"
406 -
407 -S=${WORKDIR}/${MY_P}
408 -
409 -pkg_setup() {
410 - enewgroup unbound
411 - enewuser unbound -1 -1 /etc/unbound unbound
412 -
413 - use python && python-single-r1_pkg_setup
414 -}
415 -
416 -src_prepare() {
417 - # To avoid below error messages, set 'trust-anchor-file' to same value in
418 - # 'auto-trust-anchor-file'.
419 - # [23109:0] error: Could not open autotrust file for writing,
420 - # /etc/dnssec/root-anchors.txt: Permission denied
421 - epatch "${FILESDIR}"/${PN}-1.5.7-trust-anchor-file.patch
422 -
423 - # required for the python part
424 - multilib_copy_sources
425 -}
426 -
427 -src_configure() {
428 - [[ ${CHOST} == *-darwin* ]] || append-ldflags -Wl,-z,noexecstack
429 - multilib-minimal_src_configure
430 -}
431 -
432 -multilib_src_configure() {
433 - econf \
434 - $(use_enable debug) \
435 - $(use_enable gost) \
436 - $(use_enable dnstap) \
437 - $(use_enable ecdsa) \
438 - $(use_enable static-libs static) \
439 - $(multilib_native_use_with python pythonmodule) \
440 - $(multilib_native_use_with python pyunbound) \
441 - $(use_with threads pthreads) \
442 - --disable-flto \
443 - --disable-rpath \
444 - --with-libevent="${EPREFIX}"/usr \
445 - --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
446 - --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \
447 - --with-ssl="${EPREFIX}"/usr \
448 - --with-libexpat="${EPREFIX}"/usr
449 -
450 - # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
451 - # $(use_enable debug lock-checks) \
452 - # $(use_enable debug alloc-checks) \
453 - # $(use_enable debug alloc-lite) \
454 - # $(use_enable debug alloc-nonregional) \
455 -}
456 -
457 -multilib_src_install_all() {
458 - prune_libtool_files --modules
459 - use python && python_optimize
460 -
461 - newinitd "${FILESDIR}"/unbound.initd unbound
462 - newconfd "${FILESDIR}"/unbound.confd unbound
463 -
464 - systemd_dounit "${FILESDIR}"/unbound.service
465 - systemd_newunit "${FILESDIR}"/unbound_at.service "unbound@.service"
466 - systemd_dounit "${FILESDIR}"/unbound-anchor.service
467 -
468 - dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES}
469 -
470 - # bug #315519
471 - dodoc contrib/unbound_munin_
472 -
473 - docinto selinux
474 - dodoc contrib/selinux/*
475 -
476 - exeinto /usr/share/${PN}
477 - doexe contrib/update-anchor.sh
478 -}
479
480 diff --git a/net-dns/unbound/unbound-1.6.3.ebuild b/net-dns/unbound/unbound-1.6.3.ebuild
481 deleted file mode 100644
482 index 0eccb3d9a8d..00000000000
483 --- a/net-dns/unbound/unbound-1.6.3.ebuild
484 +++ /dev/null
485 @@ -1,130 +0,0 @@
486 -# Copyright 1999-2017 Gentoo Foundation
487 -# Distributed under the terms of the GNU General Public License v2
488 -
489 -EAPI=5
490 -PYTHON_COMPAT=( python2_7 )
491 -
492 -inherit eutils flag-o-matic multilib-minimal python-single-r1 systemd user
493 -
494 -MY_P=${PN}-${PV/_/}
495 -DESCRIPTION="A validating, recursive and caching DNS resolver"
496 -HOMEPAGE="http://unbound.net/"
497 -SRC_URI="http://unbound.net/downloads/${MY_P}.tar.gz"
498 -
499 -LICENSE="BSD GPL-2"
500 -SLOT="0"
501 -KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
502 -IUSE="debug dnscrypt dnstap +ecdsa gost libressl python selinux static-libs systemd test threads"
503 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
504 -
505 -# Note: expat is needed by executable only but the Makefile is custom
506 -# and doesn't make it possible to easily install the library without
507 -# the executables. MULTILIB_USEDEP may be dropped once build system
508 -# is fixed.
509 -
510 -CDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
511 - >=dev-libs/libevent-2.0.21:0=[${MULTILIB_USEDEP}]
512 - libressl? ( >=dev-libs/libressl-2.2.4:0[${MULTILIB_USEDEP}] )
513 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
514 - dnscrypt? ( dev-libs/libsodium[${MULTILIB_USEDEP}] )
515 - dnstap? (
516 - dev-libs/fstrm[${MULTILIB_USEDEP}]
517 - >=dev-libs/protobuf-c-1.0.2-r1[${MULTILIB_USEDEP}]
518 - )
519 - ecdsa? (
520 - !libressl? ( dev-libs/openssl:0[-bindist] )
521 - )
522 - python? ( ${PYTHON_DEPS} )"
523 -
524 -DEPEND="${CDEPEND}
525 - python? ( dev-lang/swig )
526 - test? (
527 - net-dns/ldns-utils[examples]
528 - dev-util/splint
529 - app-text/wdiff
530 - )
531 - systemd? ( sys-apps/systemd )
532 - virtual/pkgconfig"
533 -
534 -RDEPEND="${CDEPEND}
535 - selinux? ( sec-policy/selinux-bind )"
536 -
537 -# bug #347415
538 -RDEPEND="${RDEPEND}
539 - net-dns/dnssec-root"
540 -
541 -S=${WORKDIR}/${MY_P}
542 -
543 -pkg_setup() {
544 - enewgroup unbound
545 - enewuser unbound -1 -1 /etc/unbound unbound
546 -
547 - use python && python-single-r1_pkg_setup
548 -}
549 -
550 -src_prepare() {
551 - # To avoid below error messages, set 'trust-anchor-file' to same value in
552 - # 'auto-trust-anchor-file'.
553 - # [23109:0] error: Could not open autotrust file for writing,
554 - # /etc/dnssec/root-anchors.txt: Permission denied
555 - epatch "${FILESDIR}"/${PN}-1.5.7-trust-anchor-file.patch
556 -
557 - # required for the python part
558 - multilib_copy_sources
559 -}
560 -
561 -src_configure() {
562 - [[ ${CHOST} == *-darwin* ]] || append-ldflags -Wl,-z,noexecstack
563 - multilib-minimal_src_configure
564 -}
565 -
566 -multilib_src_configure() {
567 - econf \
568 - $(use_enable debug) \
569 - $(use_enable gost) \
570 - $(use_enable dnscrypt) \
571 - $(use_enable dnstap) \
572 - $(use_enable ecdsa) \
573 - $(use_enable static-libs static) \
574 - $(use_enable systemd) \
575 - $(multilib_native_use_with python pythonmodule) \
576 - $(multilib_native_use_with python pyunbound) \
577 - $(use_with threads pthreads) \
578 - --disable-flto \
579 - --disable-rpath \
580 - --with-libevent="${EPREFIX}"/usr \
581 - --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
582 - --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \
583 - --with-ssl="${EPREFIX}"/usr \
584 - --with-libexpat="${EPREFIX}"/usr
585 -
586 - # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
587 - # $(use_enable debug lock-checks) \
588 - # $(use_enable debug alloc-checks) \
589 - # $(use_enable debug alloc-lite) \
590 - # $(use_enable debug alloc-nonregional) \
591 -}
592 -
593 -multilib_src_install_all() {
594 - prune_libtool_files --modules
595 - use python && python_optimize
596 -
597 - newinitd "${FILESDIR}"/unbound.initd unbound
598 - newconfd "${FILESDIR}"/unbound.confd unbound
599 -
600 - systemd_dounit "${FILESDIR}"/unbound.service
601 - systemd_dounit "${FILESDIR}"/unbound.socket
602 - systemd_newunit "${FILESDIR}"/unbound_at.service "unbound@.service"
603 - systemd_dounit "${FILESDIR}"/unbound-anchor.service
604 -
605 - dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES}
606 -
607 - # bug #315519
608 - dodoc contrib/unbound_munin_
609 -
610 - docinto selinux
611 - dodoc contrib/selinux/*
612 -
613 - exeinto /usr/share/${PN}
614 - doexe contrib/update-anchor.sh
615 -}
616
617 diff --git a/net-dns/unbound/unbound-1.6.4.ebuild b/net-dns/unbound/unbound-1.6.4.ebuild
618 deleted file mode 100644
619 index 0eccb3d9a8d..00000000000
620 --- a/net-dns/unbound/unbound-1.6.4.ebuild
621 +++ /dev/null
622 @@ -1,130 +0,0 @@
623 -# Copyright 1999-2017 Gentoo Foundation
624 -# Distributed under the terms of the GNU General Public License v2
625 -
626 -EAPI=5
627 -PYTHON_COMPAT=( python2_7 )
628 -
629 -inherit eutils flag-o-matic multilib-minimal python-single-r1 systemd user
630 -
631 -MY_P=${PN}-${PV/_/}
632 -DESCRIPTION="A validating, recursive and caching DNS resolver"
633 -HOMEPAGE="http://unbound.net/"
634 -SRC_URI="http://unbound.net/downloads/${MY_P}.tar.gz"
635 -
636 -LICENSE="BSD GPL-2"
637 -SLOT="0"
638 -KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
639 -IUSE="debug dnscrypt dnstap +ecdsa gost libressl python selinux static-libs systemd test threads"
640 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
641 -
642 -# Note: expat is needed by executable only but the Makefile is custom
643 -# and doesn't make it possible to easily install the library without
644 -# the executables. MULTILIB_USEDEP may be dropped once build system
645 -# is fixed.
646 -
647 -CDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
648 - >=dev-libs/libevent-2.0.21:0=[${MULTILIB_USEDEP}]
649 - libressl? ( >=dev-libs/libressl-2.2.4:0[${MULTILIB_USEDEP}] )
650 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
651 - dnscrypt? ( dev-libs/libsodium[${MULTILIB_USEDEP}] )
652 - dnstap? (
653 - dev-libs/fstrm[${MULTILIB_USEDEP}]
654 - >=dev-libs/protobuf-c-1.0.2-r1[${MULTILIB_USEDEP}]
655 - )
656 - ecdsa? (
657 - !libressl? ( dev-libs/openssl:0[-bindist] )
658 - )
659 - python? ( ${PYTHON_DEPS} )"
660 -
661 -DEPEND="${CDEPEND}
662 - python? ( dev-lang/swig )
663 - test? (
664 - net-dns/ldns-utils[examples]
665 - dev-util/splint
666 - app-text/wdiff
667 - )
668 - systemd? ( sys-apps/systemd )
669 - virtual/pkgconfig"
670 -
671 -RDEPEND="${CDEPEND}
672 - selinux? ( sec-policy/selinux-bind )"
673 -
674 -# bug #347415
675 -RDEPEND="${RDEPEND}
676 - net-dns/dnssec-root"
677 -
678 -S=${WORKDIR}/${MY_P}
679 -
680 -pkg_setup() {
681 - enewgroup unbound
682 - enewuser unbound -1 -1 /etc/unbound unbound
683 -
684 - use python && python-single-r1_pkg_setup
685 -}
686 -
687 -src_prepare() {
688 - # To avoid below error messages, set 'trust-anchor-file' to same value in
689 - # 'auto-trust-anchor-file'.
690 - # [23109:0] error: Could not open autotrust file for writing,
691 - # /etc/dnssec/root-anchors.txt: Permission denied
692 - epatch "${FILESDIR}"/${PN}-1.5.7-trust-anchor-file.patch
693 -
694 - # required for the python part
695 - multilib_copy_sources
696 -}
697 -
698 -src_configure() {
699 - [[ ${CHOST} == *-darwin* ]] || append-ldflags -Wl,-z,noexecstack
700 - multilib-minimal_src_configure
701 -}
702 -
703 -multilib_src_configure() {
704 - econf \
705 - $(use_enable debug) \
706 - $(use_enable gost) \
707 - $(use_enable dnscrypt) \
708 - $(use_enable dnstap) \
709 - $(use_enable ecdsa) \
710 - $(use_enable static-libs static) \
711 - $(use_enable systemd) \
712 - $(multilib_native_use_with python pythonmodule) \
713 - $(multilib_native_use_with python pyunbound) \
714 - $(use_with threads pthreads) \
715 - --disable-flto \
716 - --disable-rpath \
717 - --with-libevent="${EPREFIX}"/usr \
718 - --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
719 - --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \
720 - --with-ssl="${EPREFIX}"/usr \
721 - --with-libexpat="${EPREFIX}"/usr
722 -
723 - # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
724 - # $(use_enable debug lock-checks) \
725 - # $(use_enable debug alloc-checks) \
726 - # $(use_enable debug alloc-lite) \
727 - # $(use_enable debug alloc-nonregional) \
728 -}
729 -
730 -multilib_src_install_all() {
731 - prune_libtool_files --modules
732 - use python && python_optimize
733 -
734 - newinitd "${FILESDIR}"/unbound.initd unbound
735 - newconfd "${FILESDIR}"/unbound.confd unbound
736 -
737 - systemd_dounit "${FILESDIR}"/unbound.service
738 - systemd_dounit "${FILESDIR}"/unbound.socket
739 - systemd_newunit "${FILESDIR}"/unbound_at.service "unbound@.service"
740 - systemd_dounit "${FILESDIR}"/unbound-anchor.service
741 -
742 - dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES}
743 -
744 - # bug #315519
745 - dodoc contrib/unbound_munin_
746 -
747 - docinto selinux
748 - dodoc contrib/selinux/*
749 -
750 - exeinto /usr/share/${PN}
751 - doexe contrib/update-anchor.sh
752 -}
753
754 diff --git a/net-dns/unbound/unbound-1.6.6.ebuild b/net-dns/unbound/unbound-1.6.6.ebuild
755 deleted file mode 100644
756 index 122b95bc275..00000000000
757 --- a/net-dns/unbound/unbound-1.6.6.ebuild
758 +++ /dev/null
759 @@ -1,130 +0,0 @@
760 -# Copyright 1999-2017 Gentoo Foundation
761 -# Distributed under the terms of the GNU General Public License v2
762 -
763 -EAPI=5
764 -PYTHON_COMPAT=( python2_7 )
765 -
766 -inherit eutils flag-o-matic multilib-minimal python-single-r1 systemd user
767 -
768 -MY_P=${PN}-${PV/_/}
769 -DESCRIPTION="A validating, recursive and caching DNS resolver"
770 -HOMEPAGE="http://unbound.net/"
771 -SRC_URI="http://unbound.net/downloads/${MY_P}.tar.gz"
772 -
773 -LICENSE="BSD GPL-2"
774 -SLOT="0"
775 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
776 -IUSE="debug dnscrypt dnstap +ecdsa gost libressl python selinux static-libs systemd test threads"
777 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
778 -
779 -# Note: expat is needed by executable only but the Makefile is custom
780 -# and doesn't make it possible to easily install the library without
781 -# the executables. MULTILIB_USEDEP may be dropped once build system
782 -# is fixed.
783 -
784 -CDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
785 - >=dev-libs/libevent-2.0.21:0=[${MULTILIB_USEDEP}]
786 - libressl? ( >=dev-libs/libressl-2.2.4:0[${MULTILIB_USEDEP}] )
787 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
788 - dnscrypt? ( dev-libs/libsodium[${MULTILIB_USEDEP}] )
789 - dnstap? (
790 - dev-libs/fstrm[${MULTILIB_USEDEP}]
791 - >=dev-libs/protobuf-c-1.0.2-r1[${MULTILIB_USEDEP}]
792 - )
793 - ecdsa? (
794 - !libressl? ( dev-libs/openssl:0[-bindist] )
795 - )
796 - python? ( ${PYTHON_DEPS} )"
797 -
798 -DEPEND="${CDEPEND}
799 - python? ( dev-lang/swig )
800 - test? (
801 - net-dns/ldns-utils[examples]
802 - dev-util/splint
803 - app-text/wdiff
804 - )
805 - systemd? ( sys-apps/systemd )
806 - virtual/pkgconfig"
807 -
808 -RDEPEND="${CDEPEND}
809 - selinux? ( sec-policy/selinux-bind )"
810 -
811 -# bug #347415
812 -RDEPEND="${RDEPEND}
813 - net-dns/dnssec-root"
814 -
815 -S=${WORKDIR}/${MY_P}
816 -
817 -pkg_setup() {
818 - enewgroup unbound
819 - enewuser unbound -1 -1 /etc/unbound unbound
820 -
821 - use python && python-single-r1_pkg_setup
822 -}
823 -
824 -src_prepare() {
825 - # To avoid below error messages, set 'trust-anchor-file' to same value in
826 - # 'auto-trust-anchor-file'.
827 - # [23109:0] error: Could not open autotrust file for writing,
828 - # /etc/dnssec/root-anchors.txt: Permission denied
829 - epatch "${FILESDIR}"/${PN}-1.5.7-trust-anchor-file.patch
830 -
831 - # required for the python part
832 - multilib_copy_sources
833 -}
834 -
835 -src_configure() {
836 - [[ ${CHOST} == *-darwin* ]] || append-ldflags -Wl,-z,noexecstack
837 - multilib-minimal_src_configure
838 -}
839 -
840 -multilib_src_configure() {
841 - econf \
842 - $(use_enable debug) \
843 - $(use_enable gost) \
844 - $(use_enable dnscrypt) \
845 - $(use_enable dnstap) \
846 - $(use_enable ecdsa) \
847 - $(use_enable static-libs static) \
848 - $(use_enable systemd) \
849 - $(multilib_native_use_with python pythonmodule) \
850 - $(multilib_native_use_with python pyunbound) \
851 - $(use_with threads pthreads) \
852 - --disable-flto \
853 - --disable-rpath \
854 - --with-libevent="${EPREFIX}"/usr \
855 - --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
856 - --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \
857 - --with-ssl="${EPREFIX}"/usr \
858 - --with-libexpat="${EPREFIX}"/usr
859 -
860 - # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
861 - # $(use_enable debug lock-checks) \
862 - # $(use_enable debug alloc-checks) \
863 - # $(use_enable debug alloc-lite) \
864 - # $(use_enable debug alloc-nonregional) \
865 -}
866 -
867 -multilib_src_install_all() {
868 - prune_libtool_files --modules
869 - use python && python_optimize
870 -
871 - newinitd "${FILESDIR}"/unbound.initd unbound
872 - newconfd "${FILESDIR}"/unbound.confd unbound
873 -
874 - systemd_dounit "${FILESDIR}"/unbound.service
875 - systemd_dounit "${FILESDIR}"/unbound.socket
876 - systemd_newunit "${FILESDIR}"/unbound_at.service "unbound@.service"
877 - systemd_dounit "${FILESDIR}"/unbound-anchor.service
878 -
879 - dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES}
880 -
881 - # bug #315519
882 - dodoc contrib/unbound_munin_
883 -
884 - docinto selinux
885 - dodoc contrib/selinux/*
886 -
887 - exeinto /usr/share/${PN}
888 - doexe contrib/update-anchor.sh
889 -}
890
891 diff --git a/net-dns/unbound/unbound-1.6.7.ebuild b/net-dns/unbound/unbound-1.6.7.ebuild
892 deleted file mode 100644
893 index 122b95bc275..00000000000
894 --- a/net-dns/unbound/unbound-1.6.7.ebuild
895 +++ /dev/null
896 @@ -1,130 +0,0 @@
897 -# Copyright 1999-2017 Gentoo Foundation
898 -# Distributed under the terms of the GNU General Public License v2
899 -
900 -EAPI=5
901 -PYTHON_COMPAT=( python2_7 )
902 -
903 -inherit eutils flag-o-matic multilib-minimal python-single-r1 systemd user
904 -
905 -MY_P=${PN}-${PV/_/}
906 -DESCRIPTION="A validating, recursive and caching DNS resolver"
907 -HOMEPAGE="http://unbound.net/"
908 -SRC_URI="http://unbound.net/downloads/${MY_P}.tar.gz"
909 -
910 -LICENSE="BSD GPL-2"
911 -SLOT="0"
912 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
913 -IUSE="debug dnscrypt dnstap +ecdsa gost libressl python selinux static-libs systemd test threads"
914 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
915 -
916 -# Note: expat is needed by executable only but the Makefile is custom
917 -# and doesn't make it possible to easily install the library without
918 -# the executables. MULTILIB_USEDEP may be dropped once build system
919 -# is fixed.
920 -
921 -CDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
922 - >=dev-libs/libevent-2.0.21:0=[${MULTILIB_USEDEP}]
923 - libressl? ( >=dev-libs/libressl-2.2.4:0[${MULTILIB_USEDEP}] )
924 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
925 - dnscrypt? ( dev-libs/libsodium[${MULTILIB_USEDEP}] )
926 - dnstap? (
927 - dev-libs/fstrm[${MULTILIB_USEDEP}]
928 - >=dev-libs/protobuf-c-1.0.2-r1[${MULTILIB_USEDEP}]
929 - )
930 - ecdsa? (
931 - !libressl? ( dev-libs/openssl:0[-bindist] )
932 - )
933 - python? ( ${PYTHON_DEPS} )"
934 -
935 -DEPEND="${CDEPEND}
936 - python? ( dev-lang/swig )
937 - test? (
938 - net-dns/ldns-utils[examples]
939 - dev-util/splint
940 - app-text/wdiff
941 - )
942 - systemd? ( sys-apps/systemd )
943 - virtual/pkgconfig"
944 -
945 -RDEPEND="${CDEPEND}
946 - selinux? ( sec-policy/selinux-bind )"
947 -
948 -# bug #347415
949 -RDEPEND="${RDEPEND}
950 - net-dns/dnssec-root"
951 -
952 -S=${WORKDIR}/${MY_P}
953 -
954 -pkg_setup() {
955 - enewgroup unbound
956 - enewuser unbound -1 -1 /etc/unbound unbound
957 -
958 - use python && python-single-r1_pkg_setup
959 -}
960 -
961 -src_prepare() {
962 - # To avoid below error messages, set 'trust-anchor-file' to same value in
963 - # 'auto-trust-anchor-file'.
964 - # [23109:0] error: Could not open autotrust file for writing,
965 - # /etc/dnssec/root-anchors.txt: Permission denied
966 - epatch "${FILESDIR}"/${PN}-1.5.7-trust-anchor-file.patch
967 -
968 - # required for the python part
969 - multilib_copy_sources
970 -}
971 -
972 -src_configure() {
973 - [[ ${CHOST} == *-darwin* ]] || append-ldflags -Wl,-z,noexecstack
974 - multilib-minimal_src_configure
975 -}
976 -
977 -multilib_src_configure() {
978 - econf \
979 - $(use_enable debug) \
980 - $(use_enable gost) \
981 - $(use_enable dnscrypt) \
982 - $(use_enable dnstap) \
983 - $(use_enable ecdsa) \
984 - $(use_enable static-libs static) \
985 - $(use_enable systemd) \
986 - $(multilib_native_use_with python pythonmodule) \
987 - $(multilib_native_use_with python pyunbound) \
988 - $(use_with threads pthreads) \
989 - --disable-flto \
990 - --disable-rpath \
991 - --with-libevent="${EPREFIX}"/usr \
992 - --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
993 - --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \
994 - --with-ssl="${EPREFIX}"/usr \
995 - --with-libexpat="${EPREFIX}"/usr
996 -
997 - # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
998 - # $(use_enable debug lock-checks) \
999 - # $(use_enable debug alloc-checks) \
1000 - # $(use_enable debug alloc-lite) \
1001 - # $(use_enable debug alloc-nonregional) \
1002 -}
1003 -
1004 -multilib_src_install_all() {
1005 - prune_libtool_files --modules
1006 - use python && python_optimize
1007 -
1008 - newinitd "${FILESDIR}"/unbound.initd unbound
1009 - newconfd "${FILESDIR}"/unbound.confd unbound
1010 -
1011 - systemd_dounit "${FILESDIR}"/unbound.service
1012 - systemd_dounit "${FILESDIR}"/unbound.socket
1013 - systemd_newunit "${FILESDIR}"/unbound_at.service "unbound@.service"
1014 - systemd_dounit "${FILESDIR}"/unbound-anchor.service
1015 -
1016 - dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES}
1017 -
1018 - # bug #315519
1019 - dodoc contrib/unbound_munin_
1020 -
1021 - docinto selinux
1022 - dodoc contrib/selinux/*
1023 -
1024 - exeinto /usr/share/${PN}
1025 - doexe contrib/update-anchor.sh
1026 -}
1027
1028 diff --git a/net-dns/unbound/unbound-1.6.8-r2.ebuild b/net-dns/unbound/unbound-1.6.8-r2.ebuild
1029 deleted file mode 100644
1030 index 9edf230ed88..00000000000
1031 --- a/net-dns/unbound/unbound-1.6.8-r2.ebuild
1032 +++ /dev/null
1033 @@ -1,156 +0,0 @@
1034 -# Copyright 1999-2018 Gentoo Foundation
1035 -# Distributed under the terms of the GNU General Public License v2
1036 -
1037 -EAPI=5
1038 -PYTHON_COMPAT=( python2_7 )
1039 -
1040 -inherit eutils flag-o-matic multilib-minimal python-single-r1 systemd user
1041 -
1042 -MY_P=${PN}-${PV/_/}
1043 -DESCRIPTION="A validating, recursive and caching DNS resolver"
1044 -HOMEPAGE="http://unbound.net/"
1045 -SRC_URI="http://unbound.net/downloads/${MY_P}.tar.gz"
1046 -
1047 -LICENSE="BSD GPL-2"
1048 -SLOT="0"
1049 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
1050 -IUSE="debug dnscrypt dnstap +ecdsa gost libressl python selinux static-libs systemd test threads"
1051 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
1052 -
1053 -# Note: expat is needed by executable only but the Makefile is custom
1054 -# and doesn't make it possible to easily install the library without
1055 -# the executables. MULTILIB_USEDEP may be dropped once build system
1056 -# is fixed.
1057 -
1058 -CDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
1059 - >=dev-libs/libevent-2.0.21:0=[${MULTILIB_USEDEP}]
1060 - libressl? ( >=dev-libs/libressl-2.2.4:0[${MULTILIB_USEDEP}] )
1061 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
1062 - dnscrypt? ( dev-libs/libsodium[${MULTILIB_USEDEP}] )
1063 - dnstap? (
1064 - dev-libs/fstrm[${MULTILIB_USEDEP}]
1065 - >=dev-libs/protobuf-c-1.0.2-r1[${MULTILIB_USEDEP}]
1066 - )
1067 - ecdsa? (
1068 - !libressl? ( dev-libs/openssl:0[-bindist] )
1069 - )
1070 - python? ( ${PYTHON_DEPS} )"
1071 -
1072 -DEPEND="${CDEPEND}
1073 - python? ( dev-lang/swig )
1074 - test? (
1075 - net-dns/ldns-utils[examples]
1076 - dev-util/splint
1077 - app-text/wdiff
1078 - )
1079 - systemd? ( sys-apps/systemd )
1080 - virtual/pkgconfig"
1081 -
1082 -RDEPEND="${CDEPEND}
1083 - selinux? ( sec-policy/selinux-bind )"
1084 -
1085 -# bug #347415
1086 -RDEPEND="${RDEPEND}
1087 - net-dns/dnssec-root"
1088 -
1089 -S=${WORKDIR}/${MY_P}
1090 -
1091 -pkg_setup() {
1092 - enewgroup unbound
1093 - enewuser unbound -1 -1 /etc/unbound unbound
1094 - # improve security on existing installs (bug #641042)
1095 - # as well as new installs where unbound homedir has just been created
1096 - if [[ -d "${ROOT}/etc/unbound" ]]; then
1097 - chown --no-dereference --from=unbound root "${ROOT}/etc/unbound"
1098 - fi
1099 -
1100 - use python && python-single-r1_pkg_setup
1101 -}
1102 -
1103 -src_prepare() {
1104 - # To avoid below error messages, set 'trust-anchor-file' to same value in
1105 - # 'auto-trust-anchor-file'.
1106 - # [23109:0] error: Could not open autotrust file for writing,
1107 - # /etc/dnssec/root-anchors.txt: Permission denied
1108 - epatch "${FILESDIR}"/${PN}-1.5.7-trust-anchor-file.patch
1109 -
1110 - # required for the python part
1111 - multilib_copy_sources
1112 -}
1113 -
1114 -src_configure() {
1115 - [[ ${CHOST} == *-darwin* ]] || append-ldflags -Wl,-z,noexecstack
1116 - multilib-minimal_src_configure
1117 -}
1118 -
1119 -multilib_src_configure() {
1120 - econf \
1121 - $(use_enable debug) \
1122 - $(use_enable gost) \
1123 - $(use_enable dnscrypt) \
1124 - $(use_enable dnstap) \
1125 - $(use_enable ecdsa) \
1126 - $(use_enable static-libs static) \
1127 - $(use_enable systemd) \
1128 - $(multilib_native_use_with python pythonmodule) \
1129 - $(multilib_native_use_with python pyunbound) \
1130 - $(use_with threads pthreads) \
1131 - --disable-flto \
1132 - --disable-rpath \
1133 - --with-libevent="${EPREFIX}"/usr \
1134 - --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
1135 - --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \
1136 - --with-ssl="${EPREFIX}"/usr \
1137 - --with-libexpat="${EPREFIX}"/usr
1138 -
1139 - # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
1140 - # $(use_enable debug lock-checks) \
1141 - # $(use_enable debug alloc-checks) \
1142 - # $(use_enable debug alloc-lite) \
1143 - # $(use_enable debug alloc-nonregional) \
1144 -}
1145 -
1146 -multilib_src_install_all() {
1147 - prune_libtool_files --modules
1148 - use python && python_optimize
1149 -
1150 - newinitd "${FILESDIR}"/unbound.initd unbound
1151 - newconfd "${FILESDIR}"/unbound.confd unbound
1152 -
1153 - systemd_dounit "${FILESDIR}"/unbound.service
1154 - systemd_dounit "${FILESDIR}"/unbound.socket
1155 - systemd_newunit "${FILESDIR}"/unbound_at.service "unbound@.service"
1156 - systemd_dounit "${FILESDIR}"/unbound-anchor.service
1157 -
1158 - dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES}
1159 -
1160 - # bug #315519
1161 - dodoc contrib/unbound_munin_
1162 -
1163 - docinto selinux
1164 - dodoc contrib/selinux/*
1165 -
1166 - exeinto /usr/share/${PN}
1167 - doexe contrib/update-anchor.sh
1168 -
1169 - # create space for auto-trust-anchor-file...
1170 - keepdir /etc/unbound/var
1171 - # ... and point example config to it
1172 - sed -i '/# auto-trust-anchor-file:/s,/etc/dnssec/root-anchors.txt,/etc/unbound/var/root-anchors.txt,' "${ED}/etc/unbound/unbound.conf"
1173 -}
1174 -
1175 -pkg_postinst() {
1176 - # make var/ writable by unbound
1177 - if [[ -d "${ROOT}/etc/unbound/var" ]]; then
1178 - chown --no-dereference --from=root unbound: "${ROOT}/etc/unbound/var"
1179 - fi
1180 - einfo ""
1181 - einfo "If you want unbound to automatically update the root-anchor file for DNSSEC validation"
1182 - einfo "set 'auto-trust-anchor-file: /etc/unbound/var/root-anchors.txt' in /etc/unbound/unbound.conf"
1183 - einfo "and run"
1184 - einfo ""
1185 - einfo " su -s /bin/sh -c '/usr/sbin/unbound-anchor -a /etc/unbound/var/root-anchors.txt' unbound"
1186 - einfo ""
1187 - einfo "as root to create it initially before starting unbound for the first time after enabling this."
1188 - einfo ""
1189 -}
1190
1191 diff --git a/net-dns/unbound/unbound-1.6.8.ebuild b/net-dns/unbound/unbound-1.6.8.ebuild
1192 deleted file mode 100644
1193 index 4006dee6f04..00000000000
1194 --- a/net-dns/unbound/unbound-1.6.8.ebuild
1195 +++ /dev/null
1196 @@ -1,130 +0,0 @@
1197 -# Copyright 1999-2018 Gentoo Foundation
1198 -# Distributed under the terms of the GNU General Public License v2
1199 -
1200 -EAPI=5
1201 -PYTHON_COMPAT=( python2_7 )
1202 -
1203 -inherit eutils flag-o-matic multilib-minimal python-single-r1 systemd user
1204 -
1205 -MY_P=${PN}-${PV/_/}
1206 -DESCRIPTION="A validating, recursive and caching DNS resolver"
1207 -HOMEPAGE="http://unbound.net/"
1208 -SRC_URI="http://unbound.net/downloads/${MY_P}.tar.gz"
1209 -
1210 -LICENSE="BSD GPL-2"
1211 -SLOT="0"
1212 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
1213 -IUSE="debug dnscrypt dnstap +ecdsa gost libressl python selinux static-libs systemd test threads"
1214 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
1215 -
1216 -# Note: expat is needed by executable only but the Makefile is custom
1217 -# and doesn't make it possible to easily install the library without
1218 -# the executables. MULTILIB_USEDEP may be dropped once build system
1219 -# is fixed.
1220 -
1221 -CDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
1222 - >=dev-libs/libevent-2.0.21:0=[${MULTILIB_USEDEP}]
1223 - libressl? ( >=dev-libs/libressl-2.2.4:0[${MULTILIB_USEDEP}] )
1224 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
1225 - dnscrypt? ( dev-libs/libsodium[${MULTILIB_USEDEP}] )
1226 - dnstap? (
1227 - dev-libs/fstrm[${MULTILIB_USEDEP}]
1228 - >=dev-libs/protobuf-c-1.0.2-r1[${MULTILIB_USEDEP}]
1229 - )
1230 - ecdsa? (
1231 - !libressl? ( dev-libs/openssl:0[-bindist] )
1232 - )
1233 - python? ( ${PYTHON_DEPS} )"
1234 -
1235 -DEPEND="${CDEPEND}
1236 - python? ( dev-lang/swig )
1237 - test? (
1238 - net-dns/ldns-utils[examples]
1239 - dev-util/splint
1240 - app-text/wdiff
1241 - )
1242 - systemd? ( sys-apps/systemd )
1243 - virtual/pkgconfig"
1244 -
1245 -RDEPEND="${CDEPEND}
1246 - selinux? ( sec-policy/selinux-bind )"
1247 -
1248 -# bug #347415
1249 -RDEPEND="${RDEPEND}
1250 - net-dns/dnssec-root"
1251 -
1252 -S=${WORKDIR}/${MY_P}
1253 -
1254 -pkg_setup() {
1255 - enewgroup unbound
1256 - enewuser unbound -1 -1 /etc/unbound unbound
1257 -
1258 - use python && python-single-r1_pkg_setup
1259 -}
1260 -
1261 -src_prepare() {
1262 - # To avoid below error messages, set 'trust-anchor-file' to same value in
1263 - # 'auto-trust-anchor-file'.
1264 - # [23109:0] error: Could not open autotrust file for writing,
1265 - # /etc/dnssec/root-anchors.txt: Permission denied
1266 - epatch "${FILESDIR}"/${PN}-1.5.7-trust-anchor-file.patch
1267 -
1268 - # required for the python part
1269 - multilib_copy_sources
1270 -}
1271 -
1272 -src_configure() {
1273 - [[ ${CHOST} == *-darwin* ]] || append-ldflags -Wl,-z,noexecstack
1274 - multilib-minimal_src_configure
1275 -}
1276 -
1277 -multilib_src_configure() {
1278 - econf \
1279 - $(use_enable debug) \
1280 - $(use_enable gost) \
1281 - $(use_enable dnscrypt) \
1282 - $(use_enable dnstap) \
1283 - $(use_enable ecdsa) \
1284 - $(use_enable static-libs static) \
1285 - $(use_enable systemd) \
1286 - $(multilib_native_use_with python pythonmodule) \
1287 - $(multilib_native_use_with python pyunbound) \
1288 - $(use_with threads pthreads) \
1289 - --disable-flto \
1290 - --disable-rpath \
1291 - --with-libevent="${EPREFIX}"/usr \
1292 - --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
1293 - --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \
1294 - --with-ssl="${EPREFIX}"/usr \
1295 - --with-libexpat="${EPREFIX}"/usr
1296 -
1297 - # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
1298 - # $(use_enable debug lock-checks) \
1299 - # $(use_enable debug alloc-checks) \
1300 - # $(use_enable debug alloc-lite) \
1301 - # $(use_enable debug alloc-nonregional) \
1302 -}
1303 -
1304 -multilib_src_install_all() {
1305 - prune_libtool_files --modules
1306 - use python && python_optimize
1307 -
1308 - newinitd "${FILESDIR}"/unbound.initd unbound
1309 - newconfd "${FILESDIR}"/unbound.confd unbound
1310 -
1311 - systemd_dounit "${FILESDIR}"/unbound.service
1312 - systemd_dounit "${FILESDIR}"/unbound.socket
1313 - systemd_newunit "${FILESDIR}"/unbound_at.service "unbound@.service"
1314 - systemd_dounit "${FILESDIR}"/unbound-anchor.service
1315 -
1316 - dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES}
1317 -
1318 - # bug #315519
1319 - dodoc contrib/unbound_munin_
1320 -
1321 - docinto selinux
1322 - dodoc contrib/selinux/*
1323 -
1324 - exeinto /usr/share/${PN}
1325 - doexe contrib/update-anchor.sh
1326 -}
1327
1328 diff --git a/net-dns/unbound/unbound-1.7.0.ebuild b/net-dns/unbound/unbound-1.7.0.ebuild
1329 deleted file mode 100644
1330 index 9edf230ed88..00000000000
1331 --- a/net-dns/unbound/unbound-1.7.0.ebuild
1332 +++ /dev/null
1333 @@ -1,156 +0,0 @@
1334 -# Copyright 1999-2018 Gentoo Foundation
1335 -# Distributed under the terms of the GNU General Public License v2
1336 -
1337 -EAPI=5
1338 -PYTHON_COMPAT=( python2_7 )
1339 -
1340 -inherit eutils flag-o-matic multilib-minimal python-single-r1 systemd user
1341 -
1342 -MY_P=${PN}-${PV/_/}
1343 -DESCRIPTION="A validating, recursive and caching DNS resolver"
1344 -HOMEPAGE="http://unbound.net/"
1345 -SRC_URI="http://unbound.net/downloads/${MY_P}.tar.gz"
1346 -
1347 -LICENSE="BSD GPL-2"
1348 -SLOT="0"
1349 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
1350 -IUSE="debug dnscrypt dnstap +ecdsa gost libressl python selinux static-libs systemd test threads"
1351 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
1352 -
1353 -# Note: expat is needed by executable only but the Makefile is custom
1354 -# and doesn't make it possible to easily install the library without
1355 -# the executables. MULTILIB_USEDEP may be dropped once build system
1356 -# is fixed.
1357 -
1358 -CDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
1359 - >=dev-libs/libevent-2.0.21:0=[${MULTILIB_USEDEP}]
1360 - libressl? ( >=dev-libs/libressl-2.2.4:0[${MULTILIB_USEDEP}] )
1361 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
1362 - dnscrypt? ( dev-libs/libsodium[${MULTILIB_USEDEP}] )
1363 - dnstap? (
1364 - dev-libs/fstrm[${MULTILIB_USEDEP}]
1365 - >=dev-libs/protobuf-c-1.0.2-r1[${MULTILIB_USEDEP}]
1366 - )
1367 - ecdsa? (
1368 - !libressl? ( dev-libs/openssl:0[-bindist] )
1369 - )
1370 - python? ( ${PYTHON_DEPS} )"
1371 -
1372 -DEPEND="${CDEPEND}
1373 - python? ( dev-lang/swig )
1374 - test? (
1375 - net-dns/ldns-utils[examples]
1376 - dev-util/splint
1377 - app-text/wdiff
1378 - )
1379 - systemd? ( sys-apps/systemd )
1380 - virtual/pkgconfig"
1381 -
1382 -RDEPEND="${CDEPEND}
1383 - selinux? ( sec-policy/selinux-bind )"
1384 -
1385 -# bug #347415
1386 -RDEPEND="${RDEPEND}
1387 - net-dns/dnssec-root"
1388 -
1389 -S=${WORKDIR}/${MY_P}
1390 -
1391 -pkg_setup() {
1392 - enewgroup unbound
1393 - enewuser unbound -1 -1 /etc/unbound unbound
1394 - # improve security on existing installs (bug #641042)
1395 - # as well as new installs where unbound homedir has just been created
1396 - if [[ -d "${ROOT}/etc/unbound" ]]; then
1397 - chown --no-dereference --from=unbound root "${ROOT}/etc/unbound"
1398 - fi
1399 -
1400 - use python && python-single-r1_pkg_setup
1401 -}
1402 -
1403 -src_prepare() {
1404 - # To avoid below error messages, set 'trust-anchor-file' to same value in
1405 - # 'auto-trust-anchor-file'.
1406 - # [23109:0] error: Could not open autotrust file for writing,
1407 - # /etc/dnssec/root-anchors.txt: Permission denied
1408 - epatch "${FILESDIR}"/${PN}-1.5.7-trust-anchor-file.patch
1409 -
1410 - # required for the python part
1411 - multilib_copy_sources
1412 -}
1413 -
1414 -src_configure() {
1415 - [[ ${CHOST} == *-darwin* ]] || append-ldflags -Wl,-z,noexecstack
1416 - multilib-minimal_src_configure
1417 -}
1418 -
1419 -multilib_src_configure() {
1420 - econf \
1421 - $(use_enable debug) \
1422 - $(use_enable gost) \
1423 - $(use_enable dnscrypt) \
1424 - $(use_enable dnstap) \
1425 - $(use_enable ecdsa) \
1426 - $(use_enable static-libs static) \
1427 - $(use_enable systemd) \
1428 - $(multilib_native_use_with python pythonmodule) \
1429 - $(multilib_native_use_with python pyunbound) \
1430 - $(use_with threads pthreads) \
1431 - --disable-flto \
1432 - --disable-rpath \
1433 - --with-libevent="${EPREFIX}"/usr \
1434 - --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
1435 - --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \
1436 - --with-ssl="${EPREFIX}"/usr \
1437 - --with-libexpat="${EPREFIX}"/usr
1438 -
1439 - # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
1440 - # $(use_enable debug lock-checks) \
1441 - # $(use_enable debug alloc-checks) \
1442 - # $(use_enable debug alloc-lite) \
1443 - # $(use_enable debug alloc-nonregional) \
1444 -}
1445 -
1446 -multilib_src_install_all() {
1447 - prune_libtool_files --modules
1448 - use python && python_optimize
1449 -
1450 - newinitd "${FILESDIR}"/unbound.initd unbound
1451 - newconfd "${FILESDIR}"/unbound.confd unbound
1452 -
1453 - systemd_dounit "${FILESDIR}"/unbound.service
1454 - systemd_dounit "${FILESDIR}"/unbound.socket
1455 - systemd_newunit "${FILESDIR}"/unbound_at.service "unbound@.service"
1456 - systemd_dounit "${FILESDIR}"/unbound-anchor.service
1457 -
1458 - dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES}
1459 -
1460 - # bug #315519
1461 - dodoc contrib/unbound_munin_
1462 -
1463 - docinto selinux
1464 - dodoc contrib/selinux/*
1465 -
1466 - exeinto /usr/share/${PN}
1467 - doexe contrib/update-anchor.sh
1468 -
1469 - # create space for auto-trust-anchor-file...
1470 - keepdir /etc/unbound/var
1471 - # ... and point example config to it
1472 - sed -i '/# auto-trust-anchor-file:/s,/etc/dnssec/root-anchors.txt,/etc/unbound/var/root-anchors.txt,' "${ED}/etc/unbound/unbound.conf"
1473 -}
1474 -
1475 -pkg_postinst() {
1476 - # make var/ writable by unbound
1477 - if [[ -d "${ROOT}/etc/unbound/var" ]]; then
1478 - chown --no-dereference --from=root unbound: "${ROOT}/etc/unbound/var"
1479 - fi
1480 - einfo ""
1481 - einfo "If you want unbound to automatically update the root-anchor file for DNSSEC validation"
1482 - einfo "set 'auto-trust-anchor-file: /etc/unbound/var/root-anchors.txt' in /etc/unbound/unbound.conf"
1483 - einfo "and run"
1484 - einfo ""
1485 - einfo " su -s /bin/sh -c '/usr/sbin/unbound-anchor -a /etc/unbound/var/root-anchors.txt' unbound"
1486 - einfo ""
1487 - einfo "as root to create it initially before starting unbound for the first time after enabling this."
1488 - einfo ""
1489 -}
1490
1491 diff --git a/net-dns/unbound/unbound-1.7.1.ebuild b/net-dns/unbound/unbound-1.7.1.ebuild
1492 deleted file mode 100644
1493 index 9edf230ed88..00000000000
1494 --- a/net-dns/unbound/unbound-1.7.1.ebuild
1495 +++ /dev/null
1496 @@ -1,156 +0,0 @@
1497 -# Copyright 1999-2018 Gentoo Foundation
1498 -# Distributed under the terms of the GNU General Public License v2
1499 -
1500 -EAPI=5
1501 -PYTHON_COMPAT=( python2_7 )
1502 -
1503 -inherit eutils flag-o-matic multilib-minimal python-single-r1 systemd user
1504 -
1505 -MY_P=${PN}-${PV/_/}
1506 -DESCRIPTION="A validating, recursive and caching DNS resolver"
1507 -HOMEPAGE="http://unbound.net/"
1508 -SRC_URI="http://unbound.net/downloads/${MY_P}.tar.gz"
1509 -
1510 -LICENSE="BSD GPL-2"
1511 -SLOT="0"
1512 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
1513 -IUSE="debug dnscrypt dnstap +ecdsa gost libressl python selinux static-libs systemd test threads"
1514 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
1515 -
1516 -# Note: expat is needed by executable only but the Makefile is custom
1517 -# and doesn't make it possible to easily install the library without
1518 -# the executables. MULTILIB_USEDEP may be dropped once build system
1519 -# is fixed.
1520 -
1521 -CDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
1522 - >=dev-libs/libevent-2.0.21:0=[${MULTILIB_USEDEP}]
1523 - libressl? ( >=dev-libs/libressl-2.2.4:0[${MULTILIB_USEDEP}] )
1524 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
1525 - dnscrypt? ( dev-libs/libsodium[${MULTILIB_USEDEP}] )
1526 - dnstap? (
1527 - dev-libs/fstrm[${MULTILIB_USEDEP}]
1528 - >=dev-libs/protobuf-c-1.0.2-r1[${MULTILIB_USEDEP}]
1529 - )
1530 - ecdsa? (
1531 - !libressl? ( dev-libs/openssl:0[-bindist] )
1532 - )
1533 - python? ( ${PYTHON_DEPS} )"
1534 -
1535 -DEPEND="${CDEPEND}
1536 - python? ( dev-lang/swig )
1537 - test? (
1538 - net-dns/ldns-utils[examples]
1539 - dev-util/splint
1540 - app-text/wdiff
1541 - )
1542 - systemd? ( sys-apps/systemd )
1543 - virtual/pkgconfig"
1544 -
1545 -RDEPEND="${CDEPEND}
1546 - selinux? ( sec-policy/selinux-bind )"
1547 -
1548 -# bug #347415
1549 -RDEPEND="${RDEPEND}
1550 - net-dns/dnssec-root"
1551 -
1552 -S=${WORKDIR}/${MY_P}
1553 -
1554 -pkg_setup() {
1555 - enewgroup unbound
1556 - enewuser unbound -1 -1 /etc/unbound unbound
1557 - # improve security on existing installs (bug #641042)
1558 - # as well as new installs where unbound homedir has just been created
1559 - if [[ -d "${ROOT}/etc/unbound" ]]; then
1560 - chown --no-dereference --from=unbound root "${ROOT}/etc/unbound"
1561 - fi
1562 -
1563 - use python && python-single-r1_pkg_setup
1564 -}
1565 -
1566 -src_prepare() {
1567 - # To avoid below error messages, set 'trust-anchor-file' to same value in
1568 - # 'auto-trust-anchor-file'.
1569 - # [23109:0] error: Could not open autotrust file for writing,
1570 - # /etc/dnssec/root-anchors.txt: Permission denied
1571 - epatch "${FILESDIR}"/${PN}-1.5.7-trust-anchor-file.patch
1572 -
1573 - # required for the python part
1574 - multilib_copy_sources
1575 -}
1576 -
1577 -src_configure() {
1578 - [[ ${CHOST} == *-darwin* ]] || append-ldflags -Wl,-z,noexecstack
1579 - multilib-minimal_src_configure
1580 -}
1581 -
1582 -multilib_src_configure() {
1583 - econf \
1584 - $(use_enable debug) \
1585 - $(use_enable gost) \
1586 - $(use_enable dnscrypt) \
1587 - $(use_enable dnstap) \
1588 - $(use_enable ecdsa) \
1589 - $(use_enable static-libs static) \
1590 - $(use_enable systemd) \
1591 - $(multilib_native_use_with python pythonmodule) \
1592 - $(multilib_native_use_with python pyunbound) \
1593 - $(use_with threads pthreads) \
1594 - --disable-flto \
1595 - --disable-rpath \
1596 - --with-libevent="${EPREFIX}"/usr \
1597 - --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
1598 - --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \
1599 - --with-ssl="${EPREFIX}"/usr \
1600 - --with-libexpat="${EPREFIX}"/usr
1601 -
1602 - # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
1603 - # $(use_enable debug lock-checks) \
1604 - # $(use_enable debug alloc-checks) \
1605 - # $(use_enable debug alloc-lite) \
1606 - # $(use_enable debug alloc-nonregional) \
1607 -}
1608 -
1609 -multilib_src_install_all() {
1610 - prune_libtool_files --modules
1611 - use python && python_optimize
1612 -
1613 - newinitd "${FILESDIR}"/unbound.initd unbound
1614 - newconfd "${FILESDIR}"/unbound.confd unbound
1615 -
1616 - systemd_dounit "${FILESDIR}"/unbound.service
1617 - systemd_dounit "${FILESDIR}"/unbound.socket
1618 - systemd_newunit "${FILESDIR}"/unbound_at.service "unbound@.service"
1619 - systemd_dounit "${FILESDIR}"/unbound-anchor.service
1620 -
1621 - dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES}
1622 -
1623 - # bug #315519
1624 - dodoc contrib/unbound_munin_
1625 -
1626 - docinto selinux
1627 - dodoc contrib/selinux/*
1628 -
1629 - exeinto /usr/share/${PN}
1630 - doexe contrib/update-anchor.sh
1631 -
1632 - # create space for auto-trust-anchor-file...
1633 - keepdir /etc/unbound/var
1634 - # ... and point example config to it
1635 - sed -i '/# auto-trust-anchor-file:/s,/etc/dnssec/root-anchors.txt,/etc/unbound/var/root-anchors.txt,' "${ED}/etc/unbound/unbound.conf"
1636 -}
1637 -
1638 -pkg_postinst() {
1639 - # make var/ writable by unbound
1640 - if [[ -d "${ROOT}/etc/unbound/var" ]]; then
1641 - chown --no-dereference --from=root unbound: "${ROOT}/etc/unbound/var"
1642 - fi
1643 - einfo ""
1644 - einfo "If you want unbound to automatically update the root-anchor file for DNSSEC validation"
1645 - einfo "set 'auto-trust-anchor-file: /etc/unbound/var/root-anchors.txt' in /etc/unbound/unbound.conf"
1646 - einfo "and run"
1647 - einfo ""
1648 - einfo " su -s /bin/sh -c '/usr/sbin/unbound-anchor -a /etc/unbound/var/root-anchors.txt' unbound"
1649 - einfo ""
1650 - einfo "as root to create it initially before starting unbound for the first time after enabling this."
1651 - einfo ""
1652 -}
1653
1654 diff --git a/net-dns/unbound/unbound-1.7.3-r1.ebuild b/net-dns/unbound/unbound-1.7.3-r1.ebuild
1655 deleted file mode 100644
1656 index ee301c92356..00000000000
1657 --- a/net-dns/unbound/unbound-1.7.3-r1.ebuild
1658 +++ /dev/null
1659 @@ -1,169 +0,0 @@
1660 -# Copyright 1999-2018 Gentoo Foundation
1661 -# Distributed under the terms of the GNU General Public License v2
1662 -
1663 -EAPI="7"
1664 -PYTHON_COMPAT=( python2_7 )
1665 -
1666 -inherit autotools flag-o-matic multilib-minimal python-single-r1 systemd user
1667 -
1668 -MY_P=${PN}-${PV/_/}
1669 -DESCRIPTION="A validating, recursive and caching DNS resolver"
1670 -HOMEPAGE="https://unbound.net/ https://nlnetlabs.nl/projects/unbound/about/"
1671 -SRC_URI="https://nlnetlabs.nl/downloads/unbound/${MY_P}.tar.gz"
1672 -
1673 -LICENSE="BSD GPL-2"
1674 -SLOT="0/7" # ABI version of libunbound.so
1675 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
1676 -IUSE="debug dnscrypt dnstap +ecdsa gost libressl python selinux static-libs systemd test threads"
1677 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
1678 -
1679 -# Note: expat is needed by executable only but the Makefile is custom
1680 -# and doesn't make it possible to easily install the library without
1681 -# the executables. MULTILIB_USEDEP may be dropped once build system
1682 -# is fixed.
1683 -
1684 -CDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
1685 - >=dev-libs/libevent-2.0.21:0=[${MULTILIB_USEDEP}]
1686 - libressl? ( >=dev-libs/libressl-2.2.4:0[${MULTILIB_USEDEP}] )
1687 - !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0[${MULTILIB_USEDEP}] )
1688 - dnscrypt? ( dev-libs/libsodium[${MULTILIB_USEDEP}] )
1689 - dnstap? (
1690 - dev-libs/fstrm[${MULTILIB_USEDEP}]
1691 - >=dev-libs/protobuf-c-1.0.2-r1[${MULTILIB_USEDEP}]
1692 - )
1693 - ecdsa? (
1694 - !libressl? ( dev-libs/openssl:0[-bindist] )
1695 - )
1696 - python? ( ${PYTHON_DEPS} )"
1697 -
1698 -BDEPEND="virtual/pkgconfig"
1699 -
1700 -DEPEND="${CDEPEND}
1701 - python? ( dev-lang/swig )
1702 - test? (
1703 - net-dns/ldns-utils[examples]
1704 - dev-util/splint
1705 - app-text/wdiff
1706 - )
1707 - systemd? ( sys-apps/systemd )"
1708 -
1709 -RDEPEND="${CDEPEND}
1710 - net-dns/dnssec-root
1711 - selinux? ( sec-policy/selinux-bind )"
1712 -
1713 -# bug #347415
1714 -RDEPEND="${RDEPEND}
1715 - net-dns/dnssec-root"
1716 -
1717 -PATCHES=(
1718 - "${FILESDIR}"/${PN}-1.5.7-trust-anchor-file.patch
1719 - "${FILESDIR}"/${PN}-1.6.3-pkg-config.patch
1720 -)
1721 -
1722 -S=${WORKDIR}/${MY_P}
1723 -
1724 -pkg_setup() {
1725 - enewgroup unbound
1726 - enewuser unbound -1 -1 /etc/unbound unbound
1727 - # improve security on existing installs (bug #641042)
1728 - # as well as new installs where unbound homedir has just been created
1729 - if [[ -d "${ROOT}/etc/unbound" ]]; then
1730 - chown --no-dereference --from=unbound root "${ROOT}/etc/unbound"
1731 - fi
1732 -
1733 - use python && python-single-r1_pkg_setup
1734 -}
1735 -
1736 -src_prepare() {
1737 - default
1738 -
1739 - eautoreconf
1740 -
1741 - # required for the python part
1742 - multilib_copy_sources
1743 -}
1744 -
1745 -src_configure() {
1746 - [[ ${CHOST} == *-darwin* ]] || append-ldflags -Wl,-z,noexecstack
1747 - multilib-minimal_src_configure
1748 -}
1749 -
1750 -multilib_src_configure() {
1751 - econf \
1752 - $(use_enable debug) \
1753 - $(use_enable gost) \
1754 - $(use_enable dnscrypt) \
1755 - $(use_enable dnstap) \
1756 - $(use_enable ecdsa) \
1757 - $(use_enable static-libs static) \
1758 - $(use_enable systemd) \
1759 - $(multilib_native_use_with python pythonmodule) \
1760 - $(multilib_native_use_with python pyunbound) \
1761 - $(use_with threads pthreads) \
1762 - --disable-flto \
1763 - --disable-rpath \
1764 - --with-libevent="${EPREFIX%/}"/usr \
1765 - --with-pidfile="${EPREFIX%/}"/run/unbound.pid \
1766 - --with-rootkey-file="${EPREFIX%/}"/etc/dnssec/root-anchors.txt \
1767 - --with-ssl="${EPREFIX%/}"/usr \
1768 - --with-libexpat="${EPREFIX%/}"/usr
1769 -
1770 - # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html
1771 - # $(use_enable debug lock-checks) \
1772 - # $(use_enable debug alloc-checks) \
1773 - # $(use_enable debug alloc-lite) \
1774 - # $(use_enable debug alloc-nonregional) \
1775 -}
1776 -
1777 -multilib_src_install_all() {
1778 - use python && python_optimize
1779 -
1780 - newinitd "${FILESDIR}"/unbound-r1.initd unbound
1781 - newconfd "${FILESDIR}"/unbound-r1.confd unbound
1782 -
1783 - systemd_dounit "${FILESDIR}"/unbound.service
1784 - systemd_dounit "${FILESDIR}"/unbound.socket
1785 - systemd_newunit "${FILESDIR}"/unbound_at.service "unbound@.service"
1786 - systemd_dounit "${FILESDIR}"/unbound-anchor.service
1787 -
1788 - dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES}
1789 -
1790 - # bug #315519
1791 - dodoc contrib/unbound_munin_
1792 -
1793 - docinto selinux
1794 - dodoc contrib/selinux/*
1795 -
1796 - exeinto /usr/share/${PN}
1797 - doexe contrib/update-anchor.sh
1798 -
1799 - # create space for auto-trust-anchor-file...
1800 - keepdir /etc/unbound/var
1801 - # ... and point example config to it
1802 - sed -i \
1803 - -e '/# auto-trust-anchor-file:/s,/etc/dnssec/root-anchors.txt,/etc/unbound/var/root-anchors.txt,' \
1804 - "${ED%/}/etc/unbound/unbound.conf" || \
1805 - die
1806 -
1807 - find "${ED}" -name '*.la' -delete || die
1808 - if ! use static-libs ; then
1809 - find "${ED}" -name "*.a" -delete || die
1810 - fi
1811 -}
1812 -
1813 -pkg_postinst() {
1814 - # make var/ writable by unbound
1815 - if [[ -d "${EROOT%/}/etc/unbound/var" ]]; then
1816 - chown --no-dereference --from=root unbound: "${EROOT%/}/etc/unbound/var"
1817 - fi
1818 -
1819 - einfo ""
1820 - einfo "If you want unbound to automatically update the root-anchor file for DNSSEC validation"
1821 - einfo "set 'auto-trust-anchor-file: ${EROOT%/}/etc/unbound/var/root-anchors.txt' in ${EROOT%/}/etc/unbound/unbound.conf"
1822 - einfo "and run"
1823 - einfo ""
1824 - einfo " su -s /bin/sh -c '${EROOT%/}/usr/sbin/unbound-anchor -a ${EROOT%/}/etc/unbound/var/root-anchors.txt' unbound"
1825 - einfo ""
1826 - einfo "as root to create it initially before starting unbound for the first time after enabling this."
1827 - einfo ""
1828 -}