diff options
-rw-r--r-- | dev-perl/Net-DNS/Manifest | 1 | ||||
-rw-r--r-- | dev-perl/Net-DNS/Net-DNS-1.310.0.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-perl/Net-DNS/Manifest b/dev-perl/Net-DNS/Manifest index b4a6af7392c0..ba6d46801a7a 100644 --- a/dev-perl/Net-DNS/Manifest +++ b/dev-perl/Net-DNS/Manifest @@ -1,2 +1,3 @@ DIST Net-DNS-1.13.tar.gz 251658 BLAKE2B 3ade04bea24455f6a4dc2d3a5b3dd40f19bd1638945d3622b40feb5bf0e6e6fddb5fe5636fce57d3b5ec270dee4c666aa5b4062113a25b7b483eeff93379678c SHA512 ac42d5b5d1849de11813404b9915f2b54cc4d44e2f6a52c8c5c714ae30bab594b2d27701957238c1dbb09544320822c25f19ff50ce33210c289379aa67400636 DIST Net-DNS-1.23.tar.gz 257796 BLAKE2B 974ad41111af557e4c066403c93606ca924a900e8892f8dd275e4691beb672ab0dc7e0f3081ca134c39d562368ee1fbf8f174911f3dcca8f0fa3a2a1e44c736d SHA512 23c9df9e12340687d3399cbe7fb5f94dfa4ceae94be77227c42f0f707470ef90194ef64aa953ee36da5c2ba6a28d2bb4b59de04a9722ae3b0db6162916bde2b1 +DIST Net-DNS-1.31.tar.gz 249299 BLAKE2B d8456453240e388476ef918cc7731b9d790b8163885e18658182d927c2a594cb74a7983d33607d495c75b7638efd7bd2bb6368e1b5ec80e4eca9e809ba6bc97c SHA512 f406bc192f18b0a07171f3e81209ca705b9fa5fa8104533cbece1678bb08220636b438aa3a4a6a5f2d03a3a3166503a9fa8c5c16f92b1b3e8f8e2e2fdf0f8ddb diff --git a/dev-perl/Net-DNS/Net-DNS-1.310.0.ebuild b/dev-perl/Net-DNS/Net-DNS-1.310.0.ebuild new file mode 100644 index 000000000000..eb0d4416254e --- /dev/null +++ b/dev-perl/Net-DNS/Net-DNS-1.310.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_AUTHOR=NLNETLABS +DIST_VERSION=1.31 +DIST_EXAMPLES=( "contrib" "demo" ) +inherit toolchain-funcs perl-module + +DESCRIPTION="Perl Interface to the Domain Name System" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~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.560.0 + >=virtual/perl-File-Spec-0.860.0 + >=virtual/perl-MIME-Base64-2.130.0 + >=virtual/perl-Scalar-List-Utils-1.250.0 + >=virtual/perl-Time-Local-1.190.0 + >=virtual/perl-IO-Socket-IP-0.380.0 + >=virtual/perl-IO-1.80.0 + !minimal? ( + >=dev-perl/Digest-BubbleBabble-0.10.0 + >=dev-perl/Net-LibIDN2-1.0.0 + ) +" +BDEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker + 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 +} |