summaryrefslogtreecommitdiff
path: root/www/wwwoffle/patches
diff options
context:
space:
mode:
authorfredb <fredb>2001-08-14 04:51:46 +0000
committerfredb <fredb>2001-08-14 04:51:46 +0000
commitb24184d820440009d11694196e1ac466a5cd024b (patch)
treec177b26d2564656b5792ffb53f9a44e50dd57eee /www/wwwoffle/patches
parentfa4a5161ab7394ae46c058a43c6eb550b9954b8c (diff)
downloadpkgsrc-b24184d820440009d11694196e1ac466a5cd024b.tar.gz
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.
Diffstat (limited to 'www/wwwoffle/patches')
-rw-r--r--www/wwwoffle/patches/patch-aa33
-rw-r--r--www/wwwoffle/patches/patch-ac20
2 files changed, 39 insertions, 14 deletions
diff --git a/www/wwwoffle/patches/patch-aa b/www/wwwoffle/patches/patch-aa
index 76e29de9785..33bd0bcb5b5 100644
--- a/www/wwwoffle/patches/patch-aa
+++ b/www/wwwoffle/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.13 2001/04/22 06:37:38 fredb Exp $
+$NetBSD: patch-aa,v 1.14 2001/08/14 04:51:46 fredb Exp $
---- Makefile.orig Mon Apr 2 16:48:09 2001
-+++ Makefile Mon Apr 2 16:50:24 2001
+--- Makefile.orig Tue May 29 13:29:03 2001
++++ Makefile
@@ -18,11 +18,11 @@
LOCALHOST=localhost:8080
@@ -18,7 +18,7 @@ $NetBSD: patch-aa,v 1.13 2001/04/22 06:37:38 fredb Exp $
# For Cygwin (win32).
#INSTDIR=/wwwoffle
-@@ -51,13 +51,13 @@
+@@ -54,13 +54,13 @@
########
CC=gcc
@@ -34,9 +34,14 @@ $NetBSD: patch-aa,v 1.13 2001/04/22 06:37:38 fredb Exp $
# For HP/UX this is a good idea.
#LDFLAGS=
-@@ -82,8 +82,8 @@
- # The option to not use zlib for compression.
- #USE_ZLIB=0
+@@ -89,12 +89,12 @@
+ #USE_IPV6=1
+
+ # The option to use IPv6 sockets if required.
+-USE_IPV6=0
++#USE_IPV6=0
+
+ ########
-INCLUDE=
-LIBRARY=-lz
@@ -45,7 +50,7 @@ $NetBSD: patch-aa,v 1.13 2001/04/22 06:37:38 fredb Exp $
# To compile without zlib
#LIBRARY=
-@@ -153,7 +153,7 @@
+@@ -167,7 +167,7 @@
configfile.o config.o errors.o io.o misc.o proto.o sockets.o md5.o
wwwoffle : $(WWWOFFLE_OBJ)
@@ -54,7 +59,7 @@ $NetBSD: patch-aa,v 1.13 2001/04/22 06:37:38 fredb Exp $
####
-@@ -165,7 +165,7 @@
+@@ -179,7 +179,7 @@
configfile.o config.o errors.o io.o misc.o proto.o sockets.o md5.o
wwwoffled : $(WWWOFFLED_OBJ)
@@ -63,7 +68,7 @@ $NetBSD: patch-aa,v 1.13 2001/04/22 06:37:38 fredb Exp $
####
-@@ -176,7 +176,7 @@
+@@ -190,7 +190,7 @@
configfile.o config.o errors.o io.o misc.o proto.o sockets.o md5.o
wwwoffle-tools : $(WWWOFFLE_TOOLS_OBJ)
@@ -72,8 +77,8 @@ $NetBSD: patch-aa,v 1.13 2001/04/22 06:37:38 fredb Exp $
####
-@@ -184,7 +184,7 @@
- configfile.o config.o errors.o io.o misc.o proto-none.o sockets.o spool.o md5.o
+@@ -200,7 +200,7 @@
+ configfile.o config.o errors.o io.o misc.o proto.o sockets.o spool.o md5.o
convert-cache : $(CONVERT_OBJ)
- $(LINK) $(CONVERT_OBJ) -o $@ $(LIBRARY)
@@ -81,8 +86,8 @@ $NetBSD: patch-aa,v 1.13 2001/04/22 06:37:38 fredb Exp $
####
-@@ -193,7 +193,7 @@
- configfile.o config.o errors.o io.o misc.o proto-none.o sockets.o spool.o md5.o
+@@ -210,7 +210,7 @@
+ configfile.o config.o errors.o io.o misc.o proto.o sockets.o spool.o md5.o
uncompress-cache : $(UNCOMPRESS_OBJ)
- $(LINK) $(UNCOMPRESS_OBJ) -o $@ $(LIBRARY)
diff --git a/www/wwwoffle/patches/patch-ac b/www/wwwoffle/patches/patch-ac
new file mode 100644
index 00000000000..cd047462075
--- /dev/null
+++ b/www/wwwoffle/patches/patch-ac
@@ -0,0 +1,20 @@
+$NetBSD: patch-ac,v 1.1 2001/08/14 04:51:46 fredb Exp $
+
+--- sockets6.c.orig Mon Aug 13 23:16:47 2001
++++ sockets6.c
+@@ -507,9 +507,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:
+