diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/zebedee/Makefile | 21 | ||||
-rw-r--r-- | security/zebedee/distinfo | 6 | ||||
-rw-r--r-- | security/zebedee/patches/patch-aa | 118 | ||||
-rw-r--r-- | security/zebedee/patches/patch-ab | 15 | ||||
-rw-r--r-- | security/zebedee/pkg/DESCR | 5 | ||||
-rw-r--r-- | security/zebedee/pkg/PLIST | 21 |
6 files changed, 186 insertions, 0 deletions
diff --git a/security/zebedee/Makefile b/security/zebedee/Makefile new file mode 100644 index 00000000000..41e0ac9746f --- /dev/null +++ b/security/zebedee/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/06/24 05:48:51 taca Exp $ +# + +DISTNAME= zebedee-2.2.2 +CATEGORIES= security +MASTER_SITES= http://www.winton.org.uk/zebedee/ \ + http://prdownloads.sourceforge.net/zebedee/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.winton.org.uk/zebedee/ +COMMENT= Simple tunneling program for TCP or UDP with encryption + +BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5 +DEPENDS+= tcl>=${TCL_REQD}:../../lang/tcl # need runtime + +USE_SSL= # defined + +MAKE_FLAGS= OS=${LOWER_OPSYS} + +.include "../../archivers/bzip2/buildlink.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/zebedee/distinfo b/security/zebedee/distinfo new file mode 100644 index 00000000000..da60d076f2f --- /dev/null +++ b/security/zebedee/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/06/24 05:48:51 taca Exp $ + +SHA1 (zebedee-2.2.2.tar.gz) = 7068141a1449016076b84335db2e889803d85719 +Size (zebedee-2.2.2.tar.gz) = 141259 bytes +SHA1 (patch-aa) = e4e48a27373916a5155bb217e5ae99e49483fdc6 +SHA1 (patch-ab) = 8fb781f2c6fe5807a196ceb2f0f0eb0a09053288 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 diff --git a/security/zebedee/pkg/DESCR b/security/zebedee/pkg/DESCR new file mode 100644 index 00000000000..4a89606b856 --- /dev/null +++ b/security/zebedee/pkg/DESCR @@ -0,0 +1,5 @@ +Zebedee is a simple program to establish an encrypted, compressed +"tunnel" for TCP/IP or UDP data transfer between two systems. This +allows traffic such as telnet, ftp and X to be protected from snooping +as well as potentially gaining performance over low-bandwidth networks +from compression. diff --git a/security/zebedee/pkg/PLIST b/security/zebedee/pkg/PLIST new file mode 100644 index 00000000000..7684ca8352b --- /dev/null +++ b/security/zebedee/pkg/PLIST @@ -0,0 +1,21 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/06/24 05:48:51 taca Exp $ +bin/ftpgw.tcl +bin/zebedee +man/man1/ftpgw.tcl.1 +man/man1/zebedee.1 +share/doc/zebedee/CHANGES.txt +share/doc/zebedee/GPL2.txt +share/doc/zebedee/LICENCE.txt +share/doc/zebedee/README.txt +share/doc/zebedee/client1.key +share/doc/zebedee/client2.key +share/doc/zebedee/clients.id +share/doc/zebedee/ftpgw.tcl.html +share/doc/zebedee/server.id +share/doc/zebedee/server.key +share/doc/zebedee/server.zbd +share/doc/zebedee/vncserver.zbd +share/doc/zebedee/vncviewer.zbd +share/doc/zebedee/zebedee.html +share/doc/zebedee/zebedee.ja_JP.html +@dirrm share/doc/zebedee |