head 1.8; access; symbols pkgsrc-2026Q1:1.8.0.162 pkgsrc-2026Q1-base:1.8 pkgsrc-2025Q4:1.8.0.160 pkgsrc-2025Q4-base:1.8 pkgsrc-2025Q3:1.8.0.158 pkgsrc-2025Q3-base:1.8 pkgsrc-2025Q2:1.8.0.156 pkgsrc-2025Q2-base:1.8 pkgsrc-2025Q1:1.8.0.154 pkgsrc-2025Q1-base:1.8 pkgsrc-2024Q4:1.8.0.152 pkgsrc-2024Q4-base:1.8 pkgsrc-2024Q3:1.8.0.150 pkgsrc-2024Q3-base:1.8 pkgsrc-2024Q2:1.8.0.148 pkgsrc-2024Q2-base:1.8 pkgsrc-2024Q1:1.8.0.146 pkgsrc-2024Q1-base:1.8 pkgsrc-2023Q4:1.8.0.144 pkgsrc-2023Q4-base:1.8 pkgsrc-2023Q3:1.8.0.142 pkgsrc-2023Q3-base:1.8 pkgsrc-2023Q2:1.8.0.140 pkgsrc-2023Q2-base:1.8 pkgsrc-2023Q1:1.8.0.138 pkgsrc-2023Q1-base:1.8 pkgsrc-2022Q4:1.8.0.136 pkgsrc-2022Q4-base:1.8 pkgsrc-2022Q3:1.8.0.134 pkgsrc-2022Q3-base:1.8 pkgsrc-2022Q2:1.8.0.132 pkgsrc-2022Q2-base:1.8 pkgsrc-2022Q1:1.8.0.130 pkgsrc-2022Q1-base:1.8 pkgsrc-2021Q4:1.8.0.128 pkgsrc-2021Q4-base:1.8 pkgsrc-2021Q3:1.8.0.126 pkgsrc-2021Q3-base:1.8 pkgsrc-2021Q2:1.8.0.124 pkgsrc-2021Q2-base:1.8 pkgsrc-2021Q1:1.8.0.122 pkgsrc-2021Q1-base:1.8 pkgsrc-2020Q4:1.8.0.120 pkgsrc-2020Q4-base:1.8 pkgsrc-2020Q3:1.8.0.118 pkgsrc-2020Q3-base:1.8 pkgsrc-2020Q2:1.8.0.114 pkgsrc-2020Q2-base:1.8 pkgsrc-2020Q1:1.8.0.94 pkgsrc-2020Q1-base:1.8 pkgsrc-2019Q4:1.8.0.116 pkgsrc-2019Q4-base:1.8 pkgsrc-2019Q3:1.8.0.112 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.110 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.8.0.108 pkgsrc-2019Q1-base:1.8 pkgsrc-2018Q4:1.8.0.106 pkgsrc-2018Q4-base:1.8 pkgsrc-2018Q3:1.8.0.104 pkgsrc-2018Q3-base:1.8 pkgsrc-2018Q2:1.8.0.102 pkgsrc-2018Q2-base:1.8 pkgsrc-2018Q1:1.8.0.100 pkgsrc-2018Q1-base:1.8 pkgsrc-2017Q4:1.8.0.98 pkgsrc-2017Q4-base:1.8 pkgsrc-2017Q3:1.8.0.96 pkgsrc-2017Q3-base:1.8 pkgsrc-2017Q2:1.8.0.92 pkgsrc-2017Q2-base:1.8 pkgsrc-2017Q1:1.8.0.90 pkgsrc-2017Q1-base:1.8 pkgsrc-2016Q4:1.8.0.88 pkgsrc-2016Q4-base:1.8 pkgsrc-2016Q3:1.8.0.86 pkgsrc-2016Q3-base:1.8 pkgsrc-2016Q2:1.8.0.84 pkgsrc-2016Q2-base:1.8 pkgsrc-2016Q1:1.8.0.82 pkgsrc-2016Q1-base:1.8 pkgsrc-2015Q4:1.8.0.80 pkgsrc-2015Q4-base:1.8 pkgsrc-2015Q3:1.8.0.78 pkgsrc-2015Q3-base:1.8 pkgsrc-2015Q2:1.8.0.76 pkgsrc-2015Q2-base:1.8 pkgsrc-2015Q1:1.8.0.74 pkgsrc-2015Q1-base:1.8 pkgsrc-2014Q4:1.8.0.72 pkgsrc-2014Q4-base:1.8 pkgsrc-2014Q3:1.8.0.70 pkgsrc-2014Q3-base:1.8 pkgsrc-2014Q2:1.8.0.68 pkgsrc-2014Q2-base:1.8 pkgsrc-2014Q1:1.8.0.66 pkgsrc-2014Q1-base:1.8 pkgsrc-2013Q4:1.8.0.64 pkgsrc-2013Q4-base:1.8 pkgsrc-2013Q3:1.8.0.62 pkgsrc-2013Q3-base:1.8 pkgsrc-2013Q2:1.8.0.60 pkgsrc-2013Q2-base:1.8 pkgsrc-2013Q1:1.8.0.58 pkgsrc-2013Q1-base:1.8 pkgsrc-2012Q4:1.8.0.56 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.8.0.54 pkgsrc-2012Q3-base:1.8 pkgsrc-2012Q2:1.8.0.52 pkgsrc-2012Q2-base:1.8 pkgsrc-2012Q1:1.8.0.50 pkgsrc-2012Q1-base:1.8 pkgsrc-2011Q4:1.8.0.48 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.46 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.44 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.42 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.8.0.40 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.38 pkgsrc-2010Q3-base:1.8 pkgsrc-2010Q2:1.8.0.36 pkgsrc-2010Q2-base:1.8 pkgsrc-2010Q1:1.8.0.34 pkgsrc-2010Q1-base:1.8 pkgsrc-2009Q4:1.8.0.32 pkgsrc-2009Q4-base:1.8 pkgsrc-2009Q3:1.8.0.30 pkgsrc-2009Q3-base:1.8 pkgsrc-2009Q2:1.8.0.28 pkgsrc-2009Q2-base:1.8 pkgsrc-2009Q1:1.8.0.26 pkgsrc-2009Q1-base:1.8 pkgsrc-2008Q4:1.8.0.24 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.8.0.22 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.20 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.8.0.18 pkgsrc-2008Q2-base:1.8 cwrapper:1.8.0.16 pkgsrc-2008Q1:1.8.0.14 pkgsrc-2008Q1-base:1.8 pkgsrc-2007Q4:1.8.0.12 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.8.0.10 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.8.0.8 pkgsrc-2007Q2-base:1.8 pkgsrc-2007Q1:1.8.0.6 pkgsrc-2007Q1-base:1.8 pkgsrc-2006Q4:1.8.0.4 pkgsrc-2006Q4-base:1.8 pkgsrc-2006Q3:1.8.0.2 pkgsrc-2006Q3-base:1.8 pkgsrc-2006Q2:1.7.0.22 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.20 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.18 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.16 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.14 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.7.0.12 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.7.0.10 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.7.0.8 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.7.0.6 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.7.0.4 pkgsrc-2004Q1-base:1.7 pkgsrc-2003Q4:1.7.0.2 pkgsrc-2003Q4-base:1.7 netbsd-1-6:1.6.0.4 netbsd-1-6-RELEASE-base:1.6 buildlink2-base:1.3; locks; strict; comment @# @; 1.8 date 2006.09.26.13.48.56; author abs; state Exp; branches; next 1.7; 1.7 date 2002.09.05.16.56.55; author fredb; state dead; branches; next 1.6; 1.6 date 2002.08.10.13.43.09; author fredb; state Exp; branches; next 1.5; 1.5 date 2002.08.06.01.58.35; author itojun; state Exp; branches; next 1.4; 1.4 date 2002.08.06.01.20.21; author itojun; state Exp; branches; next 1.3; 1.3 date 2002.03.10.22.14.31; author fredb; state dead; branches; next 1.2; 1.2 date 2001.08.16.04.23.46; author fredb; state Exp; branches; next 1.1; 1.1 date 2001.08.14.04.51.46; author fredb; state Exp; branches; next ; desc @@ 1.8 log @Update www/wwwoffle from 2.8e to 2.9a - from PR/34532 by Marko Schutz Changelog runs to over 1000 lines @ text @$NetBSD$ --- cache/search/hyperestraier/scripts/wwwoffle-estseek.orig 2005-09-06 05:45:50.000000000 +1200 +++ cache/search/hyperestraier/scripts/wwwoffle-estseek @@@@ -12,6 +12,7 @@@@ cd $wwwoffle_spool PATH=$PATH:/usr/local/bin PATH=$PATH:/usr/local/libexec # A possible location +PATH=$PATH:@@PREFIX@@/libexec # A possible location PATH=$PATH:/usr/lib/estraier # The Debian location export PATH @ 1.7 log @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). @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.6 2002/08/10 13:43:09 fredb Exp $ d3 9 a11 109 --- 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 } @ 1.6 log @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. @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.5 2002/08/06 01:58:35 itojun Exp $ @ 1.5 log @one more instance of :: and 0.0.0.0 issue. by fredb @ text @d1 1 a1 1 $NetBSD$ d3 14 a16 3 --- src/wwwoffled.c.orig Sun Jun 23 20:02:35 2002 +++ src/wwwoffled.c Tue Aug 6 10:53:39 2002 @@@@ -292,10 +292,6 @@@@ d19 1 a19 1 #if USE_IPV6 d24 1 d26 17 d44 14 a57 2 if(ConfigString(Bind_IPv4)) @@@@ -336,10 +332,6 @@@@ d59 5 d66 6 d76 27 d104 6 d111 2 a112 1 if(ConfigString(Bind_IPv4)) @ 1.4 log @simply obey config file, don't do trick against :: and 0.0.0.0. (patch sent to the author). bump PKGREVISION @ text @d3 2 a4 2 --- src/wwwoffled.c- Tue Aug 6 10:12:48 2002 +++ src/wwwoffled.c Tue Aug 6 10:12:58 2002 d12 11 @ 1.3 log @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! @ text @d1 1 a1 1 $NetBSD: patch-ac,v 1.2 2001/08/16 04:23:46 fredb Exp $ d3 4 a6 33 --- sockets6.c.orig Thu Jun 28 13:48:36 2001 +++ sockets6.c @@@@ -81,7 +81,6 @@@@ if(errno!=ETIMEDOUT) errno=ERRNO_USE_GAI_ERRNO; PrintMessage(Warning,"Unknown host '%s' for server [%!s].",host); - freeaddrinfo(server); return(-1); } @@@@ -144,7 +143,6 @@@@ if(errno!=ETIMEDOUT) errno=ERRNO_USE_GAI_ERRNO; PrintMessage(Warning,"Unknown host '%s' for server [%!s].",NULL); - freeaddrinfo(server); return(-1); } @@@@ -507,9 +505,12 @@@@ struct sigaction action; static char _host[NI_MAXHOST],_ip[46],_port[12]; - *host="(unknown)"; - *ip="(unknown)"; - *port="0"; + if(host) + *host="(unknown)"; + if(ip) + *ip="(unknown)"; + if(port) + *port="0"; start: d8 8 @ 1.2 log @Don't call freeaddrinfo() with "0" argument -- it cores. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @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. @ text @d3 1 a3 1 --- sockets6.c.orig Mon Aug 13 23:16:47 2001 d5 17 a21 1 @@@@ -507,9 +507,12 @@@@ @