1 |
commit: 411c750707380365e61d23cf9d1d1e4724ec5e50 |
2 |
Author: Sven Wegener <swegener <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 30 11:23:48 2016 +0000 |
4 |
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 30 11:26:36 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=411c7507 |
7 |
|
8 |
net-dns/pdns-recursor: Cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.0, Repoman-2.3.1 |
11 |
|
12 |
net-dns/pdns-recursor/Manifest | 5 -- |
13 |
net-dns/pdns-recursor/files/precursor | 28 -------- |
14 |
net-dns/pdns-recursor/files/recursor.conf | 21 ------ |
15 |
net-dns/pdns-recursor/pdns-recursor-3.6.4.ebuild | 55 ---------------- |
16 |
net-dns/pdns-recursor/pdns-recursor-3.7.3.ebuild | 61 ------------------ |
17 |
.../pdns-recursor/pdns-recursor-4.0.0-r1.ebuild | 73 --------------------- |
18 |
net-dns/pdns-recursor/pdns-recursor-4.0.1.ebuild | 75 ---------------------- |
19 |
net-dns/pdns-recursor/pdns-recursor-4.0.2.ebuild | 75 ---------------------- |
20 |
8 files changed, 393 deletions(-) |
21 |
|
22 |
diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest |
23 |
index f5ab239..d92f997 100644 |
24 |
--- a/net-dns/pdns-recursor/Manifest |
25 |
+++ b/net-dns/pdns-recursor/Manifest |
26 |
@@ -1,6 +1 @@ |
27 |
-DIST pdns-recursor-3.6.4.tar.bz2 200278 SHA256 b1ab90cd91b10a4888d0641b39195d5b3dc85d780a9b20c8fd95c117a1c171aa SHA512 c803b3118f5fa75060538fcc7c5ad94458aaee2c989389a10b74f9b476d25dcd9b457e47fed1d4fb73b201b518c6d0581a5cd995db6a9b67a881a73a8e719833 WHIRLPOOL fca1d9d2eb2ef6b54fff54860aa0585fdb2890bade817498d99d52e95a6ac701f6950a8fb49254c631bd9c8ef47d22735489bb4426f8cdf7c6e4f8c3c2f36257 |
28 |
-DIST pdns-recursor-3.7.3.tar.bz2 245192 SHA256 859ca6071147dd2e2ac1b2a5c3d5c2cbff0f5cbc501660db4259e7cbf27fea11 SHA512 35b95130e46d04c91adc3c4676a6e5546ac25d21ec576734162764732993d876d34f0e8124b7b6934c8354c0d042ffa5ec30f138b83a9aeaafcefa3808adcf23 WHIRLPOOL 62bc6b2cb5d6b8350da378af1b3fdf621e5719cd07968603c57dabfdbe384f56971e45c0a757c0b654a727729de55d59798683fe92f5338fc23684d22e372c9a |
29 |
-DIST pdns-recursor-4.0.0.tar.bz2 1034944 SHA256 900a5d5858c9caa825afd9df657dadebcc1842e3068754c19562eeaab8c791fd SHA512 1a0a9ce39e5540a79308721bb47cccde54679570a218cef9740be06cfe9971af88f1cf82b3daabc4c1733484446a4432ffaf4e875ae9532cbb4a9264fcac7798 WHIRLPOOL 0a8577f582390844f0ad7d4aafce977383ed6984f4d4543f442b3b029d68c86c9d41742488edd4dec31fdc38a63bc6bf1333445dab626b9cc714e90589e7579e |
30 |
-DIST pdns-recursor-4.0.1.tar.bz2 1035584 SHA256 472db541307c8ca83a846d260ecfc854fd8e879c1bb2ce5683a8df5d21e860b0 SHA512 3e69606bda3d296b0c3fd9212afa2a098ab04637718356d220a9490bc3e2a0ca97210934d398ad740509cea9e8f8d2ab2e16a1ba75d559f6b82bf64a729ad018 WHIRLPOOL 5702272c34835238b7a63de6bc4bae0836d9879e8e98d97d7f79e08397f5c2f2d75f10878b94c44fdf862ad924635b6f86a65b31312e0fb16ab38f30c4646bac |
31 |
-DIST pdns-recursor-4.0.2.tar.bz2 1045767 SHA256 d0c46bf47a3f9b3100043319ef9cdec83eba2c35f0a268d704d5c3a3facfea41 SHA512 74dea771deb0bcce6209c256f4c2c82a76d34a80a4a67497b58bf8889166a51864c2649527475aa6e6355af8bba86a68d599828274eaa7521006384223f2e937 WHIRLPOOL 4eda1d13a888f31e1dc90ff3238acee8999423197d514a7ba49ce1fc623512d13694ffd0cf8891d4141e34907cc2ff9f30607b327179f4257a8ed89b4d9973d4 |
32 |
DIST pdns-recursor-4.0.3.tar.bz2 1045041 SHA256 ae9813a64d13d9ebe4b44e89e8e4e44fc438693b6ce4c3a98e4cab1af22d9627 SHA512 03c77cff58851f9802eba434fb674d9cbd19b849620996df84b8dccc97539607895e06c1beb662b1ce08146bbc2b51a72bde2d6d90ef88c929ab645d9b5a33c4 WHIRLPOOL 25a6f40bca7575ffa07a87be15c0f6d6943878ed5f9b5cd28fa4eb782048a82aed56e5f76b578be78b5d9078dbd4a2838a1b07da22e125903e677d7e7e60bb8f |
33 |
|
34 |
diff --git a/net-dns/pdns-recursor/files/precursor b/net-dns/pdns-recursor/files/precursor |
35 |
deleted file mode 100644 |
36 |
index 8c6cb9a..00000000 |
37 |
--- a/net-dns/pdns-recursor/files/precursor |
38 |
+++ /dev/null |
39 |
@@ -1,28 +0,0 @@ |
40 |
-#!/sbin/openrc-run |
41 |
-# Copyright 1999-2011 Gentoo Foundation |
42 |
-# Distributed under the terms of the GNU General Public License v2 |
43 |
-# $Id$ |
44 |
- |
45 |
-extra_started_commands="ping" |
46 |
- |
47 |
-depend() { |
48 |
- need net |
49 |
-} |
50 |
- |
51 |
-start() { |
52 |
- ebegin "Starting PowerDNS Recursor" |
53 |
- /usr/sbin/pdns_recursor --daemon=yes &>/dev/null |
54 |
- eend $? |
55 |
-} |
56 |
- |
57 |
-stop() { |
58 |
- ebegin "Stopping PowerDNS Recursor" |
59 |
- /usr/sbin/rec_control quit &>/dev/null |
60 |
- eend $? |
61 |
-} |
62 |
- |
63 |
-ping() { |
64 |
- ebegin "Pinging PowerDNS Recursor" |
65 |
- /usr/sbin/rec_control ping &>/dev/null |
66 |
- eend $? |
67 |
-} |
68 |
|
69 |
diff --git a/net-dns/pdns-recursor/files/recursor.conf b/net-dns/pdns-recursor/files/recursor.conf |
70 |
deleted file mode 100644 |
71 |
index e231b9f..00000000 |
72 |
--- a/net-dns/pdns-recursor/files/recursor.conf |
73 |
+++ /dev/null |
74 |
@@ -1,21 +0,0 @@ |
75 |
-# Copyright 1999-2006 Gentoo Foundation |
76 |
-# Distributed under the terms of the GNU General Public License v2 |
77 |
-# $Id$ |
78 |
- |
79 |
-# Drop uid |
80 |
-setuid=nobody |
81 |
- |
82 |
-# Drop gid |
83 |
-setgid=nobody |
84 |
- |
85 |
-# Don't log queries |
86 |
-quiet=on |
87 |
- |
88 |
-# Local IP address to bind to |
89 |
-local-address=127.0.0.1 |
90 |
- |
91 |
-# Local port to bind to |
92 |
-local-port=53 |
93 |
- |
94 |
-# Change root for safety |
95 |
-chroot=/var/lib/powerdns |
96 |
|
97 |
diff --git a/net-dns/pdns-recursor/pdns-recursor-3.6.4.ebuild b/net-dns/pdns-recursor/pdns-recursor-3.6.4.ebuild |
98 |
deleted file mode 100644 |
99 |
index 30ac9d2..00000000 |
100 |
--- a/net-dns/pdns-recursor/pdns-recursor-3.6.4.ebuild |
101 |
+++ /dev/null |
102 |
@@ -1,55 +0,0 @@ |
103 |
-# Copyright 1999-2015 Gentoo Foundation |
104 |
-# Distributed under the terms of the GNU General Public License v2 |
105 |
-# $Id$ |
106 |
- |
107 |
-EAPI="4" |
108 |
- |
109 |
-inherit toolchain-funcs flag-o-matic eutils |
110 |
- |
111 |
-DESCRIPTION="The PowerDNS Recursor" |
112 |
-HOMEPAGE="http://www.powerdns.com/" |
113 |
-SRC_URI="http://downloads.powerdns.com/releases/${P}.tar.bz2" |
114 |
- |
115 |
-LICENSE="GPL-2" |
116 |
-SLOT="0" |
117 |
-KEYWORDS="amd64 x86" |
118 |
-IUSE="lua" |
119 |
- |
120 |
-DEPEND="lua? ( >=dev-lang/lua-5.1 )" |
121 |
-RDEPEND="${DEPEND} |
122 |
- !<net-dns/pdns-2.9.20-r1" |
123 |
-DEPEND="${DEPEND} |
124 |
- >=dev-libs/boost-1.33.1" |
125 |
- |
126 |
-pkg_setup() { |
127 |
- filter-flags -ftree-vectorize |
128 |
-} |
129 |
- |
130 |
-src_configure() { |
131 |
- true |
132 |
-} |
133 |
- |
134 |
-src_compile() { |
135 |
- emake \ |
136 |
- LOCALSTATEDIR=/var/lib/powerdns \ |
137 |
- CC="$(tc-getCC)" \ |
138 |
- CXX="$(tc-getCXX)" \ |
139 |
- OPTFLAGS="" \ |
140 |
- LUA_LIBS_CONFIG="-llua" \ |
141 |
- LUA_CPPFLAGS_CONFIG="" \ |
142 |
- LUA="$(use lua && echo 1)" |
143 |
-} |
144 |
- |
145 |
-src_install() { |
146 |
- dosbin pdns_recursor rec_control |
147 |
- doman pdns_recursor.1 rec_control.1 |
148 |
- |
149 |
- insinto /etc/powerdns |
150 |
- doins "${FILESDIR}"/recursor.conf |
151 |
- |
152 |
- doinitd "${FILESDIR}"/precursor |
153 |
- |
154 |
- # Pretty ugly, uh? |
155 |
- dodir /var/lib/powerdns/var/lib |
156 |
- dosym ../.. /var/lib/powerdns/var/lib/powerdns |
157 |
-} |
158 |
|
159 |
diff --git a/net-dns/pdns-recursor/pdns-recursor-3.7.3.ebuild b/net-dns/pdns-recursor/pdns-recursor-3.7.3.ebuild |
160 |
deleted file mode 100644 |
161 |
index 0e22875..00000000 |
162 |
--- a/net-dns/pdns-recursor/pdns-recursor-3.7.3.ebuild |
163 |
+++ /dev/null |
164 |
@@ -1,61 +0,0 @@ |
165 |
-# Copyright 1999-2015 Gentoo Foundation |
166 |
-# Distributed under the terms of the GNU General Public License v2 |
167 |
-# $Id$ |
168 |
- |
169 |
-EAPI="4" |
170 |
- |
171 |
-inherit toolchain-funcs flag-o-matic eutils |
172 |
- |
173 |
-DESCRIPTION="The PowerDNS Recursor" |
174 |
-HOMEPAGE="http://www.powerdns.com/" |
175 |
-SRC_URI="http://downloads.powerdns.com/releases/${P}.tar.bz2" |
176 |
- |
177 |
-LICENSE="GPL-2" |
178 |
-SLOT="0" |
179 |
-KEYWORDS="~amd64 ~arm ~x86" |
180 |
-IUSE="lua" |
181 |
- |
182 |
-DEPEND="lua? ( >=dev-lang/lua-5.1 )" |
183 |
-RDEPEND="${DEPEND} |
184 |
- !<net-dns/pdns-2.9.20-r1" |
185 |
-DEPEND="${DEPEND} |
186 |
- >=dev-libs/boost-1.33.1" |
187 |
- |
188 |
-pkg_setup() { |
189 |
- filter-flags -ftree-vectorize |
190 |
-} |
191 |
- |
192 |
-src_configure() { |
193 |
- CC="$(tc-getCC)" \ |
194 |
- CXX="$(tc-getCXX)" \ |
195 |
- OPTFLAGS="" \ |
196 |
- LUA_LIBS_CONFIG="-llua" \ |
197 |
- LUA_CPPFLAGS_CONFIG="" \ |
198 |
- LUA="$(use lua && echo 1)" \ |
199 |
- ./configure |
200 |
-} |
201 |
- |
202 |
-src_compile() { |
203 |
- emake \ |
204 |
- LOCALSTATEDIR=/var/lib/powerdns \ |
205 |
- CC="$(tc-getCC)" \ |
206 |
- CXX="$(tc-getCXX)" \ |
207 |
- OPTFLAGS="" \ |
208 |
- LUA_LIBS_CONFIG="-llua" \ |
209 |
- LUA_CPPFLAGS_CONFIG="" \ |
210 |
- LUA="$(use lua && echo 1)" |
211 |
-} |
212 |
- |
213 |
-src_install() { |
214 |
- dosbin pdns_recursor rec_control |
215 |
- doman pdns_recursor.1 rec_control.1 |
216 |
- |
217 |
- insinto /etc/powerdns |
218 |
- doins "${FILESDIR}"/recursor.conf |
219 |
- |
220 |
- doinitd "${FILESDIR}"/precursor |
221 |
- |
222 |
- # Pretty ugly, uh? |
223 |
- dodir /var/lib/powerdns/var/lib |
224 |
- dosym ../.. /var/lib/powerdns/var/lib/powerdns |
225 |
-} |
226 |
|
227 |
diff --git a/net-dns/pdns-recursor/pdns-recursor-4.0.0-r1.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.0.0-r1.ebuild |
228 |
deleted file mode 100644 |
229 |
index 61d2e8d..00000000 |
230 |
--- a/net-dns/pdns-recursor/pdns-recursor-4.0.0-r1.ebuild |
231 |
+++ /dev/null |
232 |
@@ -1,73 +0,0 @@ |
233 |
-# Copyright 1999-2016 Gentoo Foundation |
234 |
-# Distributed under the terms of the GNU General Public License v2 |
235 |
-# $Id$ |
236 |
- |
237 |
-EAPI="5" |
238 |
- |
239 |
-inherit toolchain-funcs flag-o-matic eutils versionator |
240 |
- |
241 |
-DESCRIPTION="The PowerDNS Recursor" |
242 |
-HOMEPAGE="http://www.powerdns.com/" |
243 |
-SRC_URI="http://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" |
244 |
- |
245 |
-LICENSE="GPL-2" |
246 |
-SLOT="0" |
247 |
-KEYWORDS="~amd64 ~arm ~x86" |
248 |
-IUSE="lua luajit protobuf systemd" |
249 |
-REQUIRED_USE="?? ( lua luajit )" |
250 |
- |
251 |
-DEPEND="lua? ( >=dev-lang/lua-5.1:= ) |
252 |
- luajit? ( dev-lang/luajit:= ) |
253 |
- protobuf? ( |
254 |
- dev-libs/protobuf |
255 |
- >=dev-libs/boost-1.42 |
256 |
- ) |
257 |
- >=dev-libs/boost-1.35" |
258 |
-RDEPEND="${DEPEND} |
259 |
- !<net-dns/pdns-2.9.20-r1" |
260 |
-DEPEND="${DEPEND} |
261 |
- virtual/pkgconfig" |
262 |
- |
263 |
-S="${WORKDIR}"/${P/_/-} |
264 |
- |
265 |
-pkg_setup() { |
266 |
- filter-flags -ftree-vectorize |
267 |
-} |
268 |
- |
269 |
-src_configure() { |
270 |
- econf \ |
271 |
- --sysconfdir=/etc/powerdns \ |
272 |
- $(use_enable systemd) \ |
273 |
- $(use_with lua) \ |
274 |
- $(use_with luajit) \ |
275 |
- $(use_with protobuf) |
276 |
-} |
277 |
- |
278 |
-src_install() { |
279 |
- default |
280 |
- |
281 |
- mv "${D}"/etc/powerdns/recursor.conf{-dist,} |
282 |
- |
283 |
- # set defaults: setuid=nobody, setgid=nobody |
284 |
- sed -i \ |
285 |
- -e 's/^# set\([ug]\)id=$/set\1id=nobody/' \ |
286 |
- -e 's/^# quiet=/quiet=on/' \ |
287 |
- -e 's/^# chroot=/chroot=\/var\/lib\/powerdns/' \ |
288 |
- "${D}"/etc/powerdns/recursor.conf |
289 |
- |
290 |
- doinitd "${FILESDIR}"/pdns-recursor |
291 |
- |
292 |
- keepdir /var/lib/powerdns |
293 |
-} |
294 |
- |
295 |
-pkg_postinst() { |
296 |
- local old |
297 |
- |
298 |
- for old in ${REPLACING_VERSIONS}; do |
299 |
- version_compare ${old} 4.0.0-r1 |
300 |
- [[ $? -eq 1 ]] || continue |
301 |
- ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor" |
302 |
- ewarn "to pdns-recursor, please update your runlevels accordingly." |
303 |
- break |
304 |
- done |
305 |
-} |
306 |
|
307 |
diff --git a/net-dns/pdns-recursor/pdns-recursor-4.0.1.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.0.1.ebuild |
308 |
deleted file mode 100644 |
309 |
index a4dddaa..00000000 |
310 |
--- a/net-dns/pdns-recursor/pdns-recursor-4.0.1.ebuild |
311 |
+++ /dev/null |
312 |
@@ -1,75 +0,0 @@ |
313 |
-# Copyright 1999-2016 Gentoo Foundation |
314 |
-# Distributed under the terms of the GNU General Public License v2 |
315 |
-# $Id$ |
316 |
- |
317 |
-EAPI="5" |
318 |
- |
319 |
-inherit toolchain-funcs flag-o-matic eutils versionator |
320 |
- |
321 |
-DESCRIPTION="The PowerDNS Recursor" |
322 |
-HOMEPAGE="http://www.powerdns.com/" |
323 |
-SRC_URI="http://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" |
324 |
- |
325 |
-LICENSE="GPL-2" |
326 |
-SLOT="0" |
327 |
-KEYWORDS="~amd64 ~arm ~x86" |
328 |
-IUSE="lua luajit protobuf systemd" |
329 |
-REQUIRED_USE="?? ( lua luajit )" |
330 |
- |
331 |
-DEPEND="lua? ( >=dev-lang/lua-5.1:= ) |
332 |
- luajit? ( dev-lang/luajit:= ) |
333 |
- protobuf? ( |
334 |
- dev-libs/protobuf |
335 |
- >=dev-libs/boost-1.42 |
336 |
- ) |
337 |
- >=dev-libs/boost-1.35" |
338 |
-RDEPEND="${DEPEND} |
339 |
- !<net-dns/pdns-2.9.20-r1" |
340 |
-DEPEND="${DEPEND} |
341 |
- virtual/pkgconfig" |
342 |
- |
343 |
-S="${WORKDIR}"/${P/_/-} |
344 |
- |
345 |
-pkg_setup() { |
346 |
- filter-flags -ftree-vectorize |
347 |
-} |
348 |
- |
349 |
-src_configure() { |
350 |
- econf \ |
351 |
- --sysconfdir=/etc/powerdns \ |
352 |
- $(use_enable systemd) \ |
353 |
- $(use_with lua) \ |
354 |
- $(use_with luajit) \ |
355 |
- $(use_with protobuf) |
356 |
-} |
357 |
- |
358 |
-src_install() { |
359 |
- default |
360 |
- |
361 |
- mv "${D}"/etc/powerdns/recursor.conf{-dist,} |
362 |
- |
363 |
- # set defaults: setuid=nobody, setgid=nobody |
364 |
- sed -i \ |
365 |
- -e 's/^# set\([ug]\)id=$/set\1id=nobody/' \ |
366 |
- -e 's/^# quiet=$/quiet=on/' \ |
367 |
- -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \ |
368 |
- "${D}"/etc/powerdns/recursor.conf |
369 |
- |
370 |
- doinitd "${FILESDIR}"/pdns-recursor |
371 |
- |
372 |
- keepdir /var/lib/powerdns |
373 |
-} |
374 |
- |
375 |
-pkg_postinst() { |
376 |
- local old |
377 |
- |
378 |
- for old in ${REPLACING_VERSIONS}; do |
379 |
- version_compare ${old} 4.0.0-r1 |
380 |
- [[ $? -eq 1 ]] || continue |
381 |
- |
382 |
- ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor" |
383 |
- ewarn "to pdns-recursor, please update your runlevels accordingly." |
384 |
- |
385 |
- break |
386 |
- done |
387 |
-} |
388 |
|
389 |
diff --git a/net-dns/pdns-recursor/pdns-recursor-4.0.2.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.0.2.ebuild |
390 |
deleted file mode 100644 |
391 |
index a4dddaa..00000000 |
392 |
--- a/net-dns/pdns-recursor/pdns-recursor-4.0.2.ebuild |
393 |
+++ /dev/null |
394 |
@@ -1,75 +0,0 @@ |
395 |
-# Copyright 1999-2016 Gentoo Foundation |
396 |
-# Distributed under the terms of the GNU General Public License v2 |
397 |
-# $Id$ |
398 |
- |
399 |
-EAPI="5" |
400 |
- |
401 |
-inherit toolchain-funcs flag-o-matic eutils versionator |
402 |
- |
403 |
-DESCRIPTION="The PowerDNS Recursor" |
404 |
-HOMEPAGE="http://www.powerdns.com/" |
405 |
-SRC_URI="http://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" |
406 |
- |
407 |
-LICENSE="GPL-2" |
408 |
-SLOT="0" |
409 |
-KEYWORDS="~amd64 ~arm ~x86" |
410 |
-IUSE="lua luajit protobuf systemd" |
411 |
-REQUIRED_USE="?? ( lua luajit )" |
412 |
- |
413 |
-DEPEND="lua? ( >=dev-lang/lua-5.1:= ) |
414 |
- luajit? ( dev-lang/luajit:= ) |
415 |
- protobuf? ( |
416 |
- dev-libs/protobuf |
417 |
- >=dev-libs/boost-1.42 |
418 |
- ) |
419 |
- >=dev-libs/boost-1.35" |
420 |
-RDEPEND="${DEPEND} |
421 |
- !<net-dns/pdns-2.9.20-r1" |
422 |
-DEPEND="${DEPEND} |
423 |
- virtual/pkgconfig" |
424 |
- |
425 |
-S="${WORKDIR}"/${P/_/-} |
426 |
- |
427 |
-pkg_setup() { |
428 |
- filter-flags -ftree-vectorize |
429 |
-} |
430 |
- |
431 |
-src_configure() { |
432 |
- econf \ |
433 |
- --sysconfdir=/etc/powerdns \ |
434 |
- $(use_enable systemd) \ |
435 |
- $(use_with lua) \ |
436 |
- $(use_with luajit) \ |
437 |
- $(use_with protobuf) |
438 |
-} |
439 |
- |
440 |
-src_install() { |
441 |
- default |
442 |
- |
443 |
- mv "${D}"/etc/powerdns/recursor.conf{-dist,} |
444 |
- |
445 |
- # set defaults: setuid=nobody, setgid=nobody |
446 |
- sed -i \ |
447 |
- -e 's/^# set\([ug]\)id=$/set\1id=nobody/' \ |
448 |
- -e 's/^# quiet=$/quiet=on/' \ |
449 |
- -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \ |
450 |
- "${D}"/etc/powerdns/recursor.conf |
451 |
- |
452 |
- doinitd "${FILESDIR}"/pdns-recursor |
453 |
- |
454 |
- keepdir /var/lib/powerdns |
455 |
-} |
456 |
- |
457 |
-pkg_postinst() { |
458 |
- local old |
459 |
- |
460 |
- for old in ${REPLACING_VERSIONS}; do |
461 |
- version_compare ${old} 4.0.0-r1 |
462 |
- [[ $? -eq 1 ]] || continue |
463 |
- |
464 |
- ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor" |
465 |
- ewarn "to pdns-recursor, please update your runlevels accordingly." |
466 |
- |
467 |
- break |
468 |
- done |
469 |
-} |