r72130 - in /trunk/libwww-perl/debian: changelog control patches/ patches/cert.patch patches/series

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Fri Apr 1 14:22:02 UTC 2011


Author: periapt-guest
Date: Fri Apr  1 14:21:18 2011
New Revision: 72130

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=72130
Log:
  - Other depending packages can safely continue to depend on libwww-perl,
    but in some cases may be able to tighten up their dependencies.
  - LWP::Protocol::https will be split off in the next release
    so now liblwp-protocol-https-perl is Provided.
* Patched LWP::Protocol::https to use ca-certificates rather than 
  Mozilla::CA (Closes: #619059)

Added:
    trunk/libwww-perl/debian/patches/
    trunk/libwww-perl/debian/patches/cert.patch
    trunk/libwww-perl/debian/patches/series
Modified:
    trunk/libwww-perl/debian/changelog
    trunk/libwww-perl/debian/control

Modified: trunk/libwww-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwww-perl/debian/changelog?rev=72130&op=diff
==============================================================================
--- trunk/libwww-perl/debian/changelog (original)
+++ trunk/libwww-perl/debian/changelog Fri Apr  1 14:21:18 2011
@@ -8,11 +8,15 @@
       dependency on libhttp-daemon-perl | libwww-perl (<< 6).
     - Packages using HTML::Form should declare the appropriate
       dependency on libhtml-form-perl | libwww-perl (<< 6).
-    - LWP::Protocol::https is likely to be split off in the next release
-      so now liblwp-protocol-https-perl is Provided
+    - Other depending packages can safely continue to depend on libwww-perl,
+      but in some cases may be able to tighten up their dependencies.
+    - LWP::Protocol::https will be split off in the next release
+      so now liblwp-protocol-https-perl is Provided.
   * Updated dependencies
   * New upstream release
   * Removed unnecessary versioned dependency on libio-compress-perl
+  * Patched LWP::Protocol::https to use ca-certificates rather than 
+    Mozilla::CA (Closes: #619059)
 
  -- Nicholas Bamber <nicholas at periapt.co.uk>  Fri, 01 Apr 2011 00:10:30 +0100
 

Modified: trunk/libwww-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwww-perl/debian/control?rev=72130&op=diff
==============================================================================
--- trunk/libwww-perl/debian/control (original)
+++ trunk/libwww-perl/debian/control Fri Apr  1 14:21:18 2011
@@ -31,6 +31,7 @@
 Package: libwww-perl
 Architecture: all
 Depends: ${misc:Depends}, ${perl:Depends},
+ ca-certficates,
  libencode-locale-perl,
  libfile-listing-perl,
  libhtml-parser-perl,

Added: trunk/libwww-perl/debian/patches/cert.patch
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwww-perl/debian/patches/cert.patch?rev=72130&op=file
==============================================================================
--- trunk/libwww-perl/debian/patches/cert.patch (added)
+++ trunk/libwww-perl/debian/patches/cert.patch Fri Apr  1 14:21:18 2011
@@ -1,0 +1,34 @@
+Author: Nicholas Bamber <nicholas at periapt.co.uk>
+Forwarded: not-needed
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619059
+Last-Update: 2011-04-01
+Subject: use ca-certifictes rather than Mozilla::CA
+--- a/lib/LWP/Protocol/https.pm
++++ b/lib/LWP/Protocol/https.pm
+@@ -21,25 +21,7 @@
+     }
+     if ($ssl_opts{SSL_verify_mode}) {
+ 	unless (exists $ssl_opts{SSL_ca_file} || exists $ssl_opts{SSL_ca_path}) {
+-	    eval {
+-		require Mozilla::CA;
+-	    };
+-	    if ($@) {
+-		if ($@ =! /^Can't locate Mozilla\/CA\.pm/) {
+-		    $@ = <<'EOT';
+-Can't verify SSL peers without knowning which Certificate Authorities to trust
+-
+-This problem can be fixed by either setting the PERL_LWP_SSL_CA_FILE
+-envirionment variable or by installing the Mozilla::CA module.
+-
+-To disable verification of SSL peers set the PERL_LWP_SSL_VERIFY_HOSTNAME
+-envirionment variable to 0.  If you do this you can't be sure that you
+-communicate with the expected peer.
+-EOT
+-		}
+-		die $@;
+-	    }
+-	    $ssl_opts{SSL_ca_file} = Mozilla::CA::SSL_ca_file();
++	    $ssl_opts{SSL_ca_file} = '/etc/ssl/certs/ca-certificates.crt';
+ 	}
+     }
+     $self->{ssl_opts} = \%ssl_opts;

Added: trunk/libwww-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libwww-perl/debian/patches/series?rev=72130&op=file
==============================================================================
--- trunk/libwww-perl/debian/patches/series (added)
+++ trunk/libwww-perl/debian/patches/series Fri Apr  1 14:21:18 2011
@@ -1,0 +1,1 @@
+cert.patch




More information about the Pkg-perl-cvs-commits mailing list