dev-perl/Net-DNS - 1.560.0 (gentoo)

Search

Install

Install this version:

emerge -a =dev-perl/Net-DNS-1.560.0

Package Information

Description:
Perl Interface to the Domain Name System
Homepage:
https://www.net-dns.org/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.560.0 8 ~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DIST_AUTHOR=NLNETLABS
DIST_VERSION=1.56
DIST_EXAMPLES=( "contrib" "demo" )
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/nlnetlabs.asc
inherit toolchain-funcs perl-module verify-sig

DESCRIPTION="Perl Interface to the Domain Name System"
HOMEPAGE="https://www.net-dns.org/"
SRC_URI="
	https://www.net-dns.org/download/${PN}-${DIST_VERSION}.tar.gz
	verify-sig? ( https://www.net-dns.org/download/${PN}-${DIST_VERSION}.tar.gz.asc )
"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos ~x64-solaris"
IUSE="minimal"

PDEPEND="
	!minimal? ( >=dev-perl/Net-DNS-SEC-1.30.0 )
"
RDEPEND="
	>=dev-perl/Digest-HMAC-1.30.0
	!minimal? (
		>=dev-perl/Digest-BubbleBabble-0.20.0
		>=dev-perl/Net-LibIDN2-1.0.0
	)
"
BDEPEND="
	${RDEPEND}
	verify-sig? ( >=sec-keys/openpgp-keys-nlnetlabs-20260101 )
"

src_prepare() {
	perl-module_src_prepare
	mydoc="TODO"
	# --IPv6-tests requires that you have external IPv6 connectivity
	# as it connects to 2001:7b8:206:1:0:1234:be21:e31e
	if ! use test || ! has network ${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}; then
		myconf="${myconf} --no-online-tests --no-IPv6-tests"
	fi
}

src_compile() {
	emake FULL_AR="$(tc-getAR)" OTHERLDFLAGS="${LDFLAGS}"
}

src_test() {
	perl_rm_files t/00-pod.t
	if ! has network ${DIST_TEST_OVERRIDE:-${DIST_TEST:-do parallel}}; then
		elog "Network tests disabled without to DIST_TEST_OVERIDE=~network"
	fi
	perl-module_src_test
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-perl/Net-DNS | euse -E <flag> -p dev-perl/Net-DNS | euse -D <flag> -p dev-perl/Net-DNS

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

	>=dev-perl/Digest-HMAC-1.30.0
	!minimal? (
		>=dev-perl/Digest-BubbleBabble-0.20.0
		>=dev-perl/Net-LibIDN2-1.0.0
	)

BDEPEND

	
	>=dev-perl/Digest-HMAC-1.30.0
	!minimal? (
		>=dev-perl/Digest-BubbleBabble-0.20.0
		>=dev-perl/Net-LibIDN2-1.0.0
	)

	verify-sig? ( >=sec-keys/openpgp-keys-nlnetlabs-20260101 )

Manifest for 1.560.0

Type File Size Source URLs
DIST Net-DNS-1.56.tar.gz 266111 bytes https://www.net-dns.org/download/Net-DNS-1.56.tar.gz
DIST Net-DNS-1.56.tar.gz.asc 659 bytes https://www.net-dns.org/download/Net-DNS-1.56.tar.gz.asc