Commit graph

26 commits

Author SHA1 Message Date
zuntum
dc15cc0e3a Update p5-libwww to 5.53
2001-04-10   Gisle Aas <gisle@ActiveState.com>

Release 5.53

    LWP::Simple::get() could sometimes return nothing on failure in
    list context.  Now it always returns 'undef'.

    HTTP::Cookies does not request 2 dots on domain names any more.
    New option to hide the Cookie2 header.  Cookie2 header now quote
    the version number. Updated reference to RFC 2965.

    Support for embedded userinfo in http proxy URIs.  It means that
    you know can set up your proxy with things like:
        http_proxy="http://proxyuser:proxypass@proxyhost:port"
    Patch by John Klar <j.klar@xpedite.com>.

    Experimental HTTP/1.1 support.  New module called Net::HTTP that
    provide the lower level interface and a LWP::Protocol::http11
    module that builds on it.  The HTTP/1.1 protocol module must be
    loaded and registered explicitly, otherwise the old and trustworthy
    HTTP/1.0 module will be used.

    LWP::Protocol::GHTTP will try to use the get_headers() methods
    so that it can actually extract all the headers.

2001-03-29   Gisle Aas <gisle@ActiveState.com>

Release 5.52

    HTTP::Header: new method $h->init_header() that will only
    set the header if it is not already set.  Some shuffling
    around in the code.

    LWP::UserAgent will not override 'User-Agent', 'From'
    or 'Range' headers if they are explicitly set in the
    request passed in.

    HTML::Form tries to optimize parsing be restricting the
    tags that are reported by HTML::Parser.  Will need
    HTML::Parser v3.19_93 or better for this to actually
    have any effect.

    LWP::Protocol::ftp now deals with path parameters again.
    It means that you can append ";type=a" to ftp-URI and
    it will download the document in ASCII mode.

    If the server output multiple Location headers on a redirect,
    ignore all but the first one.

    Extract cookies failed on request URIs with empty paths.
    This was only triggered if you used URI objects directly in
    scripts.

    This change was actually part of 5.51:  Fix qop="auth"
    handling for Digest authentication.
    Patch by Dave Dunkin <dave_dunkin@hotmail.com>.

2001-03-14   Gisle Aas <gisle@ActiveState.com>

Release 5.51

    SECURITY FIX: If LWP::UserAgent::env_proxy is called in a CGI
    environment, the case-insensitivity when looking for "http_proxy"
    permits "HTTP_PROXY" to be found, but this can be trivially set by the
    web client using the "Proxy:" header.  The fix applied is that
    $ENV{HTTP_PROXY} is not longer honored for CGI scripts.
    The CGI_HTTP_PROXY environment variable can be used instead.
    Problem reported by Randal L. Schwartz.

    NOTE: It is recommended that everybody that use LWP::UserAgent
          (including LWP::Simple) in CGI scripts upgrade to this release.

    Explicit setting of action on HTML::Form had no effect because
    of a code typo.  Patch by BooK <book@netcourrier.com>.

    HTTP::Daemon: The CONNECT method need special treatment because
    it does not provide a URI as argument (just a "hostname:port").
    The non-upward compatibility warning is that you must now call
    $request->url->host_port to get the host/port string for CONNECT,
    rather than calling $request->url and using the entire string.
    Based on patch from Randal L. Schwartz <merlyn@stonehenge.com>

HTTP::Daemon: Create self URL based on $self->sockaddr.  This works
    better when LocalAddr is used to specify the port number.  Based on
    patch from Ben Low <ben@snrc.uow.edu.au>.

    Avoid potential '<FILE> chunk 1' messages at the end of the response
    'message'.
2001-05-14 16:01:22 +00:00
skrll
aa3c03b75a Move to sha1 digests, and add distfile sizes. 2001-04-20 12:02:30 +00:00
agc
8f972b049a + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 12:12:16 +00:00
wiz
a0745845b3 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:21:28 +00:00
abs
7d25f6bad7 Update to 5.50:
Changes since 5.48:

    Release 5.50

    Fix for test cases that failed because of URI-1.10 now encode
    space as '+' instead of '%20. Patch by Christian Gilmore
    <cgilmore@tivoli.com>.

    Makefile.PL: Require URI-1.10.

    HTTP::Daemon now accepts any non-space character as method name
    on the request line.  It used to fail on methods like "M-POST"
    because it only allowed \w-chars.

    HTTP::Date now allow fractional seconds in ISO date formats.
    Based on patch from Mark D. Anderson <mda@discerning.com>

    HTTP::Request::Common will now calculate Content-length
    even if $DYNAMIC_FILE_UPLOAD is set.  Patch provided by
    Lindley, Lee T <Lee.Lindley@viasystems.com>.



2000-12-31   Gisle Aas <gisle@ActiveState.com>

    Release 5.49

    HTML::Form: Use croak() instead of die.  Implement
    $f->possible_values.  Avoid use of undef value warnings.

    HTTP::Cookies: fix epath issue.  Make it work for URI::http
    as the uri-attribute of HTTP::Request object

    HTTP::Date: Allow ignored timezone info in parenthesis. Patch
    by Sander van Zoest <sander@covalent.net>.
    Fix calculation of non-GMT timezones (wrong sign).  Patch by
    KONISHI Katsuhiro <konishi@din.or.jp>.

    HTTP::Response: Let $res->base() absolutize the URI.  Based on
    bug report from Hans de Graaff <hans@degraaff.org>.

    Fixed minor doc typos in HTTP::Headers::Util and LWP::UserAgent.

    HTTP::Request::Common: Support boundary spec from client.

    LWP::Simple: Avoid trivial_http_get when @ appears in authority
    part of URI

    LWP::Authen::Digest: Need to have query in URI param.
    Spotted by <ronald@innovation.ch>.

    LWP::Protocol::http: unescape username/password if they are
    specified in the URI.

    Added LWP::Protocol::GHTTP.  This allow LWP to use the HTTP::GHTTP
    module as the low level HTTP driver.
2001-02-15 11:28:50 +00:00
jlam
38c000593e Fix wildcard depends on p5-Net to not match p5-Net-Telnet. 2000-08-29 00:52:07 +00:00
jlam
18cba9d7fa Convert packages to use PERL5_PACKLIST (part 1). These were the easy
ones to do, and each compiled and installed/de-installed apparently
correctly.

As a side effect of the dynamic PLIST, we no longer need to have separate
-static and -shared PLISTs.  It's now easier than ever to make a perl5
package for NetBSD :)
2000-08-27 07:10:59 +00:00
mjl
d40dd88344 Update to 5.48. Changes:
README.SSL update by Marko Asplund <aspa@hip.fi>

    Added cookie example to lwpcook.pod

    HTTP::Date::str2time returns undef on failure instead
    of an empty list as suggested by Markus B Krüger <markusk@pvv.org>

    $request->uri($uri) will now always store a copy of the $uri.

    HTTP::Status: Added status codes from RFC 2616 and RFC 2518 (WebDAV)

    LWP::RobotUA will not parse robots.txt unless content type and
    content sample looks right.

    LWP::UserAgent: Deal with multiple WWW-Authenticate headers.
    Patch by Hugo <hv@crypt.compulink.co.uk>

    $ua->proxy can now return the old proxy settings without
    destroying the old one.
    Based on patch by Benjamin Low <ben@snrc.uow.edu.au>

    LWP::Protocol::http update
        - don't terminate header parsing on bad headers
        - extra_sock_opts
        - preparations for keep alive support
        - method CONNECT

   WWW::RobotRules deal with various absolute URIs in the
   disallow lines.

   Makefile.PL: Make sure we have HTML::TokeParser

   Added HTML::Form to the distribution.

   LWP::Protocol::http: Kill any Connection header

   LWP::MediaTypes: Fixed builtin html/text mapping.
   Added bz2 to suffixEncoding
2000-07-03 09:49:19 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
wiz
c4e9f268d2 fix DISTNAME back to libwww-perl-5.46, as noted by simonb@netbsd.org 1999-12-28 17:09:15 +00:00
wiz
e133ff3249 changed PKGNAME to p5-${DISTNAME} 1999-12-28 12:49:56 +00:00
rh
0b0e9b2488 Update libwww-perl to 5.46
Changes are:
 o  Y2K fix to t/base/cookies.t.  Netscape's original cookie
    example expires at 09-Nov-99.
 o  Unbundled URI::URL modules.  You now have to install the
    URI.pm module in order to get libwww-perl working.
 o  Avoid warnings for lwp-request -t
 o  referrer as alternative spelling for referer as suggested by tchrist.
 o  More conservative selection of boundary for multipart messages
    in &HTTP::Request::Common::POST.
 o  LWP::MediaTypes can now export &read_media_types.
 o  Spelling corrections from Ben Tilly <Ben_Tilly@trepp.com>
 o  The LWP SSL support better explained.  Documentation in README.SSL
    and lwpcook.pod contributed by Marko Asplund <aspa@hip.fi>.
 o  LWP::Protocol::https: Try loading IO::Socket::SSL if Net::SSL is
    not available.
 o  defined(@ISA) eliminated. Patch by Nathan Torkington <gnat@frii.com>
 o  LWP::Protocol::ftp: Protect against empty path_segments
 o  'lwp-request -HUser-Agent:foo' can now be used to set this
    header too.
 o  Localize $/ to ensure standard record separator a few places
    in HTTP::Cookies
 o  LWP::UserAgent will now set the Range header in requests if
    the $ua->max_size attribute is set.
 o  New lwp-request command line option that allow you to put any
    header into the request (-H).
 o  New HTTP::Date because of Y2K-problems with the old one.
    It refused to parse the ftp-listing (ls -l) dates missing year.
    Additional entry point is parse_date().  This function avoid any
    limitations caused by the time-representation (seconds since
    epoch).
 o  Added another binmode() to LWP::Protocol::file as suggested
    by Matt Sergeant <matt-news@sergeant.org>
 o  Documentation patch from Michael A. Chase <mchase@ix.netcom.com>
 o  PREREQ_PM patch from Andreas Koenig <andreas.koenig@anima.de>
 o  LWP::Simple::head fix by Richard Chen <richard@lexitech.com>
 o  Allow "." in HTTP header names.  Patch by Marc Langheinrich
    <marc@ccm.cl.nec.co.jp>
 o  Fixed reference to $uri->netloc in lwp-request
 o  Cute animation in lwp-download
 o  HTTP::Cookies provide better Netscape cookies compliance.
    Send back cookies to any port, and allow origin host name to
    be specified as domain, and still be treated as a domain.
    Patch from Andreas Gustafsson <gson@araneus.fi>.
 o  HTTP::Cookies now ignore the Expires field in Set-Cookie, if the
    date provided can't be parsed by HTTP::Date.
 o  HTTP::Daemon will lowercase the hostname returned from
    Sys::Hostname::hostname().  This avoid some test failures in
    the test suite for people with upper- or mixed-cased hostnames.
 o  LWP::Protocol::gopher: IO::Socket::INET ctor did not specify
    Proto => 'tcp'.  This made it less portable to older IO::Socket
    versions.
 o  No programs installed when you build the Makefile with
    'perl Makefile.PL LIB=/my/lib'
 o  LWP bundle mention Digest::MD5 instead of MD5
 o  headers-auth.t test suite bug triggered by perl5.005_5x.
    Patch by Albert Dvornik <bert@genscan.com>
 o  The local/http.t test actually did try to unlink(".").  This was
    very confusing on systems where it succeed.
 o  Made library URI.pm compatible.  Made all URI object instantiations
    based on $HTTP::URI_CLASS variable.
 o  New lwp-rget option: --referer.
    Patch by INOUE Yoshinari <inoue@kusm.kyoto-u.ac.jp>.
 o  One more binmode() to HTTP::Daemon as suggested by
    Markus Laker <mlaker@contax.co.uk>.
1999-12-02 15:16:19 +00:00
tron
23e0063766 Completely replace "MASTER_SITE_SUBDIR" and "PATCH_SITE_SUBDIR" with
variable substituition of "MASTER_SITES" and "PATCH_SITES".
1999-04-15 20:39:38 +00:00
agc
79e49eaba2 s/netbsd/${LOWER_OPSYS}/g 1999-04-08 18:51:48 +00:00
hubertf
24f7d90caf p5-HTML-Parser is in pkgsrc/www, not pkgsrc/libwww. 1999-01-13 02:56:11 +00:00
kim
8f5ad5fb57 Upgrade to 5.36 (fixes some problems with hung connections). 1999-01-11 22:35:14 +00:00
agc
f7c4996e0b Add NetBSD RCS Ids. 1998-08-07 13:27:33 +00:00
agc
988019b016 Update package Makefiles for automatic manual page handling. 1998-06-22 12:58:33 +00:00
agc
6e7b5cf644 Move to relative paths in the pkgsrc tree. 1998-04-24 09:20:33 +00:00
frueauf
49e36ada0b Substitute all obvious FreeBSD ppl as MAINTAINER with packages@netbsd.org. 1998-04-20 11:56:17 +00:00
agc
258b808c9f Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.
1998-04-15 10:38:15 +00:00
hubertf
f535cf3701 Replace "<$ARCH"> by "${MACHINE_ARCH}", keep "<$ARCH>"
(in bsd.port.mk) for backward compatibility.
1998-01-28 15:33:44 +00:00
hubertf
09fb237751 portlint: remove empty line at EOF 1998-01-24 23:55:29 +00:00
hubertf
513d7c2e0e portlint: fix RCS Id 1998-01-24 23:55:00 +00:00
hubertf
b81c44d69c Fix RCS Id, PLIST 1997-11-22 05:12:44 +00:00
hubertf
bea73e3a44 for x11/p5-Tk 1997-11-22 05:10:36 +00:00