pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/p5-LWPx-ParanoidAgent p5-LWPx-ParanoidAgent: updat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0beac373f2fb
branches:  trunk
changeset: 369201:0beac373f2fb
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Sep 27 15:59:47 2017 +0000

description:
p5-LWPx-ParanoidAgent: update to 1.12.

1.12    2016-09-29
        - Fix to work with Net::DNS 1.03 (RT#108745)
          Net::DNS::bgsend()/bgread() API changed in a backward-incompatible
          way in 1.03. Deal with either a IO::Select object or a socket, as it
          was before.  (Cosimo Streppone <cosimo%cpan.org@localhost>)
    - fixed: https://github.com/csirtgadgets/LWPx-ParanoidAgent/issues/18
    - fixed: https://github.com/csirtgadgets/LWPx-ParanoidAgent/issues/14

1.11    2014-
        - fixed read-timeout issue: https://github.com/csirtgadgets/LWPx-ParanoidAgent/issues/7

diffstat:

 www/p5-LWPx-ParanoidAgent/Makefile                                          |   5 +-
 www/p5-LWPx-ParanoidAgent/distinfo                                          |  13 +--
 www/p5-LWPx-ParanoidAgent/patches/patch-Makefile.PL                         |  17 ----
 www/p5-LWPx-ParanoidAgent/patches/patch-lib_LWPx_ParanoidAgent.pm           |  20 -----
 www/p5-LWPx-ParanoidAgent/patches/patch-lib_LWPx_Protocol_http__paranoid.pm |  37 ----------
 5 files changed, 7 insertions(+), 85 deletions(-)

diffs (119 lines):

diff -r a156c21fd5ac -r 0beac373f2fb www/p5-LWPx-ParanoidAgent/Makefile
--- a/www/p5-LWPx-ParanoidAgent/Makefile        Wed Sep 27 15:57:57 2017 +0000
+++ b/www/p5-LWPx-ParanoidAgent/Makefile        Wed Sep 27 15:59:47 2017 +0000
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.16 2017/06/05 14:25:27 ryoon Exp $
+# $NetBSD: Makefile,v 1.17 2017/09/27 15:59:47 wiz Exp $
 #
 
-DISTNAME=      LWPx-ParanoidAgent-1.10
+DISTNAME=      LWPx-ParanoidAgent-1.12
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   4
 CATEGORIES=    www perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=LWPx/}
 
diff -r a156c21fd5ac -r 0beac373f2fb www/p5-LWPx-ParanoidAgent/distinfo
--- a/www/p5-LWPx-ParanoidAgent/distinfo        Wed Sep 27 15:57:57 2017 +0000
+++ b/www/p5-LWPx-ParanoidAgent/distinfo        Wed Sep 27 15:59:47 2017 +0000
@@ -1,9 +1,6 @@
-$NetBSD: distinfo,v 1.6 2015/11/04 02:47:15 agc Exp $
+$NetBSD: distinfo,v 1.7 2017/09/27 15:59:47 wiz Exp $
 
-SHA1 (LWPx-ParanoidAgent-1.10.tar.gz) = c8090a2aae57c4044f0e829d13f9ddde81c7495f
-RMD160 (LWPx-ParanoidAgent-1.10.tar.gz) = 0c708d534edb171bf8dc22d8e5f8c800780a42b6
-SHA512 (LWPx-ParanoidAgent-1.10.tar.gz) = 8a1a1cdc4ab826b66abedfbbe7baee694d1083fc6dce2c2f6b69bf5e369ef0212ffdcd2afc9fadafa9977e3be9f7a4e4b1ea092e6c6773c1f9fc356c87c5434d
-Size (LWPx-ParanoidAgent-1.10.tar.gz) = 17665 bytes
-SHA1 (patch-Makefile.PL) = 6e032f115ad044d912b290b482c0643baf35cef1
-SHA1 (patch-lib_LWPx_ParanoidAgent.pm) = d0ca05cce2c3bc208b49179442cb8107a16df2d4
-SHA1 (patch-lib_LWPx_Protocol_http__paranoid.pm) = e22c9066565f84133134133f69c1ebb94b986b2e
+SHA1 (LWPx-ParanoidAgent-1.12.tar.gz) = dc22bef4cb0b92a9e0f5026aa5adc6a5b6064b33
+RMD160 (LWPx-ParanoidAgent-1.12.tar.gz) = 61dc1e5f81c1b79cedae8e67167d467cbb853389
+SHA512 (LWPx-ParanoidAgent-1.12.tar.gz) = 96c380bedfc47802e4167fc1e96dffac8544b74c5b29082728196cd709cd8997caf5c715f06a7d37aca7dbfb1bba1e452618e5711fb250d798beb1fc7a49134b
+Size (LWPx-ParanoidAgent-1.12.tar.gz) = 57426 bytes
diff -r a156c21fd5ac -r 0beac373f2fb www/p5-LWPx-ParanoidAgent/patches/patch-Makefile.PL
--- a/www/p5-LWPx-ParanoidAgent/patches/patch-Makefile.PL       Wed Sep 27 15:57:57 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,17 +0,0 @@
-$NetBSD: patch-Makefile.PL,v 1.1 2014/09/17 22:46:17 schmonz Exp $
-
-From upstream git commit 815c691, allow PERL_NET_HTTPS_SSL_SOCKET_CLASS
-to control which SSL module gets used, rather than forcibly using
-Net::SSL (which doesn't verify hostnames) no matter how the environment
-variable is set.
-
---- Makefile.PL.orig   2013-11-04 19:30:07.000000000 +0000
-+++ Makefile.PL
-@@ -6,7 +6,6 @@ WriteMakefile( 
-         'LWP::UserAgent'    => 0,
-         'Net::DNS'          => 0,
-         'Time::HiRes'       => 0,
--        'Net::SSL'          => '2.85'
-     },
-     'META_MERGE'  => {
-         "resources"   => {
diff -r a156c21fd5ac -r 0beac373f2fb www/p5-LWPx-ParanoidAgent/patches/patch-lib_LWPx_ParanoidAgent.pm
--- a/www/p5-LWPx-ParanoidAgent/patches/patch-lib_LWPx_ParanoidAgent.pm Wed Sep 27 15:57:57 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,20 +0,0 @@
-$NetBSD: patch-lib_LWPx_ParanoidAgent.pm,v 1.1 2014/09/17 22:46:17 schmonz Exp $
-
-From upstream git commit 815c691, allow PERL_NET_HTTPS_SSL_SOCKET_CLASS
-to control which SSL module gets used, rather than forcibly using
-Net::SSL (which doesn't verify hostnames) no matter how the environment
-variable is set.
-
---- lib/LWPx/ParanoidAgent.pm.orig     2013-11-11 15:45:04.000000000 +0000
-+++ lib/LWPx/ParanoidAgent.pm
-@@ -12,10 +12,6 @@ use HTTP::Status ();
- use strict;
- use Net::DNS;
- use LWP::Debug ();
--require Net::SSL;
--
--# fixes https://github.com/csirtgadgets/LWPx-ParanoidAgent/issues/4
--$Net::HTTPS::SSL_SOCKET_CLASS = 'Net::SSL';
- 
- sub new {
-     my $class = shift;
diff -r a156c21fd5ac -r 0beac373f2fb www/p5-LWPx-ParanoidAgent/patches/patch-lib_LWPx_Protocol_http__paranoid.pm
--- a/www/p5-LWPx-ParanoidAgent/patches/patch-lib_LWPx_Protocol_http__paranoid.pm       Wed Sep 27 15:57:57 2017 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,37 +0,0 @@
-$NetBSD: patch-lib_LWPx_Protocol_http__paranoid.pm,v 1.1 2014/09/17 22:46:17 schmonz Exp $
-
-From upstream git commit a92ed8f, fix usage of IO::Socket::SSL when
-reading long documents. From df6df19 and a patch from Chapman Flack,
-specify server name for Server Name Indication.
-
---- lib/LWPx/Protocol/http_paranoid.pm.orig    2013-11-04 19:30:07.000000000 +0000
-+++ lib/LWPx/Protocol/http_paranoid.pm
-@@ -10,6 +10,8 @@ require HTTP::Response;
- require HTTP::Status;
- require Net::HTTP;
- 
-+use Errno qw(EAGAIN);
-+
- use vars qw(@ISA $TOO_LATE $TIME_REMAIN);
- 
- require LWP::Protocol;
-@@ -65,6 +67,8 @@ sub _new_socket
-             (time() - $request->{_timebegin}) :
-             $timeout;
-         $sock = $self->socket_class->new(PeerAddr => $addr,
-+                                         PeerHost => $host,
-+                                         SSL_hostname => $host,
-                                          PeerPort => $port,
-                                          Proto    => 'tcp',
-                                          Timeout  => $conn_timeout,
-@@ -360,8 +364,9 @@ sub request
-       {
-             _set_time_remain();
-           $n = $socket->read_entity_body($buf, $size);
--          die "Can't read entity body: $!" unless defined $n;
-           redo READ if $n == -1;
-+          redo READ if not defined $n and $! == EAGAIN;
-+          die "Can't read entity body: $!" unless defined $n;
-       }
-       $complete++ if !$n;
-         return \$buf;



Home | Main Index | Thread Index | Old Index