aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-Net
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-01-05 01:12:08 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-01-05 01:12:08 +0800
commitfc1fdf958facd1f492ba23950923cb577666be70 (patch)
tree4bb0650d39b6a52e70c721c21723d2772a7ce272 /net/p5-Net
parentefbf92e2b17c5cbfb3313718143a05db4f078687 (diff)
downloadfreebsd-ports-gnome-fc1fdf958facd1f492ba23950923cb577666be70.tar.gz
freebsd-ports-gnome-fc1fdf958facd1f492ba23950923cb577666be70.tar.zst
freebsd-ports-gnome-fc1fdf958facd1f492ba23950923cb577666be70.zip
- Update to 1.30
- Fix BUILD_DEPENDS: ExtUtils::MakeMaker 6.64+ is already in Perl 5.18+ releases - Add IPV6 and SSL options Changes: http://search.cpan.org/dist/libnet/Changes
Diffstat (limited to 'net/p5-Net')
-rw-r--r--net/p5-Net/Makefile22
-rw-r--r--net/p5-Net/distinfo4
-rw-r--r--net/p5-Net/pkg-plist1
3 files changed, 19 insertions, 8 deletions
diff --git a/net/p5-Net/Makefile b/net/p5-Net/Makefile
index 43cc520715aa..f559a0adbcc9 100644
--- a/net/p5-Net/Makefile
+++ b/net/p5-Net/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= Net
-PORTVERSION= 1.27
-PORTREVISION= 1
+PORTVERSION= 1.30
PORTEPOCH= 1
CATEGORIES= net perl5
MASTER_SITES= CPAN
@@ -16,18 +15,29 @@ COMMENT= Perl5 modules to access and use network protocols
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-BUILD_DEPENDS= p5-ExtUtils-MakeMaker>=6.64:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
-
-OPTIONS_DEFINE= SASL
+OPTIONS_DEFINE= IPV6 SASL SSL
OPTIONS_DEFAULT=SASL
SASL_DESC= SASL auth for POP3 and SMTP support
SASL_BUILD_DEPENDS= p5-Authen-SASL>=0:${PORTSDIR}/security/p5-Authen-SASL
SASL_RUN_DEPENDS= p5-Authen-SASL>=0:${PORTSDIR}/security/p5-Authen-SASL
+SSL_BUILD_DEPENDS= p5-IO-Socket-SSL>=1.994:${PORTSDIR}/security/p5-IO-Socket-SSL
+SSL_RUN_DEPENDS= p5-IO-Socket-SSL>=1.994:${PORTSDIR}/security/p5-IO-Socket-SSL
PORTSCOUT= skipv:1.0901
USES= perl5
USE_PERL5= configure
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501800
+BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.64:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
+.endif
+
+.if ${PORT_OPTIONS:MIPV6} && ${PERL_LEVEL} < 502000
+BUILD_DEPENDS+= p5-IO-Socket-IP>=0.20:${PORTSDIR}/net/p5-IO-Socket-IP
+RUN_DEPENDS+= p5-IO-Socket-IP>=0.20:${PORTSDIR}/net/p5-IO-Socket-IP
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/p5-Net/distinfo b/net/p5-Net/distinfo
index bb6814166ebe..1bafeea8ecb4 100644
--- a/net/p5-Net/distinfo
+++ b/net/p5-Net/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libnet-1.27.tar.gz) = a6c8660844df64cd8389d2afddd596c9a5afb0cda8434b0b9313a53496cee803
-SIZE (libnet-1.27.tar.gz) = 68615
+SHA256 (libnet-1.30.tar.gz) = c77a6ce855047bceaad2b0b8f4dbe8f88d2e1a9c6786ad668d50b0fe599797f7
+SIZE (libnet-1.30.tar.gz) = 81922
diff --git a/net/p5-Net/pkg-plist b/net/p5-Net/pkg-plist
index 6970814fdf0c..476e3319216a 100644
--- a/net/p5-Net/pkg-plist
+++ b/net/p5-Net/pkg-plist
@@ -2,6 +2,7 @@
%%PERL5_MAN3%%/Net::Config.3.gz
%%PERL5_MAN3%%/Net::Domain.3.gz
%%PERL5_MAN3%%/Net::FTP.3.gz
+%%PERL5_MAN3%%/Net::FTP::dataconn.3.gz
%%PERL5_MAN3%%/Net::NNTP.3.gz
%%PERL5_MAN3%%/Net::Netrc.3.gz
%%PERL5_MAN3%%/Net::POP3.3.gz