Remove obsolete SOCKSv4 support

This commit is contained in:
pst 1996-05-30 03:09:18 +00:00
parent 477a352b9a
commit da3173fec8
2 changed files with 1 additions and 12 deletions

View File

@ -42,7 +42,7 @@ CFLAGS+=-I${.CURDIR}/../../lib
#CFLAGS+= -DKRB4
LDADD= -ltermcap -ltelnet
#LDADD+=-lkrb -ldes
#LDADD+= -lkrb -ldes
DPADD= ${LIBTERMCAP}
SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c telnet.c \
@ -53,13 +53,6 @@ CRYPT_SRC= authenc.c commands.c externs.h main.c network.c
CRYPT_SRC+= ring.c ring.h telnet.c terminal.c utilities.c Makefile
NOCRYPT_DIR=${.CURDIR}/Nocrypt
.if defined(SOCKS)
CFLAGS+=-DSOCKS
CFLAGS+=-Dconnect=Rconnect -Dgetsockname=Rgetsockname -Dlisten=Rlisten \
-Daccept=Raccept -Drcmd=Rrcmd -Dbind=Rbind -Dselect=Rselect
LDADD+= -lsocks
.endif
.include <bsd.prog.mk>
nocrypt:

View File

@ -118,10 +118,6 @@ main(argc, argv)
extern int forward_flags;
#endif /* FORWARD */
#ifdef SOCKS
SOCKSinit(argv[0]);
#endif /* SOCKS */
tninit(); /* Clear out things */
#if defined(CRAY) && !defined(__STDC__)
_setlist_init(); /* Work around compiler bug */