summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/Makefile
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1996-08-05 00:21:15 +0000
committerpst <pst@FreeBSD.org>1996-08-05 00:21:15 +0000
commitfca5bc38ec00d8cb5087036679424e8817d2b782 (patch)
tree12d2de9b0d4e2a49a22dcb35f943c6b5f2e301fb /libexec/ftpd/Makefile
parent1d37bd800534129c143f350649cec9fa9248e26b (diff)
downloadFreeBSD-src-fca5bc38ec00d8cb5087036679424e8817d2b782.zip
FreeBSD-src-fca5bc38ec00d8cb5087036679424e8817d2b782.tar.gz
Convert STATS and PARANOID to run-time options.
Document the new -R (relax paranoia) option. From NetBSD/Lite2: code and man page cleanups, Kerberos IV hooks (relax, we're still exportable), and /etc/ftpchroot feature for semi-anonymous accounts
Diffstat (limited to 'libexec/ftpd/Makefile')
-rw-r--r--libexec/ftpd/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile
index 0780113..50f51cf 100644
--- a/libexec/ftpd/Makefile
+++ b/libexec/ftpd/Makefile
@@ -4,11 +4,18 @@ PROG= ftpd
MAN8= ftpd.8
SRCS= ftpd.c ftpcmd.c logwtmp.c popen.c skey-stuff.c
-CFLAGS+=-DSETPROCTITLE -DSKEY -DSTATS -DPARANOID
+CFLAGS+=-DSETPROCTITLE -DSKEY -Wall
LDADD= -lskey -lmd -lcrypt -lutil
DPADD= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} ${LIBUTIL}
CLEANFILES+=ftpcmd.c y.tab.h
+.if defined(KERBEROS)
+SRCS+= klogin.c
+LDADD+= -lkrb -ldes
+DPADD+= ${LIBKRB} ${LIBDES}
+CFLAGS+=-DKERBEROS
+.endif
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud