44156cb63c
2005-12-08 Gisle Aas Release 5.805 HTTP::Date: The str2time function returned wrong values for years in the early 20th century, because timelocal() actually expects the year to be provided on a different scale than what localtime() returns. HTTP::Headers can now be constructed with field names that repeat. The $h->header function now also accept repeating field names and can also remove headers if passed undef as value. HTML::Form: The parse method now takes hash style optional arguments and the old verbose behaviour is now off by default. HTML::Form: Accept <select multiple=""> for compatibilty with other browsers. Patch by Josh Rai HTML::Form: Sane handling of 'disabled' for ListInput. Based on patch by Joao Lopes HTTP::Negotiate: Fixed matching of partial language tags. Patch contributed by Dan Kubb. HTTP::Response: The as_string method now returns a status line that doesn't add the "official" code name in the message field. This improves the ability to round-trip response objects via HTTP::Response->parse($res->as_string) and makes the first line of the string returned agree with $res->status_line. Net::HTTP: The host attribute can now be set undef in order to suppress this header for HTTP/1.0 requests. Net::HTTP: The default Host: header does not include the port number if it is the default (80 for plain HTTP). Some servers get confused by this. Net::HTTP: Ignore bogus Content-Length headers. Don't get confused by leading or trailing whitespace. LWP::Protocol::http: More efficient sending of small PUT/POST requests by trying harder to pass off the whole request in a single call to syswrite. lwp-request now give better error messages if you used the -o option without having the HTML-Tree distribution installed. Also document this dependency. 2005-12-06 Gisle Aas Release 5.804 HTTP::Message->parse did not work when the first line of the body was something that looked like a header. HTTP::Header::Auth needs HTTP::Headers to be loaded before it replace its functions. LWP::Protocol::nntp improvements by Ville Skyttä - Support the nntp: scheme. - Support hostname in news: and nntp: URIs. - Close connection and preserve headers also in non-OK responses. - HEAD support for URIs identifying a newsgroup. - Comment spelling fixes. Fix quotes in Net::HTTP example. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=283916 Detect EOF when expecting a chunk header. Should address the warnings shown in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=286775 WWW::RobotRules: Improved parsing of not strictly valid robots.txt files Makefile.PL: Set name to LWP so that the .packlist ends up in the expected place.
27 lines
907 B
Makefile
27 lines
907 B
Makefile
# $NetBSD: Makefile,v 1.44 2005/12/11 19:17:19 wiz Exp $
|
|
|
|
DISTNAME= libwww-perl-5.805
|
|
PKGNAME= p5-${DISTNAME:S/-perl-/-/}
|
|
SVR4_PKGNAME= p5lww
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=WWW/}
|
|
|
|
MAINTAINER= shell@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/libwww-perl/
|
|
COMMENT= Perl5 library for WWW access
|
|
|
|
DEPENDS+= p5-Digest-MD5-[0-9]*:../../security/p5-Digest-MD5
|
|
DEPENDS+= p5-Net>=1.09:../../net/p5-Net # for Net::FTP>=2.58
|
|
DEPENDS+= p5-HTML-Parser>=3.33:../../www/p5-HTML-Parser
|
|
DEPENDS+= p5-URI>=1.10:../../www/p5-URI
|
|
DEPENDS+= p5-Compress-Zlib-[0-9]*:../../devel/p5-Compress-Zlib
|
|
DEPENDS+= p5-IO-Socket-SSL-[0-9]*:../../security/p5-IO-Socket-SSL
|
|
DEPENDS+= p5-MIME-Base64>=2.1:../../converters/p5-MIME-Base64
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
PERL5_PACKLIST= auto/LWP/.packlist
|
|
MAKE_PARAMS= -n
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|