Gentoo Archives: gentoo-commits

From: Sven Wegener <swegener@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/pdns-recursor/
Date: Fri, 04 Sep 2020 17:33:31
Message-Id: 1599240804.db6a6b10bfb09796c3bf824938cdd0eee1490ba8.swegener@gentoo
1 commit: db6a6b10bfb09796c3bf824938cdd0eee1490ba8
2 Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 4 17:32:00 2020 +0000
4 Commit: Sven Wegener <swegener <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 4 17:33:24 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db6a6b10
7
8 net-dns/pdns-recursor: Cleanup
9
10 Package-Manager: Portage-3.0.4, Repoman-2.3.23
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.2.ebuild | 85 ------------------------
15 2 files changed, 86 deletions(-)
16
17 diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest
18 index 1b129461da1..490ac9a1bcb 100644
19 --- a/net-dns/pdns-recursor/Manifest
20 +++ b/net-dns/pdns-recursor/Manifest
21 @@ -1,2 +1 @@
22 -DIST pdns-recursor-4.3.2.tar.bz2 1354549 BLAKE2B 253f9a6ec3b7bfb4d3a97953c9f65458b479bdaa20fcc28d980a1cf4c1f15f80ad35251687bb5410f14268be79de4bbcec8bc36663a0a8eb51894fa6e4242547 SHA512 d1ca566dc8785fda3764838a0ea598acc4106b6261ebdbbe43fc6a6e4a82c375f7ef3f6d23fbd9b216067eb9cf56fcae6d460bfc7957ba4c201d466ad15d75d7
23 DIST pdns-recursor-4.3.3.tar.bz2 1357853 BLAKE2B fa57776bbdb77d1f13f04fdd1fb5ceb07539f851704dc627443a7c814d6640b1e7890333b6d7214a201f5d3f83a54a7840adb6450ffb7696e58722625b7c57c5 SHA512 285f12d3cb2edaca7507dd9dad1356b60076d43af678458346489562ea8933a01d61d2430d5282b6afd213839ee684ad83e5f523c9a272f382d74ccc238bd9d5
24
25 diff --git a/net-dns/pdns-recursor/pdns-recursor-4.3.2.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.3.2.ebuild
26 deleted file mode 100644
27 index bffba0080a4..00000000000
28 --- a/net-dns/pdns-recursor/pdns-recursor-4.3.2.ebuild
29 +++ /dev/null
30 @@ -1,85 +0,0 @@
31 -# Copyright 1999-2020 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="debug dnstap libressl luajit protobuf snmp sodium systemd"
46 -REQUIRED_USE="dnstap? ( protobuf )"
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 - dnstap? ( dev-libs/fstrm )
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 - acct-user/pdns
64 - acct-group/pdns"
65 -BDEPEND="virtual/pkgconfig"
66 -
67 -S="${WORKDIR}"/${P/_/-}
68 -
69 -PATCHES=(
70 - "${FILESDIR}"/${PN}-4.3.1-boost-1.73.0.patch
71 -)
72 -
73 -pkg_setup() {
74 - filter-flags -ftree-vectorize
75 -}
76 -
77 -src_configure() {
78 - econf \
79 - --sysconfdir=/etc/powerdns \
80 - --with-lua=$(usex luajit luajit lua) \
81 - $(use_enable debug verbose-logging) \
82 - $(use_enable systemd) \
83 - $(use_enable dnstap dnstap) \
84 - $(use_with sodium libsodium) \
85 - $(use_with protobuf) \
86 - $(use_with snmp net-snmp)
87 -}
88 -
89 -src_install() {
90 - default
91 -
92 - mv "${D}"/etc/powerdns/recursor.conf{-dist,}
93 -
94 - # set defaults: setuid=nobody, setgid=nobody
95 - sed -i \
96 - -e 's/^# set\([ug]\)id=$/set\1id=pdns/' \
97 - -e 's/^# quiet=$/quiet=on/' \
98 - -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \
99 - "${D}"/etc/powerdns/recursor.conf
100 -
101 - newinitd "${FILESDIR}"/pdns-recursor-r2 pdns-recursor
102 -}
103 -
104 -pkg_postinst() {
105 - local old
106 -
107 - for old in ${REPLACING_VERSIONS}; do
108 - ver_test ${old} -lt 4.0.0-r1 || continue
109 -
110 - ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor"
111 - ewarn "to pdns-recursor, please update your runlevels accordingly."
112 -
113 - break
114 - done
115 -}