pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/p5-LWP-Authen-Negotiate Remove calls to LWP::Debug...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bad665e08c97
branches:  trunk
changeset: 555068:bad665e08c97
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue Feb 24 10:53:02 2009 +0000

description:
Remove calls to LWP::Debug as they have been deprecated in p5-libwww.
Bump PKGREVISION.

diffstat:

 www/p5-LWP-Authen-Negotiate/Makefile         |   4 +-
 www/p5-LWP-Authen-Negotiate/distinfo         |   3 +-
 www/p5-LWP-Authen-Negotiate/patches/patch-aa |  47 ++++++++++++++++++++++++++++
 3 files changed, 51 insertions(+), 3 deletions(-)

diffs (76 lines):

diff -r 781e394ec0a5 -r bad665e08c97 www/p5-LWP-Authen-Negotiate/Makefile
--- a/www/p5-LWP-Authen-Negotiate/Makefile      Tue Feb 24 10:15:02 2009 +0000
+++ b/www/p5-LWP-Authen-Negotiate/Makefile      Tue Feb 24 10:53:02 2009 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2008/10/19 19:19:17 he Exp $
+# $NetBSD: Makefile,v 1.4 2009/02/24 10:53:02 markd Exp $
 
 DISTNAME=      LWP-Authen-Negotiate-0.06
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    perl5 www
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=LWP/}
 
diff -r 781e394ec0a5 -r bad665e08c97 www/p5-LWP-Authen-Negotiate/distinfo
--- a/www/p5-LWP-Authen-Negotiate/distinfo      Tue Feb 24 10:15:02 2009 +0000
+++ b/www/p5-LWP-Authen-Negotiate/distinfo      Tue Feb 24 10:53:02 2009 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/05/15 12:02:34 markd Exp $
+$NetBSD: distinfo,v 1.2 2009/02/24 10:53:02 markd Exp $
 
 SHA1 (LWP-Authen-Negotiate-0.06.tar.gz) = 1fed13477279b70148816c26a286071c0df68ba8
 RMD160 (LWP-Authen-Negotiate-0.06.tar.gz) = 1b1aff09c01e39749f8fdbeec8cc01e6414c0105
 Size (LWP-Authen-Negotiate-0.06.tar.gz) = 4701 bytes
+SHA1 (patch-aa) = 555448adef31ac665bf34525a00699967b7b0ada
diff -r 781e394ec0a5 -r bad665e08c97 www/p5-LWP-Authen-Negotiate/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/p5-LWP-Authen-Negotiate/patches/patch-aa      Tue Feb 24 10:53:02 2009 +0000
@@ -0,0 +1,47 @@
+$NetBSD: patch-aa,v 1.1 2009/02/24 10:53:02 markd Exp $
+
+Remove LWP::Debug calls as they have been deprecated
+
+--- lib/LWP/Authen/Negotiate.pm.orig   2006-03-08 09:09:25.000000000 +1300
++++ lib/LWP/Authen/Negotiate.pm
+@@ -34,7 +34,6 @@ use GSSAPI 0.18;
+ 
+ sub authenticate
+   {
+-    LWP::Debug::debug("authenticate() version $VERSION called");
+     my ($class,$ua,$proxy,$auth_param,$response,$request,$arg,$size) = @_;
+ 
+     my $uri = URI->new($request->uri);
+@@ -50,7 +49,6 @@ sub authenticate
+       # in case of broken DNS or /etc/hosts
+       # or missing Kerberosprincipal for target system
+       #
+-        LWP::Debug::debug("target hostname $targethost");
+         $status  = GSSAPI::Name->import(
+                       $target,
+                       join( '@', 'HTTP', $targethost ),
+@@ -60,7 +58,6 @@ sub authenticate
+         $status  = $target->display( $tname );
+       last TRY if  ( $status->major != GSS_S_COMPLETE );
+ 
+-        LWP::Debug::debug("GSSAPI servicename $tname");
+         my $auth_header = $proxy ? 'Proxy-Authorization'
+                       :          'Authorization';
+ 
+@@ -92,7 +89,6 @@ sub authenticate
+                             undef, $otoken, undef, undef);
+         if  (    $status->major == GSS_S_COMPLETE
+             or $status->major == GSS_S_CONTINUE_NEEDED   ) {
+-            LWP::Debug::debug( 'successfull $ctx->init()');
+           my $referral = $request->clone;
+           $referral->header( $auth_header => "Negotiate ".encode_base64($otoken,""));
+           return $ua->request( $referral, $arg, $size, $response );
+@@ -102,8 +98,6 @@ sub authenticate
+     # this is the errorhandler,
+     # the try block is normally leaved via return
+     #
+-    LWP::Debug::debug( $status->generic_message());
+-    LWP::Debug::debug( $status->specific_message() );
+     return $response;
+ 
+ }



Home | Main Index | Thread Index | Old Index