1 |
commit: fa651edb54b1c065eaad368282b10483d7f931d0 |
2 |
Author: Sven Wegener <swegener <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 3 09:59:48 2019 +0000 |
4 |
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 3 10:00:22 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa651edb |
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.62, Repoman-2.3.11 |
12 |
|
13 |
net-dns/pdns-recursor/Manifest | 1 + |
14 |
net-dns/pdns-recursor/pdns-recursor-4.1.12.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 ee58629e78d..15614e1efc7 100644 |
19 |
--- a/net-dns/pdns-recursor/Manifest |
20 |
+++ b/net-dns/pdns-recursor/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST pdns-recursor-4.1.10.tar.bz2 1238148 BLAKE2B b68e33b40d5f1a680cbbd76c9864439a84416071dc75d658a3988e891da7f6a5d0c197d8dda7ff014a30b7f762bfbe5db4a616a6cad4415fd46db119b51ba70a SHA512 204ea40f5c14d1e589935af4fbd24c102090390d741dbc5ad28f4c20044011f4b2b1c7926d8caaf144a7b2b1680f793e66199c5e9238e926da9fba60c5573dcd |
23 |
DIST pdns-recursor-4.1.11.tar.bz2 1239986 BLAKE2B 33c9b2a2f811c43b67ad2bddf5a11d5d95cc88679d46ba3513f3eeec97bf7694af493a9fea4f733f003056b5f0fc971112e9062883324102ecca28838e2f3e41 SHA512 6041d31f0a517786f44a7fa22c7bfa94d5d4bdc3a7f349d2b47bc66be87404fe8eaf76f45ca18ef8ab96a45c0271f46fdba93a51fbda2542a3ad96e10f51c1d1 |
24 |
+DIST pdns-recursor-4.1.12.tar.bz2 1245110 BLAKE2B 187fe117ab64f234d144d7e2d91a119afe1d6b0a45079f1f9527724081c64f594c8c5d5b4dbc6e25b4beef1fcdfb3e5caed8e5a434921bf6b66e07617d0fb6f9 SHA512 d228976937ede7e9f6b3375e573f5b436d9df7ae246e411b13acb095a1a58f12173b663acc364ce0fbdcc61b3d5522e101472a88da8f044e44541564f9915d9e |
25 |
|
26 |
diff --git a/net-dns/pdns-recursor/pdns-recursor-4.1.12.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.1.12.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..c054da53cee |
29 |
--- /dev/null |
30 |
+++ b/net-dns/pdns-recursor/pdns-recursor-4.1.12.ebuild |
31 |
@@ -0,0 +1,78 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI="7" |
36 |
+ |
37 |
+inherit flag-o-matic |
38 |
+ |
39 |
+DESCRIPTION="The PowerDNS Recursor" |
40 |
+HOMEPAGE="https://www.powerdns.com/" |
41 |
+SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm ~x86" |
46 |
+IUSE="libressl luajit protobuf snmp sodium systemd" |
47 |
+ |
48 |
+DEPEND="!luajit? ( >=dev-lang/lua-5.1:= ) |
49 |
+ luajit? ( dev-lang/luajit:= ) |
50 |
+ protobuf? ( |
51 |
+ dev-libs/protobuf |
52 |
+ >=dev-libs/boost-1.42:= |
53 |
+ ) |
54 |
+ systemd? ( sys-apps/systemd:0= ) |
55 |
+ snmp? ( net-analyzer/net-snmp ) |
56 |
+ sodium? ( dev-libs/libsodium:= ) |
57 |
+ libressl? ( dev-libs/libressl:= ) |
58 |
+ !libressl? ( dev-libs/openssl:= ) |
59 |
+ >=dev-libs/boost-1.35:=" |
60 |
+RDEPEND="${DEPEND} |
61 |
+ !<net-dns/pdns-2.9.20-r1" |
62 |
+BDEPEND="virtual/pkgconfig" |
63 |
+ |
64 |
+S="${WORKDIR}"/${P/_/-} |
65 |
+ |
66 |
+pkg_setup() { |
67 |
+ filter-flags -ftree-vectorize |
68 |
+} |
69 |
+ |
70 |
+src_configure() { |
71 |
+ econf \ |
72 |
+ --sysconfdir=/etc/powerdns \ |
73 |
+ $(use_enable systemd) \ |
74 |
+ $(use_enable sodium libsodium) \ |
75 |
+ $(use_with !luajit lua) \ |
76 |
+ $(use_with luajit luajit) \ |
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 |
+} |