dev-perl/Net-DNS: bump
authorRobin H. Johnson <robbat2@gentoo.org>
Fri, 22 May 2020 19:22:01 +0000 (12:22 -0700)
committerRobin H. Johnson <robbat2@gentoo.org>
Fri, 22 May 2020 19:22:51 +0000 (12:22 -0700)
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
dev-perl/Net-DNS/Manifest
dev-perl/Net-DNS/Net-DNS-1.230.0.ebuild [new file with mode: 0644]

index 1b78d9c060368f60f385a8d86fcb9089d114ba91..4be4b53676a2d48b257b1afbdb9a5c1c8db94850 100644 (file)
@@ -1,2 +1,3 @@
 DIST Net-DNS-1.10.tar.gz 261413 BLAKE2B 99dce8425b0ea2d541fa3a91e9d77ba819f31a3e4f8e53249391b06dadee61a43d60c4c0d72bd5e1b80c2b1d228da49937e7b073ce2201b0cb01b5bc83972418 SHA512 2184b0d35f7002d793b10238582ca80d9d1ee06543f10b287e7cb77e5234efc49865ea6b2a87184c45b002bba0b42ad3fd84ff8743f79e2841ccecb597b98962
 DIST Net-DNS-1.13.tar.gz 251658 BLAKE2B 3ade04bea24455f6a4dc2d3a5b3dd40f19bd1638945d3622b40feb5bf0e6e6fddb5fe5636fce57d3b5ec270dee4c666aa5b4062113a25b7b483eeff93379678c SHA512 ac42d5b5d1849de11813404b9915f2b54cc4d44e2f6a52c8c5c714ae30bab594b2d27701957238c1dbb09544320822c25f19ff50ce33210c289379aa67400636
+DIST Net-DNS-1.23.tar.gz 257796 BLAKE2B 974ad41111af557e4c066403c93606ca924a900e8892f8dd275e4691beb672ab0dc7e0f3081ca134c39d562368ee1fbf8f174911f3dcca8f0fa3a2a1e44c736d SHA512 23c9df9e12340687d3399cbe7fb5f94dfa4ceae94be77227c42f0f707470ef90194ef64aa953ee36da5c2ba6a28d2bb4b59de04a9722ae3b0db6162916bde2b1
diff --git a/dev-perl/Net-DNS/Net-DNS-1.230.0.ebuild b/dev-perl/Net-DNS/Net-DNS-1.230.0.ebuild
new file mode 100644 (file)
index 0000000..a1e7813
--- /dev/null
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=NLNETLABS
+DIST_VERSION=1.23
+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 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="test minimal"
+RESTRICT="!test? ( test )"
+
+PDEPEND="!minimal? ( >=dev-perl/Net-DNS-SEC-1.30.0 )"
+RDEPEND="
+       >=dev-perl/Digest-HMAC-1.30.0
+       >=virtual/perl-Digest-MD5-2.130.0
+       >=virtual/perl-Digest-SHA-5.230.0
+       >=virtual/perl-File-Spec-0.860.0
+       >=virtual/perl-MIME-Base64-2.130.0
+       >=virtual/perl-Time-Local-1.190.0
+       >=virtual/perl-IO-Socket-IP-0.380.0
+       >=virtual/perl-IO-1.050
+       !minimal? (
+               >=dev-perl/Digest-BubbleBabble-0.10.0
+               >=dev-perl/Net-LibIDN2-1.0.0
+       )
+"
+DEPEND="${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
+}