diff options
author | taca <taca> | 2001-06-24 05:48:51 +0000 |
---|---|---|
committer | taca <taca> | 2001-06-24 05:48:51 +0000 |
commit | 58501fa7320008093da3596af77d53f0906f1a87 (patch) | |
tree | 5185c6a61fbbd1b769d41b63dd6fee8c69615da1 /security/zebedee/patches | |
parent | e7be45e6be02d6993e596a210ccd390e181383b3 (diff) | |
download | pkgsrc-58501fa7320008093da3596af77d53f0906f1a87.tar.gz |
Importing zebedee 2.2.2. Quoting from README.txt is here.
Zebedee Secure Tunnel
=====================
Zebedee is a simple program to establish an encrypted, compressed
"tunnel" for TCP/IP or UDP traffic between two systems. This
allows data from, for example, telnet, ftp and X sessions to be
protected from snooping. You can also use compression, either
with or without data encryption, to gain performance over
low-bandwidth networks.
The main goals for Zebedee are to:
* Provide client and server functionality under both UNIX
and Windows 95/98/NT.
* Be easy to install, use and maintain with little or no
configuration required.
* Have a small footprint, low wire protocol overhead and
give significant traffic reduction by the use of
compression.
* Use only algorithms that are either unpatented or for
which the patent has expired.
* Be entirely free for commercial or non-commercial use and
distributed under the term of the GNU General Public
Licence (see LICENCE.txt for details).
For further information on how to use Zebedee see the file
zebedee.html in the distribution (or the manual page for
zebedee(1) under UNIX -- it is basically the same text). Example
configuration files are also provided.
Diffstat (limited to 'security/zebedee/patches')
-rw-r--r-- | security/zebedee/patches/patch-aa | 118 | ||||
-rw-r--r-- | security/zebedee/patches/patch-ab | 15 |
2 files changed, 133 insertions, 0 deletions
diff --git a/security/zebedee/patches/patch-aa b/security/zebedee/patches/patch-aa new file mode 100644 index 00000000000..e8e3dce8de9 --- /dev/null +++ b/security/zebedee/patches/patch-aa @@ -0,0 +1,118 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/06/24 05:48:51 taca Exp $ + +--- Makefile.orig Sat Apr 14 02:41:22 2001 ++++ Makefile +@@ -18,13 +18,13 @@ + CC_linux = gcc -pthread + CC_solaris = gcc + CC_freebsd = gcc -pthread ++CC_netbsd = cc + CC_tru64 = cc + CC = $(CC_$(OS)) + + # Optimise/debug compilation + +-#OPTIM = -Wall -g +-OPTIM = -O3 ++OPTIM = -Wall -O2 + + # Location of gmp include and library + # +@@ -36,19 +36,19 @@ + + # Location of Blowfish include and library + +-BFINC = -I../blowfish-0.9.5a +-BFLIB = ../blowfish-0.9.5a/libblowfish.a ++BFINC = ++BFLIB = + + # Location of zlib include and library + +-ZINC = -I../zlib-1.1.3 +-ZLIB = ../zlib-1.1.3/libz.a ++ZINC = ++ZLIB = -lz + + # Location of bzlib include and library + # Set these empty if you don't want bzib2 support + +-BZINC = -I../bzip2-1.0.1 +-BZLIB = ../bzip2-1.0.1/libbz2.a ++BZINC = ++BZLIB = -lbz2 + + # + # Tools needed for Perl "POD"-format documentation conversion. +@@ -62,9 +62,9 @@ + + # Installation directories for the Linux/Solaris/*NIX World + +-ROOTDIR = /usr ++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 +74,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 +105,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 +120,7 @@ + OSLIBS_linux = -lpthread + OSLIBS_solaris = -lsocket -lnsl -lthread + OSLIBS_freebsd = ++OSLIBS_netbsd = -lcrypto + OSLIBS_tru64 = -lpthread + OSLIBS = $(OSLIBS_$(OS)) + +@@ -133,7 +136,7 @@ + #### You REALLY shouldn't have to modify anything beyond here ... + #### + +-CFLAGS = $(OPTIM) $(DEFINES) -I. $(GMPINC) $(BFINC) $(ZINC) $(BZINC) ++CFLAGS = $(OPTIM) $(DEFINES) -I. $(GMPINC) + + LIBS = $(GMPLIB) $(BFLIB) $(ZLIB) $(BZLIB) $(OSLIBS) + +@@ -150,7 +153,7 @@ + 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 + + zebedee$(EXE) : $(OBJS) + $(CC) $(CFLAGS) -o zebedee$(EXE) $(OBJS) $(LIBS) +@@ -182,12 +185,12 @@ + + install : precheck zebedee$(EXE) zebedee.1 ftpgw.tcl.1 $(ZBDFILES) $(TXTFILES) + -mkdir -p $(BINDIR) $(MANDIR) $(ZBDDIR) +- $(INSTALL) zebedee$(EXE) $(BINDIR) ++ $(INSTALL) -s -m 755 zebedee$(EXE) $(BINDIR) + $(INSTALL) -m 0755 ftpgw.tcl $(BINDIR) +- $(INSTALL) zebedee.1 $(MANDIR) +- $(INSTALL) ftpgw.tcl.1 $(MANDIR) +- $(INSTALL) $(ZBDFILES) $(ZBDDIR) +- $(INSTALL) $(TXTFILES) $(ZBDDIR) ++ $(INSTALL) -m 0444 zebedee.1 $(MANDIR) ++ $(INSTALL) -m 0444 ftpgw.tcl.1 $(MANDIR) ++ $(INSTALL) -m 0444 $(ZBDFILES) $(ZBDDIR) ++ $(INSTALL) -m 0444 $(TXTFILES) $(ZBDDIR) + + clean : precheck + rm -f zebedee$(EXE) *.o core *.1 *.html *.tmp *.bak diff --git a/security/zebedee/patches/patch-ab b/security/zebedee/patches/patch-ab new file mode 100644 index 00000000000..66595c867bc --- /dev/null +++ b/security/zebedee/patches/patch-ab @@ -0,0 +1,15 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/06/24 05:48:51 taca Exp $ + +--- zebedee.c.orig Sat Feb 10 05:47:55 2001 ++++ zebedee.c +@@ -59,8 +59,8 @@ + #define mpz_clear(z) huge_free(z) + #endif + +-#include "blowfish.h" +-#include "zlib.h" ++#include <openssl/blowfish.h> ++#include <zlib.h> + #ifndef DONT_HAVE_BZIP2 + #include "bzlib.h" + #endif |