Permalink
Browse files

Upgrade libnet from version 3.10 to 3.11

  • Loading branch information...
steve-m-hay committed Nov 14, 2017
1 parent ea5f21e commit 8f2f8ba04ea23881d72a9cbfd11eb9d2c04eab24
View
@@ -659,7 +659,7 @@ package Maintainers;
},
'libnet' => {
'DISTRIBUTION' => 'SHAY/libnet-3.10.tar.gz',
'DISTRIBUTION' => 'SHAY/libnet-3.11.tar.gz',
'FILES' => q[cpan/libnet],
'EXCLUDED' => [
qw( Configure
View
@@ -66,7 +66,7 @@ MAIN: {
ABSTRACT => 'Collection of network protocol modules',
AUTHOR => 'Graham Barr <gbarr@pobox.com>, Steve Hay <shay@cpan.org>',
LICENSE => 'perl_5',
VERSION => '3.10',
VERSION => '3.11',
META_MERGE => {
'meta-spec' => {
View
@@ -1,9 +1,7 @@
# Net::Cmd.pm
#
# Versions up to 2.29_1 Copyright (c) 1995-2006 Graham Barr <gbarr@pobox.com>.
# All rights reserved.
# Changes in Version 2.29_2 onwards Copyright (C) 2013-2015 Steve Hay. All
# rights reserved.
# Copyright (C) 1995-2006 Graham Barr. All rights reserved.
# Copyright (C) 2013-2016 Steve Hay. All rights reserved.
# This module is free software; you can redistribute it and/or modify it under
# the same terms as Perl itself, i.e. under the terms of either the GNU General
# Public License or the Artistic License, as specified in the F<LICENCE> file.
@@ -28,7 +26,7 @@ BEGIN {
}
}
our $VERSION = "3.10";
our $VERSION = "3.11";
our @ISA = qw(Exporter);
our @EXPORT = qw(CMD_INFO CMD_OK CMD_MORE CMD_REJECT CMD_ERROR CMD_PENDING);
@@ -855,16 +853,18 @@ of C<response> and C<status>. The sixth is C<CMD_PENDING>.
=head1 AUTHOR
Graham Barr E<lt>F<gbarr@pobox.com>E<gt>
Graham Barr E<lt>F<gbarr@pobox.com>E<gt>.
Steve Hay E<lt>F<shay@cpan.org>E<gt> is now maintaining libnet as of version
1.22_02
1.22_02.
=head1 COPYRIGHT
Versions up to 2.29_1 Copyright (c) 1995-2006 Graham Barr. All rights reserved.
Changes in Version 2.29_2 onwards Copyright (C) 2013-2014 Steve Hay. All rights
reserved.
Copyright (C) 1995-2006 Graham Barr. All rights reserved.
Copyright (C) 2013-2016 Steve Hay. All rights reserved.
=head1 LICENCE
This module is free software; you can redistribute it and/or modify it under the
same terms as Perl itself, i.e. under the terms of either the GNU General Public
@@ -1,9 +1,7 @@
# Net::Config.pm
#
# Versions up to 1.11 Copyright (c) 2000 Graham Barr <gbarr@pobox.com>.
# All rights reserved.
# Changes in Version 1.11_01 onwards Copyright (C) 2013-2014 Steve Hay. All
# rights reserved.
# Copyright (C) 2000 Graham Barr. All rights reserved.
# Copyright (C) 2013-2014, 2016 Steve Hay. All rights reserved.
# This module is free software; you can redistribute it and/or modify it under
# the same terms as Perl itself, i.e. under the terms of either the GNU General
# Public License or the Artistic License, as specified in the F<LICENCE> file.
@@ -20,7 +18,7 @@ use Socket qw(inet_aton inet_ntoa);
our @EXPORT = qw(%NetConfig);
our @ISA = qw(Net::LocalCfg Exporter);
our $VERSION = "3.10";
our $VERSION = "3.11";
our($CONFIGURE, $LIBNET_CFG);
@@ -327,16 +325,18 @@ If true then C<Configure> will check each hostname given that it exists
=head1 AUTHOR
Graham Barr E<lt>F<gbarr@pobox.com>E<gt>
Graham Barr E<lt>F<gbarr@pobox.com>E<gt>.
Steve Hay E<lt>F<shay@cpan.org>E<gt> is now maintaining libnet as of version
1.22_02
1.22_02.
=head1 COPYRIGHT
Versions up to 1.11 Copyright (c) 1998-2011 Graham Barr. All rights reserved.
Changes in Version 1.11_01 onwards Copyright (C) 2013-2014 Steve Hay. All
rights reserved.
Copyright (C) 1998-2011 Graham Barr. All rights reserved.
Copyright (C) 2013-2014, 2016 Steve Hay. All rights reserved.
=head1 LICENCE
This module is free software; you can redistribute it and/or modify it under the
same terms as Perl itself, i.e. under the terms of either the GNU General Public
@@ -1,9 +1,7 @@
# Net::Domain.pm
#
# Versions up to 2.21 Copyright (c) 1995-1998 Graham Barr <gbarr@pobox.com>.
# All rights reserved.
# Changes in Version 2.22 onwards Copyright (C) 2013-2014 Steve Hay. All rights
# reserved.
# Copyright (C) 1995-1998 Graham Barr. All rights reserved.
# Copyright (C) 2013-2014 Steve Hay. All rights reserved.
# This module is free software; you can redistribute it and/or modify it under
# the same terms as Perl itself, i.e. under the terms of either the GNU General
# Public License or the Artistic License, as specified in the F<LICENCE> file.
@@ -21,7 +19,7 @@ use Net::Config;
our @ISA = qw(Exporter);
our @EXPORT_OK = qw(hostname hostdomain hostfqdn domainname);
our $VERSION = "3.10";
our $VERSION = "3.11";
my ($host, $domain, $fqdn) = (undef, undef, undef);
@@ -346,16 +344,19 @@ Returns the remainder of the FQDN after the I<hostname> has been removed.
=head1 AUTHOR
Graham Barr E<lt>F<gbarr@pobox.com>E<gt>.
Adapted from Sys::Hostname by David Sundstrom E<lt>F<sunds@asictest.sc.ti.com>E<gt>
Adapted from Sys::Hostname by David Sundstrom E<lt>F<sunds@asictest.sc.ti.com>E<gt>.
Steve Hay E<lt>F<shay@cpan.org>E<gt> is now maintaining libnet as of version
1.22_02
1.22_02.
=head1 COPYRIGHT
Versions up to 2.21 Copyright (c) 1995-1998 Graham Barr. All rights reserved.
Changes in Version 2.22 onwards Copyright (C) 2013-2014 Steve Hay. All rights
reserved.
Copyright (C) 1995-1998 Graham Barr. All rights reserved.
Copyright (C) 2013-2014 Steve Hay. All rights reserved.
=head1 LICENCE
This module is free software; you can redistribute it and/or modify it under the
same terms as Perl itself, i.e. under the terms of either the GNU General Public
View
@@ -1,9 +1,7 @@
# Net::FTP.pm
#
# Versions up to 2.77_2 Copyright (c) 1995-2004 Graham Barr <gbarr@pobox.com>.
# All rights reserved.
# Changes in Version 2.77_3 onwards Copyright (C) 2013-2015 Steve Hay. All
# rights reserved.
# Copyright (C) 1995-2004 Graham Barr. All rights reserved.
# Copyright (C) 2013-2017 Steve Hay. All rights reserved.
# This module is free software; you can redistribute it and/or modify it under
# the same terms as Perl itself, i.e. under the terms of either the GNU General
# Public License or the Artistic License, as specified in the F<LICENCE> file.
@@ -25,7 +23,7 @@ use Net::Config;
use Socket;
use Time::Local;
our $VERSION = '3.10';
our $VERSION = '3.11';
our $IOCLASS;
my $family_key;
@@ -670,7 +668,7 @@ sub rmdir {
# Try to delete the contents
# Get a list of all the files in the directory, excluding the current and parent directories
my @filelist = map { /^(?:\S+;)+ (.+)$/ ? ($1) : () } grep { !/^(?:\S+;)*type=[cp]dir;/ } $ftp->_list_cmd("MLSD", $dir);
my @filelist = map { /^(?:\S+;)+ (.+)$/ ? ($1) : () } grep { !/^(?:\S+;)*type=[cp]dir;/i } $ftp->_list_cmd("MLSD", $dir);
# Fallback to using the less well-defined NLST command if MLSD fails
@filelist = grep { !/^\.{1,2}$/ } $ftp->ls($dir)
@@ -1998,10 +1996,10 @@ run of your program which does yield the problem.
=head1 AUTHOR
Graham Barr E<lt>F<gbarr@pobox.com>E<gt>
Graham Barr E<lt>F<gbarr@pobox.com>E<gt>.
Steve Hay E<lt>F<shay@cpan.org>E<gt> is now maintaining libnet as of version
1.22_02
1.22_02.
=head1 SEE ALSO
@@ -2038,9 +2036,11 @@ Roderick Schertler <roderick@gate.net> - for various inputs
=head1 COPYRIGHT
Versions up to 2.77_2 Copyright (c) 1995-2004 Graham Barr. All rights reserved.
Changes in Version 2.77_3 onwards Copyright (C) 2013-2015 Steve Hay. All rights
reserved.
Copyright (C) 1995-2004 Graham Barr. All rights reserved.
Copyright (C) 2013-2017 Steve Hay. All rights reserved.
=head1 LICENCE
This module is free software; you can redistribute it and/or modify it under the
same terms as Perl itself, i.e. under the terms of either the GNU General Public
@@ -13,7 +13,7 @@ use Carp;
use Net::FTP::dataconn;
our @ISA = qw(Net::FTP::dataconn);
our $VERSION = "3.10";
our $VERSION = "3.11";
our $buf;
@@ -8,6 +8,6 @@ use warnings;
use Net::FTP::I;
our @ISA = qw(Net::FTP::I);
our $VERSION = "3.10";
our $VERSION = "3.11";
1;
@@ -13,7 +13,7 @@ use Carp;
use Net::FTP::dataconn;
our @ISA = qw(Net::FTP::dataconn);
our $VERSION = "3.10";
our $VERSION = "3.11";
our $buf;
@@ -8,6 +8,6 @@ use warnings;
use Net::FTP::I;
our @ISA = qw(Net::FTP::I);
our $VERSION = "3.10";
our $VERSION = "3.11";
1;
@@ -13,7 +13,7 @@ use Carp;
use Errno;
use Net::Cmd;
our $VERSION = '3.10';
our $VERSION = '3.11';
$Net::FTP::IOCLASS or die "please load Net::FTP before Net::FTP::dataconn";
our @ISA = $Net::FTP::IOCLASS;
@@ -1,9 +1,7 @@
# Net::NNTP.pm
#
# Versions up to 2.24_1 Copyright (c) 1995-1997 Graham Barr <gbarr@pobox.com>.
# All rights reserved.
# Changes in Version 2.25 onwards Copyright (C) 2013-2015 Steve Hay. All rights
# reserved.
# Copyright (C) 1995-1997 Graham Barr. All rights reserved.
# Copyright (C) 2013-2016 Steve Hay. All rights reserved.
# This module is free software; you can redistribute it and/or modify it under
# the same terms as Perl itself, i.e. under the terms of either the GNU General
# Public License or the Artistic License, as specified in the F<LICENCE> file.
@@ -21,7 +19,7 @@ use Net::Cmd;
use Net::Config;
use Time::Local;
our $VERSION = "3.10";
our $VERSION = "3.11";
# Code for detecting if we can use SSL
my $ssl_class = eval {
@@ -1284,16 +1282,18 @@ L<IO::Socket::SSL>
=head1 AUTHOR
Graham Barr E<lt>F<gbarr@pobox.com>E<gt>
Graham Barr E<lt>F<gbarr@pobox.com>E<gt>.
Steve Hay E<lt>F<shay@cpan.org>E<gt> is now maintaining libnet as of version
1.22_02
1.22_02.
=head1 COPYRIGHT
Versions up to 2.24_1 Copyright (c) 1995-1997 Graham Barr. All rights reserved.
Changes in Version 2.25 onwards Copyright (C) 2013-2015 Steve Hay. All rights
reserved.
Copyright (C) 1995-1997 Graham Barr. All rights reserved.
Copyright (C) 2013-2016 Steve Hay. All rights reserved.
=head1 LICENCE
This module is free software; you can redistribute it and/or modify it under the
same terms as Perl itself, i.e. under the terms of either the GNU General Public
@@ -1,9 +1,7 @@
# Net::Netrc.pm
#
# Versions up to 2.13 Copyright (c) 1995-1998 Graham Barr <gbarr@pobox.com>.
# All rights reserved.
# Changes in Version 2.13_01 onwards Copyright (C) 2013-2014 Steve Hay. All
# rights reserved.
# Copyright (C) 1995-1998 Graham Barr. All rights reserved.
# Copyright (C) 2013-2014 Steve Hay. All rights reserved.
# This module is free software; you can redistribute it and/or modify it under
# the same terms as Perl itself, i.e. under the terms of either the GNU General
# Public License or the Artistic License, as specified in the F<LICENCE> file.
@@ -18,7 +16,7 @@ use warnings;
use Carp;
use FileHandle;
our $VERSION = "3.10";
our $VERSION = "3.11";
our $TESTING;
@@ -324,10 +322,10 @@ Return a list of login, password and account information for the netrc entry
=head1 AUTHOR
Graham Barr E<lt>F<gbarr@pobox.com>E<gt>
Graham Barr E<lt>F<gbarr@pobox.com>E<gt>.
Steve Hay E<lt>F<shay@cpan.org>E<gt> is now maintaining libnet as of version
1.22_02
1.22_02.
=head1 SEE ALSO
@@ -336,9 +334,11 @@ L<Net::Cmd>
=head1 COPYRIGHT
Versions up to 2.13 Copyright (c) 1995-1998 Graham Barr. All rights reserved.
Changes in Version 2.13_01 onwards Copyright (C) 2013-2014 Steve Hay. All
rights reserved.
Copyright (C) 1995-1998 Graham Barr. All rights reserved.
Copyright (C) 2013-2014 Steve Hay. All rights reserved.
=head1 LICENCE
This module is free software; you can redistribute it and/or modify it under the
same terms as Perl itself, i.e. under the terms of either the GNU General Public
@@ -1,9 +1,7 @@
# Net::POP3.pm
#
# Versions up to 2.29 Copyright (c) 1995-2004 Graham Barr <gbarr@pobox.com>.
# All rights reserved.
# Changes in Version 2.29_01 onwards Copyright (C) 2013-2015 Steve Hay. All
# rights reserved.
# Copyright (C) 1995-2004 Graham Barr. All rights reserved.
# Copyright (C) 2013-2016 Steve Hay. All rights reserved.
# This module is free software; you can redistribute it and/or modify it under
# the same terms as Perl itself, i.e. under the terms of either the GNU General
# Public License or the Artistic License, as specified in the F<LICENCE> file.
@@ -20,7 +18,7 @@ use IO::Socket;
use Net::Cmd;
use Net::Config;
our $VERSION = "3.10";
our $VERSION = "3.11";
# Code for detecting if we can use SSL
my $ssl_class = eval {
@@ -845,16 +843,18 @@ L<IO::Socket::SSL>
=head1 AUTHOR
Graham Barr E<lt>F<gbarr@pobox.com>E<gt>
Graham Barr E<lt>F<gbarr@pobox.com>E<gt>.
Steve Hay E<lt>F<shay@cpan.org>E<gt> is now maintaining libnet as of version
1.22_02
1.22_02.
=head1 COPYRIGHT
Versions up to 2.29 Copyright (c) 1995-2004 Graham Barr. All rights reserved.
Changes in Version 2.29_01 onwards Copyright (C) 2013-2015 Steve Hay. All
rights reserved.
Copyright (C) 1995-2004 Graham Barr. All rights reserved.
Copyright (C) 2013-2016 Steve Hay. All rights reserved.
=head1 LICENCE
This module is free software; you can redistribute it and/or modify it under the
same terms as Perl itself, i.e. under the terms of either the GNU General Public
Oops, something went wrong.

0 comments on commit 8f2f8ba

Please sign in to comment.