summaryrefslogtreecommitdiffstats
path: root/secure/usr.sbin/sshd
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-03-09 14:54:00 +0000
committermarkm <markm@FreeBSD.org>2000-03-09 14:54:00 +0000
commiteeb8008dd35800b119535b53dc4607fda698f4b2 (patch)
tree1ad920521cf3a2f8fe6bb2605710f41e407c91ff /secure/usr.sbin/sshd
parentb0cba82a4f20bc5a6b45756ed7573301110d26f1 (diff)
downloadFreeBSD-src-eeb8008dd35800b119535b53dc4607fda698f4b2.zip
FreeBSD-src-eeb8008dd35800b119535b53dc4607fda698f4b2.tar.gz
Make LOGIN_CAP work properly.
Submitted by: ache
Diffstat (limited to 'secure/usr.sbin/sshd')
-rw-r--r--secure/usr.sbin/sshd/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/secure/usr.sbin/sshd/Makefile b/secure/usr.sbin/sshd/Makefile
index 8ac914d..62ec362 100644
--- a/secure/usr.sbin/sshd/Makefile
+++ b/secure/usr.sbin/sshd/Makefile
@@ -2,6 +2,7 @@
#
SSHSRC= ${.CURDIR}/../../../crypto/openssh
+LOGINSRC= ${.CURDIR}/../../../usr.bin/login
PROG= sshd
BINOWN= root
@@ -9,13 +10,14 @@ BINMODE=555
MAN8= sshd.8
SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
- pty.c log-server.c login.c servconf.c serverloop.c
+ pty.c log-server.c login.c servconf.c serverloop.c \
+ login_access.c
-CFLAGS= -DLIBWRAP
+CFLAGS+= -DLIBWRAP -DLOGIN_ACCESS -I${LOGINSRC}
.include <bsd.own.mk>
-.PATH: ${SSHSRC}
+.PATH: ${SSHSRC} ${LOGINSRC}
.if defined(MAKE_KERBEROS4) && \
((${MAKE_KERBEROS4} == "yes") || (${MAKE_KERBEROS4} == "YES"))
OpenPOWER on IntegriCloud