[libcatalyst-authentication-store-htpasswd-perl] 03/03: Improved description in debian/control. Fixed links and formatting in POD.
Christopher Hoskin
christopher.hoskin at gmail.com
Tue Feb 17 22:32:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
grinorcole-guest pushed a commit to branch master
in repository libcatalyst-authentication-store-htpasswd-perl.
commit 49db06d3b292f731f50d2149f55cfac877d9db21
Author: Christopher Hoskin <christopher.hoskin at gmail.com>
Date: Tue Feb 17 22:06:38 2015 +0000
Improved description in debian/control. Fixed links and formatting in POD.
---
.gitignore | 1 +
debian/control | 6 ++-
debian/patches/manpage-errors.patch | 74 +++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
4 files changed, 80 insertions(+), 2 deletions(-)
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..224e7f0
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.pc/
diff --git a/debian/control b/debian/control
index 0b847a1..5508811 100644
--- a/debian/control
+++ b/debian/control
@@ -24,5 +24,7 @@ Depends: ${misc:Depends}, ${perl:Depends},
libcatalyst-plugin-authentication-perl,
libclass-accessor-perl,
libcrypt-passwdmd5-perl
-Description: Authen::Htpasswd based user storage/authentication.
- This plugin uses Authen::Htpasswd to let your application use <.htpasswd> files for it's authentication storage.
+Description: Authen::Htpasswd based user storage/authentication
+ Catalyst::Authentication::Store::Htpasswd is a plugin for the Catalyst MVC web
+ framework which enables Catalyst applications to use <.htpasswd> files for
+ authentication storage.
diff --git a/debian/patches/manpage-errors.patch b/debian/patches/manpage-errors.patch
new file mode 100644
index 0000000..c30ae66
--- /dev/null
+++ b/debian/patches/manpage-errors.patch
@@ -0,0 +1,74 @@
+Description: Fix broken links and malformed formatting in POD
+Author: Christopher Hoskin <christopher.hoskin at gmail.com>
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=102187
+Last-Update: 2015-02-17
+
+--- a/lib/Catalyst/Authentication/Store/Htpasswd.pm
++++ b/lib/Catalyst/Authentication/Store/Htpasswd.pm
+@@ -93,7 +93,7 @@
+
+ =head1 DESCRIPTION
+
+-This plugin uses L<Authen::Htpasswd> to let your application use C<<.htpasswd>>
++This plugin uses L<Authen::Htpasswd> to let your application use C<< .htpasswd >>
+ files for it's authentication storage.
+
+ =head1 METHODS
+@@ -104,30 +104,31 @@
+
+ =head2 find_user
+
+-Looks up the user, and returns a Catalyst::Authentication::Store::Htpasswd::User object.
++Looks up the user, and returns a L<Catalyst::Authentication::Store::Htpasswd::User> object.
+
+ =head2 user_supports
+
+-Delegates to L<Catalyst::Authentication::Store::Htpasswd::User->user_supports|Catalyst::Authentication::Store::Htpasswd::User#user_supports>
++Delegates to L<< Catalyst::Authentication::User->supports|Catalyst::Authentication::User/supports >> or an
++override in L<user_class|/user_class>.
+
+ =head2 from_session
+
+-Delegates the user lookup to C<< find_user >>
++Delegates the user lookup to L<find_user|/find_user>
+
+ =head1 CONFIGURATION
+
+ =head2 file
+
+ The path to the htpasswd file. If the path starts with a slash, then it is assumed to be a fully
+-qualified path, otherwise the path is fed through C< $c->path_to > and so normalised to the
++qualified path, otherwise the path is fed through C<< $c->path_to >> and so normalised to the
+ application root.
+
+-Alternatively, it is possible to pass in an L< Authen::Htpasswd > object here, and this will be
++Alternatively, it is possible to pass in an L<Authen::Htpasswd> object here, and this will be
+ used as the htpasswd file.
+
+ =head2 user_class
+
+-Change the user class which this store returns. Defaults to L< Catalyst::Authentication::Store::Htpasswd::User >.
++Change the user class which this store returns. Defaults to L<Catalyst::Authentication::Store::Htpasswd::User>.
+ This can be used to add additional functionality to the user class by sub-classing it, but will not normally be
+ needed.
+
+--- a/lib/Catalyst/Authentication/Store/Htpasswd/User.pm
++++ b/lib/Catalyst/Authentication/Store/Htpasswd/User.pm
+@@ -72,7 +72,7 @@
+ =head1 DESCRIPTION
+
+ This object wraps an L<Authen::Htpasswd::User> object. An instance of it will be returned
+-by C<< $c->user >> when using L<Catalyst::Authentication::Store::Htpasswd>. Methods
++by C<< $c->user >> when using L<Catalyst::Authentication::Store::Htpasswd>. Methods
+ not defined in this module are passed through to the L<Authen::Htpasswd::User> object. The
+ object stringifies to the username.
+
+@@ -81,7 +81,7 @@
+ =head2 new($store,$user)
+
+ Creates a new object from a store object, normally an instance of
+-L<Catalyst::Authentication::Store::Htpasswd::Backend>, and a user object,
++L<Catalyst::Plugin::Authentication::Store::Htpasswd::Backend>, and a user object,
+ normally an instance of L<Authen::Htpasswd::User>.
+
+ =head2 id
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8d370a0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+manpage-errors.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcatalyst-authentication-store-htpasswd-perl.git
More information about the Pkg-perl-cvs-commits
mailing list