freebsd-ports/net/SSLtelnet/files/patch-ai
Kris Kennaway 15a79b97ac 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
2002-10-19 10:27:25 +00:00

24 lines
734 B
Text

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