summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-dns/dnssec-tools/Manifest1
-rw-r--r--net-dns/dnssec-tools/dnssec-tools-2.2.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/net-dns/dnssec-tools/Manifest b/net-dns/dnssec-tools/Manifest
index f67a1de2308b..c2dab56cc780 100644
--- a/net-dns/dnssec-tools/Manifest
+++ b/net-dns/dnssec-tools/Manifest
@@ -2,3 +2,4 @@ DIST dnssec-tools-1.13.tar.gz 3299592 SHA256 ac2caba324f96170406c202724344315371
DIST dnssec-tools-1.14.tar.gz 3337126 SHA256 10c387879cb1cc9e26c239a6dc99a4cba23e8b336c4231d0a9eb204369bbdbeb SHA512 398a59e30a88516881dd4252c735b5a8320e3bc30087cceb5cbc707ba0c7d7e82455047b4f38b655b993bfb738880b42c3c0df24fe23fe70feccc0c83e991bba WHIRLPOOL d490f153a949ec3637401ccf6cb93edc8479d5c7479295dea16b7a1326a0a56c3e485bfbdc7cbd89769bc825d2dc913ac48d31ead06f6c7be1b350e01775ff61
DIST dnssec-tools-2.0.tar.gz 4271431 SHA256 7fd5d483c7a4b25277f17d9010b8de79a21948884368e6d870bec0194d007445 SHA512 48d05b9deb34b964cb5040c411ecf8347c129025bfd1d1f568ce9394c3580b87932ad71ee187736fbf2bd372bc44d0f26f2423a1a6f9c05419f6030aaecc4df5 WHIRLPOOL 47b795a785faf23ef1401e0f53294fbb5b706ba3ede14191bac9763eae9fbb9637c7a250a5c08256c415574620272de6adf66b916db9b5556d6847097dd946de
DIST dnssec-tools-2.1.tar.gz 4430320 SHA256 64eebfd1213714b530e501f22b5ff9786db9b982897c432fecba75740ddcda52 SHA512 61119837320bf9a7c2d64a593fc3ed6b84ee7683b7e4ba5de380b0fd1be70e44bf73825ea5395cc1d3ddc729eaef17823a230b44b68fbc5fca988f8fb080f66b WHIRLPOOL 9fb992b0b544c7abf10c78c72bccd5f3d4c8ba6c1c05d48348b9ff6a349f8026f84d35906d7887ba1b74136190c404d224e5e9efee98a05cc755c34c02468ec6
+DIST dnssec-tools-2.2.tar.gz 4430138 SHA256 4f45033a7a27382fe5284de705a1792277dfbe9a149d369b95d787865a44ef66 SHA512 5d0d936a2dabc648033cbd74ff6f1b309ae66bf3f2ab1223c8be5879fa4385bfdfd8cee2b4005b0d0e7ed85eeb1b81a9a4092d300fa725d4b19a84bf2619a280 WHIRLPOOL d73f380365bf39ed43a592d0d5904d78b105d35dcb2cab0e5827d3314fce12fdd473b413f628260eb3ce2449a386f02ced3df3af02736f8548a76a2f49794346
diff --git a/net-dns/dnssec-tools/dnssec-tools-2.2.ebuild b/net-dns/dnssec-tools/dnssec-tools-2.2.ebuild
new file mode 100644
index 000000000000..f73be5ae7111
--- /dev/null
+++ b/net-dns/dnssec-tools/dnssec-tools-2.2.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit eutils qt4-r2 systemd readme.gentoo
+
+DESCRIPTION="tools to ease the deployment of DNSSEC related technologies"
+HOMEPAGE="http://www.dnssec-tools.org/"
+SRC_URI="http://www.dnssec-tools.org/download/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+RDEPEND="dev-lang/perl
+ 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}"
+
+src_prepare() {
+ 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
+ epatch "${FILESDIR}"/${PN}-2.0-dtinitconf.patch
+}
+
+src_configure() {
+ econf \
+ --disable-bind-checks \
+ --without-validator \
+ --with-perl-build-args=INSTALLDIRS=vendor \
+ $(use_enable static-libs static)
+}
+
+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
+
+ prune_libtool_files
+ readme.gentoo_create_doc
+}
+
+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
+"