[libplack-middleware-csrfblock-perl] 01/03: Package polishing
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 cc30f5e6f767461501c24f242ccbd219427dbc06
Author: Ernesto Hernández-Novich <emhnemhn at gmail.com>
Date: Tue May 12 14:51:51 2015 -0430
Package polishing
* copyright: use author names.
* control,watch,copyright: remove trailing slash from MetaCPAN URLs.
* changelog: remove superfluous comments for initial release.
* control: mention module name in long description.
* control: add dependency on libdigest-sha-perl
---
debian/changelog | 22 ----------------------
debian/control | 31 ++++++++++++++++++-------------
debian/copyright | 6 ++++--
debian/watch | 2 +-
4 files changed, 23 insertions(+), 38 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index f517424..1082bdd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,27 +1,5 @@
libplack-middleware-csrfblock-perl (0.10-1) UNRELEASED; urgency=low
- TODO:
- - fails to build with:
- "Can't locate Digest/SHA1.pm in @INC"
- maybe dropping the respective patch was not ideal :)
- - d/changelog: should only contain one line ("Initial release ...") for a
- new package
- - d/copyright: I would expand the $authors to the real authors
- ("the authors of" is not a person or a legal entity)
- - strip trailing slashes from the 3 metacpan URLs
- (d/watch,control,copyright)
- - d/control: mention module name in long description
- - d/control: add "Testsuite: autopkgtest-pkg-perl"
-
- [ Salvatore Bonaccorso ]
- * Change Vcs-Git to canonical URI (git://anonscm.debian.org)
- * Change search.cpan.org based URIs to metacpan.org based URIs
-
- [ Ernesto Hernández-Novich (USB) ]
* Initial Release (Closes: #680071)
- * Do not install README.
- * control: Remove B-D-I on perl-modules.
- * copyright: include upstream's copyright notice; add packaging
- copyright and licensing.
-- Ernesto Hernández-Novich (USB) <emhn at usb.ve> Tue, 12 May 2015 13:13:18 -0430
diff --git a/debian/control b/debian/control
index 1558819..83d5de0 100644
--- a/debian/control
+++ b/debian/control
@@ -4,28 +4,33 @@ Priority: optional
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: libplack-middleware-session-perl,
- libplack-perl,
- perl
+Build-Depends-Indep: perl,
+ libdigest-sha-perl,
+ libplack-middleware-session-perl,
+ libplack-perl
Standards-Version: 3.9.6
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libplack-middleware-csrfblock-perl.git
Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libplack-middleware-csrfblock-perl.git
-Homepage: https://metacpan.org/release/Plack-Middleware-CSRFBlock/
+Homepage: https://metacpan.org/release/Plack-Middleware-CSRFBlock
+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)
- This middleware blocks CSRF. You can use this middleware without any
- modifications to your application, in most cases.
+ Plack::Middleware::CSRF helps blocking Cross-Site Request Forgeries,
+ and can be used without any modifications to your application, in
+ most cases.
.
- When the application response content-type is "text/html" or
- "application/xhtml+xml", this middleware inserts a hidden input tag that
- contains a token string into all POST-forms found in the response body.
+ When the application response Content-type header is "text/html" or
+ "application/xhtml+xml", this middleware inserts a hidden input tag
+ that contains a token string into all POST-forms found in the
+ response body.
.
- For every POST requests, this middleware ensures that the input parameters
- contain the collect token parameter. If not found, the middleware throws an
- HTTP error 403 (Forbidden) and the forged request does not even reach your
- application.
+ For every POST requests, this middleware ensures that the input
+ parameters contain the correct token parameter. If not found, the
+ middleware throws an HTTP error 403 (Forbidden) and the forged
+ request does not even reach your application.
diff --git a/debian/copyright b/debian/copyright
index 5c2c49c..8347f8f 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,10 +1,12 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Contact: Rintaro Ishizaki <rintaro at cpan.org>
-Source: https://metacpan.org/release/Plack-Middleware-CSRFBlock/
+Source: https://metacpan.org/release/Plack-Middleware-CSRFBlock
Upstream-Name: Plack-Middleware-CSRFBlock
Files: *
-Copyright: © 2014 by the Authors of Plack-Middleware-CSRFBlock.
+Copyright: © 2014 Rintaro Ishizaki <rintaro at cpan.org>,
+ © 2014 William Wolf <throughnothing at gmail.com>,
+ © 2014 Matthew Phillips <mattp at cpan.org>
License: Artistic or GPL-1+
Files: debian/*
diff --git a/debian/watch b/debian/watch
index 6d2bf89..e85a3cf 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
version=3
-https://metacpan.org/release/Plack-Middleware-CSRFBlock/ .*/Plack-Middleware-CSRFBlock-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
+https://metacpan.org/release/Plack-Middleware-CSRFBlock .*/Plack-Middleware-CSRFBlock-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
--
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