[libcache-perl] 11/28: Apply patch to switch from Digest::SHA1 to Digest::SHA which is included with perl (closes: #636648)
dom at earth.li
dom at earth.li
Sat Oct 4 17:27:42 UTC 2014
This is an automated email from the git hooks/post-receive script.
dom pushed a commit to branch master
in repository libcache-perl.
commit 57e4479b4f951ac753e2d677b88f46d28274e0ab
Author: Dominic Hargreaves <dom at earth.li>
Date: Fri Aug 5 18:33:32 2011 +0100
Apply patch to switch from Digest::SHA1 to Digest::SHA which is included with perl (closes: #636648)
---
debian/changelog | 2 ++
debian/control | 5 ++---
debian/patches/series | 1 +
debian/patches/use-Digest-SHA.patch | 42 +++++++++++++++++++++++++++++++++++++
4 files changed, 47 insertions(+), 3 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index a7a871f..1b05f7b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,8 @@ libcache-perl (2.04-3) UNRELEASED; urgency=low
* Add Vcs-* fields
* Update Standards-Version (no changes)
* Switch to minimal dh7 rules
+ * Apply patch to switch from Digest::SHA1 to Digest::SHA which is
+ included with perl (closes: #636648)
-- Dominic Hargreaves <dom at earth.li> Fri, 05 Aug 2011 18:21:42 +0100
diff --git a/debian/control b/debian/control
index 6543f6c..ceea74e 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: libcache-perl
Section: perl
Priority: optional
Build-Depends: debhelper (>= 7)
-Build-Depends-Indep: perl (>= 5.8.0-7), libfile-nfslock-perl (>= 1.2), libio-string-perl (>= 1.02), libdigest-sha1-perl (>= 2.01), libheap-perl (>= 0.01), libtimedate-perl (>= 1.14)
+Build-Depends-Indep: perl (>= 5.8.0-7), libfile-nfslock-perl (>= 1.2), libio-string-perl (>= 1.02), libheap-perl (>= 0.01), libtimedate-perl (>= 1.14)
Maintainer: Dominic Hargreaves <dom at earth.li>
Standards-Version: 3.9.2
Homepage: http://search.cpan.org/dist/Cache/
@@ -12,8 +12,7 @@ Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/dom/libcache-perl.git
Package: libcache-perl
Architecture: all
Depends: ${perl:Depends}, ${misc:Depends}, libfile-nfslock-perl (>= 1.2),
- libio-string-perl (>= 1.02), libdigest-sha1-perl (>= 2.01),
- libheap-perl (>= 0.01), libtimedate-perl (>= 1.14)
+ libio-string-perl (>= 1.02), libheap-perl (>= 0.01), libtimedate-perl (>= 1.14)
Description: the Cache interface
The Cache modules are designed to assist a developer in persisting data for a
specified period of time. Often these modules are used in web applications to
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3175d99
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-Digest-SHA.patch
diff --git a/debian/patches/use-Digest-SHA.patch b/debian/patches/use-Digest-SHA.patch
new file mode 100644
index 0000000..aec1005
--- /dev/null
+++ b/debian/patches/use-Digest-SHA.patch
@@ -0,0 +1,42 @@
+From: Salvatore Bonaccorso <carnil at debian.org>
+Subject: use Digest::SHA instead of Digest::SHA1
+
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=67717
+Bug-Debian: http://bugs.debian.org/636648
+
+diff -urN libcache-perl-2.04.orig//META.yml libcache-perl-2.04//META.yml
+--- libcache-perl-2.04.orig//META.yml 2006-02-02 05:01:08.000000000 +0100
++++ libcache-perl-2.04//META.yml 2011-08-04 22:32:11.313598820 +0200
+@@ -7,7 +7,7 @@
+ requires:
+ Date::Parse: 2.24
+ DB_File: 1.72
+- Digest::SHA1: 2.01
++ Digest::SHA: 0
+ Fcntl: 1.03
+ File::Find: 0
+ File::NFSLock: 1.2
+diff -urN libcache-perl-2.04.orig//Makefile.PL libcache-perl-2.04//Makefile.PL
+--- libcache-perl-2.04.orig//Makefile.PL 2005-10-20 14:33:52.000000000 +0200
++++ libcache-perl-2.04//Makefile.PL 2011-08-04 22:32:24.729600549 +0200
+@@ -15,7 +15,7 @@
+ File::Spec => 0.8,
+ File::Path => 1.00,
+ File::NFSLock => 1.20,
+- Digest::SHA1 => 2.01,
++ Digest::SHA => 0,
+ Symbol => 1.02,
+ IO::Handle => 1.21,
+ IO::File => 1.08,
+diff -urN libcache-perl-2.04.orig//lib/Cache/File.pm libcache-perl-2.04//lib/Cache/File.pm
+--- libcache-perl-2.04.orig//lib/Cache/File.pm 2006-01-31 16:23:58.000000000 +0100
++++ libcache-perl-2.04//lib/Cache/File.pm 2011-08-04 22:32:32.641602287 +0200
+@@ -25,7 +25,7 @@
+ use warnings;
+ use Cache::File::Heap;
+ use Cache::File::Entry;
+-use Digest::SHA1 qw(sha1_hex);
++use Digest::SHA qw(sha1_hex);
+ use Fcntl qw(LOCK_EX LOCK_NB);
+ use Symbol ();
+ use File::Spec;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcache-perl.git
More information about the Pkg-perl-cvs-commits
mailing list