Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2025 04:19:49 GMT
From:      Jose Luis Duran <jlduran@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: dcb4ae528d35 - main - openssh: Add GSSAPI and Kerberos support to sshd Makefile
Message-ID:  <202502200419.51K4Jn7s015519@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jlduran:

URL: https://cgit.FreeBSD.org/src/commit/?id=dcb4ae528d357f34e4a4b4882c2757c67c98e395

commit dcb4ae528d357f34e4a4b4882c2757c67c98e395
Author:     Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2025-02-20 04:11:30 +0000
Commit:     Jose Luis Duran <jlduran@FreeBSD.org>
CommitDate: 2025-02-20 04:18:04 +0000

    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 4e1f330076b4..d5bcf008e233 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202502200419.51K4Jn7s015519>