summaryrefslogtreecommitdiffstats
path: root/secure/usr.sbin
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-06-25 19:10:09 +0000
committerdes <des@FreeBSD.org>2002-06-25 19:10:09 +0000
commit513df53f599143b8e6eea0bfc146795e8b49a816 (patch)
treed2e405b1830cc112b95eb861435acc4cf82f9dbe /secure/usr.sbin
parentdf105eba79a48fb00cc8f6a894e8869777c2b518 (diff)
downloadFreeBSD-src-513df53f599143b8e6eea0bfc146795e8b49a816.zip
FreeBSD-src-513df53f599143b8e6eea0bfc146795e8b49a816.tar.gz
No guts, no glory. Switch to OpenSSH-portable.
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'secure/usr.sbin')
-rw-r--r--secure/usr.sbin/sshd/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/secure/usr.sbin/sshd/Makefile b/secure/usr.sbin/sshd/Makefile
index 4987cef..6cc3478 100644
--- a/secure/usr.sbin/sshd/Makefile
+++ b/secure/usr.sbin/sshd/Makefile
@@ -9,10 +9,11 @@ SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
auth-skey.c auth-bsdauth.c monitor_mm.c monitor.c \
auth2-none.c auth2-passwd.c auth2-pubkey.c \
auth2-hostbased.c auth2-kbdint.c \
- auth-pam.c auth2-pam.c
+ auth-pam.c auth2-pam.c auth2-pam-freebsd.c
+# Portability layer
+SRCS+= loginrec.c
MAN= sshd.8 sshd_config.5
-
-CFLAGS+= -DLIBWRAP -DHAVE_LOGIN_CAP -DUSE_PAM -DHAVE_PAM_GETENVLIST
+CFLAGS+=-I${SSHDIR}
.if defined(MAKE_KERBEROS4)
DISTRIBUTION=krb4
@@ -24,13 +25,12 @@ DPADD+= ${LIBKRB} ${LIBCOM_ERR}
.if defined(MAKE_KERBEROS5)
DISTRIBUTION=krb5
-CFLAGS+= -DKRB5
+CFLAGS+= -DKRB5 -DHEIMDAL
SRCS+= auth-krb5.c
LDADD+= -lkrb5 -lasn1 -lcom_err -lmd -L${.OBJDIR}/../../../kerberos5/lib/libroken -lroken
DPADD+= ${LIBKRB5} ${LIBCOM_ERR} ${LIBASN1} ${LIBMD}
.endif
-CFLAGS+= -DSKEY
LDADD+= -lopie -lmd
DPADD+= ${LIBOPIE} ${LIBMD}
OpenPOWER on IntegriCloud