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