1 |
commit: 331c1fbaa73ab0eb58ae0b39dae14a7598ec895b |
2 |
Author: Sven Wegener <swegener <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 30 11:25:24 2016 +0000 |
4 |
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 30 11:26:37 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=331c1fba |
7 |
|
8 |
net-dns/pdns: Cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.0, Repoman-2.3.1 |
11 |
|
12 |
net-dns/pdns/Manifest | 2 - |
13 |
net-dns/pdns/pdns-3.4.10.ebuild | 177 ---------------------------------------- |
14 |
net-dns/pdns/pdns-4.0.0.ebuild | 155 ----------------------------------- |
15 |
3 files changed, 334 deletions(-) |
16 |
|
17 |
diff --git a/net-dns/pdns/Manifest b/net-dns/pdns/Manifest |
18 |
index bdda241..399214f 100644 |
19 |
--- a/net-dns/pdns/Manifest |
20 |
+++ b/net-dns/pdns/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST pdns-3.4.10.tar.bz2 1358538 SHA256 e71c00d159ed88feaef438a9263a7e9f36bde3c172079e3dd4910a66ec3b8e4e SHA512 951cc95416acf6cc5e32760fcada9d9d90f1829588526c0a921e5644a344e537f9c052725a241bcd71ebd4da41b8923f2ce96b680b9d11f907c8f35fa61a8977 WHIRLPOOL 6f576bbe8e7c4358c3dc3eb4a7e830d06ac4e00919c6de2e469d8f2b7a720d8c1fd33a9b4707714b90908ef8bfb185c7fb65b6ad273fcbd9c7f8f620cb8660d5 |
23 |
-DIST pdns-4.0.0.tar.bz2 1302421 SHA256 9f3ea273e11c898d9a91a2454eb7f2f38bdcc1ec4ea70a5e5de09c61b4ab65d5 SHA512 9cb65ebd45d9cc84b1d054372243d3d198d3a89116e71aed55c5338a6207d324d4d1f0a966d6de1e51d97e82470af3a48ed3ea23c88a2981d618d712904785d9 WHIRLPOOL 4b96f733310c132375b455b98d773aeecbee17370144114e52ad771f4d5a3e8ac0aa0c39b7ee0eb841ffeb7655a35b89a06100c70f7c0fdbd25130bee9162e9f |
24 |
DIST pdns-4.0.1.tar.bz2 1304788 SHA256 d191eed4a6664430e85969f49835c59e810ecbb7b3eb506e64c6b2734091edd7 SHA512 77fce9963a05198afeb569f92fbb0f6a1cb3426c28dd77b0921128189c80d9a72ebdbfc249dfc0b5b89cc7a65a83887a0388d6cc3461453b1e3096e563afdd1e WHIRLPOOL 6be1fac5cbb322fa4e4a21dc0d72f1e37ef1338a6035526ec893d2fdaa1d8c38bf0bfb124d2d00405d279cc05847d5dcf52c10938121e7d9167f9f1db2df76e2 |
25 |
|
26 |
diff --git a/net-dns/pdns/pdns-3.4.10.ebuild b/net-dns/pdns/pdns-3.4.10.ebuild |
27 |
deleted file mode 100644 |
28 |
index 76e980f..00000000 |
29 |
--- a/net-dns/pdns/pdns-3.4.10.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,177 +0,0 @@ |
32 |
-# Copyright 1999-2016 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
-# $Id$ |
35 |
- |
36 |
-EAPI=5 |
37 |
- |
38 |
-inherit eutils multilib systemd user toolchain-funcs versionator |
39 |
- |
40 |
-DESCRIPTION="The PowerDNS Daemon" |
41 |
-HOMEPAGE="http://www.powerdns.com/" |
42 |
-SRC_URI="http://downloads.powerdns.com/releases/${P}.tar.bz2" |
43 |
- |
44 |
-LICENSE="GPL-2" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="amd64 x86" |
47 |
- |
48 |
-# other possible flags: |
49 |
-# db2: we lack the dep |
50 |
-# oracle: dito (need Oracle Client Libraries) |
51 |
-# xdb: (almost) dead, surely not supported |
52 |
- |
53 |
-IUSE="botan cryptopp debug doc geoip ldap lua mydns mysql opendbx postgres remote sqlite static tools tinydns test" |
54 |
- |
55 |
-REQUIRED_USE="mydns? ( mysql )" |
56 |
- |
57 |
-RDEPEND="!static? ( |
58 |
- net-libs/polarssl |
59 |
- >=dev-libs/boost-1.34:= |
60 |
- botan? ( =dev-libs/botan-1.10* ) |
61 |
- cryptopp? ( dev-libs/crypto++ ) |
62 |
- lua? ( dev-lang/lua:= ) |
63 |
- mysql? ( virtual/mysql ) |
64 |
- postgres? ( dev-db/postgresql:= ) |
65 |
- ldap? ( >=net-nds/openldap-2.0.27-r4 ) |
66 |
- sqlite? ( dev-db/sqlite:3 ) |
67 |
- opendbx? ( dev-db/opendbx ) |
68 |
- geoip? ( >=dev-cpp/yaml-cpp-0.5.1 dev-libs/geoip ) |
69 |
- tinydns? ( >=dev-db/tinycdb-0.77 ) |
70 |
- )" |
71 |
-DEPEND="${RDEPEND} |
72 |
- virtual/pkgconfig |
73 |
- static? ( |
74 |
- >=net-libs/polarssl-1.3.0[static-libs(+)] |
75 |
- >=dev-libs/boost-1.34[static-libs(+)] |
76 |
- botan? ( =dev-libs/botan-1.10*[static-libs(+)] ) |
77 |
- cryptopp? ( dev-libs/crypto++[static-libs(+)] ) |
78 |
- lua? ( dev-lang/lua:=[static-libs(+)] ) |
79 |
- mysql? ( virtual/mysql[static-libs(+)] ) |
80 |
- postgres? ( dev-db/postgresql[static-libs(+)] ) |
81 |
- ldap? ( >=net-nds/openldap-2.0.27-r4[static-libs(+)] ) |
82 |
- sqlite? ( dev-db/sqlite:3[static-libs(+)] ) |
83 |
- opendbx? ( dev-db/opendbx[static-libs(+)] ) |
84 |
- geoip? ( >=dev-cpp/yaml-cpp-0.5.1 dev-libs/geoip[static-libs(+)] ) |
85 |
- tinydns? ( >=dev-db/tinycdb-0.77 ) |
86 |
- ) |
87 |
- doc? ( app-doc/doxygen )" |
88 |
- |
89 |
-src_configure() { |
90 |
- local dynmodules="pipe geo bind" # the default backends, always enabled |
91 |
- local modules="" |
92 |
- |
93 |
- #use db2 && dynmodules+=" db2" |
94 |
- use ldap && dynmodules+=" ldap" |
95 |
- use lua && dynmodules+=" lua" |
96 |
- use mydns && dynmodules+=" mydns" |
97 |
- use mysql && dynmodules+=" gmysql" |
98 |
- use opendbx && dynmodules+=" opendbx" |
99 |
- #use oracle && dynmodules+=" goracle oracle" |
100 |
- use postgres && dynmodules+=" gpgsql" |
101 |
- use remote && dynmodules+=" remote" |
102 |
- use sqlite && dynmodules+=" gsqlite3" |
103 |
- use tinydns && dynmodules+=" tinydns" |
104 |
- use geoip && dynmodules+=" geoip" |
105 |
- #use xdb && dynmodules+=" xdb" |
106 |
- |
107 |
- if use static ; then |
108 |
- modules="${dynmodules}" |
109 |
- dynmodules="" |
110 |
- fi |
111 |
- |
112 |
- use botan && myconf+=" --enable-botan1.10" |
113 |
- use cryptopp && myconf+=" --enable-cryptopp" |
114 |
- use debug && myconf+=" --enable-verbose-logging" |
115 |
- |
116 |
- CRYPTOPP_CFLAGS=" " \ |
117 |
- CRYPTOPP_LIBS="-lcrypto++" \ |
118 |
- econf \ |
119 |
- --with-system-polarssl \ |
120 |
- --disable-static \ |
121 |
- --sysconfdir=/etc/powerdns \ |
122 |
- --libdir=/usr/$(get_libdir)/powerdns \ |
123 |
- --with-modules="${modules}" \ |
124 |
- --with-dynmodules="${dynmodules}" \ |
125 |
- --with-pgsql-includes=/usr/include \ |
126 |
- --with-pgsql-lib=/usr/$(get_libdir) \ |
127 |
- --with-mysql-lib=/usr/$(get_libdir) \ |
128 |
- $(use_enable test unit-tests) \ |
129 |
- $(use_with lua) \ |
130 |
- $(use_enable static static-binaries) \ |
131 |
- $(use_enable tools) \ |
132 |
- ${myconf} |
133 |
-} |
134 |
- |
135 |
-src_compile() { |
136 |
- default |
137 |
- use doc && emake -C codedocs codedocs |
138 |
-} |
139 |
- |
140 |
-src_install () { |
141 |
- default |
142 |
- |
143 |
- mv "${D}"/etc/powerdns/pdns.conf{-dist,} |
144 |
- |
145 |
- fperms 0700 /etc/powerdns |
146 |
- fperms 0600 /etc/powerdns/pdns.conf |
147 |
- |
148 |
- # set defaults: setuid=pdns, setgid=pdns |
149 |
- sed -i \ |
150 |
- -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \ |
151 |
- "${D}"/etc/powerdns/pdns.conf |
152 |
- |
153 |
- doinitd "${FILESDIR}"/pdns |
154 |
- systemd_newunit contrib/systemd-pdns.service pdns.service |
155 |
- |
156 |
- keepdir /var/empty |
157 |
- |
158 |
- use doc && dohtml -r codedocs/html/. |
159 |
- |
160 |
- # Install development headers |
161 |
- insinto /usr/include/pdns |
162 |
- doins pdns/*.hh |
163 |
- insinto /usr/include/pdns/backends/gsql |
164 |
- doins pdns/backends/gsql/*.hh |
165 |
- |
166 |
- if use ldap ; then |
167 |
- insinto /etc/openldap/schema |
168 |
- doins "${FILESDIR}"/dnsdomain2.schema |
169 |
- fi |
170 |
- |
171 |
- prune_libtool_files --all |
172 |
-} |
173 |
- |
174 |
-pkg_preinst() { |
175 |
- enewgroup pdns |
176 |
- enewuser pdns -1 -1 /var/empty pdns |
177 |
-} |
178 |
- |
179 |
-pkg_postinst() { |
180 |
- elog "PowerDNS provides multiple instances support. You can create more instances" |
181 |
- elog "by symlinking the pdns init script to another name." |
182 |
- elog |
183 |
- elog "The name must be in the format pdns.<suffix> and PowerDNS will use the" |
184 |
- elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of the default." |
185 |
- |
186 |
- if use ldap ; then |
187 |
- ewarn "The official LDAP backend module is only compile-tested by upstream." |
188 |
- ewarn "Try net-dns/pdns-ldap-backend if you have problems with it." |
189 |
- fi |
190 |
- |
191 |
- local fix_perms=0 |
192 |
- |
193 |
- for rv in ${REPLACING_VERSIONS} ; do |
194 |
- version_compare ${rv} 3.2 |
195 |
- [[ $? -eq 1 ]] && fix_perms=1 |
196 |
- done |
197 |
- |
198 |
- if [[ $fix_perms -eq 1 ]] ; then |
199 |
- ewarn "To fix a security bug (bug #458018) had the following" |
200 |
- ewarn "files/directories the world-readable bit removed (if set):" |
201 |
- ewarn " ${EPREFIX}/etc/powerdns" |
202 |
- ewarn " ${EPREFIX}/etc/powerdns/pdns.conf" |
203 |
- ewarn "Check if this is correct for your setup" |
204 |
- ewarn "This is a one-time change and will not happen on subsequent updates." |
205 |
- chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf} |
206 |
- fi |
207 |
- |
208 |
-} |
209 |
|
210 |
diff --git a/net-dns/pdns/pdns-4.0.0.ebuild b/net-dns/pdns/pdns-4.0.0.ebuild |
211 |
deleted file mode 100644 |
212 |
index 79fd8a0..00000000 |
213 |
--- a/net-dns/pdns/pdns-4.0.0.ebuild |
214 |
+++ /dev/null |
215 |
@@ -1,155 +0,0 @@ |
216 |
-# Copyright 1999-2016 Gentoo Foundation |
217 |
-# Distributed under the terms of the GNU General Public License v2 |
218 |
-# $Id$ |
219 |
- |
220 |
-EAPI="5" |
221 |
- |
222 |
-inherit eutils multilib user toolchain-funcs versionator |
223 |
- |
224 |
-DESCRIPTION="The PowerDNS Daemon" |
225 |
-HOMEPAGE="http://www.powerdns.com/" |
226 |
-SRC_URI="http://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" |
227 |
- |
228 |
-LICENSE="GPL-2" |
229 |
-SLOT="0" |
230 |
-KEYWORDS="~amd64 ~x86" |
231 |
- |
232 |
-# other possible flags: |
233 |
-# db2: we lack the dep |
234 |
-# oracle: dito (need Oracle Client Libraries) |
235 |
-# xdb: (almost) dead, surely not supported |
236 |
- |
237 |
-IUSE="botan debug doc geoip ldap lua luajit mydns mysql opendbx postgres protobuf remote sqlite systemd tools tinydns test" |
238 |
- |
239 |
-REQUIRED_USE="mydns? ( mysql ) ?? ( lua luajit )" |
240 |
- |
241 |
-RDEPEND=" |
242 |
- dev-libs/openssl:= |
243 |
- >=dev-libs/boost-1.35:= |
244 |
- botan? ( =dev-libs/botan-1.10* ) |
245 |
- lua? ( dev-lang/lua:= ) |
246 |
- luajit? ( dev-lang/luajit:= ) |
247 |
- mysql? ( virtual/mysql ) |
248 |
- postgres? ( dev-db/postgresql:= ) |
249 |
- ldap? ( >=net-nds/openldap-2.0.27-r4 ) |
250 |
- sqlite? ( dev-db/sqlite:3 ) |
251 |
- opendbx? ( dev-db/opendbx ) |
252 |
- geoip? ( >=dev-cpp/yaml-cpp-0.5.1 dev-libs/geoip ) |
253 |
- tinydns? ( >=dev-db/tinycdb-0.77 ) |
254 |
- protobuf? ( dev-libs/protobuf )" |
255 |
-DEPEND="${RDEPEND} |
256 |
- virtual/pkgconfig |
257 |
- doc? ( app-doc/doxygen )" |
258 |
- |
259 |
-S="${WORKDIR}"/${P/_/-} |
260 |
- |
261 |
-src_configure() { |
262 |
- local dynmodules="pipe bind" # the default backends, always enabled |
263 |
- |
264 |
- #use db2 && dynmodules+=" db2" |
265 |
- use ldap && dynmodules+=" ldap" |
266 |
- use lua && dynmodules+=" lua" |
267 |
- use mydns && dynmodules+=" mydns" |
268 |
- use mysql && dynmodules+=" gmysql" |
269 |
- use opendbx && dynmodules+=" opendbx" |
270 |
- #use oracle && dynmodules+=" goracle oracle" |
271 |
- use postgres && dynmodules+=" gpgsql" |
272 |
- use remote && dynmodules+=" remote" |
273 |
- use sqlite && dynmodules+=" gsqlite3" |
274 |
- use tinydns && dynmodules+=" tinydns" |
275 |
- use geoip && dynmodules+=" geoip" |
276 |
- #use xdb && dynmodules+=" xdb" |
277 |
- |
278 |
- econf \ |
279 |
- --disable-static \ |
280 |
- --sysconfdir=/etc/powerdns \ |
281 |
- --libdir=/usr/$(get_libdir)/powerdns \ |
282 |
- --with-modules= \ |
283 |
- --with-dynmodules="${dynmodules}" \ |
284 |
- --with-pgsql-includes=/usr/include \ |
285 |
- --with-pgsql-lib=/usr/$(get_libdir) \ |
286 |
- --with-mysql-lib=/usr/$(get_libdir) \ |
287 |
- $(use_enable botan botan1.10) \ |
288 |
- $(use_enable debug verbose-logging) \ |
289 |
- $(use_enable test unit-tests) \ |
290 |
- $(use_with lua) \ |
291 |
- $(use_with luajit) \ |
292 |
- $(use_with protobuf) \ |
293 |
- $(use_enable tools) \ |
294 |
- $(use_enable systemd) \ |
295 |
- ${myconf} |
296 |
-} |
297 |
- |
298 |
-src_compile() { |
299 |
- default |
300 |
- use doc && emake -C codedocs codedocs |
301 |
-} |
302 |
- |
303 |
-src_install () { |
304 |
- default |
305 |
- |
306 |
- mv "${D}"/etc/powerdns/pdns.conf{-dist,} |
307 |
- |
308 |
- fperms 0700 /etc/powerdns |
309 |
- fperms 0600 /etc/powerdns/pdns.conf |
310 |
- |
311 |
- # set defaults: setuid=pdns, setgid=pdns |
312 |
- sed -i \ |
313 |
- -e 's/^# set\([ug]\)id=$/set\1id=pdns/g' \ |
314 |
- "${D}"/etc/powerdns/pdns.conf |
315 |
- |
316 |
- doinitd "${FILESDIR}"/pdns |
317 |
- |
318 |
- keepdir /var/empty |
319 |
- |
320 |
- use doc && dohtml -r codedocs/html/. |
321 |
- |
322 |
- # Install development headers |
323 |
- insinto /usr/include/pdns |
324 |
- doins pdns/*.hh |
325 |
- insinto /usr/include/pdns/backends/gsql |
326 |
- doins pdns/backends/gsql/*.hh |
327 |
- |
328 |
- if use ldap ; then |
329 |
- insinto /etc/openldap/schema |
330 |
- doins "${FILESDIR}"/dnsdomain2.schema |
331 |
- fi |
332 |
- |
333 |
- prune_libtool_files --all |
334 |
-} |
335 |
- |
336 |
-pkg_preinst() { |
337 |
- enewgroup pdns |
338 |
- enewuser pdns -1 -1 /var/empty pdns |
339 |
-} |
340 |
- |
341 |
-pkg_postinst() { |
342 |
- elog "PowerDNS provides multiple instances support. You can create more instances" |
343 |
- elog "by symlinking the pdns init script to another name." |
344 |
- elog |
345 |
- elog "The name must be in the format pdns.<suffix> and PowerDNS will use the" |
346 |
- elog "/etc/powerdns/pdns-<suffix>.conf configuration file instead of the default." |
347 |
- |
348 |
- if use ldap ; then |
349 |
- ewarn "The official LDAP backend module is only compile-tested by upstream." |
350 |
- ewarn "Try net-dns/pdns-ldap-backend if you have problems with it." |
351 |
- fi |
352 |
- |
353 |
- local fix_perms=0 |
354 |
- |
355 |
- for rv in ${REPLACING_VERSIONS} ; do |
356 |
- version_compare ${rv} 3.2 |
357 |
- [[ $? -eq 1 ]] && fix_perms=1 |
358 |
- done |
359 |
- |
360 |
- if [[ $fix_perms -eq 1 ]] ; then |
361 |
- ewarn "To fix a security bug (bug #458018) had the following" |
362 |
- ewarn "files/directories the world-readable bit removed (if set):" |
363 |
- ewarn " ${EPREFIX}/etc/powerdns" |
364 |
- ewarn " ${EPREFIX}/etc/powerdns/pdns.conf" |
365 |
- ewarn "Check if this is correct for your setup" |
366 |
- ewarn "This is a one-time change and will not happen on subsequent updates." |
367 |
- chmod o-rwx "${EPREFIX}"/etc/powerdns/{,pdns.conf} |
368 |
- fi |
369 |
- |
370 |
-} |