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

Bug#927067: marked as done (stretch-pu: package perlbrew/0.78-1+deb9u1)



Your message dated Sat, 27 Apr 2019 11:14:32 +0100
with message-id <1556360072.2690.35.camel@adam-barratt.org.uk>
and subject line Closing bugs for updates included in 9.9
has caused the Debian Bug report #927067,
regarding stretch-pu: package perlbrew/0.78-1+deb9u1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
927067: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=927067
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: stretch
User: release.debian.org@packages.debian.org
Usertags: pu

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I've uploaded a new version of perlbrew to s-p-u, which fixes #927065
for the verion in stable.

The upstream patch changes a regexp to allow both HTTP and HTTPS for
CPAN URLs and is necessary to find tarballs on the CPAN sites which
change to use HTTPS:

- -                if m|<td><a href="http://www.cpan.org/src/.+?";>(.+?)</a></td>|;
+                if m|<td><a href="http(?:s?)://www.cpan.org/src/.+?">(.+?)</a></td>|;


Full debdiff attached.


Thanks in advance,
gregor

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAlyzTqRfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgaztQ/7B1CpQosGYqpjPF98cl4coL4HrN6eIfUQgO6QfmLIhKGxOOTZhfo6cYuV
HTQdKCHKcG1Q8JLWykmJAy1bbqTkeRj44GMdiWh7D4eTNRQX2ntmMYv+oOSOsByD
KJQKkwysKg2dV9+Ma0C6fCsfQjfPTqnTeXWFoVIeHIGzKvD7smvoMBiC+7NwwtUp
OopgbuqsiLElUhIapb6YnK5mP6zxkZ4K0BXMpBQuzaJDeHDrsQNdy/s7Zqr+FisZ
nbfwalSh+b4lXK51x5dvj8gajAJObN9NtA77dVcpcoj82OCtTKfrVvZmJipPb+V5
TWAzk7v0fbAtwc29KO6plGrF1yHFzKWU9AMtjPd88CgmZV0U97buN3tvE2+/5G/1
I8YnNlX789USCma0z5pifxTvqcoTorOIcd18SFX1VgIl313Dxn7kBd2b+rj3DDNZ
GrBZLCjBzVkRecSNBexHQGjmiUMCHa7YadysZu7xdR9gV9fMq/UQ5isrwryzog+t
zEeTDMLmal6GpORUAmCsiqb40z4619BOVzKLY5nQy3QB7LOdGcc2I0o/wNfL7/Ej
Lc/GOAMf2qKa2O3ZjA3nWhTCqjhc8sSFCQ5w3fDm476RoBCjpF12HoUa+9l9aaVf
KhsnVjzexgm3oafs+G2/ZulyaCDFJmXpssQCKYtaDzS48O4MUmY=
=Pfui
-----END PGP SIGNATURE-----
diff -Nru perlbrew-0.78/debian/changelog perlbrew-0.78/debian/changelog
--- perlbrew-0.78/debian/changelog	2016-11-21 19:22:46.000000000 +0100
+++ perlbrew-0.78/debian/changelog	2019-04-14 17:06:14.000000000 +0200
@@ -1,3 +1,12 @@
+perlbrew (0.78-1+deb9u1) stretch; urgency=medium
+
+  * Backport upstream fix for CPAN URLs.
+    CPAN URLs have changed to use HTTPS, which makes perlbrew fail to detect
+    perl tarballs. This patch changes the regexp to allow both HTTP and HTTPS.
+    (Closes: #927065)
+
+ -- gregor herrmann <gregoa@debian.org>  Sun, 14 Apr 2019 17:06:14 +0200
+
 perlbrew (0.78-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru perlbrew-0.78/debian/patches/0001-Allow-https-URLs-to-be-returned-by-CPAN.patch perlbrew-0.78/debian/patches/0001-Allow-https-URLs-to-be-returned-by-CPAN.patch
--- perlbrew-0.78/debian/patches/0001-Allow-https-URLs-to-be-returned-by-CPAN.patch	1970-01-01 01:00:00.000000000 +0100
+++ perlbrew-0.78/debian/patches/0001-Allow-https-URLs-to-be-returned-by-CPAN.patch	2019-04-14 17:06:14.000000000 +0200
@@ -0,0 +1,36 @@
+From 0983d7abacbe17180b58e4a37b2332fec86affac Mon Sep 17 00:00:00 2001
+From: Joelle Maslak <jmaslak@antelope.net>
+Date: Tue, 19 Jun 2018 11:48:10 -0600
+Subject: [PATCH] Allow https URLs to be returned by CPAN
+Bug: https://github.com/gugod/App-perlbrew/pull/618
+Bug-Debian: https://bugs.debian.org/927065
+Reviewed-by: gregor herrmann <gregoa@debian.org>
+Last-Update: 2019-04-14
+
+---
+ lib/App/perlbrew.pm                | 2 +-
+ t/03.test_get_available_versions.t | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- a/lib/App/perlbrew.pm
++++ b/lib/App/perlbrew.pm
+@@ -710,7 +710,7 @@
+         }
+         else {
+             push @available_versions, $1
+-                if m|<td><a href="http://www.cpan.org/src/.+?";>(.+?)</a></td>|;
++                if m|<td><a href="http(?:s?)://www.cpan.org/src/.+?">(.+?)</a></td>|;
+         }
+     }
+     s/\.tar\.gz// for @available_versions;
+--- a/t/03.test_get_available_versions.t
++++ b/t/03.test_get_available_versions.t
+@@ -140,7 +140,7 @@
+         <td>5.13.11
+         <td>Devel</td>
+         <td>2011-03-20</td>
+-        <td><a href="http://www.cpan.org/src/perl-5.13.11.tar.gz";>perl-5.13.11.tar.gz</a></td>
++        <td><a href="https://www.cpan.org/src/perl-5.13.11.tar.gz";>perl-5.13.11.tar.gz</a></td>
+     </tr>
+ 
+ 
diff -Nru perlbrew-0.78/debian/patches/series perlbrew-0.78/debian/patches/series
--- perlbrew-0.78/debian/patches/series	2016-11-21 19:22:46.000000000 +0100
+++ perlbrew-0.78/debian/patches/series	2019-04-14 17:06:14.000000000 +0200
@@ -1 +1,2 @@
 autopkgtest-path.patch
+0001-Allow-https-URLs-to-be-returned-by-CPAN.patch

--- End Message ---
--- Begin Message ---
Version: 9.9

Hi,

The update referenced by each of these bugs was included in this
morning's stretch point release.

Regards,

Adam

--- End Message ---

Reply to: