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: Tue, 18 Sep 2018 19:43:27
Message-Id: 1537299797.125470d3434ca6818aa45e3f256e2912c18a8263.swegener@gentoo
1 commit: 125470d3434ca6818aa45e3f256e2912c18a8263
2 Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 18 17:32:33 2018 +0000
4 Commit: Sven Wegener <swegener <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 18 19:43:17 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=125470d3
7
8 net-dns/pdns-recursor: EAPI-7
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.10
11 Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>
12
13 net-dns/pdns-recursor/pdns-recursor-4.1.4.ebuild | 10 ++++------
14 1 file changed, 4 insertions(+), 6 deletions(-)
15
16 diff --git a/net-dns/pdns-recursor/pdns-recursor-4.1.4.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.1.4.ebuild
17 index 7e2d4e9bfdb..29926f6c42d 100644
18 --- a/net-dns/pdns-recursor/pdns-recursor-4.1.4.ebuild
19 +++ b/net-dns/pdns-recursor/pdns-recursor-4.1.4.ebuild
20 @@ -1,9 +1,9 @@
21 # Copyright 1999-2018 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI="6"
25 +EAPI="7"
26
27 -inherit toolchain-funcs flag-o-matic eutils versionator
28 +inherit flag-o-matic
29
30 DESCRIPTION="The PowerDNS Recursor"
31 HOMEPAGE="https://www.powerdns.com/"
32 @@ -28,8 +28,7 @@ DEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
33 >=dev-libs/boost-1.35:="
34 RDEPEND="${DEPEND}
35 !<net-dns/pdns-2.9.20-r1"
36 -DEPEND="${DEPEND}
37 - virtual/pkgconfig"
38 +BDEPEND="virtual/pkgconfig"
39
40 S="${WORKDIR}"/${P/_/-}
41
42 @@ -69,8 +68,7 @@ pkg_postinst() {
43 local old
44
45 for old in ${REPLACING_VERSIONS}; do
46 - version_compare ${old} 4.0.0-r1
47 - [[ $? -eq 1 ]] || continue
48 + ver_test ${old} -lt 4.0.0-r1 || continue
49
50 ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor"
51 ewarn "to pdns-recursor, please update your runlevels accordingly."