Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/dnssec-tools/
Date: Thu, 10 May 2018 08:01:41
Message-Id: 1525939269.b0db2c017d233ffd19b58354608b0e226988c06c.asturm@gentoo
1 commit: b0db2c017d233ffd19b58354608b0e226988c06c
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 10 07:45:46 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu May 10 08:01:09 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0db2c01
7
8 net-dns/dnssec-tools: EAPI 6, bogus qt4-r2, drop ltprune
9
10 Bug: https://bugs.gentoo.org/645418
11 Package-Manager: Portage-2.3.36, Repoman-2.3.9
12
13 net-dns/dnssec-tools/dnssec-tools-2.2-r1.ebuild | 69 +++++++++++++++++++++++++
14 1 file changed, 69 insertions(+)
15
16 diff --git a/net-dns/dnssec-tools/dnssec-tools-2.2-r1.ebuild b/net-dns/dnssec-tools/dnssec-tools-2.2-r1.ebuild
17 new file mode 100644
18 index 00000000000..6b83d1c27fd
19 --- /dev/null
20 +++ b/net-dns/dnssec-tools/dnssec-tools-2.2-r1.ebuild
21 @@ -0,0 +1,69 @@
22 +# Copyright 1999-2018 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=6
26 +
27 +inherit readme.gentoo-r1 systemd
28 +
29 +DESCRIPTION="Tools to ease the deployment of DNSSEC related technologies"
30 +HOMEPAGE="https://www.dnssec-tools.org/"
31 +SRC_URI="https://www.dnssec-tools.org/download/${P}.tar.gz"
32 +
33 +LICENSE="BSD"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~x86"
36 +IUSE="static-libs"
37 +
38 +RDEPEND="
39 + dev-lang/perl
40 + dev-perl/Crypt-OpenSSL-Random
41 + dev-perl/Getopt-GUI-Long
42 + dev-perl/GraphViz
43 + dev-perl/MailTools
44 + dev-perl/Net-DNS
45 + dev-perl/Net-DNS-SEC
46 + dev-perl/XML-Simple"
47 +DEPEND="${RDEPEND}"
48 +
49 +PATCHES=( "${FILESDIR}"/${PN}-2.0-dtinitconf.patch )
50 +
51 +src_prepare() {
52 + default
53 + sed -e '/^maninstall:/,+3s:$(MKPATH) $(mandir)/$(man1dir):$(MKPATH) $(DESTDIR)/$(mandir)/$(man1dir):' \
54 + -i Makefile.in || die
55 + sed -e 's:/usr/local/etc:/etc:g' \
56 + -e 's:/usr/local:/usr:g' \
57 + -i tools/donuts/donuts \
58 + -i tools/etc/dnssec-tools/dnssec-tools.conf \
59 + -i tools/scripts/genkrf || die
60 +}
61 +
62 +src_configure() {
63 + econf \
64 + --disable-bind-checks \
65 + --without-validator \
66 + --with-perl-build-args=INSTALLDIRS=vendor \
67 + $(use_enable static-libs static)
68 +}
69 +
70 +src_install() {
71 + emake DESTDIR="${D}" install
72 +
73 + newinitd "${FILESDIR}"/rollerd.initd rollerd
74 + newconfd "${FILESDIR}"/rollerd.confd rollerd
75 + systemd_dounit "${FILESDIR}"/rollerd.service
76 +
77 + newinitd "${FILESDIR}"/donutsd.initd donutsd
78 + newconfd "${FILESDIR}"/donutsd.confd donutsd
79 + systemd_dounit "${FILESDIR}"/donutsd.service
80 +
81 + find "${ED}" -name "*.la" -delete || die
82 + readme.gentoo_create_doc
83 +}
84 +
85 +DISABLE_AUTOFORMATTING=1
86 +DOC_CONTENTS="Please run 'dtinitconf' in order to set up the required
87 +/etc/dnssec-tools/dnssec-tools.conf file
88 +
89 +DNSSEC Validator has been split into net-dns/dnssec-validator
90 +"