diff options
author | Sven Wegener <swegener@gentoo.org> | 2018-09-18 17:24:27 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2018-09-18 19:43:17 +0000 |
commit | 235f97543debad22bf4d79004c41500a2354e80e (patch) | |
tree | 8901622df969b866a9d3d6b70830e4af6a15f227 | |
parent | net-dns/pdns: virtual/mysql -> dev-db/mysql-connector-c, bug #665970 (diff) | |
download | gentoo-235f97543debad22bf4d79004c41500a2354e80e.tar.gz gentoo-235f97543debad22bf4d79004c41500a2354e80e.tar.bz2 gentoo-235f97543debad22bf4d79004c41500a2354e80e.zip |
net-dns/pdns: EAPI-7
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Signed-off-by: Sven Wegener <swegener@gentoo.org>
-rw-r--r-- | net-dns/pdns/pdns-4.1.4.ebuild | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/net-dns/pdns/pdns-4.1.4.ebuild b/net-dns/pdns/pdns-4.1.4.ebuild index 9194e5f4560d..45e60be2b588 100644 --- a/net-dns/pdns/pdns-4.1.4.ebuild +++ b/net-dns/pdns/pdns-4.1.4.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI="6" +EAPI="7" -inherit eutils multilib user toolchain-funcs versionator +inherit multilib user DESCRIPTION="The PowerDNS Daemon" HOMEPAGE="https://www.powerdns.com/" @@ -40,8 +40,8 @@ RDEPEND=" sodium? ( dev-libs/libsodium:= ) tinydns? ( >=dev-db/tinycdb-0.77 ) protobuf? ( dev-libs/protobuf )" -DEPEND="${RDEPEND} - virtual/pkgconfig +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig doc? ( app-doc/doxygen )" S="${WORKDIR}"/${P/_/-} @@ -104,7 +104,10 @@ src_install() { keepdir /var/empty - use doc && dohtml -r codedocs/html/. + if use doc; then + docinto html + dodoc -r codedocs/html/. + fi # Install development headers insinto /usr/include/pdns @@ -117,7 +120,7 @@ src_install() { doins "${FILESDIR}"/dnsdomain2.schema fi - prune_libtool_files --all + find "${D}" -name '*.la' -delete || die } pkg_preinst() { @@ -139,8 +142,7 @@ pkg_postinst() { local old for old in ${REPLACING_VERSIONS}; do - version_compare ${old} 3.2 - [[ $? -eq 1 ]] || continue + ver_test ${old} -lt 3.2 || continue ewarn "To fix a security bug (bug #458018) had the following" ewarn "files/directories the world-readable bit removed (if set):" |