diff options
author | lidl <lidl@FreeBSD.org> | 2016-06-03 06:24:03 +0000 |
---|---|---|
committer | lidl <lidl@FreeBSD.org> | 2016-06-03 06:24:03 +0000 |
commit | a9d9ad7238cfeb2e22d3703a810d2234d89b8f5d (patch) | |
tree | 1d80b4ac217aca53b73b60f237e1783d66713c2c /libexec/ftpd/Makefile | |
parent | 3e8c74ab95def63672e94643235039e671803854 (diff) | |
download | FreeBSD-src-a9d9ad7238cfeb2e22d3703a810d2234d89b8f5d.zip FreeBSD-src-a9d9ad7238cfeb2e22d3703a810d2234d89b8f5d.tar.gz |
Add blacklist support to ftpd
Reviewed by: rpaulo
Approved by: rpaulo
Relnotes: YES
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D6703
Diffstat (limited to 'libexec/ftpd/Makefile')
-rw-r--r-- | libexec/ftpd/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libexec/ftpd/Makefile b/libexec/ftpd/Makefile index b67979e..b945e55 100644 --- a/libexec/ftpd/Makefile +++ b/libexec/ftpd/Makefile @@ -24,6 +24,13 @@ SRCS+= ls.c cmp.c print.c util.c CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR} LIBADD+= m +.if ${MK_BLACKLIST_SUPPORT} != "no" +CFLAGS+= -DUSE_BLACKLIST -I${SRCTOP}/contrib/blacklist/include +SRCS+= blacklist.c +LIBADD+= blacklist +LDFLAGS+=-L${LIBBLACKLISTDIR} +.endif + .if ${MK_INET6_SUPPORT} != "no" CFLAGS+=-DINET6 .endif |