summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Chaintreuil <gentoo_bugs_peep@parallaxshift.com>2020-09-02 09:28:59 -0400
committerJoonas Niilola <juippis@gentoo.org>2020-09-29 13:25:02 +0300
commit4493900d08273263afece7df9437babd5df5ee8f (patch)
treea87bb054fed895630d8e71a78b46ee68129954ef /net-dns
parentdev-python/construct: add support for new python (diff)
downloadgentoo-4493900d08273263afece7df9437babd5df5ee8f.tar.gz
gentoo-4493900d08273263afece7df9437babd5df5ee8f.tar.bz2
gentoo-4493900d08273263afece7df9437babd5df5ee8f.zip
net-dns/dnssec-tools: Call perl_delete_localpod
Remove perllocal.pod to avoid file collisions Closes: https://bugs.gentoo.org/612268 Closes: https://github.com/gentoo/gentoo/pull/17386 Package-Manager: Portage-3.0.4, Repoman-2.3.23 Signed-off-by: Philippe Chaintreuil <gentoo_bugs_peep@parallaxshift.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/dnssec-tools/dnssec-tools-2.2.3-r2.ebuild78
1 files changed, 78 insertions, 0 deletions
diff --git a/net-dns/dnssec-tools/dnssec-tools-2.2.3-r2.ebuild b/net-dns/dnssec-tools/dnssec-tools-2.2.3-r2.ebuild
new file mode 100644
index 000000000000..8e728f67af24
--- /dev/null
+++ b/net-dns/dnssec-tools/dnssec-tools-2.2.3-r2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit readme.gentoo-r1 systemd
+
+DESCRIPTION="Tools to ease the deployment of DNSSEC related technologies"
+HOMEPAGE="https://dnssec-tools.org/"
+SRC_URI="https://github.com/DNSSEC-Tools/DNSSEC-Tools/archive/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="static-libs"
+
+RDEPEND="
+ dev-lang/perl:=
+ dev-perl/CGI
+ dev-perl/Crypt-OpenSSL-Random
+ dev-perl/Getopt-GUI-Long
+ dev-perl/GraphViz
+ dev-perl/MailTools
+ dev-perl/Net-DNS
+ dev-perl/Net-DNS-SEC
+ dev-perl/XML-Simple"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/DNSSEC-Tools-${P}/${PN}"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.0-dtinitconf.patch )
+
+src_prepare() {
+ default
+ sed -e '/^maninstall:/,+3s:$(MKPATH) $(mandir)/$(man1dir):$(MKPATH) $(DESTDIR)/$(mandir)/$(man1dir):' \
+ -i Makefile.in || die
+ sed -e 's:/usr/local/etc:/etc:g' \
+ -e 's:/usr/local:/usr:g' \
+ -i tools/donuts/donuts \
+ -i tools/etc/dnssec-tools/dnssec-tools.conf \
+ -i tools/scripts/genkrf || die
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-bind-checks
+ --without-validator
+ --with-perl-build-args=INSTALLDIRS=vendor
+ $(use_enable static-libs static)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ newinitd "${FILESDIR}"/rollerd.initd rollerd
+ newconfd "${FILESDIR}"/rollerd.confd rollerd
+ systemd_dounit "${FILESDIR}"/rollerd.service
+
+ newinitd "${FILESDIR}"/donutsd.initd donutsd
+ newconfd "${FILESDIR}"/donutsd.confd donutsd
+ systemd_dounit "${FILESDIR}"/donutsd.service
+
+ find "${ED}" -name "*.la" -delete || die
+ readme.gentoo_create_doc
+
+ # Remove perllocal.pod to avoid file collisions (bugs #612268 and
+ # #603338).
+ perl_delete_localpod
+}
+
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="Please run 'dtinitconf' in order to set up the required
+/etc/dnssec-tools/dnssec-tools.conf file
+
+DNSSEC Validator has been split into net-dns/dnssec-validator
+"