summaryrefslogtreecommitdiff
path: root/net/SSLtelnet/files/patch-ai
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-10-19 10:27:25 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-10-19 10:27:25 +0000
commit15a79b97ac258fdb0b7309d00ef5bffcf8ac2f4b (patch)
tree5ba15972212caa0369ff0205d7dd28ddf944be9d /net/SSLtelnet/files/patch-ai
parentDon't (badly) rewrite CFLAGS, assume the user knows what he/she is doing. (diff)
Re-add SSLtelnet, with patch (patch-an) to fix the security vulnerability
described in FreeBSD-SA-01:49.telnetd Submitted by: kondo hiroshi <kondo@ysyslab.co.jp> PR: ports/42676
Notes
Notes: svn path=/head/; revision=68324
Diffstat (limited to 'net/SSLtelnet/files/patch-ai')
-rw-r--r--net/SSLtelnet/files/patch-ai24
1 files changed, 24 insertions, 0 deletions
diff --git a/net/SSLtelnet/files/patch-ai b/net/SSLtelnet/files/patch-ai
new file mode 100644
index 000000000000..812ce63d3383
--- /dev/null
+++ b/net/SSLtelnet/files/patch-ai
@@ -0,0 +1,24 @@
+--- telnet/Makefile.orig Sat Aug 2 01:30:16 1997
++++ telnet/Makefile Sun Feb 20 17:28:27 2000
+@@ -6,17 +6,12 @@
+ PROG= telnet
+
+
+-CFLAGS= -DKLUDGELINEMODE -DUSE_TERMIO -DAUTHENTICATE -DUSE_SSL \
+- -DFILIO_H \
+- -I../lib/libbsd/include -I../lib \
+- -I$(SSLTOP)/include
++CFLAGS+= -DKLUDGELINEMODE -DUSE_TERMIO -DAUTHENTICATE -DUSE_SSL \
++ -DFILIO_H -I../lib -I../lib/libbsd/include -I$(OPENSSLINC)/openssl \
++ -I$(OPENSSLINC)
+
+
+-LIBS= ../lib/libtelnet/libtelnet.a \
+- ../lib/libbsd/libbsd.a \
+- $(SSLTOP)/lib/libssl.a \
+- $(SSLTOP)/lib/libcrypto.a
+-# $(SSLTOP)/lib/libdes.a
++LIBS= ../lib/libtelnet/libtelnet.a
+
+ OBJS= authenc.o commands.o main.o network.o ring.o sys_bsd.o telnet.o \
+ terminal.o tn3270.o utilities.o