Bug#655696: libwww-curl-perl: missing libcurl constants ?

Niko Tyni ntyni at debian.org
Fri Jan 13 09:56:43 UTC 2012


Package: libwww-curl-perl
Version: 4.12-1
Severity: important
Tags: squeeze

On Fri, Jan 13, 2012 at 10:05:14AM +0100, David Schneider wrote:
> hey folks
 libwww-curl-perl seems to have a bug. it sends basic insted of ntlm
> header despite that i have defined the option CURLAUTH_NTLM
> libwww-curl-perl 4.12-1
> debian: squeeze

(please see http://www.debian.org/Bugs/Reporting for instructions on
 how to properly report a bug in Debian for the next time.)

Adding 'use strict', fixing a syntax error in your test script,
and adding a couple of 'my' declarations shows the problem:

 Bareword "CURLAUTH_NTLM" not allowed while "strict subs" in use at t.pl line 24.
 Execution of t.pl aborted due to compilation errors.

Exporting libcurl constants to the perl side has had bugs in the
past, and http://cpansearch.perl.org/src/SZBALINT/WWW-Curl-4.15/Changes
indicates upstream has fixed this since, 

Indeed, it's working OK for me on Debian sid (4.15-1+b2).

I don't have the time to dig out a patch, but this does look
like a candidate for a stable update IMO, particularly if it concerns
other curl constants too.
-- 
Niko 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: w.pl
Type: text/x-perl
Size: 722 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20120113/55a43040/attachment.pl>


More information about the pkg-perl-maintainers mailing list