diff options
author | fredb <fredb> | 2002-03-10 22:14:29 +0000 |
---|---|---|
committer | fredb <fredb> | 2002-03-10 22:14:29 +0000 |
commit | a079a9260499e1ad109dcd569525c49d62cd749f (patch) | |
tree | 998ae2ae0b38a08e8d874e8d0e833e6bb64264b3 /www/wwwoffle/patches | |
parent | f468132bc777ff1ff88d01e4a1a1d141ade34e8a (diff) | |
download | pkgsrc-a079a9260499e1ad109dcd569525c49d62cd749f.tar.gz |
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!
Diffstat (limited to 'www/wwwoffle/patches')
-rw-r--r-- | www/wwwoffle/patches/patch-aa | 113 | ||||
-rw-r--r-- | www/wwwoffle/patches/patch-ac | 36 |
2 files changed, 10 insertions, 139 deletions
diff --git a/www/wwwoffle/patches/patch-aa b/www/wwwoffle/patches/patch-aa index 5c8a43c4216..02f9189327a 100644 --- a/www/wwwoffle/patches/patch-aa +++ b/www/wwwoffle/patches/patch-aa @@ -1,106 +1,13 @@ -$NetBSD: patch-aa,v 1.15 2001/08/18 20:31:15 fredb Exp $ +$NetBSD: patch-aa,v 1.16 2002/03/10 22:14:30 fredb Exp $ ---- Makefile.orig Tue May 29 13:29:03 2001 -+++ Makefile -@@ -18,11 +18,11 @@ - LOCALHOST=localhost:8080 +--- doc/Makefile.in.orig Sun Mar 10 14:14:34 2002 ++++ doc/Makefile.in +@@ -22,7 +22,7 @@ - # For UNIX. --INSTDIR=/usr/local --SPOOLDIR=/var/spool/wwwoffle --CONFDIR=/var/spool/wwwoffle -+INSTDIR=${PREFIX} -+SPOOLDIR=/var/wwwoffle -+CONFDIR=${PREFIX}/etc/wwwoffle - MANDIR=$(INSTDIR)/man --DOCDIR=$(INSTDIR)/doc/wwwoffle -+DOCDIR=$(INSTDIR)/share/doc/wwwoffle + prefix=@prefix@ + mandir=@mandir@ +-docdir=${prefix}/doc/wwwoffle ++docdir=${prefix}/share/doc/wwwoffle - # For Cygwin (win32). - #INSTDIR=/wwwoffle -@@ -54,13 +54,13 @@ - ######## - - CC=gcc --CFLAGS=-O2 -Wall -g -+CFLAGS=-O2 -Wall - - # This is used in the FreeBSD port (http://www.freebsd.org/ports/). - #CFLAGS=-O2 -Wall - - LD=gcc --LDFLAGS=-g -+LDFLAGS=-s - - # For HP/UX this is a good idea. - #LDFLAGS= -@@ -89,12 +89,12 @@ - #USE_IPV6=1 - - # The option to use IPv6 sockets if required. --USE_IPV6=0 -+#USE_IPV6=0 - - ######## - --INCLUDE= --LIBRARY=-lz -+#INCLUDE= -+#LIBRARY=-lz - - # To compile without zlib - #LIBRARY= -@@ -167,7 +167,7 @@ - configfile.o config.o errors.o io.o misc.o proto.o sockets.o md5.o - - wwwoffle : $(WWWOFFLE_OBJ) -- $(LINK) $(WWWOFFLE_OBJ) -o $@ $(LIBRARY) -+ $(LINK) $(WWWOFFLE_OBJ) -o $@ $(LIBRARY) -lz - - #### - -@@ -179,7 +179,7 @@ - configfile.o config.o errors.o io.o misc.o proto.o sockets.o md5.o - - wwwoffled : $(WWWOFFLED_OBJ) -- $(LINK) $(WWWOFFLED_OBJ) -o $@ $(LIBRARY) -+ $(LINK) $(WWWOFFLED_OBJ) -o $@ $(LIBRARY) -lz - - #### - -@@ -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) -- $(LINK) $(WWWOFFLE_TOOLS_OBJ) -o $@ $(LIBRARY) -+ $(LINK) $(WWWOFFLE_TOOLS_OBJ) -o $@ $(LIBRARY) -lz - - #### - -@@ -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) -+ $(LINK) $(CONVERT_OBJ) -o $@ $(LIBRARY) -lz - - #### - -@@ -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) -+ $(LINK) $(UNCOMPRESS_OBJ) -o $@ $(LIBRARY) -lz - - #### - -@@ -396,7 +396,7 @@ - @[ ! -f $(CONFDIR)/wwwoffle.conf ] || \ - (echo "WWWOFFLE: " ;\ - echo "WWWOFFLE: There is already a config file $(CONFDIR)/wwwoffle.conf." ;\ -- echo "WWWOFFLE: Run 'upgrade-config.pl $(CONFDIR)/wwwoffle.conf' to upgrade it." ;\ -+ echo "WWWOFFLE: Run 'wwwoffle-upgrade-config.pl $(CONFDIR)/wwwoffle.conf' to upgrade it." ;\ - echo "WWWOFFLE: " ) - [ ! -f $(CONFDIR)/wwwoffle.conf ] || $(INSTALL) -c -m 640 wwwoffle.conf.install $(CONFDIR)/wwwoffle.conf.install - [ -f $(CONFDIR)/wwwoffle.conf ] || $(INSTALL) -c -m 640 wwwoffle.conf.install $(CONFDIR)/wwwoffle.conf + SPOOLDIR=@SPOOLDIR@ + CONFDIR=@CONFDIR@ diff --git a/www/wwwoffle/patches/patch-ac b/www/wwwoffle/patches/patch-ac deleted file mode 100644 index 93d81d0b342..00000000000 --- a/www/wwwoffle/patches/patch-ac +++ /dev/null @@ -1,36 +0,0 @@ -$NetBSD: patch-ac,v 1.2 2001/08/16 04:23:46 fredb Exp $ - ---- 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: - |