Version 2.9j of WWWOFFLE released : Sat 23 Mar 2016
---------------------------------------------------
Bug Fixes
Fix to remove compilation warnings for [gs]etres[ug]id() functions.
Don't delete newlines from within quoted strings when modifying HTML.
Accept 'Transfer-Encoding: Chunked' instead of '... chunked'.
Increase the socket backlog to queue requests better.
Documentation changes for mailing lists, web-page and e-mail addresses.
Accept data from servers that use gzip encoding but don't send the tail.
Improve the error messages for gnutls problems. [*]
Some gnutls fixes and improvements. [*]
Fix an error with chunked encoding and compression from slow servers.
Fix HTML (and CSS) parsing problems related to media types.
Improvements:
Increase the root certificate and fake certificates to 2048 bits. [*]
Change the certificate hash function to SHA256 (SHA1 is deprecated). [*]
Use the SNI TLS extension for incoming and outgoing https connections. [*]
*NOTE* *These only apply if WWWOFFLE is compiled with SSL/https support*
Version 2.9i of WWWOFFLE released : Mon 15 Oct 2012
---------------------------------------------------
Bug Fixes
Check the flex and lex programs are found by configure.
Allow https requests in outgoing to be requested when next online as https.
Don't detect webbugs for images with width and height set to auto.
Fix problem with infinite loop when root certificate expires.
Version 2.9h of WWWOFFLE released : Mon Oct 3 13:00:00 2011
-----------------------------------------------------------
Bug Fixes:
Remove some gcc warnings.
Delete keys & certs differently (fix crash with some gnutls versions). [*]
Try decompressing buffered compressed data before asking for more.
Handle buffered https data better. [*]
Improvements:
Improve the SSL/https error messages (gnutls error conditions). [*]
Use version 3 SSL certificates. [*]
*NOTE* *These only apply if WWWOFFLE is compiled with SSL/https support*
Version 2.9g of WWWOFFLE released : Sun Mar 27 11:00:00 2011
------------------------------------------------------------
Bug Fixes:
Fix 2038 UNIX time_t problem with SSL certificates.
Allow a margin on current time when warning about future timestamps.
Check for libgnutls and libgcrypt separately at configure time.
Better handling of the command line recursive options.
New Features:
A new option allows passing URLs from browser to server unmodified.
Version 2.9f of WWWOFFLE released : Sun Jan 31 19:00:00 2010
------------------------------------------------------------
Bug Fixes:
Some compilation warnings caused by flex have been removed.
When making a HEAD request use the cached version if possible.
Don't use the libgnutls-config program in the configure script.
Only remove "authorization" header if it is "basic" authentication.
Send a 304 header when online if cached page won't be refreshed.
Clarify SSL/HTTPS error messages and documentation.
Clarify last online/offline messages from 'wwwoffle -status'.
Perform MIME type tests case insensitively.
New Features:
A new option to the wwwoffle program closes and re-opens the server log file.
Documentation:
Several small fixes to documentation.
New SSL Features [*]:
A faster but less cryptographically secure key generation option is provided.
The expiration time of the SSL certificates can be increased from one year.
*NOTE* *These only apply if WWWOFFLE is compiled with SSL/https support*
Version 2.9e of WWWOFFLE released : Sun Jan 25 16:00:00 2009
------------------------------------------------------------
Bug Fixes:
Handle deflate compression errors. Don't allow wwwoffle program to make
requests that won't be got. Handle various encodings of URLs in HTML documents
better. Display a note on the monitor form if the page is already monitored.
Stopped an error message when refreshing while online.
Documentation:
Several small fixes to documentation.
Version 2.9d of WWWOFFLE released : Wed Jan 23 19:00:00 2008
------------------------------------------------------------
Bug Fixes:
Don't output extra space before XHTML closing tag when modifying HTML. Don't
error in case of race condition creating directory. Remove the generation and
display of the XML format certificate. Fix bug with decompressing zlib data.
Ensure that creating files supplies a permission option. Fetch image URLs
stored in style attributes.
Documentation:
Improve documentation of http-port and https-port configuration file options.
New Features:
Add a new option to the CensorHeader section called referer-from.
Add a new option to the FetchOptions section called iframes (default=no).
Version 2.9c of WWWOFFLE released : Sun Jul 15 14:30:00 2007
------------------------------------------------------------
Bug Fixes:
Don't truncate the log file when opening it. Fix some memory leaks and other
lint problems. Fix problem with info page for compressed cached files. More
fixes for 64-bit compilation. Fix potential crash with case-insensitive
wildcard matching. Try to only get IPv4 socket info if no IPv6 addresses on
system. Better handling of https error if connection fails. Add more
information to fatal errors related to SSL certificates.
Version 2.9b of WWWOFFLE released : Fri Feb 16 09:30:00 2007
------------------------------------------------------------
Bug Fixes:
Fix some string allocations. Don't delete the lasttime cached spool file if
page was fetched in this session. Fix HTML parsing of '\' inside or outside
quoted strings. Make sure that files are truncated when opened. Display
non-empty value in monitor page hour-of-day setting for default value. Some
documentation updates.
New Features:
Expired SSL certificates are deleted and replaced.
*NOTE* *This only applies if WWWOFFLE is compiled with SSL/https support*
WWWOFFLE creates SSL certificates with a 1 year expiry period. When they
expire web browsers will start to give errors. If the WWWOFFLE root
Certificate Authority certificate expires then all sites will give SSL
errors. Deleting the existing WWWOFFLE CA certificate from the browser
and installing the new one will fix this problem (the WWWOFFLE CA
certificate can be loaded from https://localhost:8443/certificates/root).
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
INSTALL/DEINSTALL script creation within pkgsrc.
If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts. If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:
INSTALL_SRC= ${PKGDIR}/INSTALL
DEINSTALL_SRC= # emtpy
As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts. By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).
In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework. The only public variables relating to the templates are:
INSTALL_SRC INSTALL_TEMPLATE
DEINSTALL_SRC DEINSTALL_TEMPLATE
HEADER_TEMPLATE
The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
Changes since 2.8c:
* src/version.h, doc/NEWS: Update to version 2.8e.
* src/wwwoffle-tools.c:
Fix previous wwwoffle-mv change and preserve timestamps.
* src/configdata.c:
Make the default value for reply-chunked-data match the documentation.
* src/info.c: Indicate on the info page if the URL has been requested.
* src/wwwoffles.c: Handle HEAD requests more intelligently.
When online send HEAD don't cache them, when offline convert to GET if not cached.
* doc/README: Updated description of wwwoffle-mv program.
* src/configdata.c, src/wwwoffles.c, conf/upgrade-config.pl,
conf/wwwoffle.conf.template, doc/CHANGES.CONF, doc/README.CONF,
src/config.h:
Added a new option cache-control-max-age-0 to OnlineOptions and OfflineOptions.
* doc/FAQ: Another solution to the infamous libc resolver problem.
* src/wwwoffles.c: No functional changes.
Added more comments relating to Fetch mode, and on mode for else statements.
Rearranged code so that mode==Fetch is evaluated with others in else branch.
* src/wwwoffles.c:
Fix two places where being in Fetch mode would go wrong
(aliased URL and unauthenticated proxy request).
* doc/README, doc/README.CONF: Some text changes.
* src/wwwoffle-tools.c: Allow moving files and changing the path.
* src/control.c: Fix spurious error message.
* doc/wwwoffle.conf.man.template:
Updated the dates in the footer/header.
* src/spool.c:
Only print an error for a missing monitor time file if the URL is monitored.
Version 2.8d of WWWOFFLE released.
* doc/NEWS, src/version.h: Update to version 2.8d.
* doc/README:
Update acknowledgements section (removal of old GIF code).
* src/gifmodify.c:
All new GIF modification code (handles GIF87a and GIF89a).
* doc/README.CONF:
Make sure that all lines are less than 78 characters long.
* src/htmlmodify.l, conf/upgrade-config.pl,
conf/wwwoffle.conf.template, doc/CHANGES.CONF, doc/README.CONF,
src/config.h, src/configdata.c:
Add a new option to remove HTML "marquee" effect (scrolling text).
* src/Makefile.in, src/configedit.c, src/control.c, src/index.c,
src/monitor.c, src/refresh.c:
Give warnings if processing URL arguments and an unexpected one is seen.
* conf/wwwoffle.conf.template, doc/CHANGES.CONF, doc/README,
doc/README.CONF, src/config.h, src/configdata.c, src/htmlmodify.l,
conf/upgrade-config.pl:
Add an HTMLModify option to fix bad cyrillic coding.
* src/wwwoffle-tools.c: Return an error status in case of a failure.
* src/wwwoffles.c:
Make sure that there is a message from 'wwwoffle -fetch' for all URLs.
* src/miscurl.c: Fix hostname character checking.
* src/document.c: Parse xhtml pages for links and images.
* src/info.c: Display source of xhtml and xml pages.
* src/wwwoffles.c: Add cache information to xhtml pages.
* doc/README.CONF: Clarify the try-without-password option wording.
* src/miscurl.c:
When splitting a URL disallow invalid characters in hostnames.
* src/wwwoffled.c: Change log file ownership before changing uid/gid.
Close stdin/stdout/stderr after detaching from terminal not before.
Don't open log file again after detaching from terminal.
Don't force usage of stderr when re-initialising error handler.
* doc/README.CONF, src/configmisc.c:
A URL-SPEC path like '/*/foo*' matches '/foo*' and '/*/foo*' as a special case.
* src/cgi.c, src/search.c:
Fix bug with setting up stdout for CGI program.
* src/errors.c: Fix bug that left file descriptor open on log file.
* src/document.h, src/htmlmodify.l, src/wwwoffles.c:
Disable the demoronise-ms-html option if the HTML is UTF-8 or other multibyte charset.
And always is defined as share/examples/rc.d
which was the default before.
This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.
This was discussed on tech-pkg in late January and late April.
Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.
This is from ideas from Greg Woods and others.
Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
under ${PREFIX} instead of being an absolute path.
So fix the references using RCD_SCRIPTS_EXAMPLEDIR to be
${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}.
This should have no changes to use before.
Please note that the MESSAGE files in most cases are wrong in the
first place. We have automated mechanisms and could have an automated
message for explaining rc.d script usage. (This is something to do!)
patch provided by Ove Soerensen in PR 26792
changes compared to 2.7f:
wwwoffle 2.8c contains various fixes and new features. For example the
removal of some memory-leaks, fixes for race-conditions and it's noew
CSS aware and has support for chunked encoding.
which installs to ${RCD_SCRIPTS_EXAMPLEDIR}. But the MESSAGE
referred to wrong hard-coded location if the RCD_SCRIPTS_EXAMPLEDIR
was not the default. So use RCD_SCRIPTS_EXAMPLEDIR instead.
PKGREVISION not bumped because if someone had changed
RCD_SCRIPTS_EXAMPLEDIR before recent change of autoregistration
of rc.d script in PLIST, then it could not have been packaged
in first place.
Note that this commit does not imply that the MESSAGE is correct.
In some cases, the MESSAGE is clearly wrong such as suggesting
running the rc.d script from the example directory (which will work
although).
the RCD_SCRIPTS rc.d script(s) to the PLIST.
This GENERATE_PLIST idea is part of Greg A. Woods'
PR #22954.
This helps when the RC_SCRIPTS are installed to
a different ${RCD_SCRIPTS_EXAMPLEDIR}. (Later,
the default RCD_SCRIPTS_EXAMPLEDIR will be changed
to be more clear that they are the examples.)
These patches also remove the etc/rc.d/ scripts from PLISTs
(of packages that use RCD_SCRIPTS). (This also removes
now unused references from openssh* makefiles. Note that
qmail package has not been changed yet.)
I have been doing automatic PLIST registration for RC_SCRIPTS
for over a year. Not all of these packages have been tested,
but many have been tested and used.
Somethings maybe to do:
- a few packages still manually install the rc.d scripts to
hard-coded etc/rc.d. These need to be fixed.
- maybe remove from mk/${OPSYS}.pkg.dist mtree specifications too.