From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E3885138335 for ; Tue, 18 Sep 2018 19:43:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E5034E0BF4; Tue, 18 Sep 2018 19:43:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BC8D8E0BF4 for ; Tue, 18 Sep 2018 19:43:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 57B3A335CDC for ; Tue, 18 Sep 2018 19:43:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9208A3DD for ; Tue, 18 Sep 2018 19:43:23 +0000 (UTC) From: "Sven Wegener" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Wegener" Message-ID: <1537299797.235f97543debad22bf4d79004c41500a2354e80e.swegener@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/pdns/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/pdns/pdns-4.1.4.ebuild X-VCS-Directories: net-dns/pdns/ X-VCS-Committer: swegener X-VCS-Committer-Name: Sven Wegener X-VCS-Revision: 235f97543debad22bf4d79004c41500a2354e80e X-VCS-Branch: master Date: Tue, 18 Sep 2018 19:43:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 60e14090-7083-41e6-81e8-d44487e1bfd8 X-Archives-Hash: 006073962aaa3293c6d84f204a178391 commit: 235f97543debad22bf4d79004c41500a2354e80e Author: Sven Wegener gentoo org> AuthorDate: Tue Sep 18 17:24:27 2018 +0000 Commit: Sven Wegener gentoo org> CommitDate: Tue Sep 18 19:43:17 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=235f9754 net-dns/pdns: EAPI-7 Package-Manager: Portage-2.3.49, Repoman-2.3.10 Signed-off-by: Sven Wegener gentoo.org> net-dns/pdns/pdns-4.1.4.ebuild | 18 ++++++++++-------- 1 file 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 9194e5f4560..45e60be2b58 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):"