diff options
author | Pacho Ramos <pacho@gentoo.org> | 2013-11-17 12:56:30 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2013-11-17 12:56:30 +0000 |
commit | bd146ca20a6ea3aaf8883ecb577074dcf699170a (patch) | |
tree | 6a85d1d7f365111f4e9ff3f232a6025276a20e0a /net-dns/dnssec-tools | |
parent | Add ruby20. (diff) | |
download | gentoo-2-bd146ca20a6ea3aaf8883ecb577074dcf699170a.tar.gz gentoo-2-bd146ca20a6ea3aaf8883ecb577074dcf699170a.tar.bz2 gentoo-2-bd146ca20a6ea3aaf8883ecb577074dcf699170a.zip |
Add unit files (#491182)
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
Diffstat (limited to 'net-dns/dnssec-tools')
-rw-r--r-- | net-dns/dnssec-tools/ChangeLog | 9 | ||||
-rw-r--r-- | net-dns/dnssec-tools/dnssec-tools-2.0-r1.ebuild | 67 | ||||
-rw-r--r-- | net-dns/dnssec-tools/files/donutsd.service | 8 | ||||
-rw-r--r-- | net-dns/dnssec-tools/files/rollerd.service | 8 |
4 files changed, 90 insertions, 2 deletions
diff --git a/net-dns/dnssec-tools/ChangeLog b/net-dns/dnssec-tools/ChangeLog index 8d03332cf907..037e5fb6c61a 100644 --- a/net-dns/dnssec-tools/ChangeLog +++ b/net-dns/dnssec-tools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dns/dnssec-tools # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dns/dnssec-tools/ChangeLog,v 1.7 2013/03/13 11:01:44 xmw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dns/dnssec-tools/ChangeLog,v 1.8 2013/11/17 12:56:30 pacho Exp $ + +*dnssec-tools-2.0-r1 (17 Nov 2013) + + 17 Nov 2013; Pacho Ramos <pacho@gentoo.org> +dnssec-tools-2.0-r1.ebuild, + +files/donutsd.service, +files/rollerd.service: + Add unit files (#491182) *dnssec-tools-2.0 (13 Mar 2013) @@ -45,4 +51,3 @@ 22 May 2012; Michael Weber <xmw@gentoo.org> +dnssec-tools-1.12.2.ebuild, +metadata.xml: Initial import - diff --git a/net-dns/dnssec-tools/dnssec-tools-2.0-r1.ebuild b/net-dns/dnssec-tools/dnssec-tools-2.0-r1.ebuild new file mode 100644 index 000000000000..3fe7a928057b --- /dev/null +++ b/net-dns/dnssec-tools/dnssec-tools-2.0-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dns/dnssec-tools/dnssec-tools-2.0-r1.ebuild,v 1.1 2013/11/17 12:56:30 pacho Exp $ + +EAPI=4 + +inherit eutils qt4-r2 systemd + +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/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 +} + +pkg_postinst() { + einfo + elog "Please run 'dtinitconf' in order to set up the required" + elog "/etc/dnssec-tools/dnssec-tools.conf file" + einfo + elog "DNSSEC Validator has been split into net-dns/dnsval" + einfo +} diff --git a/net-dns/dnssec-tools/files/donutsd.service b/net-dns/dnssec-tools/files/donutsd.service new file mode 100644 index 000000000000..b7ddbb8c0f03 --- /dev/null +++ b/net-dns/dnssec-tools/files/donutsd.service @@ -0,0 +1,8 @@ +[Unit] +Description=DNSSEC monitoring daemon + +[Service] +ExecStart=/usr/bin/donutsd -i /etc/dnssec-tools/donutsd.db + +[Install] +WantedBy=multi-user.target diff --git a/net-dns/dnssec-tools/files/rollerd.service b/net-dns/dnssec-tools/files/rollerd.service new file mode 100644 index 000000000000..2e4aef87b569 --- /dev/null +++ b/net-dns/dnssec-tools/files/rollerd.service @@ -0,0 +1,8 @@ +[Unit] +Description=DNSSEC control daemon + +[Service] +ExecStart=/usr/bin/rollerd -foreground --rrfile /etc/dnssec-tools/dnssec-tools.rollrec -directory /var/bind/pri + +[Install] +WantedBy=multi-user.target |