aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2005-12-13 17:19:18 +0800
committerdougb <dougb@FreeBSD.org>2005-12-13 17:19:18 +0800
commit04edc36150e603a9b6b239cf02999bec9db2654b (patch)
treef66c4d3f2370e06768be8741c52611cce0d51ca0
parent7873e5a62d8c31efcd947623e87c4df5174b084f (diff)
downloadfreebsd-ports-gnome-04edc36150e603a9b6b239cf02999bec9db2654b.tar.gz
freebsd-ports-gnome-04edc36150e603a9b6b239cf02999bec9db2654b.tar.zst
freebsd-ports-gnome-04edc36150e603a9b6b239cf02999bec9db2654b.zip
upgrade to 0.54, which contains many bug fixes
work around the fact that the crypto features of this library require dependencies which are not available to Perl < 5.6.2.
-rw-r--r--dns/p5-Net-DNS/Makefile19
-rw-r--r--dns/p5-Net-DNS/distinfo6
2 files changed, 18 insertions, 7 deletions
diff --git a/dns/p5-Net-DNS/Makefile b/dns/p5-Net-DNS/Makefile
index f156f84c6f3f..210e4c780390 100644
--- a/dns/p5-Net-DNS/Makefile
+++ b/dns/p5-Net-DNS/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Net-DNS
-PORTVERSION= 0.53
+PORTVERSION= 0.54
CATEGORIES= dns net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
@@ -16,8 +16,7 @@ MAINTAINER= DougB@FreeBSD.org
COMMENT= Perl5 interface to the DNS resolver, and dynamic updates
# Warnings during build are harmless, the port does not need these to build
-RUN_DEPENDS= ${SITE_PERL}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC \
- ipcount:${PORTSDIR}/net-mgmt/p5-Net-IP
+RUN_DEPENDS= ipcount:${PORTSDIR}/net-mgmt/p5-Net-IP
PERL_CONFIGURE= yes
CONFIGURE_ARGS+= --online-tests
@@ -44,11 +43,23 @@ MAN3= Net::DNS.3 Net::DNS::Header.3 Net::DNS::Packet.3 \
.include <bsd.port.pre.mk>
+pre-fetch:
+.if ${PERL_LEVEL} < 500600
+ @${ECHO} "************************************************************"
+ @${ECHO} "* WARNING: Dependencies for the cryptographic functions of *"
+ @${ECHO} "* this library require at least Perl 5.6.2. Although most *"
+ @${ECHO} "* functions of this library will work without them, if you *"
+ @${ECHO} "* need those features, you will have to upgrade Perl. *"
+ @${ECHO} "************************************************************"
+ @sleep 5
+.else
+RUN_DEPENDS= ${SITE_PERL}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC
+.endif
+
.if ${PERL_LEVEL} < 500800
.if defined(WITH_IPv6)
RUN_DEPENDS+= ${SITE_PERL}/IO/Socket/INET6.pm:${PORTSDIR}/net/p5-IO-INET6
.endif
-RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
PLIST_SUB+= BYTES_INSTALL=""
.else
PLIST_SUB+= BYTES_INSTALL="@comment "
diff --git a/dns/p5-Net-DNS/distinfo b/dns/p5-Net-DNS/distinfo
index 40a12e5e52ac..0f66c06733af 100644
--- a/dns/p5-Net-DNS/distinfo
+++ b/dns/p5-Net-DNS/distinfo
@@ -1,3 +1,3 @@
-MD5 (Net-DNS-0.53.tar.gz) = 404797359373d4df1a025458ab1415f7
-SHA256 (Net-DNS-0.53.tar.gz) = 181acfb0178070bd06907097b7f7256fb5b37279109550067123dd8b9f378f4a
-SIZE (Net-DNS-0.53.tar.gz) = 119705
+MD5 (Net-DNS-0.54.tar.gz) = 70d7ef4940d8777af6f3659dd359c80b
+SHA256 (Net-DNS-0.54.tar.gz) = 8c1b30fbf917f9efcb761f04f17d2dc8ac11b2971a318bc5e518b212f2a48fb8
+SIZE (Net-DNS-0.54.tar.gz) = 126285