1 |
commit: 5c97db936ccba6017937df595ce2ca1fadcbacb0 |
2 |
Author: Sven Wegener <swegener <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 10 20:38:02 2020 +0000 |
4 |
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 10 20:38:27 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c97db93 |
7 |
|
8 |
net-dns/pdns-recursor: Version bump to 4.3.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org> |
12 |
|
13 |
net-dns/pdns-recursor/Manifest | 1 + |
14 |
net-dns/pdns-recursor/pdns-recursor-4.3.0.ebuild | 78 ++++++++++++++++++++++++ |
15 |
2 files changed, 79 insertions(+) |
16 |
|
17 |
diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest |
18 |
index fa7264e0562..353ff91c319 100644 |
19 |
--- a/net-dns/pdns-recursor/Manifest |
20 |
+++ b/net-dns/pdns-recursor/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST pdns-recursor-4.1.14.tar.bz2 1249908 BLAKE2B 8918cbfa2b8ef91b18b7ef79c94bb2 |
22 |
DIST pdns-recursor-4.1.15.tar.bz2 1252518 BLAKE2B 11eecf1ca69e6855be1cb1a1a6bfefd6b65cf38a6fcfd1e98727fd7813958024b47f974a12fa05cf0a92079a7d14ecb1a6b199a51ba0b4731aa4a1a8b638441a SHA512 d493de78086a88784dbf8b54732faddca7e0dec008cf80a757240f8e1943d230edc4f0ef5a372cb1897be01956bbcfd282a979150901c0df6cc304ccdc6d878d |
23 |
DIST pdns-recursor-4.2.0.tar.bz2 1316156 BLAKE2B 3ceb71695b0d5aa2826e28975f45d03910b23f2d7dfbe7388ffd19ea51c37bf6758ea6f90f1772b0c4ed217ef844e112961f51c04dee4db20a05f1e25ae6b71f SHA512 e4be63c1be70f0dfd7aab71f1184d5cc1d15e60e775451a96e8472db6fb3825762ebd6f51b593b167389868bbfde0538612b14a04c03f3f60a7e49f7882e78bf |
24 |
DIST pdns-recursor-4.2.1.tar.bz2 1318022 BLAKE2B 19fba9dae26d27f68ceaf70f15f2fb27ec030fa64d5dfdfe7bf482293ed5aac6b8eb6ed47a75c2b88f4d481794695d66f0ce1cbc71d8eedeabd86d8ce8c382ba SHA512 ebd7ff40def4b5c9398dee5ceae0aaf762982be4124773002b3f603b18cab2a6df667524a268e72268032334ae29d32b42294cbae68dcdc154e08b8a38f75dff |
25 |
+DIST pdns-recursor-4.3.0.tar.bz2 1349359 BLAKE2B cdb9d38a350ef371c3675185c0f52f416d55338df034ff32a9d9fc85d783de04513555ec96fbc1dd07ecd7214d889cfe6fba80bc6981e66a6b8d4fe6f1da7dfa SHA512 6ba4721f502e1e483d04e8d8cafa35d1cc088c6b3c73120a0cc90ff9c8e8f495a1591e01f0daf30d00f020e3aa06b1cf092ed6b8a0786070c307a6564812c085 |
26 |
|
27 |
diff --git a/net-dns/pdns-recursor/pdns-recursor-4.3.0.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.3.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..d3ed153e567 |
30 |
--- /dev/null |
31 |
+++ b/net-dns/pdns-recursor/pdns-recursor-4.3.0.ebuild |
32 |
@@ -0,0 +1,78 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI="7" |
37 |
+ |
38 |
+inherit flag-o-matic |
39 |
+ |
40 |
+DESCRIPTION="The PowerDNS Recursor" |
41 |
+HOMEPAGE="https://www.powerdns.com/" |
42 |
+SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" |
43 |
+ |
44 |
+LICENSE="GPL-2" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~x86" |
47 |
+IUSE="debug libressl luajit protobuf snmp sodium systemd" |
48 |
+ |
49 |
+DEPEND="!luajit? ( >=dev-lang/lua-5.1:= ) |
50 |
+ luajit? ( dev-lang/luajit:= ) |
51 |
+ protobuf? ( |
52 |
+ dev-libs/protobuf |
53 |
+ >=dev-libs/boost-1.42:= |
54 |
+ ) |
55 |
+ systemd? ( sys-apps/systemd:0= ) |
56 |
+ snmp? ( net-analyzer/net-snmp ) |
57 |
+ sodium? ( dev-libs/libsodium:= ) |
58 |
+ libressl? ( dev-libs/libressl:= ) |
59 |
+ !libressl? ( dev-libs/openssl:= ) |
60 |
+ >=dev-libs/boost-1.35:=" |
61 |
+RDEPEND="${DEPEND} |
62 |
+ !<net-dns/pdns-2.9.20-r1" |
63 |
+BDEPEND="virtual/pkgconfig" |
64 |
+ |
65 |
+S="${WORKDIR}"/${P/_/-} |
66 |
+ |
67 |
+pkg_setup() { |
68 |
+ filter-flags -ftree-vectorize |
69 |
+} |
70 |
+ |
71 |
+src_configure() { |
72 |
+ econf \ |
73 |
+ --sysconfdir=/etc/powerdns \ |
74 |
+ --with-lua=$(usex luajit luajit lua) \ |
75 |
+ $(use_enable debug verbose-logging) \ |
76 |
+ $(use_enable systemd) \ |
77 |
+ $(use_with sodium libsodium) \ |
78 |
+ $(use_with protobuf) \ |
79 |
+ $(use_with snmp net-snmp) |
80 |
+} |
81 |
+ |
82 |
+src_install() { |
83 |
+ default |
84 |
+ |
85 |
+ mv "${D}"/etc/powerdns/recursor.conf{-dist,} |
86 |
+ |
87 |
+ # set defaults: setuid=nobody, setgid=nobody |
88 |
+ sed -i \ |
89 |
+ -e 's/^# set\([ug]\)id=$/set\1id=nobody/' \ |
90 |
+ -e 's/^# quiet=$/quiet=on/' \ |
91 |
+ -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \ |
92 |
+ "${D}"/etc/powerdns/recursor.conf |
93 |
+ |
94 |
+ newinitd "${FILESDIR}"/pdns-recursor-r1 pdns-recursor |
95 |
+ |
96 |
+ keepdir /var/lib/powerdns |
97 |
+} |
98 |
+ |
99 |
+pkg_postinst() { |
100 |
+ local old |
101 |
+ |
102 |
+ for old in ${REPLACING_VERSIONS}; do |
103 |
+ ver_test ${old} -lt 4.0.0-r1 || continue |
104 |
+ |
105 |
+ ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor" |
106 |
+ ewarn "to pdns-recursor, please update your runlevels accordingly." |
107 |
+ |
108 |
+ break |
109 |
+ done |
110 |
+} |