Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160252407
D50782.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D50782.diff
View Options
diff --git a/crypto/openssh/krb5_config.h b/crypto/openssh/krb5_config.h
--- a/crypto/openssh/krb5_config.h
+++ b/crypto/openssh/krb5_config.h
@@ -6,5 +6,4 @@
#define HAVE_KRB5_CC_NEW_UNIQUE 1
#define HAVE_KRB5_FREE_ERROR_MESSAGE 1
#define HAVE_KRB5_GET_ERROR_MESSAGE 1
-#define HEIMDAL 1
#define KRB5 1
diff --git a/secure/libexec/sshd-session/Makefile b/secure/libexec/sshd-session/Makefile
--- a/secure/libexec/sshd-session/Makefile
+++ b/secure/libexec/sshd-session/Makefile
@@ -40,6 +40,15 @@
.if ${MK_GSSAPI} != "no" && ${MK_KERBEROS_SUPPORT} != "no"
LIBADD+= gssapi_krb5 gssapi krb5
+.if ${MK_MITKRB5} != "no"
+.include "../../krb5/Makefile.inc"
+CFLAGS+= -I${KRB5_DIR}/include \
+ -I${KRB5_SRCTOP}/include \
+ -I${KRB5_OBJTOP}/lib \
+ -I${KRB5_DIR}/lib/gssapi/generic \
+ -I${KRB5_DIR}/lib/gssapi/krb5 \
+ -I${KRB5_DIR}/lib/gssapi/mechglue
+.endif
.endif
.if ${MK_TCP_WRAPPERS} != "no"
diff --git a/secure/ssh.mk b/secure/ssh.mk
--- a/secure/ssh.mk
+++ b/secure/ssh.mk
@@ -11,6 +11,10 @@
.if ${MK_GSSAPI} != "no" && ${MK_KERBEROS_SUPPORT} != "no"
CFLAGS+= -include krb5_config.h
+.if ${MK_MITKRB5} == "no"
+CFLAGS+= -DHEIMDAL=1
+.endif
+
.endif
CFLAGS+= -DXAUTH_PATH=\"${LOCALBASE:U/usr/local}/bin/xauth\"
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jun 23, 2:14 PM (16 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34250199
Default Alt Text
D50782.diff (1 KB)
Attached To
Mode
D50782: openssh: Support building with MIT KRB5
Attached
Detach File
Event Timeline
Log In to Comment