aboutsummaryrefslogtreecommitdiff
path: root/net/cryptcat/files
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/files
parentbe6615f0c4a69fb3474be426463723cd3a37e667 (diff)
Notes
Diffstat (limited to 'net/cryptcat/files')
-rw-r--r--net/cryptcat/files/patch-aa35
1 files changed, 35 insertions, 0 deletions
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