[libplack-middleware-csrfblock-perl] 02/02: Remove obsolete patch

Ernesto Hernández-Novich emhn-guest at moszumanska.debian.org
Tue May 12 17:26:00 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 832a062962223faee017492263dadf71f1ba99ae
Author: Ernesto Hernández-Novich <emhnemhn at gmail.com>
Date:   Tue May 12 12:55:47 2015 -0430

    Remove obsolete patch
---
 debian/patches/series               |  1 -
 debian/patches/use-digest-sha.patch | 50 -------------------------------------
 2 files changed, 51 deletions(-)

diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index 196772f..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-use-digest-sha.patch
diff --git a/debian/patches/use-digest-sha.patch b/debian/patches/use-digest-sha.patch
deleted file mode 100644
index 760ada8..0000000
--- a/debian/patches/use-digest-sha.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-Description: Use Digest::SHA (in core) instead of Digest::SHA1
-Author: Michael Stapelberg <stapelberg at debian.org>
-
----
-
-Forwarded: TODO
-Last-Update: 2012-07-03
-
---- libplack-middleware-csrfblock-perl-0.03.orig/Makefile.PL
-+++ libplack-middleware-csrfblock-perl-0.03/Makefile.PL
-@@ -6,7 +6,7 @@ all_from 'lib/Plack/Middleware/CSRFBlock
- 
- requires 'Plack';
- requires 'Plack::Middleware::Session';
--requires 'Digest::SHA1';
-+requires 'Digest::SHA';
- 
- tests 't/*.t';
- author_tests 'xt';
---- libplack-middleware-csrfblock-perl-0.03.orig/META.yml
-+++ libplack-middleware-csrfblock-perl-0.03/META.yml
-@@ -19,7 +19,7 @@ no_index:
-     - t
-     - xt
- requires:
--  Digest::SHA1: 0
-+  Digest::SHA: 0
-   Plack: 0
-   Plack::Middleware::Session: 0
- resources:
---- libplack-middleware-csrfblock-perl-0.03.orig/lib/Plack/Middleware/CSRFBlock.pm
-+++ libplack-middleware-csrfblock-perl-0.03/lib/Plack/Middleware/CSRFBlock.pm
-@@ -7,7 +7,7 @@ our $VERSION = '0.05';
- use HTML::Parser;
- use Plack::TempBuffer;
- use Plack::Util;
--use Digest::SHA1;
-+use Digest::SHA;
- use Plack::Util::Accessor qw(
-     parameter_name token_length session_key blocked onetime
-     _param_re _token_generator
-@@ -38,7 +38,7 @@ sub prepare_app {
-     });
- 
-     $self->_token_generator(sub {
--        my $token = Digest::SHA1::sha1_hex(rand() . $$ . {} . time);
-+        my $token = Digest::SHA::sha1_hex(rand() . $$ . {} . time);
-         substr($token, 0 , $token_length);
-     });
- }

-- 
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