summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2017-09-27 15:59:47 +0000
committerwiz <wiz@pkgsrc.org>2017-09-27 15:59:47 +0000
commit36d09283b1bd33653bbda163c3dbf5fe4e81bb92 (patch)
tree09549518c7e0c4db55c6e3d261e9e2cab22e9ff0 /www
parente4b7fa061140a11d664a3cafccc05925c4929433 (diff)
downloadpkgsrc-36d09283b1bd33653bbda163c3dbf5fe4e81bb92.tar.gz
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>) - 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 (limited to 'www')
-rw-r--r--www/p5-LWPx-ParanoidAgent/Makefile5
-rw-r--r--www/p5-LWPx-ParanoidAgent/distinfo13
-rw-r--r--www/p5-LWPx-ParanoidAgent/patches/patch-Makefile.PL17
-rw-r--r--www/p5-LWPx-ParanoidAgent/patches/patch-lib_LWPx_ParanoidAgent.pm20
-rw-r--r--www/p5-LWPx-ParanoidAgent/patches/patch-lib_LWPx_Protocol_http__paranoid.pm37
5 files changed, 7 insertions, 85 deletions
diff --git a/www/p5-LWPx-ParanoidAgent/Makefile b/www/p5-LWPx-ParanoidAgent/Makefile
index ef590de6aff..a564386cf72 100644
--- a/www/p5-LWPx-ParanoidAgent/Makefile
+++ b/www/p5-LWPx-ParanoidAgent/Makefile
@@ -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 --git a/www/p5-LWPx-ParanoidAgent/distinfo b/www/p5-LWPx-ParanoidAgent/distinfo
index 69ccf273197..fa0693b6778 100644
--- a/www/p5-LWPx-ParanoidAgent/distinfo
+++ b/www/p5-LWPx-ParanoidAgent/distinfo
@@ -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 --git a/www/p5-LWPx-ParanoidAgent/patches/patch-Makefile.PL b/www/p5-LWPx-ParanoidAgent/patches/patch-Makefile.PL
deleted file mode 100644
index 44dc0eeafff..00000000000
--- a/www/p5-LWPx-ParanoidAgent/patches/patch-Makefile.PL
+++ /dev/null
@@ -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 --git a/www/p5-LWPx-ParanoidAgent/patches/patch-lib_LWPx_ParanoidAgent.pm b/www/p5-LWPx-ParanoidAgent/patches/patch-lib_LWPx_ParanoidAgent.pm
deleted file mode 100644
index 273b69afa3f..00000000000
--- a/www/p5-LWPx-ParanoidAgent/patches/patch-lib_LWPx_ParanoidAgent.pm
+++ /dev/null
@@ -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 --git a/www/p5-LWPx-ParanoidAgent/patches/patch-lib_LWPx_Protocol_http__paranoid.pm b/www/p5-LWPx-ParanoidAgent/patches/patch-lib_LWPx_Protocol_http__paranoid.pm
deleted file mode 100644
index 79b6c7a8c9c..00000000000
--- a/www/p5-LWPx-ParanoidAgent/patches/patch-lib_LWPx_Protocol_http__paranoid.pm
+++ /dev/null
@@ -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;