From dcb4ae528d357f34e4a4b4882c2757c67c98e395 Mon Sep 17 00:00:00 2001 From: Jose Luis Duran Date: Thu, 20 Feb 2025 04:11:30 +0000 Subject: [PATCH] openssh: Add GSSAPI and Kerberos support to sshd Makefile Reported by: cy Reviewed by: emaste Approved by: emaste (mentor) Fixes: 0fdf8fae8b56 ("openssh: Update to 9.8p1") --- secure/usr.sbin/sshd/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/secure/usr.sbin/sshd/Makefile b/secure/usr.sbin/sshd/Makefile index 4e1f330076b..d5bcf008e23 100644 --- a/secure/usr.sbin/sshd/Makefile +++ b/secure/usr.sbin/sshd/Makefile @@ -16,6 +16,12 @@ moduli: .MADE LIBADD= ssh util +.if ${MK_GSSAPI} != "no" && ${MK_KERBEROS_SUPPORT} != "no" +CFLAGS+= -include krb5_config.h +SRCS+= krb5_config.h +LIBADD+= gssapi_krb5 gssapi krb5 +.endif + .if ${MK_TCP_WRAPPERS} != "no" CFLAGS+= -DLIBWRAP=1 LIBADD+= wrap