[libplack-middleware-csrfblock-perl] 02/03: Patch to use Digest::SHA instead of Digest::SHA1

Ernesto Hernández-Novich emhn-guest at moszumanska.debian.org
Tue May 12 19:49:32 UTC 2015


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

emhn-guest pushed a commit to branch master
in repository libplack-middleware-csrfblock-perl.

commit f1b968048f382f49ef59325ee25a475316af9e69
Author: Ernesto Hernández-Novich <emhnemhn at gmail.com>
Date:   Tue May 12 15:02:07 2015 -0430

    Patch to use Digest::SHA instead of Digest::SHA1
---
 debian/control                           |  2 --
 debian/patches/series                    |  1 +
 debian/patches/use-core-digest-sha.patch | 44 ++++++++++++++++++++++++++++++++
 3 files changed, 45 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 83d5de0..46a1c00 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,6 @@ Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Ernesto Hernández-Novich (USB) <emhn at usb.ve>
 Build-Depends: debhelper (>= 9)
 Build-Depends-Indep: perl,
- libdigest-sha-perl,
  libplack-middleware-session-perl,
  libplack-perl
 Standards-Version: 3.9.6
@@ -17,7 +16,6 @@ Testsuite: autopkgtest-pkg-perl
 Package: libplack-middleware-csrfblock-perl
 Architecture: all
 Depends: ${misc:Depends}, ${perl:Depends},
- libdigest-sha-perl,
  libplack-middleware-session-perl,
  libplack-perl
 Description: Plack middleware to block CSRF (cross-site request forgery)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..0ef98e3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-core-digest-sha.patch
diff --git a/debian/patches/use-core-digest-sha.patch b/debian/patches/use-core-digest-sha.patch
new file mode 100644
index 0000000..439ec50
--- /dev/null
+++ b/debian/patches/use-core-digest-sha.patch
@@ -0,0 +1,44 @@
+--- a/META.yml
++++ b/META.yml
+@@ -21,7 +21,7 @@
+   version: 1.4
+ name: Plack-Middleware-CSRFBlock
+ requires:
+-  Digest::SHA1: 0
++  Digest::SHA: 0
+   HTML::Parser: 0
+   Plack: 0
+   Time::HiRes: 0
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -20,7 +20,7 @@
+   "LICENSE" => "perl",
+   "NAME" => "Plack::Middleware::CSRFBlock",
+   "PREREQ_PM" => {
+-    "Digest::SHA1" => 0,
++    "Digest::SHA" => 0,
+     "HTML::Parser" => 0,
+     "Plack" => 0,
+     "Time::HiRes" => 0
+--- a/dist.ini
++++ b/dist.ini
+@@ -17,7 +17,7 @@
+ exclude_filename = README.md
+ 
+ [Prereqs / RuntimeRequires]
+-Digest::SHA1 = 0
++Digest::SHA = 0
+ Time::HiRes = 0
+ HTML::Parser = 0
+ Plack = 0
+--- a/lib/Plack/Middleware/CSRFBlock.pm
++++ b/lib/Plack/Middleware/CSRFBlock.pm
+@@ -6,7 +6,7 @@
+ 
+ # ABSTRACT: Block CSRF Attacks with minimal changes to your app
+ 
+-use Digest::SHA1;
++use Digest::SHA;
+ use Time::HiRes qw(time);
+ use HTML::Parser;
+ use Plack::Request;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libplack-middleware-csrfblock-perl.git



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