diff options
author | Kurt Lidl <lidl@FreeBSD.org> | 2016-06-07 16:18:09 +0000 |
---|---|---|
committer | Kurt Lidl <lidl@FreeBSD.org> | 2016-06-07 16:18:09 +0000 |
commit | c0cc364181387bbd94be77451ebcf69bc23ed2a5 (patch) | |
tree | 37ea51eb146fb74c8e9cc3754d74234f3ae2d2ed /secure/usr.sbin | |
parent | 3707d4d3e30c3e712f1cb7a3accfc8cd9946a6cc (diff) | |
download | src-c0cc364181387bbd94be77451ebcf69bc23ed2a5.tar.gz src-c0cc364181387bbd94be77451ebcf69bc23ed2a5.zip |
Add blacklist support to sshd
Reviewed by: rpaulo
Approved by: rpaulo (earlier version of changes)
Relnotes: YES
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D5915
Notes
Notes:
svn path=/head/; revision=301551
Diffstat (limited to 'secure/usr.sbin')
-rw-r--r-- | secure/usr.sbin/sshd/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/secure/usr.sbin/sshd/Makefile b/secure/usr.sbin/sshd/Makefile index f9589a37ae37..bab29015b85e 100644 --- a/secure/usr.sbin/sshd/Makefile +++ b/secure/usr.sbin/sshd/Makefile @@ -40,6 +40,13 @@ CFLAGS+= -DUSE_BSM_AUDIT -DHAVE_GETAUDIT_ADDR LIBADD+= bsm .endif +.if ${MK_BLACKLIST_SUPPORT} != "no" +CFLAGS+= -DUSE_BLACKLIST -I${SRCTOP}/contrib/blacklist/include +SRCS+= blacklist.c +LIBADD+= blacklist +LDFLAGS+=-L${LIBBLACKLISTDIR} +.endif + .if ${MK_KERBEROS_SUPPORT} != "no" CFLAGS+= -include krb5_config.h SRCS+= krb5_config.h |