diff options
author | fredb <fredb> | 2002-09-05 16:56:54 +0000 |
---|---|---|
committer | fredb <fredb> | 2002-09-05 16:56:54 +0000 |
commit | c5056d5c273a4e716823197d80f0f7c15c298777 (patch) | |
tree | 9e0473baa9a4d253a2c708de06be7a2340ac7550 /www/wwwoffle/patches | |
parent | 9fc794755aba6b9f904c23b2ea76fdac2050e5b0 (diff) | |
download | pkgsrc-c5056d5c273a4e716823197d80f0f7c15c298777.tar.gz |
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).
Diffstat (limited to 'www/wwwoffle/patches')
-rw-r--r-- | www/wwwoffle/patches/patch-ac | 112 |
1 files changed, 0 insertions, 112 deletions
diff --git a/www/wwwoffle/patches/patch-ac b/www/wwwoffle/patches/patch-ac deleted file mode 100644 index f7d7921cf78..00000000000 --- a/www/wwwoffle/patches/patch-ac +++ /dev/null @@ -1,112 +0,0 @@ -$NetBSD: patch-ac,v 1.6 2002/08/10 13:43:09 fredb Exp $ - ---- src/wwwoffled.c.orig Sun Jun 23 06:02:35 2002 -+++ src/wwwoffled.c -@@ -279,8 +279,7 @@ - if(uid!=-1 || gid!=-1) - PrintMessage(Inform,"Running with uid=%d, gid=%d.",geteuid(),getegid()); - -- -- /* Bind the HTTP proxy sockets. */ -+ /* Bind the HTTP proxy socket(s). */ - - #if USE_IPV6 - if(ConfigString(Bind_IPv6)) -@@ -291,40 +290,33 @@ - } - #endif - --#if USE_IPV6 -- if(http_fd[1]!=-1 && ConfigString(Bind_IPv4) && ConfigString(Bind_IPv6) && -- !strcmp(ConfigString(Bind_IPv6),"0:0:0:0:0:0:0:0") && !strcmp(ConfigString(Bind_IPv4),"0.0.0.0")) -- PrintMessage(Inform,"Not creating HTTP IPv4 server socket on all addresses since IPv6 one is bound to all addresses."); -- else -+ if(ConfigString(Bind_IPv4)) - { --#endif -- if(ConfigString(Bind_IPv4)) -+ http_fd[0]=OpenServerSocket(ConfigString(Bind_IPv4),ConfigInteger(HTTP_Port)); -+ if(http_fd[0]==-1) - { -- http_fd[0]=OpenServerSocket(ConfigString(Bind_IPv4),ConfigInteger(HTTP_Port)); -- if(http_fd[0]==-1) -- { - #if USE_IPV6 -+ if(http_fd[1]!=-1 && ConfigString(Bind_IPv4) && !strcmp(ConfigString(Bind_IPv4),"0.0.0.0") && -+ ConfigString(Bind_IPv6) && !strcmp(ConfigString(Bind_IPv6),"0:0:0:0:0:0:0:0")) -+ PrintMessage(Warning,"Cannot create HTTP IPv4 server socket (but the IPv6 one might accept IPv4 connections)."); -+ else - PrintMessage(Fatal,"Cannot create HTTP IPv4 server socket."); - #else -- PrintMessage(Fatal,"Cannot create HTTP server socket."); -+ PrintMessage(Fatal,"Cannot create HTTP server socket."); - #endif -- } - } --#if USE_IPV6 - } --#endif - - if(http_fd[0]==-1 && http_fd[1]==-1) - { - #if USE_IPV6 -- PrintMessage(Fatal,"Neither IPv4 or IPv6 HTTP socket could be bound."); -+ PrintMessage(Fatal,"The IPv4 and IPv6 HTTP sockets were not bound; are they disabled in the config file?"); - #else -- PrintMessage(Fatal,"The HTTP socket could not be bound."); -+ PrintMessage(Fatal,"The HTTP socket was not bound; are they disabled in the config file?"); - #endif - } - -- -- /* Bind the WWWOFFLE control sockets. */ -+ /* Bind the WWWOFFLE control socket(s). */ - - #if USE_IPV6 - if(ConfigString(Bind_IPv6)) -@@ -335,35 +327,29 @@ - } - #endif - --#if USE_IPV6 -- if(wwwoffle_fd[1]!=-1 && ConfigString(Bind_IPv4) && ConfigString(Bind_IPv6) && -- !strcmp(ConfigString(Bind_IPv6),"0:0:0:0:0:0:0:0") && !strcmp(ConfigString(Bind_IPv4),"0.0.0.0")) -- PrintMessage(Inform,"Not creating WWWOFFLE IPv4 server socket on all addresses since IPv6 one is bound to all addresses."); -- else -+ if(ConfigString(Bind_IPv4)) - { --#endif -- if(ConfigString(Bind_IPv4)) -+ wwwoffle_fd[0]=OpenServerSocket(ConfigString(Bind_IPv4),ConfigInteger(WWWOFFLE_Port)); -+ if(wwwoffle_fd[0]==-1) - { -- wwwoffle_fd[0]=OpenServerSocket(ConfigString(Bind_IPv4),ConfigInteger(WWWOFFLE_Port)); -- if(wwwoffle_fd[0]==-1) -- { - #if USE_IPV6 -+ if(wwwoffle_fd[1]!=-1 && ConfigString(Bind_IPv4) && !strcmp(ConfigString(Bind_IPv4),"0.0.0.0") && -+ ConfigString(Bind_IPv6) && !strcmp(ConfigString(Bind_IPv6),"0:0:0:0:0:0:0:0")) -+ PrintMessage(Warning,"Cannot create WWWOFFLE IPv4 server socket (but the IPv6 one might accept IPv4 connections)."); -+ else - PrintMessage(Fatal,"Cannot create WWWOFFLE IPv4 server socket."); - #else -- PrintMessage(Fatal,"Cannot create WWWOFFLE server socket."); -+ PrintMessage(Fatal,"Cannot create WWWOFFLE server socket."); - #endif -- } - } --#if USE_IPV6 - } --#endif - - if(wwwoffle_fd[0]==-1 && wwwoffle_fd[1]==-1) - { - #if USE_IPV6 -- PrintMessage(Fatal,"Neither IPv4 or IPv6 WWWOFFLE socket could be bound."); -+ PrintMessage(Fatal,"The IPv4 and IPv6 WWWOFFLE sockets were not bound; are they disabled in the config file?"); - #else -- PrintMessage(Fatal,"The WWWOFFLE socket could not be bound."); -+ PrintMessage(Fatal,"The WWWOFFLE socket was not bound; are they disabled in the config file?"); - #endif - } - |