Remove obsolete SOCKSv4 support
This commit is contained in:
parent
ad9b7e5685
commit
abe67e41f6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15996
@ -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:
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user