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: Wed, 23 Jan 2019 15:53:04
Message-Id: 1548258767.7bf694ee05392ec52e0d73c685a110d389c610c5.swegener@gentoo
1 commit: 7bf694ee05392ec52e0d73c685a110d389c610c5
2 Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 23 15:52:47 2019 +0000
4 Commit: Sven Wegener <swegener <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 23 15:52:47 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bf694ee
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.8.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 63a87021f03..b28e2a3f4a1 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.8.tar.bz2 1237750 BLAKE2B 1170198ea2ed9f1d16f7d8fa76e4c9f8bc56e3c72a391d094e7380d84657b55daa6f45acf4737a9d9b144f2deae64103c40dc3b95550a853ee6f41f0f8a92c78 SHA512 5c09b8ce3f2f3ed6bb350cbd20e6cad4b66f9db85677605d57eca67187c05ddde5071af246a7398e2821c9ed2e5ff101d2b4928366b3ddf12013020fa9b74e61
23 DIST pdns-recursor-4.1.9.tar.bz2 1237727 BLAKE2B e060120edbbccd6688f614e0c00f0ecb9954b2d1f96194f7fff53d7111ec8c843348c25e206e998e1d0eb920b68b4a4631fb0806810e14956bd04957ece0c960 SHA512 2deaf1cdc8c32087f744efe0d142421cfd2d89dc9b31edcdea55c1efc2637987e8557891716498e3703c4b1af4b0d301e2a53316c5a97c7a18ec85016ccfa8f1
24
25 diff --git a/net-dns/pdns-recursor/pdns-recursor-4.1.8.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.1.8.ebuild
26 deleted file mode 100644
27 index 2e627d8108a..00000000000
28 --- a/net-dns/pdns-recursor/pdns-recursor-4.1.8.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 -}