aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2006-04-19 06:16:45 +0800
committerdougb <dougb@FreeBSD.org>2006-04-19 06:16:45 +0800
commit5430da18665865cf73eaf9d7b166e4374614a006 (patch)
tree2e2af2e55555d675b8ac0f24fe08dbe99db4ecc1 /dns
parent931210dd16db0897a4be2a2fb4f52643a12c3dd0 (diff)
downloadfreebsd-ports-gnome-5430da18665865cf73eaf9d7b166e4374614a006.tar.gz
freebsd-ports-gnome-5430da18665865cf73eaf9d7b166e4374614a006.tar.zst
freebsd-ports-gnome-5430da18665865cf73eaf9d7b166e4374614a006.zip
Update to 0.57 (which contains no functional changes from 0.56),
and reenable the cryptographic features on Perl 5.005. PR: ports/94770 Submitted by: leeym (thanks!)
Diffstat (limited to 'dns')
-rw-r--r--dns/p5-Net-DNS/Makefile18
-rw-r--r--dns/p5-Net-DNS/distinfo6
2 files changed, 9 insertions, 15 deletions
diff --git a/dns/p5-Net-DNS/Makefile b/dns/p5-Net-DNS/Makefile
index c090c6000daa..e40d1af3e019 100644
--- a/dns/p5-Net-DNS/Makefile
+++ b/dns/p5-Net-DNS/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Net-DNS
-PORTVERSION= 0.56
+PORTVERSION= 0.57
CATEGORIES= dns net perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
@@ -16,7 +16,8 @@ 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= ipcount:${PORTSDIR}/net-mgmt/p5-Net-IP
+RUN_DEPENDS= ipcount:${PORTSDIR}/net-mgmt/p5-Net-IP \
+ ${SITE_PERL}/Digest/HMAC_MD5.pm:${PORTSDIR}/security/p5-Digest-HMAC
PERL_CONFIGURE= yes
CONFIGURE_ARGS+= --online-tests
@@ -43,17 +44,10 @@ 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
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Socket/INET.pm:${PORTSDIR}/devel/p5-IO
+post-patch:
+ ${PERL} -pi -e 's/=(.*);/\($$1\);/ if m{errorstring}' ${WRKSRC}/lib/Net/DNS/Resolver/Recurse.pm
.endif
.if ${PERL_LEVEL} < 500800
diff --git a/dns/p5-Net-DNS/distinfo b/dns/p5-Net-DNS/distinfo
index c3dbc09ee596..5c745eade88d 100644
--- a/dns/p5-Net-DNS/distinfo
+++ b/dns/p5-Net-DNS/distinfo
@@ -1,3 +1,3 @@
-MD5 (Net-DNS-0.56.tar.gz) = 4a029f80c4aeedb4691ad9f342d4b5b3
-SHA256 (Net-DNS-0.56.tar.gz) = 7e98a00c43dab10933717799b953e822563b0ceaaa01e114ee6aaf7ebd6baafb
-SIZE (Net-DNS-0.56.tar.gz) = 131463
+MD5 (Net-DNS-0.57.tar.gz) = 9511a7052e553f2a29a5bae32c20bc44
+SHA256 (Net-DNS-0.57.tar.gz) = 5411ca2713c206315a3302b6e95bdb1096fc46d00a4e5697faede4d6202e23df
+SIZE (Net-DNS-0.57.tar.gz) = 131596