summaryrefslogtreecommitdiffstats
path: root/libexec/ftpd/Makefile
diff options
context:
space:
mode:
authorlidl <lidl@FreeBSD.org>2016-06-03 06:24:03 +0000
committerlidl <lidl@FreeBSD.org>2016-06-03 06:24:03 +0000
commita9d9ad7238cfeb2e22d3703a810d2234d89b8f5d (patch)
tree1d80b4ac217aca53b73b60f237e1783d66713c2c /libexec/ftpd/Makefile
parent3e8c74ab95def63672e94643235039e671803854 (diff)
downloadFreeBSD-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/Makefile7
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
OpenPOWER on IntegriCloud