diff options
Diffstat (limited to 'security/zebedee/patches/patch-aa')
-rw-r--r-- | security/zebedee/patches/patch-aa | 61 |
1 files changed, 35 insertions, 26 deletions
diff --git a/security/zebedee/patches/patch-aa b/security/zebedee/patches/patch-aa index 9a969a3e635..d72309e8938 100644 --- a/security/zebedee/patches/patch-aa +++ b/security/zebedee/patches/patch-aa @@ -1,24 +1,25 @@ -$NetBSD: patch-aa,v 1.3 2001/07/15 16:52:02 jlam Exp $ +$NetBSD: patch-aa,v 1.4 2002/03/20 15:16:31 taca Exp $ ---- Makefile.orig Fri Apr 13 13:41:22 2001 +--- Makefile.orig Fri Mar 15 19:47:06 2002 +++ Makefile -@@ -18,13 +18,14 @@ +@@ -20,6 +20,7 @@ CC_linux = gcc -pthread CC_solaris = gcc CC_freebsd = gcc -pthread +CC_netbsd = cc CC_tru64 = cc - CC = $(CC_$(OS)) - + CC_irix = cc -n32 -woff 1110 + CC_hpux = cc -Ae +DAportable +@@ -28,7 +29,7 @@ # Optimise/debug compilation #OPTIM = -Wall -g -OPTIM = -O3 -+#OPTIM = -O3 ++OPTIM = -O # Location of gmp include and library # -@@ -36,19 +37,19 @@ +@@ -40,19 +41,19 @@ # Location of Blowfish include and library @@ -29,10 +30,10 @@ $NetBSD: patch-aa,v 1.3 2001/07/15 16:52:02 jlam Exp $ # Location of zlib include and library --ZINC = -I../zlib-1.1.3 --ZLIB = ../zlib-1.1.3/libz.a +-ZINC = -I../zlib-1.1.4 +-ZLIB = ../zlib-1.1.4/libz.a +ZINC = -+ZLIB = -lz ++ZLIB = # Location of bzlib include and library # Set these empty if you don't want bzib2 support @@ -40,52 +41,60 @@ $NetBSD: patch-aa,v 1.3 2001/07/15 16:52:02 jlam Exp $ -BZINC = -I../bzip2-1.0.1 -BZLIB = ../bzip2-1.0.1/libbz2.a +BZINC = -+BZLIB = -lbz2 ++BZLIB = # # Tools needed for Perl "POD"-format documentation conversion. -@@ -62,9 +63,9 @@ +@@ -68,9 +69,9 @@ # Installation directories for the Linux/Solaris/*NIX World -ROOTDIR = /usr -+ROOTDIR = $(LOCALBASE) ++ROOTDIR =$(LOCALBASE) BINDIR = $(ROOTDIR)/bin -ZBDDIR = $(ROOTDIR)/lib/zebedee +ZBDDIR = $(ROOTDIR)/share/doc/zebedee MANDIR = $(ROOTDIR)/man/man1 # This is a BSD-style install -@@ -74,6 +75,7 @@ +@@ -80,6 +81,7 @@ INSTALL_linux = install -c INSTALL_solaris = /usr/ucb/install -c INSTALL_freebsd = install -c +INSTALL_netbsd = install -c INSTALL_tru64 = installbsd -c - INSTALL = $(INSTALL_$(OS)) - -@@ -104,6 +106,7 @@ + INSTALL_irix = install -c + INSTALL_hpux = install -c +@@ -118,6 +120,7 @@ DEFINES_linux = -DHAVE_PTHREADS DEFINES_solaris = -D_REENTRANT -DHAVE_PTHREADS DEFINES_freebsd = -DHAVE_PTHREADS -DBUGGY_FORK_WITH_THREADS +DEFINES_netbsd = DEFINES_tru64 = -D_REENTRANT -DHAVE_PTHREADS - DEFINES = $(DEFINES_$(OS)) - -@@ -118,6 +121,7 @@ + DEFINES_irix = -D_REENTRANT -DHAVE_PTHREADS -Dinline= + DEFINES_hpux = -D_REENTRANT -DHAVE_PTHREADS -DDONT_HAVE_SELECT_H -Dinline= +@@ -134,6 +137,7 @@ OSLIBS_linux = -lpthread OSLIBS_solaris = -lsocket -lnsl -lthread OSLIBS_freebsd = -+OSLIBS_netbsd = -lcrypto ++OSLIBS_netbsd = -lcrypto -lbz2 -lz OSLIBS_tru64 = -lpthread - OSLIBS = $(OSLIBS_$(OS)) + OSLIBS_irix = -lpthread + OSLIBS_hpux = -lpthread -lnsl +@@ -161,17 +165,17 @@ + client1.key client2.key clients.id + + TXTFILES = README.txt LICENCE.txt GPL2.txt CHANGES.txt \ +- zebedee.html ftpgw.tcl.html zebedee.ja_JP.html zebedee.iss ++ zebedee.html ftpgw.tcl.html zebedee.ja_JP.html + + EXTRAFILES = $(ZBDFILES) $(TXTFILES) -@@ -150,10 +154,10 @@ all : precheck zebedee$(EXE) zebedee.1 zebedee.html ftpgw.tcl.1 ftpgw.tcl.html zebedee.ja_JP.html precheck : -- @ if test -z "$(OS)"; then echo "Use '$(MAKE) OS=xxx' where xxx is win32, linux, solaris, freebsd or tru64"; exit 1; fi -+ @ if test -z "$(OS)"; then echo "Use '$(MAKE) OS=xxx' where xxx is win32, linux, solaris, freebsd, netbsd or tru64"; exit 1; fi +- @ if test -z "$(OS)"; then echo "Use '$(MAKE) OS=xxx' where xxx is win32, linux, solaris, freebsd, tru64, irix or hpux"; exit 1; fi ++ @ if test -z "$(OS)"; then echo "Use '$(MAKE) OS=xxx' where xxx is win32, linux, solaris, freebsd, netbsd, tru64, irix or hpux"; exit 1; fi zebedee$(EXE) : $(OBJS) - $(CC) $(CFLAGS) -o zebedee$(EXE) $(OBJS) $(LIBS) @@ -93,7 +102,7 @@ $NetBSD: patch-aa,v 1.3 2001/07/15 16:52:02 jlam Exp $ huge.o : huge.h -@@ -182,12 +186,12 @@ +@@ -201,12 +205,12 @@ install : precheck zebedee$(EXE) zebedee.1 ftpgw.tcl.1 $(ZBDFILES) $(TXTFILES) -mkdir -p $(BINDIR) $(MANDIR) $(ZBDDIR) |