diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-dns/dnssec-tools | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-dns/dnssec-tools')
-rw-r--r-- | net-dns/dnssec-tools/Manifest | 4 | ||||
-rw-r--r-- | net-dns/dnssec-tools/dnssec-tools-1.13-r1.ebuild | 65 | ||||
-rw-r--r-- | net-dns/dnssec-tools/dnssec-tools-1.14.ebuild | 65 | ||||
-rw-r--r-- | net-dns/dnssec-tools/dnssec-tools-2.0-r1.ebuild | 67 | ||||
-rw-r--r-- | net-dns/dnssec-tools/dnssec-tools-2.0.ebuild | 65 | ||||
-rw-r--r-- | net-dns/dnssec-tools/dnssec-tools-2.1.ebuild | 66 | ||||
-rw-r--r-- | net-dns/dnssec-tools/files/dnssec-tools-1.13-dtinitconf.patch | 23 | ||||
-rw-r--r-- | net-dns/dnssec-tools/files/dnssec-tools-2.0-dtinitconf.patch | 24 | ||||
-rw-r--r-- | net-dns/dnssec-tools/files/donutsd.confd | 9 | ||||
-rw-r--r-- | net-dns/dnssec-tools/files/donutsd.initd | 20 | ||||
-rw-r--r-- | net-dns/dnssec-tools/files/donutsd.service | 8 | ||||
-rw-r--r-- | net-dns/dnssec-tools/files/rollerd.confd | 9 | ||||
-rw-r--r-- | net-dns/dnssec-tools/files/rollerd.initd | 17 | ||||
-rw-r--r-- | net-dns/dnssec-tools/files/rollerd.service | 8 | ||||
-rw-r--r-- | net-dns/dnssec-tools/metadata.xml | 9 |
15 files changed, 459 insertions, 0 deletions
diff --git a/net-dns/dnssec-tools/Manifest b/net-dns/dnssec-tools/Manifest new file mode 100644 index 000000000000..f67a1de2308b --- /dev/null +++ b/net-dns/dnssec-tools/Manifest @@ -0,0 +1,4 @@ +DIST dnssec-tools-1.13.tar.gz 3299592 SHA256 ac2caba324f96170406c202724344315371c3ef83815236e95b48a6021b2be91 SHA512 ef9e5e2652d4673ba8f74bed8055fd108aa8e43bd3aab4e1527385ab189a63f9fa989bfa6c574252dad9e5997f72a29f4d12cca2a2d9ff950207046c08bece18 WHIRLPOOL 354e072584dab9458224ff0ca8f303d35026686688f8dcaf3a0d43a9c12e628430dd7877f776f2f8c1b8460c4f2eb7cc1061e10f304bd02538130bcd40d6b03b +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 diff --git a/net-dns/dnssec-tools/dnssec-tools-1.13-r1.ebuild b/net-dns/dnssec-tools/dnssec-tools-1.13-r1.ebuild new file mode 100644 index 000000000000..b0c0d9c06ba0 --- /dev/null +++ b/net-dns/dnssec-tools/dnssec-tools-1.13-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils qt4-r2 + +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}"/${P}-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 + + newinitd "${FILESDIR}"/donutsd.initd donutsd + newconfd "${FILESDIR}"/donutsd.confd donutsd + + 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/dnssec-tools-1.14.ebuild b/net-dns/dnssec-tools/dnssec-tools-1.14.ebuild new file mode 100644 index 000000000000..1d5ae25ea509 --- /dev/null +++ b/net-dns/dnssec-tools/dnssec-tools-1.14.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils qt4-r2 + +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}-1.13-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 + + newinitd "${FILESDIR}"/donutsd.initd donutsd + newconfd "${FILESDIR}"/donutsd.confd donutsd + + 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/dnssec-tools-2.0-r1.ebuild b/net-dns/dnssec-tools/dnssec-tools-2.0-r1.ebuild new file mode 100644 index 000000000000..fa9700e5db7c --- /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 +# $Id$ + +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/dnssec-tools-2.0.ebuild b/net-dns/dnssec-tools/dnssec-tools-2.0.ebuild new file mode 100644 index 000000000000..069e0c952293 --- /dev/null +++ b/net-dns/dnssec-tools/dnssec-tools-2.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit eutils qt4-r2 + +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 + + newinitd "${FILESDIR}"/donutsd.initd donutsd + newconfd "${FILESDIR}"/donutsd.confd donutsd + + 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/dnssec-tools-2.1.ebuild b/net-dns/dnssec-tools/dnssec-tools-2.1.ebuild new file mode 100644 index 000000000000..38a082ad2dfd --- /dev/null +++ b/net-dns/dnssec-tools/dnssec-tools-2.1.ebuild @@ -0,0 +1,66 @@ +# 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/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 +" diff --git a/net-dns/dnssec-tools/files/dnssec-tools-1.13-dtinitconf.patch b/net-dns/dnssec-tools/files/dnssec-tools-1.13-dtinitconf.patch new file mode 100644 index 000000000000..9432771406c6 --- /dev/null +++ b/net-dns/dnssec-tools/files/dnssec-tools-1.13-dtinitconf.patch @@ -0,0 +1,23 @@ +--- dnssec-tools-1.13/tools/scripts/dtinitconf ++++ dnssec-tools-1.13/tools/scripts/dtinitconf +@@ -59,7 +59,9 @@ + my @COMMON_BINDLOCS = + ( + "/usr/local/sbin", ++ "/usr/local/bin", + "/usr/sbin", ++ "/usr/bin", + ); + + # +@@ -421,8 +423,8 @@ + + $admin = $opts{'admin'} || dnssec_tools_default("admin"); + +- $binddir = $opts{'binddir'}; +- $dtdir = $opts{'dtdir'}; ++ $binddir = $opts{'binddir'} || 'path'; ++ $dtdir = $opts{'dtdir'} || 'path'; + # $viewimg = $opts{'viewimage'} || dnssec_tools_default("viewimage"); + + $outfile = $opts{'outfile'} || getconffile(); diff --git a/net-dns/dnssec-tools/files/dnssec-tools-2.0-dtinitconf.patch b/net-dns/dnssec-tools/files/dnssec-tools-2.0-dtinitconf.patch new file mode 100644 index 000000000000..ee6adf7031d1 --- /dev/null +++ b/net-dns/dnssec-tools/files/dnssec-tools-2.0-dtinitconf.patch @@ -0,0 +1,24 @@ +--- dnssec-tools-2.0/tools/scripts/dtinitconf ++++ dnssec-tools-2.0/tools/scripts/dtinitconf +@@ -58,8 +58,8 @@ + # + my @COMMON_BINDLOCS = + ( +- "/usr/local/sbin", +- "/usr/sbin", ++ "/usr/local/bin", ++ "/usr/bin", + ); + + # +@@ -424,8 +424,8 @@ + $admin = $opts{'admin'} || dnssec_tools_default("admin"); + $zoneparser = $opts{'zoneparser'} || dnssec_tools_default("zoneparser"); + +- $binddir = $opts{'binddir'}; +- $dtdir = $opts{'dtdir'}; ++ $binddir = $opts{'binddir'} || 'path'; ++ $dtdir = $opts{'dtdir'} || 'path'; + + $outfile = $opts{'outfile'} || getconffile(); + $overwrite = $opts{'overwrite'}; diff --git a/net-dns/dnssec-tools/files/donutsd.confd b/net-dns/dnssec-tools/files/donutsd.confd new file mode 100644 index 000000000000..a147ba2ecad6 --- /dev/null +++ b/net-dns/dnssec-tools/files/donutsd.confd @@ -0,0 +1,9 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +DONUTSD_CMD="donutsd" +DONUTSD_CONFPATH="/etc/dnssec-tools/donutsd.db" +DONUTSD_PID="/var/run/donutsd.pid" +DONUTSD_OPTS="" + diff --git a/net-dns/dnssec-tools/files/donutsd.initd b/net-dns/dnssec-tools/files/donutsd.initd new file mode 100644 index 000000000000..4dd65dbcfd1d --- /dev/null +++ b/net-dns/dnssec-tools/files/donutsd.initd @@ -0,0 +1,20 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +depend() { + need mta +} + +start() { + ebegin "Starting the DNSSEC monitoring daemon" + start-stop-daemon --start --pidfile ${DONUTSD_PIDFILE} --make-pidfile --background --exec ${DONUTSD_CMD} -- -i ${DONUTSD_CONFPATH} ${DONUTSD_OPTS} + eend $? "failed to start donutsd" +} + +stop() { + ebegin "Stopping donutsd" + start-stop-daemon --stop --pidfile ${DONUTSD_PIDFILE} + eend $? "Failed to stop donutsd" +} 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.confd b/net-dns/dnssec-tools/files/rollerd.confd new file mode 100644 index 000000000000..287c47ed2a27 --- /dev/null +++ b/net-dns/dnssec-tools/files/rollerd.confd @@ -0,0 +1,9 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +ROLLERD_CMD="rollerd" +ROLLERD_RRFILE="/etc/dnssec-tools/dnssec-tools.rollrec" +ROLLERD_KRFDIR="/var/bind/pri" +ROLLERD_OPTS="" + diff --git a/net-dns/dnssec-tools/files/rollerd.initd b/net-dns/dnssec-tools/files/rollerd.initd new file mode 100644 index 000000000000..59f28ea0aff7 --- /dev/null +++ b/net-dns/dnssec-tools/files/rollerd.initd @@ -0,0 +1,17 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +start() { + ebegin "Starting DNSSEC control daemon" + "${ROLLERD_CMD}" --rrfile "${ROLLERD_RRFILE}" \ + -directory "${ROLLERD_KRFDIR}" ${ROLLERD_OPTS} + eend $? "failed to start rollerd" +} + +stop() { + ebegin "stoping rollerd" + /usr/bin/rollctl -halt + eend $? "failed to stop rollerd" +} 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 diff --git a/net-dns/dnssec-tools/metadata.xml b/net-dns/dnssec-tools/metadata.xml new file mode 100644 index 000000000000..59acc2cc580e --- /dev/null +++ b/net-dns/dnssec-tools/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>xmw@gentoo.org</email> +<name>Michael Weber</name> +</maintainer> +</pkgmetadata> + |