Commit graph

85 commits

Author SHA1 Message Date
adam
8f002d1449 Changes 1.10.2:
* Buffer overrun fixed in NTLM code
2005-10-14 10:12:12 +00:00
wiz
243f5ba196 Update to 1.10.1:
* Wget 1.10.1 is a bugfix release with no user-visible changes.
2005-09-05 16:45:32 +00:00
wiz
d58635fa7d Update to 1.10:
* Changes in Wget 1.10.

** Downloading files larger than 2GB, sometimes referred to as "large
files", now works on systems that support them.  This includes the
majority of modern Unixes, as well as MS Windows.

** IPv6 is now supported by Wget.  Unlike the experimental code in
1.9, this version supports dual-family systems.  The new flags
`--inet4' and `--inet6' (or `-4' and `-6' for short) force the use of
IPv4 and IPv6 respectively.  Note that IPv6 support has not yet been
tested on Windows.

** Microsoft's proprietary "NTLM" method of HTTP authentication is now
supported.  This authentication method is undocumented and only used
by IIS.  Note that *proxy* authentication is not supported in this
release; you can only authenticate to the target web site.

** Wget no longer truncates partially downloaded files when download
has to start over because the server doesn't support Range.  Instead,
with such servers Wget now simply ignores the data up to the byte
where the last attempt left off, and only then continues appending to
the file.  That way the downloaded file never shrinks, and download
retries from servers without support for partial downloads work even
when downloading to stdout.

** SSL/TLS changes:

*** SSL/TLS downloads now attempt to verify the server's certificate
against the recognized certificate authorities.  This requires CA
certificates to have been installed in a location visible to the
OpenSSL library.  If this is not the case, you can get the bundle
yourself from a source you trust (for example, the bundle extracted
from Mozilla available at http://curl.haxx.se/docs/caextract.html),
and point Wget to the PEM file using the `--ca-certificate'
command-line option or the corresponding `.wgetrc' command.

*** Secure downloads now verify that the host name in the URL matches
the "common name" in the certificate presented by the server.

*** Although the above checks provide more secure downloads, they
unavoidably break interoperability with some sites that worked with
previous versions, particularly those using self-signed, expired, or
otherwise invalid certificates.  If you encounter "certificate
verification" errors or complaints that "common name doesn't match
requested host name" and are convinced of the site's authenticity, you
can use `--no-check-certificate' to bypass both checks.

*** Talking to SSL/TLS servers over proxies now actually works.
Previous versions of Wget erroneously sent GET requests for https
URLs.  Wget 1.10 utilizes the CONNECT method designed for this
purpose.

*** The SSL/TLS-related options have been redesigned and, for the
first time, documented in the manual.  The old, undocumented, options
are no longer supported.

** Passive FTP is now the default FTP transfer mode.  Use
`--no-passive-ftp' or specify `passive_ftp = off' in your init file to
revert to the old behavior.

** The `--header' option can now be used to override generated
headers.  For example, `wget --header="Host: foo.bar"
http://127.0.0.1' tells Wget to connect to localhost, but to specify
"foo.bar" in the `Host' header.  In previous versions such use of
`--header' lead to duplicate headers in HTTP requests.

** The responses without headers, aka "HTTP 0.9" responses, are
detected and handled.  Although HTTP 0.9 has long been obsolete, it is
still occasionally used, sometimes by accident.

** The progress bar is now updated regularly even when the data does
not arrive from the network.

** Wget no longer preserves permissions of files retrieved by FTP by
default.  Anonymous FTP servers frequently use permissions like "664",
which might not be what the user wants.  The new option
`--preserve-permissions' and the corresponding `.wgetrc' variable can
be used to revert to the old behavior.

** The new option `--protocol-directories' instructs Wget to also use
the protocol name as a directory component of local file names.

** Options that previously unconditionally set or unset various flags
are now boolean options that can be invoked as either `--OPTION' or
`--no-OPTION'.  Options that required an argument "on" or "off" have
also been changed this way, but they still accept the old syntax for
backward compatibility.  For example, instead of `--glob=off' you can
write `--no-glob'.

Allowing `--no-OPTION' for every `--OPTION' and the other way around
is useful because it allows the user to override non-default behavior
specified via `.wgetrc'.

** The new option `--keep-session-cookies' causes `--save-cookies' to
save session cookies (normally only kept in memory) along with the
permanent ones.  This is useful because many sites track important
information, such as whether the user has authenticated, in session
cookies.  With this option multiple Wget runs are treated as a single
browser session.

** Wget now supports the --ftp-user and --ftp-password command
switches to set username and password for FTP, and the --user and
--password command switches to set username and password for both FTP
and HTTP.  The --http-passwd and --proxy-passwd command switches have
been renamed to --http-password and --proxy-password respectively, and
the related http_passwd and proxy_passwd .wgetrc commands to
http_password and proxy_password respectively.  The login and passwd
.wgetrc commands have been deprecated.

* `wget -b' now works correctly under Windows.
2005-07-02 15:10:23 +00:00
wiz
d1b9bd0ea4 USE_PERL5 -> USE_TOOLS+=perl. 2005-06-24 17:28:15 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
tv
f861bb40ef Split out wget's options into an options.mk.
Migrate WET_USE_SSL to PKG_OPTIONS.wget=ssl (on by default, as previously).
2005-02-09 17:51:47 +00:00
bouyer
935fa48ec7 Apply fix from Bryan J. Phillippe in pkg/29279: zero out struct sockaddr
before using it.
Bump PKGREVISION.
2005-02-09 11:42:38 +00:00
bouyer
b4b35c7537 ipv6-mapped ipv4 addresses aren't enabled by default on NetBSD, and probably
others OS as well. Patch wget so that it won't try to use ipv6-mapped ipv4
addresses, but uses INET4 socket sockets instead. Bump pkgrev.

Fix issues with v6-enabled wget reported on tech-pkg.
2005-01-25 20:07:25 +00:00
bouyer
4130b2a8f0 bump PKGREVISION for ipv6 support. 2005-01-13 13:33:19 +00:00
bouyer
3af67119d7 Support IPv6 via PKG_SUPPORTED_OPTIONS= inet6. Reviewed by Juan RP. 2005-01-13 13:30:08 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
danw
51d18c346e Remove some old rpath hacks that aren't needed with modern buildlink3.
Fixes the build on darwin (PR 25326)
2004-05-16 20:27:04 +00:00
snj
e9321cb373 Convert to buildlink3. 2004-04-18 07:07:06 +00:00
wiz
a661ce60c0 PKGREVISION bump after openssl-security-fix-update to 0.9.6m.
Buildlink files: RECOMMENDED version changed to current version.
2004-03-26 02:27:34 +00:00
drochner
0e233e4cdc The test for sigsetjmp() is botched becayse it doesn't include <setjmp.h>.
Just tell the configure script that it exists.
Fixes build an amd64.
2004-02-25 20:13:09 +00:00
jlam
3ebe053d90 LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:49 +00:00
wiz
a2551edefe Update to 1.9.1:
* Wget 1.9.1 is a bugfix release with no user-visible changes.

* Changes in Wget 1.9.

** It is now possible to specify that POST method be used for HTTP
requests.  For example, `wget --post-data="id=foo&data=bar" URL' will
send a POST request with the specified contents.

** IPv6 support is available, although it's still experimental.

** The `--timeout' option now also affects DNS lookup and establishing
the TCP connection.  Previously it only affected reading and writing
data.  Those three timeouts can be set separately using
`--dns-timeout', `--connection-timeout', and `--read-timeout',
respectively.

** Download speed shown by the progress bar is based on the data
recently read, rather than the average speed of the entire download.
The ETA projection is still based on the overall average.

** It is now possible to connect to FTP servers through FWTK
firewalls.  Set ftp_proxy to an FTP URL, and Wget will automatically
log on to the proxy as "username@host".

** The new option `--retry-connrefused' makes Wget retry downloads
even in the face of refused connections, which are otherwise
considered a fatal error.

** The new option `--dns-cache=off' may be used to prevent Wget from
caching DNS lookups.

** Wget no longer escapes characters in local file names based on
whether they're appropriate in URLs.  Escaping can still occur for
nonprintable characters or for '/', but no longer for frequent
characters such as space.  You can use the new option
--restrict-file-names to relax or strengthen these rules, which can be
useful if you dislike the default or if you're downloading to
non-native partitions.

** Handling of HTML comments has been dumbed down to conform to what
users expect and other browsers do: instead of being treated as SGML
declaration, a comment is terminated at the first occurrence of "-->".
Use `--strict-comments' to revert to the old behavior.

** Wget now correctly handles relative URIs that begin with "//", such
as "//img.foo.com/foo.jpg".

** Boolean options in `.wgetrc' and on the command line now accept
values "yes" and "no" along with the traditional "on" and "off".

** It is now possible to specify decimal values for timeouts, waiting
periods, and download rate.  For instance, `--wait=0.5' now works as
expected, as does `--dns-timeout=0.5' and even `--limit-rate=2.5k'.
2003-12-08 21:44:35 +00:00
jschauma
fe19bb05b5 PKGREVISION++ after openssl update. 2003-11-12 03:39:39 +00:00
seb
56b682547a USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:59:08 +00:00
seb
01b8cdea6b Convert to USE_NEW_TEXINFO. 2003-08-04 14:27:29 +00:00
grant
ca3be631f2 s/netbsd.org/NetBSD.org/ 2003-07-17 22:50:55 +00:00
wiz
43fa0c7cb6 PKGREVISION bump for libiconv update. 2003-07-13 13:50:19 +00:00
grant
00dd0d0aae don't use bare ${RPATH_FLAG}, prefix with -Wl, to allow FIX_RPATH to
perform its magic.

allows this to build again on Darwin.
2003-06-11 21:31:13 +00:00
jmmv
f20ec469cc Fix build on platforms where rpath is not used (like Darwin).
Closes PR pkg/21651 by Michael Wolfson.
2003-06-04 09:02:24 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmmv
b7720ab178 Merge two patches that were modifying the same file (configure).
Ensure that RPATH_FLAG is seen by configure (fixes build).
Include bsd.prefs.mk for the WGET_USE_SSL variable and add it to BUILD_DEFS.
Some Makefile cleanup.
2003-03-22 12:06:16 +00:00
jschauma
6e186fe382 Use RPATH_FLAG for configure.
Also only compile with ssl if the variable is set (which it is by default).
2003-03-18 22:59:52 +00:00
jschauma
10126c0632 This does not seem to need GMAKE after all. 2003-03-13 17:08:22 +00:00
jlam
d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00
tron
e3c7760ea1 Cleanup a bit. 2002-12-17 15:57:31 +00:00
drochner
ed01400ed2 make this work (USE_LIBTOOL, fix some "configure" nonsense which
conflicted with out libtool hacks)
2002-12-16 16:14:06 +00:00
wiz
41b7dd1e72 Update to 1.8.2, with the recently discovered security problem
already fixed (patches from RedHat RPM).

Note: this package does not support IPv6 any longer, since no
updated IPv6 patch for wget-1.8.2 exists (to my knowledge).
The next major wget release is expected to contain IPv6 support.

Uservisible changes since 1.7:
** A new progress indicator is now available and used by default.
You can choose the progress bar type with `--progress=TYPE'.  Two
types are available, "bar" (the new default), and "dot" (the old
dotted indicator).  You can permanently revert to the old progress
indicator by putting `progress = dot' in your `.wgetrc'.

** You can limit the download rate of the retrieval using the
`--limit-rate' option.  For example, `wget --limit-rate=15k URL' will
tell Wget not to download the body of the URL faster than 15 kilobytes
per second.

** Recursive retrieval and link conversion have been revamped:

*** Wget now traverses links breadth-first.  This makes the
calculation of depth much more reliable than before.  Also, recursive
downloads are faster and consume *significantly* less memory than
before.

*** Links are converted only when the entire retrieval is complete.
This is the only safe thing to do, as only then is it known what URLs
have been downloaded.

*** BASE tags are handled correctly when converting links.  Since Wget
already resolves <base href="..."> when resolving handling URLs, link
conversion now makes the BASE tags point to an empty string.

*** HTML anchors are now handled correctly.  Links to an anchor in the
same document (<a href="#anchorname">), which used to confuse Wget,
are now converted correctly.

*** When in page-requisites (-p) mode, no-parent (-np) is ignored when
retrieving for inline images, stylesheets, and other documents needed
to display the page.

*** Page-requisites (-p) mode now works with frames.  In other words,
`wget -p URL-THAT-USES-FRAMES' will now download the frame HTML files,
and all the files that they need to be displayed properly.

** `--base' now works conjunction with `--input-file', providing a
base for each URL and thereby allowing the URLs in the file to be
relative.

** If a host has more than one IP address, Wget uses the other
addresses when accessing the first one fails.

** Host directories now contain port information if the URL is at a
non-standard port.

** Wget now supports the robots.txt directives specified in
<http://www.robotstxt.org/wc/norobots-rfc.txt>.

** URL parser has been fixed, especially the infamous overzealous
quoting.  Wget no longer dequotes reserved characters, e.g. `%3F' is
no longer translated to `?', nor `%2B' to `+'.  Unsafe characters
which are not reserved are still escaped, of course.

** No more than 20 successive redirections are allowed.
2002-12-16 11:39:00 +00:00
grant
f25fa1bb49 USE_PKGLOCALEDIR. 2002-12-01 01:04:03 +00:00
grant
5c9571d273 revert previous: needs further work because some pkgsrc patches don't
apply cleanly if USE_INET6 is undefined.
2002-12-01 01:00:55 +00:00
grant
cdfeab2db8 only apply IPv6 patches if USE_INET6 is set.
Fixes build on (earlier) operating systems without IPv6 support.
2002-11-30 18:03:20 +00:00
grant
3fca283c9f - honour PKG_SYSCONFDIR
- bump PKGREVISION

from Julio Merino in pkg/18981.
2002-11-21 11:05:56 +00:00
tron
d37d1a1495 Add secure HTTP support to the "wget" package. It is turned on by default
and can be turned of by "WGET_USE_SSL=NO".
2002-09-18 19:51:53 +00:00
tron
cc0828c187 Disable IPv6 support under Solaris because the "configure" script claims
that getaddrinfo(3SOCKET) is buggy.
2002-09-01 13:52:45 +00:00
jlam
1c57323789 Merge packages from the buildlink2 branch back into the main trunk that
have been converted to USE_BUILDLINK2.
2002-08-25 21:48:57 +00:00
jlam
e1be891dbc Change explicit build dependencies on perl into "USE_PERL5=build". This
makes these packages build correctly on Darwin where perl>=5.8.0 is
required.
2002-07-24 19:45:22 +00:00
pooka
269c52eb1a revert back to wget 1.7 until issues with ipv6 are solved in 1.8.1 2002-03-30 13:57:02 +00:00
pooka
e15b4dce02 Upgrade wget to 1.8.1
Highlights of changes since 1.7:
* bugfixes
* new progress bar indicator
* breath-first recursive descent
* host directories contain port information if the server is at a
  non-standard port
full list:
http://cvs.sunsite.dk/viewcvs.cgi/wget/NEWS?rev=WGET_1_8&content-type=text/plain

Provided by michal@pasternak.w.lub.pl in pkg/16124
2002-03-30 08:56:36 +00:00
seb
66111c6d15 Introduce new framework for handling info files generation and installation.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
2002-02-18 15:14:00 +00:00
jlam
478cba00bb By default, prevent invocation of GNU "auto*" driven by the generated
Makefiles during the build process by touching various auto{conf,make}
source files to make them up-to-date.  Packages that require regenerating
the configure script and Makefile.in files should make the appropriate
calls to auto{conf,make} in a pre-configure target.  This allows the
various targets listed in ${_CONFIG_PREREQ} to modify the generated files
without triggering the GNU auto* tools and having the modifications be
overwritten.
2001-12-04 06:14:57 +00:00
jlam
50013e9c2f Use AUTOMAKE_OVERRIDE instead of the custom pre-configure target. 2001-10-26 21:53:01 +00:00
jlam
66be95305f Don't workaround broken LDFLAGS setting in configure -- just fix it
directly by patching the script.  This causes LDFLAGS to be reset properly
before checking for gettext(), which now succeeds and causes the locale
files to be built.  Remove USE_LIBINTL as unnecessary.  Tested on
NetBSD-1.5W/i386 and NetBSD-1.5.1/mac68k.
2001-07-26 14:29:12 +00:00
tron
594e763473 Add build time dependence on "perl" package because manual page won't
be build otherwise.
2001-07-26 12:15:03 +00:00
tron
bd03c5a15a Reenable and fix KAME patch under Solaris because it includes an extra
translation.
2001-07-22 15:46:20 +00:00
tron
56f6b2b040 Don't apply KAME patch under Solaris because it causes build failures. 2001-07-22 15:19:16 +00:00
tron
ed557ee00b Add back "USE_LIBINTL= YES" because the locale files aren't built on
a 1.5 release system otherwise.
2001-07-17 12:04:16 +00:00