1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Add cryptcat 0.0, which is standard netcat enhanced with twofish

encryption.

PR:		23658
Submitted by:	Roman Shterenzon <roman@xpert.com>
This commit is contained in:
Will Andrews 2001-03-10 18:29:41 +00:00
parent be6615f0c4
commit edd27061fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39443
7 changed files with 89 additions and 0 deletions

View File

@ -47,6 +47,7 @@
SUBDIR += coda_server
SUBDIR += crescendo
SUBDIR += cricket
SUBDIR += cryptcat
SUBDIR += cvsup
SUBDIR += cvsup-bin
SUBDIR += cvsup-mirror

28
net/cryptcat/Makefile Normal file
View File

@ -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>

1
net/cryptcat/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (cryptcat_linux.tar) = 5cf484a201128c233712f68fdaf3fa7c

View File

@ -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

1
net/cryptcat/pkg-comment Normal file
View File

@ -0,0 +1 @@
Standard netcat enhanced with twofish encryption

20
net/cryptcat/pkg-descr Normal file
View File

@ -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>

3
net/cryptcat/pkg-plist Normal file
View File

@ -0,0 +1,3 @@
bin/cryptcat
share/doc/cryptcat/README.cryptcat
@dirrm share/doc/cryptcat