diff options
author | Sam James <sam@gentoo.org> | 2023-03-14 01:57:32 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-03-14 01:59:50 +0000 |
commit | cf8a3180ba8df6e829cb9f9035833fda242a9de3 (patch) | |
tree | cecd604349bed119cfb33191eddd4fdec2f5728a /dev-perl/Net-DNS | |
parent | app-forensics/rkhunter: fix warnings w/ grep-3.8 (diff) | |
download | gentoo-cf8a3180ba8df6e829cb9f9035833fda242a9de3.tar.gz gentoo-cf8a3180ba8df6e829cb9f9035833fda242a9de3.tar.bz2 gentoo-cf8a3180ba8df6e829cb9f9035833fda242a9de3.zip |
dev-perl/Net-DNS: add 1.370.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl/Net-DNS')
-rw-r--r-- | dev-perl/Net-DNS/Manifest | 1 | ||||
-rw-r--r-- | dev-perl/Net-DNS/Net-DNS-1.370.0.ebuild | 67 |
2 files changed, 68 insertions, 0 deletions
diff --git a/dev-perl/Net-DNS/Manifest b/dev-perl/Net-DNS/Manifest index 4dfb9fe294e7..61e739e62b0a 100644 --- a/dev-perl/Net-DNS/Manifest +++ b/dev-perl/Net-DNS/Manifest @@ -1 +1,2 @@ DIST Net-DNS-1.34.tar.gz 260260 BLAKE2B 1a2d9aa15757efb25e0b70ceb7e07f446be33c1e4e30ebc343cbc44489ead69c3e7e958a68fb52963f409579bbc50f2c198b38d92c6624edbcab05aac2d1e60b SHA512 890b5e7b574a546337571a8c7f5836650a7de41301ce2386d973041f0f1da0bd40c69cfc3625fccd01685502017b42d23cd75e95f40a1ffd7bcc796385899032 +DIST Net-DNS-1.37.tar.gz 263815 BLAKE2B c55ac20becb5b218aa8bfeeb315b828173bb28ea1d518646369ab3ee122b028cf1b181f2a17ed44a4a7917fe959c445f90524ad6d446e927c28de633c78949ec SHA512 fd6e04f7f9628a2937ac360d6939f8d6ce866f6b536e78af5879f1a97fc3b38dc3c12223739323613791c603b701f2419635865ccb03c7cacdd5e85559536559 diff --git a/dev-perl/Net-DNS/Net-DNS-1.370.0.ebuild b/dev-perl/Net-DNS/Net-DNS-1.370.0.ebuild new file mode 100644 index 000000000000..69a5e9a50166 --- /dev/null +++ b/dev-perl/Net-DNS/Net-DNS-1.370.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=NLNETLABS +DIST_VERSION=1.37 +DIST_EXAMPLES=( "contrib" "demo" ) +inherit toolchain-funcs perl-module + +DESCRIPTION="Perl Interface to the Domain Name System" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="minimal" + +PDEPEND=" + !minimal? ( >=dev-perl/Net-DNS-SEC-1.30.0 ) +" +RDEPEND=" + >=virtual/perl-Carp-1.100.0 + >=dev-perl/Digest-HMAC-1.30.0 + >=virtual/perl-Digest-MD5-2.130.0 + >=virtual/perl-Digest-SHA-5.230.0 + >=virtual/perl-Encode-2.260.0 + >=virtual/perl-Exporter-5.630.0 + >=virtual/perl-File-Spec-3.290.0 + >=virtual/perl-MIME-Base64-2.130.0 + >=virtual/perl-Scalar-List-Utils-1.190.0 + >=virtual/perl-Time-Local-1.190.0 + >=virtual/perl-IO-Socket-IP-0.380.0 + >=virtual/perl-IO-1.140.0 + !minimal? ( + >=dev-perl/Digest-BubbleBabble-0.20.0 + >=dev-perl/Net-LibIDN2-1.0.0 + ) +" +BDEPEND="${RDEPEND} + >=virtual/perl-ExtUtils-MakeMaker-6.480.0 + >=virtual/perl-Getopt-Long-2.430.0 + test? ( + >=virtual/perl-Test-Simple-0.520.0 + ) +" + +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 +} |