From 3b3e6201e7f71b617087cadf40ad1f638ba77d1f Mon Sep 17 00:00:00 2001 From: markm Date: Mon, 9 Jul 2001 17:46:24 +0000 Subject: Remove S/Key. PAM can do its job. Well, not quite - there is an issue with the conversation function and challenges which needs to be revisited, so in the interim a hack is introduced to provide an OPIE challenge (which is random if OPIE does not apply) at all non-anonymnous logins. --- libexec/ftpd/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'libexec/ftpd/Makefile') diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile index 6d81aee..4d1f301 100644 --- a/libexec/ftpd/Makefile +++ b/libexec/ftpd/Makefile @@ -3,15 +3,19 @@ PROG= ftpd MAN= ftpd.8 -SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c skey-stuff.c +SRCS= ftpd.c ftpcmd.y logwtmp.c popen.c -CFLAGS+=-DSETPROCTITLE -DSKEY -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall +CFLAGS+=-DSETPROCTITLE -DLOGIN_CAP -DVIRTUAL_HOSTING -Wall CFLAGS+=-DINET6 CFLAGS+=-I${.CURDIR} YFLAGS= -LDADD= -lskey -lmd -lcrypt -lutil -DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL} +LDADD= -lmd -lcrypt -lutil +DPADD= ${LIBMD} ${LIBCRYPT} ${LIBUTIL} + +# XXX Kluge! Conversation mechanism needs to be fixed. +LDADD+= -lopie +DPADD+= ${LIBOPIE} LSDIR= ../../bin/ls .PATH: ${.CURDIR}/${LSDIR} -- cgit v1.1