pkgsrc/www/wwwoffle/pkg/MESSAGE
fredb 3ba2601c44 Update wwwoffle to 2.6a:
Bug Fixes:
 Fix crash with invalid entries in config file.  Handle some invalid URL
 encodings that servers/clients use.  Stop crashes when monitoring illegal
 refresh URLs.  Handle malformed headers better.  Check the DontGet section of
 the configuration file when doing SSL.  Print error messages when starting on
 stderr.  Read the configuration file if using wwwoffle-write.  Fix bug with
 form argument parsing.  Set fetch-stylesheets to true in the default config
 file.  Bug fixes for modifying HTML with meta refresh tags.  Stop duplicated
 items in the configuration file.

Win32 Bug Fixes:
 Fixed logfile opening problem. Added a fchdir() function for cygwin.
 Workaround cygwin socket closing problem. Change the makefile for cygwin
 installation (don't auto install .dll or .bat).

Documentation
 Updated the Welcome.html page to include more links to useful information.
 Include an HTML version of README.CONF in the html directory.
 Updated several README files and INSTALL file.


*NOTE* The default location of the replacement .gif file for the DontGet section
       has changed, upgrade-config.pl should fix wwwoffle.conf automatically.

*NOTE* If upgrading from a version < 2.6 then see the notes for version 2.6.

NetBSD package changes:

- - Install upgrade-config-2.x-2.5.pl (as wwwoffle-upgrade-config-2.x-2.5.pl).
- - Protect convert-cache the same way as upgrade-config -- prefix with wwwoffle-.
- - Update MESSAGE file accordingly.
2001-03-12 19:08:37 +00:00

33 lines
1.7 KiB
Text

======================================================================
$NetBSD: MESSAGE,v 1.8 2001/03/12 19:08:37 fredb Exp $
1) To enable "wwwwoffled" to start on boot on NetBSD-1.5 or newer,
please copy "${PREFIX}/etc/rc.d/wwwoffled" to "/etc/rc.d/" and add
"wwwoffled=YES" to /etc/rc.conf. To do the same on older systems,
add the following to /etc/rc.local:
if [ -x ${PREFIX}/etc/rc.d/wwwoffle ]; then
${PREFIX}/etc/rc.d/wwwoffle
fi
2) If this was an upgrade, your cache may have been converted and
re-indexed automatically. If not, you may do so by executing the
command "${PREFIX}/sbin/wwwoffle-convert-cache /var/wwwoffle". To
upgrade your wwwoffle.conf file, try the perl script
"${PREFIX}/sbin/wwwoffle-upgrade-config.pl", and also
"${PREFIX}/sbin/wwwoffle-upgrade-config-2.x-2.5.pl", if required.
3) The hooks are present to to use the package version of "htdig",
if installed, to serve a searchable index of your cached pages.
To make the word database, start "wwwoffle" and execute the script
"/var/wwwoffle/html/search/htdig/scripts/wwwoffle-htdig-full".
4) A complete installation will purge the cache (and optionally
reindex the database for "htdig") periodically, as by the following
example "crontab fragment":
# wwwoffle proxy maintenance
01 1 * * 0-5 /usr/bin/nice ${PREFIX}/bin/wwwoffle -purge -c ${PREFIX}/etc/wwwoffle/wwwoffle.conf && /bin/sh /var/wwwoffle/html/search/htdig/scripts/wwwoffle-htdig-incr
01 1 * * 6 /usr/bin/nice ${PREFIX}/bin/wwwoffle -purge -c ${PREFIX}/etc/wwwoffle/wwwoffle.conf && /bin/sh /var/wwwoffle/html/search/htdig/scripts/wwwoffle-htdig-full
======================================================================