Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/dnssec-tools/
Date: Tue, 29 Sep 2020 10:26:57
Message-Id: 1601375102.4493900d08273263afece7df9437babd5df5ee8f.juippis@gentoo
1 commit: 4493900d08273263afece7df9437babd5df5ee8f
2 Author: Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift <DOT> com>
3 AuthorDate: Wed Sep 2 13:28:59 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 29 10:25:02 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4493900d
7
8 net-dns/dnssec-tools: Call perl_delete_localpod
9
10 Remove perllocal.pod to avoid file collisions
11
12 Closes: https://bugs.gentoo.org/612268
13 Closes: https://github.com/gentoo/gentoo/pull/17386
14 Package-Manager: Portage-3.0.4, Repoman-2.3.23
15 Signed-off-by: Philippe Chaintreuil <gentoo_bugs_peep <AT> parallaxshift.com>
16 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
17
18 net-dns/dnssec-tools/dnssec-tools-2.2.3-r2.ebuild | 78 +++++++++++++++++++++++
19 1 file changed, 78 insertions(+)
20
21 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
22 new file mode 100644
23 index 00000000000..8e728f67af2
24 --- /dev/null
25 +++ b/net-dns/dnssec-tools/dnssec-tools-2.2.3-r2.ebuild
26 @@ -0,0 +1,78 @@
27 +# Copyright 1999-2020 Gentoo Authors
28 +# Distributed under the terms of the GNU General Public License v2
29 +
30 +EAPI=7
31 +
32 +inherit readme.gentoo-r1 systemd
33 +
34 +DESCRIPTION="Tools to ease the deployment of DNSSEC related technologies"
35 +HOMEPAGE="https://dnssec-tools.org/"
36 +SRC_URI="https://github.com/DNSSEC-Tools/DNSSEC-Tools/archive/${P}.tar.gz"
37 +
38 +LICENSE="BSD"
39 +SLOT="0"
40 +KEYWORDS="~amd64 ~arm ~x86"
41 +IUSE="static-libs"
42 +
43 +RDEPEND="
44 + dev-lang/perl:=
45 + dev-perl/CGI
46 + dev-perl/Crypt-OpenSSL-Random
47 + dev-perl/Getopt-GUI-Long
48 + dev-perl/GraphViz
49 + dev-perl/MailTools
50 + dev-perl/Net-DNS
51 + dev-perl/Net-DNS-SEC
52 + dev-perl/XML-Simple"
53 +DEPEND="${RDEPEND}"
54 +
55 +S="${WORKDIR}/DNSSEC-Tools-${P}/${PN}"
56 +
57 +PATCHES=( "${FILESDIR}"/${PN}-2.0-dtinitconf.patch )
58 +
59 +src_prepare() {
60 + default
61 + sed -e '/^maninstall:/,+3s:$(MKPATH) $(mandir)/$(man1dir):$(MKPATH) $(DESTDIR)/$(mandir)/$(man1dir):' \
62 + -i Makefile.in || die
63 + sed -e 's:/usr/local/etc:/etc:g' \
64 + -e 's:/usr/local:/usr:g' \
65 + -i tools/donuts/donuts \
66 + -i tools/etc/dnssec-tools/dnssec-tools.conf \
67 + -i tools/scripts/genkrf || die
68 +}
69 +
70 +src_configure() {
71 + local myeconfargs=(
72 + --disable-bind-checks
73 + --without-validator
74 + --with-perl-build-args=INSTALLDIRS=vendor
75 + $(use_enable static-libs static)
76 + )
77 + econf "${myeconfargs[@]}"
78 +}
79 +
80 +src_install() {
81 + emake DESTDIR="${D}" install
82 +
83 + newinitd "${FILESDIR}"/rollerd.initd rollerd
84 + newconfd "${FILESDIR}"/rollerd.confd rollerd
85 + systemd_dounit "${FILESDIR}"/rollerd.service
86 +
87 + newinitd "${FILESDIR}"/donutsd.initd donutsd
88 + newconfd "${FILESDIR}"/donutsd.confd donutsd
89 + systemd_dounit "${FILESDIR}"/donutsd.service
90 +
91 + find "${ED}" -name "*.la" -delete || die
92 + readme.gentoo_create_doc
93 +
94 + # Remove perllocal.pod to avoid file collisions (bugs #612268 and
95 + # #603338).
96 + perl_delete_localpod
97 +}
98 +
99 +DISABLE_AUTOFORMATTING=1
100 +DOC_CONTENTS="Please run 'dtinitconf' in order to set up the required
101 +/etc/dnssec-tools/dnssec-tools.conf file
102 +
103 +DNSSEC Validator has been split into net-dns/dnssec-validator
104 +"