diff -Nru libanyevent-perl-7.110/Changes libanyevent-perl-7.120/Changes --- libanyevent-perl-7.110/Changes 2015-07-16 12:36:18.000000000 +0000 +++ libanyevent-perl-7.120/Changes 2016-01-27 18:12:28.000000000 +0000 @@ -8,9 +8,17 @@ TODO: AnyEvent::Handle with AnyEvent::IO? TODO: invalid. and localhost. specialcasing inside AEDNS and not AESocket (rfc6761) TODO: maybe implement env variable to give hosts precedence -TODO: hosts always read? that's not expected TODO: more formats for parse_ipv6 (single ipv6 address without port, ...p80, ...#80) +TODO: inet_aton maybe pack C4? no, add a comment why not +TODO: hosts read multiple times for initial concurrent tcp_connect's? + +7.12 Wed Jan 27 19:12:26 CET 2016 + - use common name as hostname for tls connects, if Net::SSLeay + supports SNI. + - fix documentation of tls_autostart read type in AnyEvent::Handle, + analyzed by Felix Ostmann. + 7.11 Thu Jul 16 14:36:00 CEST 2015 - AnyEvent::Socket::parse_ipv6 could accept malformed ipv6 addresses (extra "::" at end and similar cases). diff -Nru libanyevent-perl-7.110/debian/changelog libanyevent-perl-7.120/debian/changelog --- libanyevent-perl-7.110/debian/changelog 2015-12-18 20:45:00.000000000 +0000 +++ libanyevent-perl-7.120/debian/changelog 2016-02-12 19:13:41.000000000 +0000 @@ -1,8 +1,15 @@ -libanyevent-perl (7.110-1build1) xenial; urgency=medium +libanyevent-perl (7.120-1) unstable; urgency=medium - * No-change rebuild for perl 5.22.1. + [ Salvatore Bonaccorso ] + * debian/control: Use HTTPS transport protocol for Vcs-Git URI - -- Mathieu Trudel-Lapierre Fri, 18 Dec 2015 15:44:58 -0500 + [ gregor herrmann ] + * New upstream release. + * Update years of packaging copyright. + * Declare compliance with Debian Policy 3.9.7. + * Add more spelling fixes to fix-spelling.patch. Thanks to lintian. + + -- gregor herrmann Fri, 12 Feb 2016 20:13:32 +0100 libanyevent-perl (7.110-1) unstable; urgency=medium diff -Nru libanyevent-perl-7.110/debian/control libanyevent-perl-7.120/debian/control --- libanyevent-perl-7.110/debian/control 2015-12-05 18:18:17.000000000 +0000 +++ libanyevent-perl-7.120/debian/control 2016-02-12 19:13:41.000000000 +0000 @@ -22,9 +22,9 @@ shared-mime-info, xauth, xvfb -Standards-Version: 3.9.6 +Standards-Version: 3.9.7 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libanyevent-perl.git -Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libanyevent-perl.git +Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/libanyevent-perl.git Homepage: https://metacpan.org/release/AnyEvent Testsuite: autopkgtest-pkg-perl diff -Nru libanyevent-perl-7.110/debian/copyright libanyevent-perl-7.120/debian/copyright --- libanyevent-perl-7.110/debian/copyright 2015-12-05 18:18:17.000000000 +0000 +++ libanyevent-perl-7.120/debian/copyright 2016-02-12 19:13:41.000000000 +0000 @@ -21,7 +21,7 @@ Files: debian/* Copyright: 2009-2011, Jonathan Yu - 2009-2015, gregor herrmann + 2009-2016, gregor herrmann 2009-2010, Ansgar Burchardt 2009, Maximilian Gass 2010-2012, Nicholas Bamber diff -Nru libanyevent-perl-7.110/debian/libanyevent-perl.lintian-overrides libanyevent-perl-7.120/debian/libanyevent-perl.lintian-overrides --- libanyevent-perl-7.110/debian/libanyevent-perl.lintian-overrides 2015-12-05 18:18:17.000000000 +0000 +++ libanyevent-perl-7.120/debian/libanyevent-perl.lintian-overrides 2016-02-12 19:13:41.000000000 +0000 @@ -1,3 +1,2 @@ -# constants.pl contains architecture specific constants thus everything is -# installed to /usr/lib +# constants.pl contains architecture specific constants thus everything is installed to /usr/lib libanyevent-perl: package-installs-nonbinary-perl-in-usr-lib-perl5 usr/lib/*/perl5/* diff -Nru libanyevent-perl-7.110/debian/patches/fix-spelling.patch libanyevent-perl-7.120/debian/patches/fix-spelling.patch --- libanyevent-perl-7.110/debian/patches/fix-spelling.patch 2015-12-05 18:18:17.000000000 +0000 +++ libanyevent-perl-7.120/debian/patches/fix-spelling.patch 2016-02-12 19:13:41.000000000 +0000 @@ -2,8 +2,8 @@ Origin: vendor Author: Alessandro Ghedini Reviewed-by: Nicholas Bamber -Last-Update: 2015-12-05 -Forwarded: mailto:anyevent@lists.schmorp.de +Last-Update: 2016-02-12 +Forwarded: mailto:anyevent@lists.schmorp.de (not lates version) --- a/lib/AnyEvent.pm +++ b/lib/AnyEvent.pm @@ -16,6 +16,15 @@ C<$AnyEvent::MAX_SIGNAL_LATENCY> - see the L section for details. +@@ -2174,7 +2174,7 @@ + + If this env variable is nonempty, then its contents will be interpreted by + C and C (after +-replacing every occurance of C<$$> by the process pid). The shell object ++replacing every occurrence of C<$$> by the process pid). The shell object + is saved in C<$AnyEvent::Debug::SHELL>. + + This happens when the first watcher is created. @@ -3010,7 +3010,7 @@ implement some kind of parallel processing is almost certainly doomed. @@ -36,6 +45,24 @@ --- a/lib/AnyEvent/Handle.pm +++ b/lib/AnyEvent/Handle.pm +@@ -159,7 +159,7 @@ + =item on_error => $cb->($handle, $fatal, $message) + + This is the error callback, which is called when, well, some error +-occured, such as not being able to resolve the hostname, failure to ++occurred, such as not being able to resolve the hostname, failure to + connect, or a read error. + + Some errors are fatal (which is indicated by C<$fatal> being true). On +@@ -367,7 +367,7 @@ + security implications, AnyEvent::Handle sets this flag automatically + unless explicitly specified. Note that setting this flag after + establishing a connection I be a bit too late (data loss could +-already have occured on BSD systems), but at least it will protect you ++already have occurred on BSD systems), but at least it will protect you + from most attacks. + + =item read_size => @@ -1892,7 +1892,7 @@ dtection, make sure that any non-TLS data doesn't start with the octet 22 (ASCII SYN, 16 hex) or 128-255 (i.e. highest bit set). The checks this @@ -45,3 +72,34 @@ This read type does not rely on L (and thus, not on L). +--- a/lib/AnyEvent/TLS.pm ++++ b/lib/AnyEvent/TLS.pm +@@ -426,7 +426,7 @@ + + certificate private key + client/server certificate +- ca 1, signing client/server certficate ++ ca 1, signing client/server certificate + ca 2, signing ca 1 + ... + +--- a/lib/AnyEvent/Intro.pod ++++ b/lib/AnyEvent/Intro.pod +@@ -573,7 +573,7 @@ + my $len = sysread $fh, $response, 1024, length $response; + + if ($len <= 0) { +- # we are done, or an error occured, lets ignore the latter ++ # we are done, or an error occurred, lets ignore the latter + undef $read_watcher; # no longer interested + $cv->send ($response); # send results + } +@@ -1193,7 +1193,7 @@ + }); + + } else { +- # some error occured, no article data ++ # some error occurred, no article data + + $finish->($status); + } diff -Nru libanyevent-perl-7.110/lib/AnyEvent/Handle.pm libanyevent-perl-7.120/lib/AnyEvent/Handle.pm --- libanyevent-perl-7.110/lib/AnyEvent/Handle.pm 2015-06-28 09:30:06.000000000 +0000 +++ libanyevent-perl-7.120/lib/AnyEvent/Handle.pm 2016-01-07 10:01:45.000000000 +0000 @@ -1897,7 +1897,7 @@ This read type does not rely on L (and thus, not on L). -=item tls_autostart => $tls[, $tls_ctx] +=item tls_autostart => [$tls_ctx, ]$tls Tries to detect a valid SSL or TLS handshake. If one is detected, it tries to start tls by calling C with the given arguments. @@ -1911,7 +1911,7 @@ Example: give the client a chance to start TLS before accepting a text line. - $hdl->push_read (tls_detect => "accept"); + $hdl->push_read (tls_autostart => "accept"); $hdl->push_read (line => sub { print "received ", ($_[0]{tls} ? "encrypted" : "cleartext"), " <$_[1]>\n"; }); diff -Nru libanyevent-perl-7.110/lib/AnyEvent/TLS.pm libanyevent-perl-7.120/lib/AnyEvent/TLS.pm --- libanyevent-perl-7.110/lib/AnyEvent/TLS.pm 2014-08-28 10:59:30.000000000 +0000 +++ libanyevent-perl-7.120/lib/AnyEvent/TLS.pm 2015-09-27 08:06:17.000000000 +0000 @@ -842,6 +842,10 @@ } elsif ($mode eq "connect") { $session = Net::SSLeay::new ($self->{ctx}); + + Net::SSLeay::set_tlsext_host_name ($session, $cn) + if defined &Net::SSLeay::set_tlsext_host_name; + Net::SSLeay::set_connect_state ($session); Net::SSLeay::set_options ($session, eval { Net::SSLeay::OP_NO_TICKET () }) diff -Nru libanyevent-perl-7.110/lib/AnyEvent/Util.pm libanyevent-perl-7.120/lib/AnyEvent/Util.pm --- libanyevent-perl-7.110/lib/AnyEvent/Util.pm 2015-06-16 03:15:55.000000000 +0000 +++ libanyevent-perl-7.120/lib/AnyEvent/Util.pm 2016-01-27 18:12:18.000000000 +0000 @@ -485,6 +485,12 @@ Appends program standard output to the referenced scalar. The condvar will not be signalled before EOF or an error is signalled. +Specifying the same scalar in multiple ">" pairs is allowed, e.g. to +redirect both stdout and stderr into the same scalar: + + ">" => \$output, + "2>" => \$output, + =item ">" => $filehandle Redirects program standard output to the given filehandle (or actually its diff -Nru libanyevent-perl-7.110/lib/AnyEvent.pm libanyevent-perl-7.120/lib/AnyEvent.pm --- libanyevent-perl-7.110/lib/AnyEvent.pm 2015-07-16 12:39:33.000000000 +0000 +++ libanyevent-perl-7.120/lib/AnyEvent.pm 2016-01-27 18:12:38.000000000 +0000 @@ -1256,7 +1256,7 @@ use Carp (); -our $VERSION = 7.11; +our $VERSION = 7.12; our $MODEL; our @ISA; our @REGISTRY; @@ -2493,7 +2493,7 @@ ... }); - EV::loop; + EV::run; 3b. The module user could use AnyEvent, too: diff -Nru libanyevent-perl-7.110/META.json libanyevent-perl-7.120/META.json --- libanyevent-perl-7.110/META.json 2015-07-16 12:48:29.000000000 +0000 +++ libanyevent-perl-7.120/META.json 2016-01-27 18:15:04.000000000 +0000 @@ -45,5 +45,5 @@ } }, "release_status" : "stable", - "version" : 7.11 + "version" : 7.12 } diff -Nru libanyevent-perl-7.110/META.yml libanyevent-perl-7.120/META.yml --- libanyevent-perl-7.110/META.yml 2015-07-16 12:48:29.000000000 +0000 +++ libanyevent-perl-7.120/META.yml 2016-01-27 18:15:04.000000000 +0000 @@ -27,4 +27,4 @@ Net::SSLeay: '1.33' Task::Weaken: '0' requires: {} -version: 7.11 +version: 7.12 diff -Nru libanyevent-perl-7.110/README libanyevent-perl-7.120/README --- libanyevent-perl-7.110/README 2015-07-16 12:48:29.000000000 +0000 +++ libanyevent-perl-7.120/README 2016-01-27 18:15:04.000000000 +0000 @@ -1610,7 +1610,7 @@ ... }); - EV::loop; + EV::run; 3b. The module user could use AnyEvent, too: