--- snip --- 2011-03-27 Release 6.02 This is the release where we try to help the CPAN-toolchain be able to install the modules required for https-support in LWP. We have done this by unbundling the LWP::Protocol::https module from the libwww-perl distribution. In order to have https support you now need to install (or depend on) 'LWP::Protocol::https' and then this will make sure that all the prerequsite modules comes along. See [RT#66838]. This release also removes the old http10 modules that has really been deprecated since v5.60. These should have been removed at the v6.00 jump, but I forgot. Christopher J. Madsen (1): Ignores env variables when ssl_opts provided [RT#66663] Gisle Aas (4): Fix typo; Authen::NTLM [RT#66884] Yury Zavarin (1): Support LWP::ConnCache->new(total_capacity => undef) _______________________________________________________________________________ 2011-03-09 Release 6.01 Add missing HTTP::Daemon dependency for the tests. _______________________________________________________________________________ 2011-03-08 Release 6.00 Unbundled all modules not in the LWP:: namespace from the libwww-perl distribution. The new broken out CPAN distribtions are File-Listing, HTML-Form, HTTP-Cookies, HTTP-Daemon, HTTP-Date, HTTP-Message, HTTP-Negotiate, Net-HTTP, and WWW-RobotRules. libwww-perl-6 require these to be installed. This release also drops the unmaintained lwp-rget script from the distribution. Perl v5.8.8 or better is now required. For older versions of perl please stay with libwww-perl-5.837. For https://... default to verified connections with require IO::Socket::SSL and Mozilla::CA modules to be installed. Old behaviour can be requested by setting the PERL_LWP_SSL_VERIFY_HOSTNAME environment variable to 0. The LWP::UserAgent got new ssl_opts method to control this as well. Support internationalized URLs from command line scripts and in the proxy environment variables. The lwp-dump script got new --request option. The lwp-request script got new -E option, contributed by Tony Finch. Protocol handlers and callbacks can raise HTTP::Response objects as exceptions. --- snip --- This will abort the current request and make LWP return the raised response.
45 lines
1.7 KiB
Makefile
45 lines
1.7 KiB
Makefile
# $NetBSD: Makefile,v 1.81 2011/08/05 19:38:47 spz Exp $
|
|
|
|
DISTNAME= libwww-perl-6.02
|
|
PKGNAME= p5-${DISTNAME:S/-perl-/-/}
|
|
SVR4_PKGNAME= p5lww
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=WWW/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/libwww-perl/
|
|
COMMENT= Perl5 library for WWW access
|
|
LICENSE= ${PERL5_LICENSE}
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
DEPENDS+= p5-IO-Compress>=2.017:../../devel/p5-IO-Compress
|
|
DEPENDS+= p5-Crypt-SSLeay>=0:../../security/p5-Crypt-SSLeay
|
|
DEPENDS+= {perl>=5.10,p5-Digest-MD5-[0-9]*}:../../security/p5-Digest-MD5
|
|
DEPENDS+= p5-HTML-Parser>=3.33:../../www/p5-HTML-Parser
|
|
DEPENDS+= p5-HTML-Tagset-[0-9]*:../../www/p5-HTML-Tagset
|
|
DEPENDS+= p5-IO-Socket-SSL-[0-9]*:../../security/p5-IO-Socket-SSL
|
|
DEPENDS+= p5-MIME-Base64>=2.1:../../converters/p5-MIME-Base64
|
|
DEPENDS+= {perl>=5.10,p5-Net>=1.09}:../../net/p5-Net # for Net::FTP>=2.58
|
|
DEPENDS+= p5-URI>=1.10:../../www/p5-URI
|
|
DEPENDS+= p5-File-Listing>=6.02:../../devel/p5-File-Listing
|
|
DEPENDS+= p5-HTTP-Message>=6.02:../../www/p5-HTTP-Message
|
|
DEPENDS+= p5-HTTP-Cookies>=6.00:../../www/p5-HTTP-Cookies
|
|
DEPENDS+= p5-HTTP-Daemon>=6.00:../../www/p5-HTTP-Daemon
|
|
DEPENDS+= p5-HTTP-Negotiate>=6.00:../../www/p5-HTTP-Negotiate
|
|
DEPENDS+= p5-Net-HTTP>=6.01:../../www/p5-Net-HTTP
|
|
DEPENDS+= p5-WWW-RobotRules>=6.01:../../www/p5-WWW-RobotRules
|
|
# it would run without the following, but not do any https then
|
|
DEPENDS+= p5-LWP-Protocol-https>=6.02:../../www/p5-LWP-Protocol-https
|
|
|
|
USE_LANGUAGES= # empty
|
|
|
|
PERL5_PACKLIST= auto/LWP/.packlist
|
|
MAKE_ENV+= PERL_MM_USE_DEFAULT=1
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.include "options.mk"
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|