[SCM] Debian packaging of libcgi-pm-perl branch, master, updated. ea56a5d4626f297e517028b8ee64712f43a35db0

Alessandro Ghedini al3xbio at gmail.com
Sun Nov 13 13:22:02 UTC 2011


The following commit has been merged in the master branch:
commit 54edd28dc88ff4b21193601839104f1b3f110171
Author: Alessandro Ghedini <al3xbio at gmail.com>
Date:   Sat Nov 12 20:48:57 2011 +0100

    Add do-not-use-shellwords.patch (fixes perl-module-uses-perl4-libs-without-dep)

diff --git a/debian/patches/do-not-use-shellwords.patch b/debian/patches/do-not-use-shellwords.patch
new file mode 100644
index 0000000..5b982d5
--- /dev/null
+++ b/debian/patches/do-not-use-shellwords.patch
@@ -0,0 +1,23 @@
+Description: Replace the use of the deprecated shellwords.pl with
+ Text::ParseWords (which is what is done anyways).
+Author: Alessandro Ghedini <al3xbio at gmail.com>
+Origin: vendor
+Forwarded: no
+Last-Update: 2011-11-12
+
+--- a/lib/CGI.pm
++++ b/lib/CGI.pm
+@@ -3530,11 +3530,11 @@
+     if ($DEBUG && @ARGV) {
+ 	@words = @ARGV;
+     } elsif ($DEBUG > 1) {
+-	require "shellwords.pl";
++	require Text::ParseWords;
+ 	print STDERR "(offline mode: enter name=value pairs on standard input; press ^D or ^Z when done)\n";
+ 	chomp(@lines = <STDIN>); # remove newlines
+ 	$input = join(" ", at lines);
+-	@words = &shellwords($input);    
++	@words = &Text::ParseWords::old_shellwords($input);    
+     }
+     for (@words) {
+ 	s/\\=/%3D/g;
diff --git a/debian/patches/series b/debian/patches/series
index 442208e..9477db2 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 man-cgi-fast.patch
 spelling.patch
+do-not-use-shellwords.patch

-- 
Debian packaging of libcgi-pm-perl



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