aboutsummaryrefslogtreecommitdiff
path: root/net/cryptcat
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-03-10 18:29:41 +0000
committerWill Andrews <will@FreeBSD.org>2001-03-10 18:29:41 +0000
commitedd27061fe5e1d357ee32d86dde9a360ba574d76 (patch)
tree30071003617752f892d7d91603d837a3d550e9f1 /net/cryptcat
parentbe6615f0c4a69fb3474be426463723cd3a37e667 (diff)
downloadports-edd27061fe5e1d357ee32d86dde9a360ba574d76.tar.gz
ports-edd27061fe5e1d357ee32d86dde9a360ba574d76.zip
Notes
Diffstat (limited to 'net/cryptcat')
-rw-r--r--net/cryptcat/Makefile28
-rw-r--r--net/cryptcat/distinfo1
-rw-r--r--net/cryptcat/files/patch-aa35
-rw-r--r--net/cryptcat/pkg-comment1
-rw-r--r--net/cryptcat/pkg-descr20
-rw-r--r--net/cryptcat/pkg-plist3
6 files changed, 88 insertions, 0 deletions
diff --git a/net/cryptcat/Makefile b/net/cryptcat/Makefile
new file mode 100644
index 000000000000..606946f8636e
--- /dev/null
+++ b/net/cryptcat/Makefile
@@ -0,0 +1,28 @@
+# Ports collection makefile for: cryptcat
+# Date created: 20 Dec 2000
+# Whom: Roman Shterenzon <roman@xpert.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cryptcat
+PORTVERSION= 0.0
+CATEGORIES= net
+MASTER_SITES= http://farm9.com/content/Free_Tools/
+DISTNAME= cryptcat_linux
+EXTRACT_SUFX= .tar
+
+MAINTAINER= roman@xpert.com
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+ALL_TARGET= freebsd
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/cryptcat ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/cryptcat \
+ && ${CHMOD} 755 ${PREFIX}/share/doc/cryptcat
+ ${INSTALL_DATA} ${WRKSRC}/README.cryptcat ${PREFIX}/share/doc/cryptcat
+.endif
+
+.include <bsd.port.mk>
diff --git a/net/cryptcat/distinfo b/net/cryptcat/distinfo
new file mode 100644
index 000000000000..d6c7d2c3a778
--- /dev/null
+++ b/net/cryptcat/distinfo
@@ -0,0 +1 @@
+MD5 (cryptcat_linux.tar) = 5cf484a201128c233712f68fdaf3fa7c
diff --git a/net/cryptcat/files/patch-aa b/net/cryptcat/files/patch-aa
new file mode 100644
index 000000000000..7ad6a683fbaa
--- /dev/null
+++ b/net/cryptcat/files/patch-aa
@@ -0,0 +1,35 @@
+--- Makefile.orig Wed Dec 20 00:57:35 2000
++++ Makefile Wed Dec 20 00:59:15 2000
+@@ -10,12 +10,12 @@
+ # debugging
+ # DFLAGS = -DTEST -DDEBUG
+ DFLAGS = -DGAPING_SECURITY_HOLE
+-CFLAGS = -O
++CFLAGS ?= -O
+ XFLAGS = # xtra cflags, set by systype targets
+ XLIBS = # xtra libs if necessary?
+ # -Bstatic for sunos, -static for gcc, etc. You want this, trust me.
+ STATIC =
+-CC = cc $(CFLAGS)
++CC ?= cc
+ LD = $(CC) -s # linker; defaults to stripped executables
+ o = o # object extension
+
+@@ -29,7 +29,7 @@
+ ### HARD TARGETS
+
+ cryptcat: netcat.c farm9crypt.o twofish2.o
+- $(LD) $(DFLAGS) $(XFLAGS) $(STATIC) -o cryptcat netcat.c farm9crypt.o twofish2.o $(XLIBS)
++ $(LD) $(CFLAGS) $(DFLAGS) $(XFLAGS) $(STATIC) -o cryptcat netcat.c farm9crypt.o twofish2.o $(XLIBS)
+
+ nc-dos:
+ @echo "DOS?! Maybe someday, but not now"
+@@ -82,7 +82,7 @@
+
+ # virtually the same as netbsd/bsd44lite/whatever
+ freebsd:
+- make -e $(ALL) $(MFLAGS) XFLAGS='-DFREEBSD' STATIC=-static
++ make -e $(ALL) $(MFLAGS) XFLAGS='-DFREEBSD -DGAPING_SECURITY_HOLE -DTELNET' STATIC=-static
+
+ bsdi:
+ make -e $(ALL) $(MFLAGS) XFLAGS='-DBSDI' STATIC=-Bstatic
diff --git a/net/cryptcat/pkg-comment b/net/cryptcat/pkg-comment
new file mode 100644
index 000000000000..c226bf036fdf
--- /dev/null
+++ b/net/cryptcat/pkg-comment
@@ -0,0 +1 @@
+Standard netcat enhanced with twofish encryption
diff --git a/net/cryptcat/pkg-descr b/net/cryptcat/pkg-descr
new file mode 100644
index 000000000000..aaa436cc3c62
--- /dev/null
+++ b/net/cryptcat/pkg-descr
@@ -0,0 +1,20 @@
+Cryptcat is the standard netcat enhanced with twofish encryption.
+
+Twofish is courtesy of counterpane, and cryptix. We started with the
+Java version of twofish from cryptix, converted it to C++ (don't ask why),
+and enhanced it by adding CBC mode and the ciphertext stealing technique
+from Applied Cryptography (pg. 196)
+
+How do you use it?
+
+ Machine A: cryptcat -l -p 1234 < testfile
+ Machine B: cryptcat <machine A IP> 1234
+
+This is identical to the normal netcat options for doing exactly the
+same thing. However, in this case the data transferred is encrypted.
+
+For more information about netcat see net/netcat port.
+
+WWW: http://farm9.com/content/Free_Tools/Cryptcat/
+
+Roman Shterenzon <roman@xpert.com>
diff --git a/net/cryptcat/pkg-plist b/net/cryptcat/pkg-plist
new file mode 100644
index 000000000000..e9a93e798d3e
--- /dev/null
+++ b/net/cryptcat/pkg-plist
@@ -0,0 +1,3 @@
+bin/cryptcat
+share/doc/cryptcat/README.cryptcat
+@dirrm share/doc/cryptcat