pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/p5-Apache2-AuthCookie p5-Apache2-AuthCookie: updat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/de4d697a3aad
branches:  trunk
changeset: 369124:de4d697a3aad
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Sep 26 22:23:56 2017 +0000

description:
p5-Apache2-AuthCookie: update to 3.27.

3.27  2017-07-28
   - Fix POD spelling error [#118545].

3.26  2016-09-30
   - remove unused module Apache::AuthCookie::Autobox from dist
   - remove CGI.pm dependency.  CGI.pm has been removed from perl core, which
     was the primary reason we used it in the first place.  Replaced with
     dependency on lighter weight set of three modules:

        * HTTP::Body
        * WWW::Form::UrlEncoded
        * Hash::MultiValue

     Also recommended (but not required) is WWW::Form::UrlEncoded::XS
   - Add optional support for charset encoding.  If you have something like

        PerlSetVar MyAuthNameEncoding UTF-8

     Then AuthCookie with now automatically decode parameters using the given
     encoding now. AuthCookie params() data will be decoded automatically if
     this is on.  See details in AuthCookie module documentation.  In addition
     r->user will be encoded (using byte semantics) using this encoding.

     ***** IMPORTANT *****
     If you turn this on, this could break your code.  r->user() will now be
     byte encoded using the given encoding.  If you use usernames that contain
     non-ascii characters you either need to use decoded_user(), or decode
     r->user() yourself in your subclasses.

     See the AuthCookie docs for more details.
   - add optional support for decoding httpd.conf requires directives. This is
     enabled with a RequiresEncoding setting:

        PerlSetVar MyAuthNameRequiresEncoding UTF-8

     Then decoded_requires($r) will return the decoded value of $r->requires
     You only need this if you have non-ascii characters in your requires
     directives such as:

        Requires user programm?r

   - add decoded_user($r) method to get the value of r->user decoded using
     character semantics instead of bytes.  Due to the fact that r->user is a C
     API method we cannot get character semantics on r->user directly.  If no
     Encoding directive is in effect, then this is the same as r->user.
   - add encoding($r): string which returns the value of the Encoding directive
     that is in effect for the current request.

3.25  2016-08-30
   - 2.4: fix POD typo and add missing ABSTRACT
   - reorganize real.t tests into subtests
   - make sure signature test ignores generated files
   - remove autobox dependency
   - fix authenticate so that r->user is copied from r->main on subrequests.
     Previously this was only done for internal redirects (r->prev is defined).
     This fixes DirectoryIndexes on AuthCookie enabled directories under apache
     2.4.

diffstat:

 www/p5-Apache2-AuthCookie/Makefile |  11 ++++++-----
 www/p5-Apache2-AuthCookie/distinfo |  10 +++++-----
 2 files changed, 11 insertions(+), 10 deletions(-)

diffs (42 lines):

diff -r 46513abf2b8a -r de4d697a3aad www/p5-Apache2-AuthCookie/Makefile
--- a/www/p5-Apache2-AuthCookie/Makefile        Tue Sep 26 21:43:37 2017 +0000
+++ b/www/p5-Apache2-AuthCookie/Makefile        Tue Sep 26 22:23:56 2017 +0000
@@ -1,17 +1,18 @@
-# $NetBSD: Makefile,v 1.18 2017/06/05 14:25:09 ryoon Exp $
+# $NetBSD: Makefile,v 1.19 2017/09/26 22:23:56 wiz Exp $
 
-DISTNAME=      Apache-AuthCookie-3.24
+DISTNAME=      Apache-AuthCookie-3.27
 PKGNAME=       p5-${DISTNAME:S/Apache/Apache2/}
-PKGREVISION=   2
 CATEGORIES=    www perl5
-MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Apache/}
+MASTER_SITES=  http://search.cpan.org/CPAN/authors/id/M/MS/MSCHOUT/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://search.cpan.org/dist/Apache-AuthCookie/
 COMMENT=       Perl5 module for Authentication and Authorization via cookies
 LICENSE=       ${PERL5_LICENSE}
 
-DEPENDS+=      p5-CGI>=3.12:../../www/p5-CGI
+DEPENDS+=      p5-Class-Load-[0-9]*:../../devel/p5-Class-Load
+DEPENDS+=      p5-URI-[0-9]*:../../www/p5-URI
+DEPENDS+=      p5-libwww-[0-9]*:../../www/p5-libwww
 
 PERL5_PACKLIST=                auto/Apache/AuthCookie/.packlist
 
diff -r 46513abf2b8a -r de4d697a3aad www/p5-Apache2-AuthCookie/distinfo
--- a/www/p5-Apache2-AuthCookie/distinfo        Tue Sep 26 21:43:37 2017 +0000
+++ b/www/p5-Apache2-AuthCookie/distinfo        Tue Sep 26 22:23:56 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2016/01/15 15:03:04 mef Exp $
+$NetBSD: distinfo,v 1.7 2017/09/26 22:23:56 wiz Exp $
 
-SHA1 (Apache-AuthCookie-3.24.tar.gz) = 81988a4966291eaa0bb667b5d201c8ce04f766ae
-RMD160 (Apache-AuthCookie-3.24.tar.gz) = f948270879d84b43d0ae10bb1be5c725ce02c861
-SHA512 (Apache-AuthCookie-3.24.tar.gz) = 023cc9c695d5b43a92a46b80a2c8ce556d89f0f3ed83d05cb068db5b50d96e1a0e4cd52491d2eb5f0e680e073bc16b36c214b2527a5c5d31eee1a37ed6cd2f60
-Size (Apache-AuthCookie-3.24.tar.gz) = 48349 bytes
+SHA1 (Apache-AuthCookie-3.27.tar.gz) = 33f2a2c0519f5df12db4698135e9d5554eea7807
+RMD160 (Apache-AuthCookie-3.27.tar.gz) = 800c6c10ca7e6d0fb5651401bfa40c669376d115
+SHA512 (Apache-AuthCookie-3.27.tar.gz) = 580bea66d52382cda5d0d55bdac1c323d60641de60e670da10d24ee20ef570a6f46f3b3b45a8f11be347af3597494595224e7b27e986eece1650086385e9ecfb
+Size (Apache-AuthCookie-3.27.tar.gz) = 58156 bytes



Home | Main Index | Thread Index | Old Index