Commit graph

33 commits

Author SHA1 Message Date
abs
d9b4f0c824 Update www/wwwoffle from 2.8e to 2.9a - from PR/34532 by Marko Schutz
Changelog runs to over 1000 lines
2006-09-26 13:48:56 +00:00
abs
457d34dee9 Update www/wwwoffle from 2.8e to 2.9a - from PR/34532 by Marko Schutz
Changelog runs to over 1000 lines
2006-09-26 13:48:43 +00:00
joerg
2d1d686fa6 Correctly use config file framework for wwwoffle.conf, also move
it under share/examples/wwwoffle like all other packages do.
Bump revision.
2006-04-11 08:10:40 +00:00
fredb
6832a16900 Update wwwoffle to Version 2.7e. From the NEWS file:
Bug Fixes:
 Correct some invalid HTML in the message files.  Fix some memory leaks, free
 some unfreed memory, check some pointers, close some files.  Don't send the
 extra arguments to POST requests that WWWOFFLE uses internally.  Removed
 segmentation fault potential when password not used in config file.  Another
 fix for the cookie problem.  Warn if running as root.  Try both IPv6 and IPv4
 socket binding (IPv6 may not accept IPv4).  Potential bug fix for page
 corruption.  Potential fix for IPv6 configuration on Solaris.

New Features:
 Add an option to have case-insensitive matching for URL-SPEC path and args.
 Added the option to only fetch images on the same host (automatic fetching).
 Allow URL-SPECs to contain an '=' sign embedded in them (long time bug fix).
 The monitor options page now accepts ranges of hours or days (e.g. '1-5n').

[Note: The change to IPv6 binding to not require IPv4-mapped addresses was
already present in the package as "patch-ac".]

[Note: TODO: Have the package create a user, and let the "rc.d" script run
wwwoffle as that user.]

Also, reorder ${MASTER_SITES} to comply with the request on the download
page, and work around an install target corner case for the benefit of bulk
build machines (only applies for hosts on which wwwoffle has never run).
2002-09-05 16:56:54 +00:00
fredb
b03b625e7a Update to version 2.7d. From the NEWS file:
Bug Fixes:
 Discard POST/PUT requests that have negative content-lengths.  Make the
 CanonicaliseHost() function robust to bad IP addresses.  Fix some memory leaks,
 free some unfreed memory.  Don't give socket error using '-f' option.  Fix
 compilation on Cygwin.  Fix IPv6 compilation on Solaris 9.  Bug fix for v2.7c
 Cookie change.  Don't replace '//' in a URL path with '/'.
2002-08-19 22:03:04 +00:00
fredb
1c7477d085 Fix PR pkg/17672 a little more portably, with patch suggested by Andrew
M. Bishop (wwwoffle's author/maintainer). With this, if IPv6-mapped IPv6
addresses are enabled, attempting to bind the wildcard address for both
protocols is not a fatal error.
2002-08-10 13:43:09 +00:00
itojun
865a511d81 one more instance of :: and 0.0.0.0 issue. by fredb 2002-08-06 01:58:34 +00:00
itojun
a5a3ead2a0 simply obey config file, don't do trick against :: and 0.0.0.0.
(patch sent to the author).  bump PKGREVISION
2002-08-06 01:20:20 +00:00
fredb
c7f528a950 In FTP_Request(), don't free "path" until we're really done with it, as
"file" is in "path"'s allocation. This fixes a bug where the server task
would randomly try to acces a file as a directory, and fail. Bump
PKGREVISION, as this was a fairly serious bug.
2002-07-25 15:56:19 +00:00
fredb
c75fe1231c Update to 2.7c. Straight from the NEWS file:
Bug Fixes:
 Install two DLLs for the Win32 version.  Don't crash for HTTP servers that send
 headers prefixed with whitespace.  Make the "edit selected entry" option work.
 Don't write uncompressed data to the cache with a header saying it is
 compressed.  Be more lenient in detecting spiders that cannot make requests.
 The wwwoffle-tools programs now handle dir names as if they had http:// in
 front.  Disallow wwwoffle requests for protocols that WWWOFFLE does not
 handle.  Use the command line config filename in error messages.  Fix to allow
 compilation on SGI IRIX.  Handle XHTML style tags when modifying HTML.  Updated
 setuid/setgid code.  Some memory leaks removed and potential crashes removed
 due to using lint).

New Features:
 Split up Set-Cookie headers since browsers can't handle them.
 Don't request deflated data since WWWOFFLE and servers don't agree on format.
 Added a form on the monitor options page to stop monitoring a URL.
 The confirm-requests option now asks for confirmation for page reloads.

Documentation:
 Update FAQ to reference privoxy as well as JunkBuster.
 Describe how to modify htdig templates to work with WWWOFFLE.
2002-07-16 14:28:07 +00:00
fredb
96c602805c Don't core just because a silly server, like my 3com [TM] Lan Modem,
puts leading white space at the beginning of the very first header
line. (Leading blanks are supposed to signify a continuation of the
previous header line, but for the "server:" line, there aren't any
previous lines, so who knows why they do that.) This patch was
suggested by Andrew M. Bishop, "wwwoffle"'s author and maintainer.
Don't know if it's going to be in the next release, or not.
2002-05-14 15:37:19 +00:00
fredb
e0e9ec9355 Update wwwoffle to 2.7b (from NEWS):
Bug Fixes:
 Ensure that only one argument is given to wwwoffle -o or -O.  Some more version
 2.7 documentation updates.  Fix crash using 'wwwoffle -O|-o|-put|-post <URL>'.
 Put refresh URLs in the outgoing directory with correct URL.  Delete
 auto-generated files in Makefile before re-generating.  Choosing 'edit selected
 item' in configuration pages shows current values.  Fix potential crash with
 wwwoffle-hash.  Put a DESTDIR variable in Makefile for easier installation.
 Fix parsing IPv6 addresses in audit-usage.pl script.  Makefile change for
 FreeBSD make.  Bug fix for the Alias section of the config file.  Fix Makefile
 for Win32.

New Features:
  Allow CGI scripts to be used with the built-in web server.
2002-04-25 10:43:26 +00:00
fredb
918a9ca4c9 Fix sprintf() overflow for long urls: sprintf() -> snprintf(). 2002-03-23 22:48:09 +00:00
fredb
0a5fe486f5 Update wwwwoffle to 2.7. Very many bug fixes, including fixes for
dealing better with javascript pages, and fixes for old ftp servers.
Lots of new features and configure options, too. Also, new
translations for French, Dutch, Polish, German; docs and notes in
a few other languages; and translations for local pages are now
selected by browser settings!
2002-03-10 22:14:29 +00:00
fredb
d92999722f Let the default configuration file be installed as "wwwoffle.conf.install",
rather than "wwwoffle.conf.default", so that wwwoffle-upgrade-config*.pl
can use it to populate the new config file with comments (and to minimize
gratuitious changes).
2001-08-18 20:31:13 +00:00
fredb
f989deaade This patch is no longer needed -- the tools now take an absolute path to be
a "localhost" URL. [Per Andrew M. Bishop, wwwoffle's author.]
2001-08-18 20:04:08 +00:00
fredb
0dfbc897e9 Don't call freeaddrinfo() with "0" argument -- it cores. 2001-08-16 04:23:45 +00:00
fredb
af2e50fab0 Update wwwoffle to version 2.6d. From the "NEWS" file...
Bug Fixes:
 Fix pagination problem in wwwoffled manual page.  Fix core dump with missing
 DontCompress section.  Fix error with convert-cache and uncompress-cache
 programs not recognising valid configuration items.  Fix harmless buffer
 overrun.  Improve the URL decoded strings displayed in indexes.  Don't complain
 about empty directory when installing.  Canonicalise the pathname in URLs.
 Compile on __bsdi__ systems.  Convert decimal IP addresses to dotted-quad.
 Add support for compilation on Apple OS X.  Enable HTML modifications on URLs
 with error status.  Use a case-insensitive check when censoring headers.  Fix
 up HTML to that it validates with an SGML checker.

New Features:
 Added IPv6 support.
 Added bind-ipv4 and bind-ipv6 options to specify local IP address to bind to.
 Added 'random' sort order option for indexes.
 Made index sorting use alphabetical as a secondary sort.
 Added HTTP/1.1 'Cache-Control: max-age=..' header handling (same as 'Expires').

Translations:
 Updated the Russian translations of the WWWOFFLE messages.
2001-08-14 04:51:46 +00:00
fredb
e65bc1f071 Upgrade wwwoffle to 2.6c. From the "NEWS" file...
Bug Fixes:
 Changed the HTML message pages to be HTML 4 compliant (use ';' instead of '&'
 for URL arguments).  Fixed meta-refresh-self problem.  Don't get confused by
 scripts when parsing HTML.  Fix crash in convert-cache program.  Made
 compilation work on SGI machines.  Don't truncate partial cached file.  Fix the
 request-changed option.

New Features:
 Add comments where WWWOFFLE modifies the original page's HTML.
 Add the option to remove stylesheets, external links and embedded styles.
 Add the option to remove Java applets.
 Add options to remove links and replace images listed in the DontGet section.
 Add the option to not fetch webbugs (1x1 pixel images) when parsing HTML.
 Add the option to replace webbugs (1x1 pixel images) when modifying HTML.

Translations:
 Added Dutch translations of WWWOFFLE messages.
2001-04-22 06:44:39 +00:00
fredb
35c55af338 Add missing "NetBSD" CVS tag. 2001-04-22 06:37:38 +00:00
itojun
22ba2c8a32 upgrade to 2.6b + IPv6 patch.
Version 2.6b of WWWOFFLE released : Sat Mar 24 14:30:00 2001
------------------------------------------------------------

Bug Fixes:
 HTML parsing optimisations.  HTML parser memory leak fixed.  Fix stylesheet
 link parser.  Stop cached pages containing trailing junk.  Fixed wwwoffle
 manual page quote character bug.  Fix problems parsing parameter strings in
 URLs.  Fix ssl-allow-port config file parsing.

Win32 Bug Fixes:
 Fixed the socket closing code.

Documentation:
 Updated the README.win32 file.
 Updated FAQ to version 2.6.
 Updated French translated pages.
 Added a README.compress that describes the compression problems and solutions.

New Features:
 Request data from servers is sent compressed, config option (see zlib note).
 Reply to client with compressed data if asked, config option (see zlib note).
 Compress the files in the cache when purging, based on age (see zlib note).
 Allow fetching in autodial mode as well as online mode.


*NOTE* The use of zlib to enable compression should be considered a beta quality
       feature in this version.  It requires the zlib library to compile it.

*NOTE* If upgrading from a version < 2.6a then see the notes for version 2.6a.
2001-04-13 13:46:34 +00:00
itojun
b57bed3af6 upgrade to 2.6. pull IPv6 patch from ftp.kame.net (maintenance reason)
Version 2.6 of WWWOFFLE released : Sat Nov 18 19:15:00 2000
-----------------------------------------------------------

Bug Fixes:
 Improve HTML modification for unterminated tags.  Allow passworded pages to be
 fetched.  Improve compilation on non-Linux systems.  Fix bug with proxy config
 file entry.  Fix an error with not truncating files.  Fix an error with
 dir-perm and file-perm.  Fix problem when getting pages with passwords.  Fix
 problem deleting pages with passwords.

Documentation
 Added a note to the FAQ about DoS attacks and ipchains.


*NOTE* If upgrading from version 2.[2345] then you will need to convert your
       cache to the new format, see the file CONVERT for details.

*NOTE* If upgrading from version 2.4[abc] the max-size option in the Purge
       section of the configuration file has changed.  See CHANGES.CONF.

*NOTE* If upgrading from version 2.[123] the setting of the times of monitoring
       URLs has changed, check the monitor index and correct where needed.

*NOTE* If upgrading from version 1.x or 2.[01] then you will need to delete
       your cache since conversion from those formats is no longer provided.


Version 2.6-beta of WWWOFFLE released : Sun Oct 22 10:30:00 2000
----------------------------------------------------------------

Bug Fixes:
 Handle usernames specified in URLs including the '@' character.  Fix problems
 deleting URLs with arguments.  Fix bug with recursive fetching in same dir.
 Retry the select system call if it is interrupted.

Win32 Bug Fixes:
 Fix for local web-pages not being opened in binary mode.  Compilation fixes.

Internal Changes:
 Re-examined all URL-encoding and URL-decoding issues (small cache change).
 Ensure that the canonical form of the URL is used throughout.
 Changed the URLs in the indexes for monitor, delete & refresh.

Documentation
 Re-written the README.CONF file with new layout and more information.
 Added three more questions to the FAQ and updated several others.

Configuration File
 Allow many of the configuration file options be selectable on a URL by URL basis.
 Move some configuration file options around and create some new sections.
 Allow purge ages to be specified in larger units (weeks, months, years).
 Allow re-request times to be specified in larger units (minutes, hours, days).

New Configuration Options
 Add the ability to demoronise HTML (replace bogus characters with real ones).
 Add the ability to remove meta refresh tags that redirect browsers.
 Added the option to convert redirections to DontGet pages to errors.
 Allow the HTML modifications to happen to pages viewed when online.
 Add timeouts to DNS lookups to stop WWWOFFLE servers hanging up.
 Add the option to enable the use of lock files (defaults to disabled).

New Features
 Remove the index of the latest pages (was slow on big caches).
 Add an index of the pages that were in the outgoing directory last time.
 Change the don't cache option so that pages are not requested when offline.
 Allow password protected URLs to be deleted.
 Aliased pages now use a redirect rather than re-writing the URL.
 Make it safe to have symlinks in the cache.

Searching
 Changed the ht://Dig search URLs in WWWOFFLE from /htdig/* to /search/htdig/*.
 Allow the use of UdmSearch instead of ht://Dig.

Contrib
 Improved the audit-usage.pl script to show cache hit/miss status for requests.
2000-11-20 05:12:38 +00:00
itojun
b30abcb890 upgrade to 2.5e (since 2.5e is no longer available on ftp site) 2000-06-06 13:22:28 +00:00
itohy
bd44ecb553 Upgraded to 2.5d.
Related changes:
 - Fix the permissions for the installed files
   (this fix is the same one that Frederick Bruckman did for 2.5c).
 - Remove the extra newline added to POST requests.
 - Only clear the supplementary group list if running as root.
 - Stopped overflow of 32 bit integer when purging.
 - Allow wrong reply to CWD from broken FTP server.
 - Don't get confused by badly nested script or blink tags.
 - Disallow the Accept-Encoding header on outgoing requests.
 - Make the URL-SPECIFICATION in the config file have lower case
   for protocol and host.
 - Modified the Meta refresh tag handling.
 - Fix FTP directory listings for files with ':' in them.
 -   and other bug fixes.

 - Added Russian and Polish translations of WWWOFFLE messages.

 - Updated FAQ.
2000-02-22 00:48:58 +00:00
fredb
6720a06627 Restore correct permissions to spool directory. Per Andrew M. Bishop,
wwwoffle's author, removing world read permissions from the spool directory
was a mistake, which will be rectified in wwwoffle-2.5d.
2000-02-21 03:10:34 +00:00
itohy
735f92fc27 Update to 2.5c, which fixes descriptor leakage on zero-length directories.
Requested by Christoph Badura.
2000-02-16 00:24:39 +00:00
agc
0a4280ecbc Make this package compile on Solaris. 1999-12-07 08:50:49 +00:00
itohy
dc68cb1778 Treat broken URL's like "http://foo.bar:80?query" (no '/' between
port and query part) as "http://foo.bar:80/?query".
Patch is from the wwwoffle author via Feico Dillema.
1999-11-30 03:53:29 +00:00
itohy
b3a20c1613 - Update to 2.5b.
Based on PR #8562 by Feico Dillema.
- Do not automatically remove the cache on un-installation.
1999-11-26 06:09:00 +00:00
tron
775827e921 Update "wwwoffle" package to version 2.4 and add IPv6 support.
Patches supplied by Feico Dillema in PR pkg/8290.
1999-09-03 21:07:36 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
tron
472d4c94c7 Update "wwwoffle" to version 2.2. 1998-07-13 18:20:08 +00:00
tron
36e6c1efcf New "wwwoffle-2.1c" package made by Mario Kemper:
WWW proxy with support for offline browsing
1998-06-06 17:03:58 +00:00