net-dns/dnssec-tools - 2.2.3 (gentoo)

Search

Install

Install this version:

emerge -a =net-dns/dnssec-tools-2.2.3

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-dns/dnssec-tools-2.2.3

Or alternatively:

emerge --autounmask-write -a =net-dns/dnssec-tools-2.2.3

Package Information

Description:
Tools to ease the deployment of DNSSEC related technologies
Homepage:
https://dnssec-tools.org/
License:
BSD GPL-2

Ebuild Details

Version EAPI Keywords Slot
2.2.3 7 ~amd64 ~arm ~x86 0
View Raw Ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit perl-module readme.gentoo-r1 systemd

DESCRIPTION="Tools to ease the deployment of DNSSEC related technologies"
HOMEPAGE="https://dnssec-tools.org/"
SRC_URI="https://github.com/DNSSEC-Tools/DNSSEC-Tools/archive/${P}.tar.gz"

LICENSE="BSD GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE="static-libs"

# There is no test case to be generated.
RESTRICT="test"

RDEPEND="
	dev-lang/perl:=
	dev-perl/CGI
	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}"

S="${WORKDIR}/DNSSEC-Tools-${P}/${PN}"

PATCHES=( "${FILESDIR}"/${PN}-2.0-dtinitconf.patch )

src_prepare() {
	default
	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
}

src_configure() {
	local myeconfargs=(
		--disable-bind-checks
		--without-validator
		--with-perl-build-args=INSTALLDIRS=vendor
		$(use_enable static-libs static)
	)
	econf "${myeconfargs[@]}"
}

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

	find "${ED}" -name "*.la" -delete || die
	readme.gentoo_create_doc

	# Remove perllocal.pod to avoid file collisions (bugs #612268 and
	# #603338).
	perl_delete_localpod
}

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
"

USE Flags

Manage flags for this package: euse -i <flag> -p net-dns/dnssec-tools | euse -E <flag> -p net-dns/dnssec-tools | euse -D <flag> -p net-dns/dnssec-tools

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	dev-lang/perl:=
	dev-perl/CGI
	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

RDEPEND

	dev-lang/perl:=
	dev-perl/CGI
	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

Manifest for 2.2.3

Type File Size Source URLs
DIST dnssec-tools-2.2.3.tar.gz 42941393 bytes https://github.com/DNSSEC-Tools/DNSSEC-Tools/archive/dnssec-tools-2.2.3.tar.gz