1 |
commit: 8b8909e427db2ae637d0df02213eb01a0ed85a08 |
2 |
Author: Sven Wegener <swegener <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 6 16:11:08 2016 +0000 |
4 |
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 6 16:11:56 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b8909e4 |
7 |
|
8 |
net-dns/pdns-recursor: Version bump |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
net-dns/pdns-recursor/Manifest | 1 + |
13 |
net-dns/pdns-recursor/pdns-recursor-4.0.3.ebuild | 75 ++++++++++++++++++++++++ |
14 |
2 files changed, 76 insertions(+) |
15 |
|
16 |
diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest |
17 |
index 77efbf8..f5ab239 100644 |
18 |
--- a/net-dns/pdns-recursor/Manifest |
19 |
+++ b/net-dns/pdns-recursor/Manifest |
20 |
@@ -3,3 +3,4 @@ DIST pdns-recursor-3.7.3.tar.bz2 245192 SHA256 859ca6071147dd2e2ac1b2a5c3d5c2cbf |
21 |
DIST pdns-recursor-4.0.0.tar.bz2 1034944 SHA256 900a5d5858c9caa825afd9df657dadebcc1842e3068754c19562eeaab8c791fd SHA512 1a0a9ce39e5540a79308721bb47cccde54679570a218cef9740be06cfe9971af88f1cf82b3daabc4c1733484446a4432ffaf4e875ae9532cbb4a9264fcac7798 WHIRLPOOL 0a8577f582390844f0ad7d4aafce977383ed6984f4d4543f442b3b029d68c86c9d41742488edd4dec31fdc38a63bc6bf1333445dab626b9cc714e90589e7579e |
22 |
DIST pdns-recursor-4.0.1.tar.bz2 1035584 SHA256 472db541307c8ca83a846d260ecfc854fd8e879c1bb2ce5683a8df5d21e860b0 SHA512 3e69606bda3d296b0c3fd9212afa2a098ab04637718356d220a9490bc3e2a0ca97210934d398ad740509cea9e8f8d2ab2e16a1ba75d559f6b82bf64a729ad018 WHIRLPOOL 5702272c34835238b7a63de6bc4bae0836d9879e8e98d97d7f79e08397f5c2f2d75f10878b94c44fdf862ad924635b6f86a65b31312e0fb16ab38f30c4646bac |
23 |
DIST pdns-recursor-4.0.2.tar.bz2 1045767 SHA256 d0c46bf47a3f9b3100043319ef9cdec83eba2c35f0a268d704d5c3a3facfea41 SHA512 74dea771deb0bcce6209c256f4c2c82a76d34a80a4a67497b58bf8889166a51864c2649527475aa6e6355af8bba86a68d599828274eaa7521006384223f2e937 WHIRLPOOL 4eda1d13a888f31e1dc90ff3238acee8999423197d514a7ba49ce1fc623512d13694ffd0cf8891d4141e34907cc2ff9f30607b327179f4257a8ed89b4d9973d4 |
24 |
+DIST pdns-recursor-4.0.3.tar.bz2 1045041 SHA256 ae9813a64d13d9ebe4b44e89e8e4e44fc438693b6ce4c3a98e4cab1af22d9627 SHA512 03c77cff58851f9802eba434fb674d9cbd19b849620996df84b8dccc97539607895e06c1beb662b1ce08146bbc2b51a72bde2d6d90ef88c929ab645d9b5a33c4 WHIRLPOOL 25a6f40bca7575ffa07a87be15c0f6d6943878ed5f9b5cd28fa4eb782048a82aed56e5f76b578be78b5d9078dbd4a2838a1b07da22e125903e677d7e7e60bb8f |
25 |
|
26 |
diff --git a/net-dns/pdns-recursor/pdns-recursor-4.0.3.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.0.3.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000..a4dddaa |
29 |
--- /dev/null |
30 |
+++ b/net-dns/pdns-recursor/pdns-recursor-4.0.3.ebuild |
31 |
@@ -0,0 +1,75 @@ |
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 toolchain-funcs flag-o-matic eutils versionator |
39 |
+ |
40 |
+DESCRIPTION="The PowerDNS Recursor" |
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 ~arm ~x86" |
47 |
+IUSE="lua luajit protobuf systemd" |
48 |
+REQUIRED_USE="?? ( lua luajit )" |
49 |
+ |
50 |
+DEPEND="lua? ( >=dev-lang/lua-5.1:= ) |
51 |
+ luajit? ( dev-lang/luajit:= ) |
52 |
+ protobuf? ( |
53 |
+ dev-libs/protobuf |
54 |
+ >=dev-libs/boost-1.42 |
55 |
+ ) |
56 |
+ >=dev-libs/boost-1.35" |
57 |
+RDEPEND="${DEPEND} |
58 |
+ !<net-dns/pdns-2.9.20-r1" |
59 |
+DEPEND="${DEPEND} |
60 |
+ virtual/pkgconfig" |
61 |
+ |
62 |
+S="${WORKDIR}"/${P/_/-} |
63 |
+ |
64 |
+pkg_setup() { |
65 |
+ filter-flags -ftree-vectorize |
66 |
+} |
67 |
+ |
68 |
+src_configure() { |
69 |
+ econf \ |
70 |
+ --sysconfdir=/etc/powerdns \ |
71 |
+ $(use_enable systemd) \ |
72 |
+ $(use_with lua) \ |
73 |
+ $(use_with luajit) \ |
74 |
+ $(use_with protobuf) |
75 |
+} |
76 |
+ |
77 |
+src_install() { |
78 |
+ default |
79 |
+ |
80 |
+ mv "${D}"/etc/powerdns/recursor.conf{-dist,} |
81 |
+ |
82 |
+ # set defaults: setuid=nobody, setgid=nobody |
83 |
+ sed -i \ |
84 |
+ -e 's/^# set\([ug]\)id=$/set\1id=nobody/' \ |
85 |
+ -e 's/^# quiet=$/quiet=on/' \ |
86 |
+ -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \ |
87 |
+ "${D}"/etc/powerdns/recursor.conf |
88 |
+ |
89 |
+ doinitd "${FILESDIR}"/pdns-recursor |
90 |
+ |
91 |
+ keepdir /var/lib/powerdns |
92 |
+} |
93 |
+ |
94 |
+pkg_postinst() { |
95 |
+ local old |
96 |
+ |
97 |
+ for old in ${REPLACING_VERSIONS}; do |
98 |
+ version_compare ${old} 4.0.0-r1 |
99 |
+ [[ $? -eq 1 ]] || continue |
100 |
+ |
101 |
+ ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor" |
102 |
+ ewarn "to pdns-recursor, please update your runlevels accordingly." |
103 |
+ |
104 |
+ break |
105 |
+ done |
106 |
+} |