summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-03-26 12:52:28 +0000
committerru <ru@FreeBSD.org>2002-03-26 12:52:28 +0000
commit065ea04bd88fea07a99cd23a16fe51d92d340e2c (patch)
treee352a6b9a5d29d9cd8f84432f8c5e8f8971ac83b /secure
parent833cdae90669254b5fca898fc0ff90cf0641e72c (diff)
downloadFreeBSD-src-065ea04bd88fea07a99cd23a16fe51d92d340e2c.zip
FreeBSD-src-065ea04bd88fea07a99cd23a16fe51d92d340e2c.tar.gz
Switch over to using pam_login_access(8) module in sshd(8).
(Fixes static compilation. Reduces diffs to OpenSSH.) Reviewed by: bde
Diffstat (limited to 'secure')
-rw-r--r--secure/usr.sbin/sshd/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/secure/usr.sbin/sshd/Makefile b/secure/usr.sbin/sshd/Makefile
index bf22015..f453bc1 100644
--- a/secure/usr.sbin/sshd/Makefile
+++ b/secure/usr.sbin/sshd/Makefile
@@ -1,17 +1,15 @@
# $FreeBSD$
#
-LOGINSRC= ${.CURDIR}/../../../usr.bin/login
-
PROG= sshd
SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
sshpty.c sshlogin.c servconf.c serverloop.c \
auth.c auth1.c auth2.c auth-options.c session.c \
auth-chall.c auth2-chall.c auth-skey.c auth-pam.c auth2-pam.c \
- groupaccess.c login_access.c
+ groupaccess.c
MAN= sshd.8
-CFLAGS+= -DLIBWRAP -DHAVE_LOGIN_CAP -DLOGIN_ACCESS -I${LOGINSRC} -DUSE_PAM -DHAVE_PAM_GETENVLIST
+CFLAGS+= -DLIBWRAP -DHAVE_LOGIN_CAP -DUSE_PAM -DHAVE_PAM_GETENVLIST
.if defined(MAKE_KERBEROS4) && \
((${MAKE_KERBEROS4} == "yes") || (${MAKE_KERBEROS4} == "YES"))
@@ -44,4 +42,4 @@ DPADD+= ${LIBSSH} ${LIBCRYPT} ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPA
.include <bsd.prog.mk>
-.PATH: ${SSHDIR} ${LOGINSRC}
+.PATH: ${SSHDIR}
OpenPOWER on IntegriCloud