[libcddb-get-perl] 01/07: Add no-debug.patch (Closes: #708289) and do-not-include-current-directory.patch (from upstream)

Florian Schlichting fsfs at moszumanska.debian.org
Mon May 2 21:16:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

fsfs pushed a commit to branch master
in repository libcddb-get-perl.

commit 04b95b5e67abbb2f23abeadca551a979e205a84f
Author: Florian Schlichting <fsfs at debian.org>
Date:   Mon May 2 22:59:43 2016 +0200

    Add no-debug.patch (Closes: #708289) and do-not-include-current-directory.patch (from upstream)
---
 debian/patches/do-not-include-current-directory.patch | 12 ++++++++++++
 debian/patches/no-debug.patch                         | 18 ++++++++++++++++++
 debian/patches/series                                 |  2 ++
 3 files changed, 32 insertions(+)

diff --git a/debian/patches/do-not-include-current-directory.patch b/debian/patches/do-not-include-current-directory.patch
new file mode 100644
index 0000000..ca31804
--- /dev/null
+++ b/debian/patches/do-not-include-current-directory.patch
@@ -0,0 +1,12 @@
+Description: Including `./' directory is a security risk. Stop doing that.
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
+Origin: https://rt.cpan.org/Public/Bug/Display.html?id=79646
+
+--- a/cddb.pl
++++ b/cddb.pl
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -I.
++#!/usr/bin/perl
+ #
+ #  CDDB - Read the CDDB entry for an audio CD in your drive
+ #
diff --git a/debian/patches/no-debug.patch b/debian/patches/no-debug.patch
new file mode 100644
index 0000000..cd80eca
--- /dev/null
+++ b/debian/patches/no-debug.patch
@@ -0,0 +1,18 @@
+Description: Disable $debug by default
+ Version 2.28 uncommented the $debug=1 line; this looks like an unintentional
+ leftover from development, so switch off unnecessary noise.
+Author: kwantam <kwantam at gmail.com>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708289
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=114137
+
+--- a/CDDB_get.pm
++++ b/CDDB_get.pm
+@@ -42,7 +42,7 @@
+ use Data::Dumper qw(Dumper);
+ use MIME::Base64 qw(encode_base64);
+ 
+-$debug=1;
++#$debug=1;
+ 
+ # setup for linux, solaris x86, solaris spark
+ # you freebsd guys give me input 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..76f5548
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+no-debug.patch
+do-not-include-current-directory.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcddb-get-perl.git



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