1 |
commit: 9f376099b87d49cc46638452f2b05238d7311531 |
2 |
Author: Sven Wegener <swegener <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 30 10:22:38 2019 +0000 |
4 |
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 30 10:44:32 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f376099 |
7 |
|
8 |
net-dns/pdns-recursor: Version bump |
9 |
|
10 |
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.66, Repoman-2.3.11 |
12 |
|
13 |
net-dns/pdns-recursor/Manifest | 1 + |
14 |
.../pdns-recursor/pdns-recursor-4.2.0_rc1.ebuild | 77 ++++++++++++++++++++++ |
15 |
2 files changed, 78 insertions(+) |
16 |
|
17 |
diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest |
18 |
index d631555cc5b..c78c5655088 100644 |
19 |
--- a/net-dns/pdns-recursor/Manifest |
20 |
+++ b/net-dns/pdns-recursor/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST pdns-recursor-4.1.11.tar.bz2 1239986 BLAKE2B 33c9b2a2f811c43b67ad2bddf5a11d5d95cc88679d46ba3513f3eeec97bf7694af493a9fea4f733f003056b5f0fc971112e9062883324102ecca28838e2f3e41 SHA512 6041d31f0a517786f44a7fa22c7bfa94d5d4bdc3a7f349d2b47bc66be87404fe8eaf76f45ca18ef8ab96a45c0271f46fdba93a51fbda2542a3ad96e10f51c1d1 |
23 |
DIST pdns-recursor-4.1.12.tar.bz2 1245110 BLAKE2B 187fe117ab64f234d144d7e2d91a119afe1d6b0a45079f1f9527724081c64f594c8c5d5b4dbc6e25b4beef1fcdfb3e5caed8e5a434921bf6b66e07617d0fb6f9 SHA512 d228976937ede7e9f6b3375e573f5b436d9df7ae246e411b13acb095a1a58f12173b663acc364ce0fbdcc61b3d5522e101472a88da8f044e44541564f9915d9e |
24 |
DIST pdns-recursor-4.1.13.tar.bz2 1246775 BLAKE2B ec664baa9d98dde179f15777fb83817706770a88e08dfb61bf8bc9f1fcbd1e6e6064e44bda90da2d82ef4d15e33e0656cd6624c38b3922b5c662610085319164 SHA512 3b64caf291b80e1b0d024d607fc7e0fe8d51450a687a1090f0d0f7aab1a42a73fb31576a0acfddcee3f9c476f8bb0ac192a937f9c3481bef8031d34866b5f430 |
25 |
+DIST pdns-recursor-4.2.0-rc1.tar.bz2 1312628 BLAKE2B 9ab6462cbfad26bd5590af19ff0527d749e5e48aba21ac52603f0d481415491f584976de6c03fce1d6b6a3180226e343e0ed715678e1e0c523a9f25dc18ac47c SHA512 f524001d6303bb8aa83b90646915d7b5666056a8c177391ddd2fd94b610e9cca94a7f33cc65be39d76e57a0b823c87c5a16147bc7a92438ab0b2b8dc891e401a |
26 |
|
27 |
diff --git a/net-dns/pdns-recursor/pdns-recursor-4.2.0_rc1.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.2.0_rc1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..91500af1536 |
30 |
--- /dev/null |
31 |
+++ b/net-dns/pdns-recursor/pdns-recursor-4.2.0_rc1.ebuild |
32 |
@@ -0,0 +1,77 @@ |
33 |
+# Copyright 1999-2019 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="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 systemd) \ |
76 |
+ $(use_with sodium libsodium) \ |
77 |
+ $(use_with protobuf) \ |
78 |
+ $(use_with snmp net-snmp) |
79 |
+} |
80 |
+ |
81 |
+src_install() { |
82 |
+ default |
83 |
+ |
84 |
+ mv "${D}"/etc/powerdns/recursor.conf{-dist,} |
85 |
+ |
86 |
+ # set defaults: setuid=nobody, setgid=nobody |
87 |
+ sed -i \ |
88 |
+ -e 's/^# set\([ug]\)id=$/set\1id=nobody/' \ |
89 |
+ -e 's/^# quiet=$/quiet=on/' \ |
90 |
+ -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \ |
91 |
+ "${D}"/etc/powerdns/recursor.conf |
92 |
+ |
93 |
+ newinitd "${FILESDIR}"/pdns-recursor-r1 pdns-recursor |
94 |
+ |
95 |
+ keepdir /var/lib/powerdns |
96 |
+} |
97 |
+ |
98 |
+pkg_postinst() { |
99 |
+ local old |
100 |
+ |
101 |
+ for old in ${REPLACING_VERSIONS}; do |
102 |
+ ver_test ${old} -lt 4.0.0-r1 || continue |
103 |
+ |
104 |
+ ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor" |
105 |
+ ewarn "to pdns-recursor, please update your runlevels accordingly." |
106 |
+ |
107 |
+ break |
108 |
+ done |
109 |
+} |