1 |
commit: 6149bdf4845d21312564d1e9c5c6780ef9edc8db |
2 |
Author: Sven Wegener <swegener <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 4 16:28:13 2021 +0000 |
4 |
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 4 16:29:03 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6149bdf4 |
7 |
|
8 |
net-dns/pdns-recursor: Cleanup |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.2 |
11 |
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org> |
12 |
|
13 |
net-dns/pdns-recursor/Manifest | 2 - |
14 |
net-dns/pdns-recursor/pdns-recursor-4.4.3.ebuild | 88 ------------------------ |
15 |
net-dns/pdns-recursor/pdns-recursor-4.5.1.ebuild | 82 ---------------------- |
16 |
3 files changed, 172 deletions(-) |
17 |
|
18 |
diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest |
19 |
index 28cf99b1939..1854e8c0747 100644 |
20 |
--- a/net-dns/pdns-recursor/Manifest |
21 |
+++ b/net-dns/pdns-recursor/Manifest |
22 |
@@ -1,5 +1,3 @@ |
23 |
-DIST pdns-recursor-4.4.3.tar.bz2 1398743 BLAKE2B d9429ef22bb2b196e42da91332332b38dee9220d490c8adda686b0bc144e0981ea4418973f4304d6d964ef8f6ac4adcde4bd3e6d6b208c620440eab1b11a7fc0 SHA512 bac69cbaabc1b0de0def681e07f7e77954e0d487732cb46dc722f7869576a8a477a4011f78c9cc66b5e9b45455eb81534602b2834dc1ad42b85f5f2801915cbb |
24 |
DIST pdns-recursor-4.4.4.tar.bz2 1399645 BLAKE2B 2ef2a59b9c402ab9d9b59d6b89e85b7103dbd9cdcc6147d08f09b85209cb2e298ff539dcb24895a4711f4e7c55c398d0307f237b22d1bdadaf01ec3925af0e8f SHA512 de8ac38d77a4700cd9dd64aad2ba7d1a97057683ace34f1dc3b2e9680faef5637ce7cedb66ceb0b7701f7ff6ef80cbee653549302805b30f9a6defa3a4e8e830 |
25 |
-DIST pdns-recursor-4.5.1.tar.bz2 1463138 BLAKE2B 863cddbe4001b32cf457dc489bd39ad7b045f19183b1d13bc31bfd7fa28cc6e7e69755216715e0fd75fd0d724de20f7b89c89017fc42dff35de4e45e9351af75 SHA512 0cfbc95e3e84a2ab2cd88ee638b0ff26f5f35b64754086483555df28f045d64b5fdfab3e8c430c0b4e97dc4eda624226c37ec0f50902ffe5f84882d814e8051e |
26 |
DIST pdns-recursor-4.5.2.tar.bz2 1464834 BLAKE2B 88acd7a6edecf8188b366a9fcff0eaf1b71429df8aad4dbcf157be39901b56ee3c9a9d55bf55bb060bcbb59f68b3ff8987788f4186a7122787874f895be1e751 SHA512 02a9f725c7528f91eb45409b32ffa06cb7fca1f0151907efcd8b75100942e98f593858543df15423413d69c9fd433bad3c8bad0a84f8144af07c637f22a86d5e |
27 |
DIST pdns-recursor-4.5.4.tar.bz2 1466655 BLAKE2B 35438eb8dc08990058924d4603e1f7fe2f74f8b2c61e96a82d6972a95f7b3cb43188fa10fa2dc70b699611057a21ba9f78eb3840976ce222c82ea32bdc374bb1 SHA512 403276ab06519a05154fca47fb7270d0199e770f1049a0503a0a1421f2d6fb7df6e9d5359d48348608d6b784e18ac815dd523051b7312f46ad4b510b608af7ab |
28 |
|
29 |
diff --git a/net-dns/pdns-recursor/pdns-recursor-4.4.3.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.4.3.ebuild |
30 |
deleted file mode 100644 |
31 |
index 6233a790ac7..00000000000 |
32 |
--- a/net-dns/pdns-recursor/pdns-recursor-4.4.3.ebuild |
33 |
+++ /dev/null |
34 |
@@ -1,88 +0,0 @@ |
35 |
-# Copyright 1999-2021 Gentoo Authors |
36 |
-# Distributed under the terms of the GNU General Public License v2 |
37 |
- |
38 |
-EAPI=7 |
39 |
- |
40 |
-LUA_COMPAT=( lua5-{1..4} luajit ) |
41 |
- |
42 |
-inherit flag-o-matic lua-single |
43 |
- |
44 |
-DESCRIPTION="The PowerDNS Recursor" |
45 |
-HOMEPAGE="https://www.powerdns.com/" |
46 |
-SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" |
47 |
- |
48 |
-LICENSE="GPL-2" |
49 |
-SLOT="0" |
50 |
-KEYWORDS="amd64 ~arm x86" |
51 |
-IUSE="debug dnstap protobuf snmp sodium systemd test" |
52 |
-REQUIRED_USE="${LUA_REQUIRED_USE} |
53 |
- dnstap? ( protobuf )" |
54 |
-RESTRICT="!test? ( test )" |
55 |
- |
56 |
-DEPEND="${LUA_DEPS} |
57 |
- protobuf? ( |
58 |
- dev-libs/protobuf |
59 |
- >=dev-libs/boost-1.42:= |
60 |
- ) |
61 |
- dnstap? ( dev-libs/fstrm ) |
62 |
- systemd? ( sys-apps/systemd:0= ) |
63 |
- snmp? ( net-analyzer/net-snmp ) |
64 |
- sodium? ( dev-libs/libsodium:= ) |
65 |
- dev-libs/openssl:= |
66 |
- >=dev-libs/boost-1.35:=" |
67 |
-RDEPEND="${DEPEND} |
68 |
- !<net-dns/pdns-2.9.20-r1 |
69 |
- acct-user/pdns |
70 |
- acct-group/pdns" |
71 |
-BDEPEND="virtual/pkgconfig" |
72 |
- |
73 |
-S="${WORKDIR}"/${P/_/-} |
74 |
- |
75 |
-pkg_setup() { |
76 |
- lua-single_pkg_setup |
77 |
- filter-flags -ftree-vectorize |
78 |
-} |
79 |
- |
80 |
-src_configure() { |
81 |
- econf \ |
82 |
- --sysconfdir=/etc/powerdns \ |
83 |
- --with-nod-cache-dir=/var/lib/powerdns \ |
84 |
- --with-service-user=pdns \ |
85 |
- --with-service-group=pdns \ |
86 |
- --with-lua="${ELUA}" \ |
87 |
- $(use_enable debug verbose-logging) \ |
88 |
- $(use_enable systemd) \ |
89 |
- $(use_enable dnstap dnstap) \ |
90 |
- $(use_enable test unit-tests) \ |
91 |
- $(use_with sodium libsodium) \ |
92 |
- $(use_with protobuf) \ |
93 |
- $(use_with snmp net-snmp) |
94 |
-} |
95 |
- |
96 |
-src_install() { |
97 |
- default |
98 |
- |
99 |
- mv "${D}"/etc/powerdns/recursor.conf{-dist,} |
100 |
- |
101 |
- # set defaults: setuid=nobody, setgid=nobody |
102 |
- sed -i \ |
103 |
- -e 's/^# set\([ug]\)id=$/set\1id=pdns/' \ |
104 |
- -e 's/^# quiet=$/quiet=on/' \ |
105 |
- -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \ |
106 |
- "${D}"/etc/powerdns/recursor.conf |
107 |
- |
108 |
- newinitd "${FILESDIR}"/pdns-recursor-r2 pdns-recursor |
109 |
-} |
110 |
- |
111 |
-pkg_postinst() { |
112 |
- local old |
113 |
- |
114 |
- for old in ${REPLACING_VERSIONS}; do |
115 |
- ver_test ${old} -lt 4.0.0-r1 || continue |
116 |
- |
117 |
- ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor" |
118 |
- ewarn "to pdns-recursor, please update your runlevels accordingly." |
119 |
- |
120 |
- break |
121 |
- done |
122 |
-} |
123 |
|
124 |
diff --git a/net-dns/pdns-recursor/pdns-recursor-4.5.1.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.5.1.ebuild |
125 |
deleted file mode 100644 |
126 |
index 391869be2ae..00000000000 |
127 |
--- a/net-dns/pdns-recursor/pdns-recursor-4.5.1.ebuild |
128 |
+++ /dev/null |
129 |
@@ -1,82 +0,0 @@ |
130 |
-# Copyright 1999-2021 Gentoo Authors |
131 |
-# Distributed under the terms of the GNU General Public License v2 |
132 |
- |
133 |
-EAPI=7 |
134 |
- |
135 |
-LUA_COMPAT=( lua5-{1..4} luajit ) |
136 |
- |
137 |
-inherit flag-o-matic lua-single |
138 |
- |
139 |
-DESCRIPTION="The PowerDNS Recursor" |
140 |
-HOMEPAGE="https://www.powerdns.com/" |
141 |
-SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" |
142 |
- |
143 |
-LICENSE="GPL-2" |
144 |
-SLOT="0" |
145 |
-KEYWORDS="~amd64" |
146 |
-IUSE="debug dnstap snmp sodium systemd test" |
147 |
-REQUIRED_USE="${LUA_REQUIRED_USE}" |
148 |
-RESTRICT="!test? ( test )" |
149 |
- |
150 |
-DEPEND="${LUA_DEPS} |
151 |
- dnstap? ( dev-libs/fstrm ) |
152 |
- systemd? ( sys-apps/systemd:0= ) |
153 |
- snmp? ( net-analyzer/net-snmp ) |
154 |
- sodium? ( dev-libs/libsodium:= ) |
155 |
- dev-libs/openssl:= |
156 |
- >=dev-libs/boost-1.35:=" |
157 |
-RDEPEND="${DEPEND} |
158 |
- !<net-dns/pdns-2.9.20-r1 |
159 |
- acct-user/pdns |
160 |
- acct-group/pdns" |
161 |
-BDEPEND="virtual/pkgconfig" |
162 |
- |
163 |
-S="${WORKDIR}"/${P/_/-} |
164 |
- |
165 |
-pkg_setup() { |
166 |
- lua-single_pkg_setup |
167 |
- filter-flags -ftree-vectorize |
168 |
-} |
169 |
- |
170 |
-src_configure() { |
171 |
- econf \ |
172 |
- --sysconfdir=/etc/powerdns \ |
173 |
- --with-nod-cache-dir=/var/lib/powerdns \ |
174 |
- --with-service-user=pdns \ |
175 |
- --with-service-group=pdns \ |
176 |
- --with-lua="${ELUA}" \ |
177 |
- $(use_enable debug verbose-logging) \ |
178 |
- $(use_enable systemd) \ |
179 |
- $(use_enable dnstap dnstap) \ |
180 |
- $(use_enable test unit-tests) \ |
181 |
- $(use_with sodium libsodium) \ |
182 |
- $(use_with snmp net-snmp) |
183 |
-} |
184 |
- |
185 |
-src_install() { |
186 |
- default |
187 |
- |
188 |
- mv "${D}"/etc/powerdns/recursor.conf{-dist,} |
189 |
- |
190 |
- # set defaults: setuid=nobody, setgid=nobody |
191 |
- sed -i \ |
192 |
- -e 's/^# set\([ug]\)id=$/set\1id=pdns/' \ |
193 |
- -e 's/^# quiet=$/quiet=on/' \ |
194 |
- -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \ |
195 |
- "${D}"/etc/powerdns/recursor.conf |
196 |
- |
197 |
- newinitd "${FILESDIR}"/pdns-recursor-r2 pdns-recursor |
198 |
-} |
199 |
- |
200 |
-pkg_postinst() { |
201 |
- local old |
202 |
- |
203 |
- for old in ${REPLACING_VERSIONS}; do |
204 |
- ver_test ${old} -lt 4.0.0-r1 || continue |
205 |
- |
206 |
- ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor" |
207 |
- ewarn "to pdns-recursor, please update your runlevels accordingly." |
208 |
- |
209 |
- break |
210 |
- done |
211 |
-} |