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/
Date: Tue, 18 Sep 2018 19:43:27
Message-Id: 1537299797.235f97543debad22bf4d79004c41500a2354e80e.swegener@gentoo
1 commit: 235f97543debad22bf4d79004c41500a2354e80e
2 Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 18 17:24:27 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=235f9754
7
8 net-dns/pdns: 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/pdns-4.1.4.ebuild | 18 ++++++++++--------
14 1 file changed, 10 insertions(+), 8 deletions(-)
15
16 diff --git a/net-dns/pdns/pdns-4.1.4.ebuild b/net-dns/pdns/pdns-4.1.4.ebuild
17 index 9194e5f4560..45e60be2b58 100644
18 --- a/net-dns/pdns/pdns-4.1.4.ebuild
19 +++ b/net-dns/pdns/pdns-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 eutils multilib user toolchain-funcs versionator
28 +inherit multilib user
29
30 DESCRIPTION="The PowerDNS Daemon"
31 HOMEPAGE="https://www.powerdns.com/"
32 @@ -40,8 +40,8 @@ RDEPEND="
33 sodium? ( dev-libs/libsodium:= )
34 tinydns? ( >=dev-db/tinycdb-0.77 )
35 protobuf? ( dev-libs/protobuf )"
36 -DEPEND="${RDEPEND}
37 - virtual/pkgconfig
38 +DEPEND="${RDEPEND}"
39 +BDEPEND="virtual/pkgconfig
40 doc? ( app-doc/doxygen )"
41
42 S="${WORKDIR}"/${P/_/-}
43 @@ -104,7 +104,10 @@ src_install() {
44
45 keepdir /var/empty
46
47 - use doc && dohtml -r codedocs/html/.
48 + if use doc; then
49 + docinto html
50 + dodoc -r codedocs/html/.
51 + fi
52
53 # Install development headers
54 insinto /usr/include/pdns
55 @@ -117,7 +120,7 @@ src_install() {
56 doins "${FILESDIR}"/dnsdomain2.schema
57 fi
58
59 - prune_libtool_files --all
60 + find "${D}" -name '*.la' -delete || die
61 }
62
63 pkg_preinst() {
64 @@ -139,8 +142,7 @@ pkg_postinst() {
65
66 local old
67 for old in ${REPLACING_VERSIONS}; do
68 - version_compare ${old} 3.2
69 - [[ $? -eq 1 ]] || continue
70 + ver_test ${old} -lt 3.2 || continue
71
72 ewarn "To fix a security bug (bug #458018) had the following"
73 ewarn "files/directories the world-readable bit removed (if set):"