import cryptcat 1.2.1
Cryptcat is a lightweight version of netcat with integrated transport encryption capabilities. from Laurent Fanis <laurent at humppa.nl> (MAINTAINER), with tweaks by me ok ajacoutot@
This commit is contained in:
parent
4f8240b546
commit
cc8e4e1f9c
37
security/cryptcat/Makefile
Normal file
37
security/cryptcat/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2007/11/20 21:08:56 jasper Exp $
|
||||
|
||||
COMMENT= netcat enhanced with twofish encryption
|
||||
|
||||
V= 1.2.1
|
||||
DISTNAME= cryptcat-unix-$V
|
||||
PKGNAME= cryptcat-$V
|
||||
CATEGORIES= security
|
||||
|
||||
HOMEPAGE= http://cryptcat.sourceforge.net
|
||||
|
||||
MAINTAINER= Laurent Fanis <laurent@humppa.nl>
|
||||
|
||||
# From the README "freely given away
|
||||
# with no restrictions except giving credit where it is due"
|
||||
# Added Twofish encryption is under Cryptix General Licence
|
||||
PERMIT_PACKAGE_CDROM= No clear Licence
|
||||
PERMIT_PACKAGE_FTP= No clear Licence
|
||||
PERMIT_DISTFILES_CDROM= No clear liscence
|
||||
PERMIT_DISTFILES_FTP= No clear liscence
|
||||
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=cryptcat/}
|
||||
|
||||
EXTRACT_SUFX= .tar
|
||||
|
||||
ALL_TARGET= openbsd
|
||||
|
||||
WRKDIST= ${WRKDIR}/unix
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/cryptcat ${PREFIX}/bin
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cryptcat
|
||||
${INSTALL_DATA} ${WRKSRC}/README* ${PREFIX}/share/doc/cryptcat
|
||||
|
||||
.include <bsd.port.mk>
|
5
security/cryptcat/distinfo
Normal file
5
security/cryptcat/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (cryptcat-unix-1.2.1.tar) = /Er/81Dz3V5P5RsN0BqOIQ==
|
||||
RMD160 (cryptcat-unix-1.2.1.tar) = kMZsE03rejGIvyfBsKQujvm/Kyc=
|
||||
SHA1 (cryptcat-unix-1.2.1.tar) = xcuAvdWZpBD+uPimu3gXSlceyfw=
|
||||
SHA256 (cryptcat-unix-1.2.1.tar) = Xcmpwr6sPZZYzD4ILADxEnmBovmVtOxIXygb8YAIQNA=
|
||||
SIZE (cryptcat-unix-1.2.1.tar) = 190464
|
59
security/cryptcat/patches/patch-Makefile
Normal file
59
security/cryptcat/patches/patch-Makefile
Normal file
@ -0,0 +1,59 @@
|
||||
$OpenBSD: patch-Makefile,v 1.1.1.1 2007/11/20 21:08:56 jasper Exp $
|
||||
--- Makefile.orig Tue Oct 18 02:41:01 2005
|
||||
+++ Makefile Mon Nov 12 19:40:55 2007
|
||||
@@ -10,13 +10,11 @@
|
||||
# debugging
|
||||
# DFLAGS = -DTEST -DDEBUG
|
||||
DFLAGS = -DGAPING_SECURITY_HOLE
|
||||
-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)
|
||||
-LD = $(CC) -s # linker; defaults to stripped executables
|
||||
+LD = $(CXX) # linker
|
||||
o = o # object extension
|
||||
|
||||
ALL = cryptcat
|
||||
@@ -28,9 +26,12 @@ bogus:
|
||||
|
||||
### HARD TARGETS
|
||||
|
||||
-cryptcat: netcat.c farm9crypt.o twofish2.o
|
||||
- $(LD) $(DFLAGS) $(XFLAGS) $(STATIC) -o cryptcat netcat.c farm9crypt.o twofish2.o $(XLIBS)
|
||||
+netcat.o:
|
||||
+ $(CC) $(CFLAGS) -c netcat.c
|
||||
|
||||
+cryptcat: netcat.o farm9crypt.o twofish2.o
|
||||
+ $(LD) $(CFLAGS) $(DFLAGS) $(XFLAGS) $(STATIC) -o cryptcat netcat.o farm9crypt.o twofish2.o $(XLIBS)
|
||||
+
|
||||
nc-dos:
|
||||
@echo "DOS?! Maybe someday, but not now"
|
||||
|
||||
@@ -92,8 +93,11 @@ bsdi:
|
||||
netbsd:
|
||||
make -e $(ALL) $(MFLAGS) XFLAGS='-DNETBSD' STATIC=-static \
|
||||
XLIBS='-lstdc++'
|
||||
+
|
||||
openbsd:
|
||||
- @echo "use: make netbsd"
|
||||
+ ${MAKE} -e $(ALL) $(MFLAGS) XFLAGS='-DNETBSD' STATIC=-static \
|
||||
+ XLIBS='-lstdc++'
|
||||
+
|
||||
# finally got to an hpux box, which turns out to be *really* warped.
|
||||
# STATIC here means "linker subprocess gets args '-a archive'" which causes
|
||||
# /lib/libc.a to be searched ahead of '-a shared', or /lib/libc.sl.
|
||||
@@ -115,10 +119,10 @@ next:
|
||||
make -e $(ALL) $(MFLAGS) XFLAGS='-DNEXT' STATIC=-Bstatic
|
||||
|
||||
farm9crypt.o: farm9crypt.cc farm9crypt.h
|
||||
- ${CC} -c farm9crypt.cc
|
||||
+ ${CC} ${CFLAGS} -c farm9crypt.cc
|
||||
|
||||
twofish2.o: twofish2.cc twofish2.h
|
||||
- ${CC} -c twofish2.cc
|
||||
+ ${CC} ${CFLAGS} -c twofish2.cc
|
||||
|
||||
# start with this for a new architecture, and see what breaks.
|
||||
generic:
|
2
security/cryptcat/pkg/DESCR
Normal file
2
security/cryptcat/pkg/DESCR
Normal file
@ -0,0 +1,2 @@
|
||||
Cryptcat is a lightweight version of netcat with integrated transport
|
||||
encryption capabilities.
|
5
security/cryptcat/pkg/PLIST
Normal file
5
security/cryptcat/pkg/PLIST
Normal file
@ -0,0 +1,5 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2007/11/20 21:08:56 jasper Exp $
|
||||
bin/cryptcat
|
||||
share/doc/cryptcat/
|
||||
share/doc/cryptcat/README
|
||||
share/doc/cryptcat/README.cryptcat
|
Loading…
Reference in New Issue
Block a user