diff -Nru libio-socket-ip-perl-0.38/Changes libio-socket-ip-perl-0.39/Changes --- libio-socket-ip-perl-0.38/Changes 2016-08-02 17:37:26.000000000 +0000 +++ libio-socket-ip-perl-0.39/Changes 2017-03-06 16:45:05.000000000 +0000 @@ -1,5 +1,10 @@ Revision history for IO-Socket-IP +0.39 2017/03/06 16:40:30 + [BUGFIXES] + * Handle EOPNOTSUPP in resposne of efforts to disable V6ONLY + (RT119780) (thanks XENU) + 0.38 2016/08/02 18:33:50 [CHANGES] * Support setting custom socket options with new 'Sockopts' diff -Nru libio-socket-ip-perl-0.38/debian/changelog libio-socket-ip-perl-0.39/debian/changelog --- libio-socket-ip-perl-0.38/debian/changelog 2016-10-30 14:24:33.000000000 +0000 +++ libio-socket-ip-perl-0.39/debian/changelog 2017-11-12 13:32:56.000000000 +0000 @@ -1,3 +1,17 @@ +libio-socket-ip-perl (0.39-1) unstable; urgency=medium + + * Team upload. + * Import upstream version 0.39 + * Drop old requirements for Socket version. + The required version is satisfied in the oldstable distribution (jessie) + now already. + * Update copyright years for debian/* packaging files + * Update copyright years for upstream files + * Declare compliance with Debian policy 4.1.1 + * Cleanup trailing whitespaces in debian/changelog file + + -- Salvatore Bonaccorso Sun, 12 Nov 2017 14:32:56 +0100 + libio-socket-ip-perl (0.38-1) unstable; urgency=medium [ Salvatore Bonaccorso ] @@ -184,7 +198,7 @@ * debian/control: - Bump versioned Build-Depends on debhelper to (>= 8). - Move perl to Build-Depends as with Debhelper compat level 8 we use - Build.PL by default. + Build.PL by default. - Add (Build-)Depends(-Indep) on netbase. * Add fix-spelling-error-in-manpage.patch to fix spelling error in manpage. diff -Nru libio-socket-ip-perl-0.38/debian/control libio-socket-ip-perl-0.39/debian/control --- libio-socket-ip-perl-0.38/debian/control 2016-10-30 14:24:33.000000000 +0000 +++ libio-socket-ip-perl-0.39/debian/control 2017-11-12 13:32:56.000000000 +0000 @@ -9,25 +9,20 @@ Priority: optional Build-Depends: debhelper (>= 9), libmodule-build-perl -# do not remove the versioned build-dep on libsocket-perl. Otherwise, pbuilder will be satisfied by perl-base package which provides libsocket-perl 1.94 Build-Depends-Indep: libio-socket-inet6-perl, libtest-pod-perl, netbase, - perl (>= 5.15.6) | libsocket-perl (>= 1.97), perl -Standards-Version: 3.9.8 +Standards-Version: 4.1.1 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libio-socket-ip-perl.git Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libio-socket-ip-perl.git Homepage: https://metacpan.org/release/IO-Socket-IP Package: libio-socket-ip-perl Architecture: all -# Exceptionally depend on perl-base, as this is expected to become part -# of perl-base soon. Depends: ${misc:Depends}, ${perl:Depends}, - netbase, - perl-base (>= 5.15.6) | libsocket-perl (>= 1.97) + netbase Description: module for using IPv4 and IPv6 sockets in a protocol-independent way IO::Socket::IP provides a protocol-independent way to use IPv4 and IPv6 sockets. It allows new connections to be made by specifying the hostname and diff -Nru libio-socket-ip-perl-0.38/debian/copyright libio-socket-ip-perl-0.39/debian/copyright --- libio-socket-ip-perl-0.38/debian/copyright 2016-10-30 14:24:33.000000000 +0000 +++ libio-socket-ip-perl-0.39/debian/copyright 2017-11-12 13:32:56.000000000 +0000 @@ -4,11 +4,11 @@ Source: https://metacpan.org/release/IO-Socket-IP Files: * -Copyright: 2010-2016, Paul Evans +Copyright: 2010-2017, Paul Evans License: Artistic or GPL-1+ Files: debian/* -Copyright: 2011, Salvatore Bonaccorso +Copyright: 2011-2017, Salvatore Bonaccorso 2011-2016, gregor herrmann 2012, intrigeri 2013, Dominique Dumont diff -Nru libio-socket-ip-perl-0.38/lib/IO/Socket/IP.pm libio-socket-ip-perl-0.39/lib/IO/Socket/IP.pm --- libio-socket-ip-perl-0.38/lib/IO/Socket/IP.pm 2016-08-02 17:37:26.000000000 +0000 +++ libio-socket-ip-perl-0.39/lib/IO/Socket/IP.pm 2017-03-06 16:45:05.000000000 +0000 @@ -7,7 +7,7 @@ # $VERSION needs to be set before use base 'IO::Socket' # - https://rt.cpan.org/Ticket/Display.html?id=92107 BEGIN { - $VERSION = '0.38'; + $VERSION = '0.39'; } use strict; @@ -31,7 +31,7 @@ my $AF_INET6 = eval { Socket::AF_INET6() }; # may not be defined my $AI_ADDRCONFIG = eval { Socket::AI_ADDRCONFIG() } || 0; use POSIX qw( dup2 ); -use Errno qw( EINVAL EINPROGRESS EISCONN ENOTCONN ETIMEDOUT EWOULDBLOCK ); +use Errno qw( EINVAL EINPROGRESS EISCONN ENOTCONN ETIMEDOUT EWOULDBLOCK EOPNOTSUPP ); use constant HAVE_MSWIN32 => ( $^O eq "MSWin32" ); @@ -154,7 +154,7 @@ if( setsockopt $testsock, IPPROTO_IPV6, IPV6_V6ONLY, 0 ) { return $can_disable_v6only = 1; } - elsif( $! == EINVAL ) { + elsif( $! == EINVAL || $! == EOPNOTSUPP ) { return $can_disable_v6only = 0; } else { diff -Nru libio-socket-ip-perl-0.38/LICENSE libio-socket-ip-perl-0.39/LICENSE --- libio-socket-ip-perl-0.38/LICENSE 2016-08-02 17:37:26.000000000 +0000 +++ libio-socket-ip-perl-0.39/LICENSE 2017-03-06 16:45:05.000000000 +0000 @@ -1,4 +1,4 @@ -This software is copyright (c) 2016 by Paul Evans . +This software is copyright (c) 2017 by Paul Evans . This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. @@ -12,7 +12,7 @@ --- The GNU General Public License, Version 1, February 1989 --- -This software is Copyright (c) 2016 by Paul Evans . +This software is Copyright (c) 2017 by Paul Evans . This is free software, licensed under: @@ -272,7 +272,7 @@ --- The Artistic License 1.0 --- -This software is Copyright (c) 2016 by Paul Evans . +This software is Copyright (c) 2017 by Paul Evans . This is free software, licensed under: diff -Nru libio-socket-ip-perl-0.38/Makefile.PL libio-socket-ip-perl-0.39/Makefile.PL --- libio-socket-ip-perl-0.38/Makefile.PL 2016-08-02 17:37:26.000000000 +0000 +++ libio-socket-ip-perl-0.39/Makefile.PL 2017-03-06 16:45:05.000000000 +0000 @@ -1,4 +1,4 @@ -# Note: this file was auto-generated by Module::Build::Compat version 0.4218 +# Note: this file was auto-generated by Module::Build::Compat version 0.4220 use ExtUtils::MakeMaker; WriteMakefile ( diff -Nru libio-socket-ip-perl-0.38/META.json libio-socket-ip-perl-0.39/META.json --- libio-socket-ip-perl-0.38/META.json 2016-08-02 17:37:26.000000000 +0000 +++ libio-socket-ip-perl-0.39/META.json 2017-03-06 16:45:05.000000000 +0000 @@ -4,7 +4,7 @@ "Paul Evans " ], "dynamic_config" : 1, - "generated_by" : "Module::Build version 0.4218", + "generated_by" : "Module::Build version 0.422", "license" : [ "perl_5" ], @@ -29,7 +29,7 @@ "provides" : { "IO::Socket::IP" : { "file" : "lib/IO/Socket/IP.pm", - "version" : "0.38" + "version" : "0.39" } }, "release_status" : "stable", @@ -38,6 +38,6 @@ "http://dev.perl.org/licenses/" ] }, - "version" : "0.38", + "version" : "0.39", "x_serialization_backend" : "JSON::PP version 2.27400" } diff -Nru libio-socket-ip-perl-0.38/META.yml libio-socket-ip-perl-0.39/META.yml --- libio-socket-ip-perl-0.38/META.yml 2016-08-02 17:37:26.000000000 +0000 +++ libio-socket-ip-perl-0.39/META.yml 2017-03-06 16:45:05.000000000 +0000 @@ -5,7 +5,7 @@ build_requires: Test::More: '0.88' dynamic_config: 1 -generated_by: 'Module::Build version 0.4218, CPAN::Meta::Converter version 2.150005' +generated_by: 'Module::Build version 0.422, CPAN::Meta::Converter version 2.150005' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -14,11 +14,11 @@ provides: IO::Socket::IP: file: lib/IO/Socket/IP.pm - version: '0.38' + version: '0.39' requires: IO::Socket: '0' Socket: '1.97' resources: license: http://dev.perl.org/licenses/ -version: '0.38' +version: '0.39' x_serialization_backend: 'CPAN::Meta::YAML version 0.018'