diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-09-05 02:32:27 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-09-05 02:32:27 +0000 |
commit | 3c0a12cefe9585af482adc397e7a1f0859389e4d (patch) | |
tree | 1f46cece935cfb91d01048ee5618646164f23804 /net/cryptcat | |
parent | 6523dbc789a7b3b83b2bdc17b58ad8466686885c (diff) | |
download | ports-3c0a12cefe9585af482adc397e7a1f0859389e4d.tar.gz ports-3c0a12cefe9585af482adc397e7a1f0859389e4d.zip |
Notes
Diffstat (limited to 'net/cryptcat')
-rw-r--r-- | net/cryptcat/files/patch-aa | 38 | ||||
-rw-r--r-- | net/cryptcat/files/patch-ab | 10 |
2 files changed, 39 insertions, 9 deletions
diff --git a/net/cryptcat/files/patch-aa b/net/cryptcat/files/patch-aa index 7ad6a683fbaa..b56c7dd0143d 100644 --- a/net/cryptcat/files/patch-aa +++ b/net/cryptcat/files/patch-aa @@ -1,6 +1,6 @@ ---- Makefile.orig Wed Dec 20 00:57:35 2000 -+++ Makefile Wed Dec 20 00:59:15 2000 -@@ -10,12 +10,12 @@ +--- Makefile.orig Wed Sep 20 05:25:36 2000 ++++ Makefile Wed Sep 4 19:31:33 2002 +@@ -10,13 +10,13 @@ # debugging # DFLAGS = -DTEST -DDEBUG DFLAGS = -DGAPING_SECURITY_HOLE @@ -11,20 +11,27 @@ # -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 +-LD = $(CC) -s # linker; defaults to stripped executables ++CXX ?= c++ ++LD = $(CXX) -s # linker; defaults to stripped executables o = o # object extension -@@ -29,7 +29,7 @@ + ALL = cryptcat +@@ -28,8 +28,11 @@ + ### HARD TARGETS - cryptcat: netcat.c farm9crypt.o twofish2.o +-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) ++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" -@@ -82,7 +82,7 @@ +@@ -82,7 +85,7 @@ # virtually the same as netbsd/bsd44lite/whatever freebsd: @@ -33,3 +40,16 @@ bsdi: make -e $(ALL) $(MFLAGS) XFLAGS='-DBSDI' STATIC=-Bstatic +@@ -111,10 +114,10 @@ + make -e $(ALL) $(MFLAGS) XFLAGS='-DNEXT' STATIC=-Bstatic + + farm9crypt.o: farm9crypt.cc farm9crypt.h +- ${CC} -c farm9crypt.cc ++ ${CXX} ${CXXFLAGS} -c farm9crypt.cc + + twofish2.o: twofish2.cc twofish2.h +- ${CC} -c twofish2.cc ++ ${CXX} ${CXXFLAGS} -c twofish2.cc + + # start with this for a new architecture, and see what breaks. + generic: diff --git a/net/cryptcat/files/patch-ab b/net/cryptcat/files/patch-ab new file mode 100644 index 000000000000..fda7a69c4da9 --- /dev/null +++ b/net/cryptcat/files/patch-ab @@ -0,0 +1,10 @@ +--- farm9crypt.cc.orig Mon Oct 2 05:08:44 2000 ++++ farm9crypt.cc Wed Sep 4 19:27:56 2002 +@@ -21,6 +21,7 @@ + #include <sys/types.h> // suggested by several people -- for OpenBSD, FreeBSD compiles
+ #include <sys/socket.h> /* basics, SO_ and AF_ defs, sockaddr, ... */
+ #include <stdlib.h>
++#include <string.h> + #else
+ #include <fcntl.h>
+ #include <io.h>
|