head 1.3; access; symbols pkgsrc-2014Q4:1.2.0.4 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.2 pkgsrc-2014Q3-base:1.2; locks; strict; comment @# @; 1.3 date 2015.02.21.12.38.15; author mef; state dead; branches; next 1.2; commitid iGul7mafO8SyeSay; 1.2 date 2014.09.05.20.23.06; author kim; state Exp; branches; next 1.1; commitid x2fN9NImEFmefcPx; 1.1 date 2014.09.03.06.19.44; author kim; state Exp; branches; next ; commitid XieIOZdbzJopDROx; desc @@ 1.3 log @(pkgsrc) - patch-aa is now implemented (as below), that seems the only Change for this version. (upstream) - Update to 0.603 (PKGVERSION is 0.6.3) ------------------------------------- 0.603 2014/09/07 - mark Net::FTP 2.79 as a valid base too, based on patch from kimmo[AT]suominen[DOT]com, https://github.com/noxxi/p5-net-inet6glue/pull/3 @ text @$NetBSD: patch-aa,v 1.2 2014/09/05 20:23:06 kim Exp $ Avoid warning when used with perl-5.20.0 from pkgsrc. https://github.com/noxxi/p5-net-inet6glue/pull/3.diff --- lib/Net/INET6Glue/FTP.pm +++ lib/Net/INET6Glue/FTP.pm @@@@ -7,11 +7,13 @@@@ our $VERSION = 0.5; # implement EPRT, EPSV for Net::FTP to support IPv6 ############################################################################ +use List::Util qw(first); use Net::INET6Glue::INET_is_INET6; -use Net::FTP; # tested with version 2.77 +use Net::FTP; BEGIN { - $Net::FTP::VERSION eq '2.77' - or warn "Not tested with Net::FTP version $Net::FTP::VERSION"; + my @@tested = qw(2.77 2.79); + warn "Not tested with Net::FTP version $Net::FTP::VERSION" + unless first { $_ eq $Net::FTP::VERSION } @@tested; } use Socket; @ 1.2 log @Improve patch to use an array of tested versions. Submitted pull request upstream. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2014/09/03 06:19:44 kim Exp $ @ 1.1 log @Avoid warning when used with perl-5.20.0 from pkgsrc and update to latest upstream version. Notable entry from Changes: - add support for IO::Socket::IP instead of IO::Socket::INET6 and prefer it @ text @d1 1 a1 1 $NetBSD$ a3 1 Maybe this should be a check against an array instead. d5 6 a10 3 --- lib/Net/INET6Glue/FTP.pm.orig 2014-01-14 10:00:27.000000000 +0000 +++ lib/Net/INET6Glue/FTP.pm 2014-09-03 06:12:30.000000000 +0000 @@@@ -8,9 +8,9 @@@@ d13 1 d16 1 a16 1 +use Net::FTP; # tested with version 2.79 d19 4 a22 2 + $Net::FTP::VERSION eq '2.79' or warn "Not tested with Net::FTP version $Net::FTP::VERSION"; d25 1 @