From nobody Thu Jun 5 02:53:52 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4bCTYD5dwnz5y3sl; Thu, 05 Jun 2025 02:53:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bCTYD2B6bz3P0R; Thu, 05 Jun 2025 02:53:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749092032; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=I3bK93UfZINRQABIMjYdNXXuUm6ny6WtF46QUmtVosU=; b=A25btj8+GYfZ5AWrPoQlzOFKm6ER2IMukjWlu8Ok8wDjgRYDF9bKJq35CxbEW0istg9MO2 4XedWas/pGHZEpkEImIfvCUj46Cobm6v50ZJXVcB2qPHRMbXbbvaa0id19dFZMGTyrVMMQ 5r3HMJ39yGGm6Z7KvM10I0vTxgR2CR7L5cmppHHeiQkaxMFLr1I4rlMmUWQb0aErFlgEti YpBvvbN/r4JVle72GmeJFAVUib951tih0kbiBivcZYNKS1iGm3TywU+ewt/iZr9Ufojt3t 1TXrMwpE1XB+azLu8lpCZOBGPwz36phmIz2w6/pXKb77TTmBN1OysjLrOsiZPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1749092032; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=I3bK93UfZINRQABIMjYdNXXuUm6ny6WtF46QUmtVosU=; b=VFSPZRiyXZa5d7Cr9K82VOMlqfQbACX+hXz31ydUbENxixF7iJOHDoJUfY0HkqjIfjmFqE Mt9zfidZfLzfpYhUq7qSmyjvfgm2y5wN9yBpVrOWlYU0fylo5taPtW+f8e4fl8e2scqVd1 o+rUaXKe7zV+yD0t9zWQ9Q2Z5VtcUmIcgPeS8IG03Pb8vKTSANFFjYxsSzbOeVeZ+b7A/3 UN/BhieAY/eK0+eAW6H1AjbN9RtYHUos5Ry0j0CTOMafRjZgQN9wwXH3PZ1wDmSnMHJvGb RKlZEJ0FNvn5vahuIDaQz1aBCLzCaSzKKO6OhWVu4NqYwfQgVCCMvZlOYhrMLw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1749092032; a=rsa-sha256; cv=none; b=RW4kLficmN8P39Sl93QjeGtlQ1asLH17FXHpzsldajkJQ3ag1kPcLiOCAgJX5u8etKZ9Sp fMTLfIrYP1DTCvbVoorKDvQ03WQRZP9oxHbAJlZyIVDelGFa3SE4Cd6bBQ10xVG/3+/Hi5 iDxv6DSKyhcvJRjkxwi9u50UXZw4rePWqSd85kztfz2h93weDvDjq25T48EHOVxKVLPXgx Omiekzi+EdqFuz0SrRlv5KF8fntgWIQOuEO/MmV9HQqycqByitGZfk3C+Vss1DGqC/IH7q VBaobTqm36NuekM+8vP2RluraspU9Q8DhTEXEmFNVZdwbevMR5njcKCIjB7gdQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4bCTYD1Vsszs3y; Thu, 05 Jun 2025 02:53:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 5552rqsE043445; Thu, 5 Jun 2025 02:53:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5552rqB7043442; Thu, 5 Jun 2025 02:53:52 GMT (envelope-from git) Date: Thu, 5 Jun 2025 02:53:52 GMT Message-Id: <202506050253.5552rqB7043442@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Cy Schubert Subject: git: 290e8aaa3840 - main - share/mk: Add MIT KRB5 build knob List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 290e8aaa384085a7f691b2a140b5a904794eb83c Auto-Submitted: auto-generated The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=290e8aaa384085a7f691b2a140b5a904794eb83c commit 290e8aaa384085a7f691b2a140b5a904794eb83c Author: Cy Schubert AuthorDate: 2025-06-04 23:39:08 +0000 Commit: Cy Schubert CommitDate: 2025-06-05 02:45:46 +0000 share/mk: Add MIT KRB5 build knob This is the first in a series of commits to replace Heimdal with MIT KRB5. This first commit adds the WITH_MITKRB5/MK_MITKRB5 knob to src.opts.mk and its corresponding documentation in tools/build/options. The default is off. This change of and by itself is of no consequence as MIT KRB5 has yet to be imported in to HEAD. But it does insulate the build from inremental change until the last patch is committed when WITH_MITKRB5 will build MIT KRB5 1.21.3 instead of Heimdal. The affords us the opportunity to review smaller commits. This is the first of many commits. Reviewed by: imp, jhb, brooks, markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D50684 --- share/mk/src.opts.mk | 3 +++ tools/build/options/WITH_MITKRB5 | 1 + 2 files changed, 4 insertions(+) diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index 956220be43b3..387e570f8518 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -211,6 +211,7 @@ __DEFAULT_NO_OPTIONS = \ LOADER_VERIEXEC_PASS_MANIFEST \ LLVM_FULL_DEBUGINFO \ MALLOC_PRODUCTION \ + MITKRB5 \ OFED_EXTRA \ OPENLDAP \ REPRODUCIBLE_BUILD \ @@ -403,6 +404,7 @@ MK_OPENSSL:= no MK_OPENSSH:= no MK_KERBEROS:= no MK_KERBEROS_SUPPORT:= no +MK_MITKRB5:= no .endif .if ${MK_DTRACE} == "no" @@ -429,6 +431,7 @@ MK_OPENSSH:= no MK_OPENSSL_KTLS:= no MK_KERBEROS:= no MK_KERBEROS_SUPPORT:= no +MK_MITKRB5:= no MK_LDNS:= no MK_PKGBOOTSTRAP:= no MK_LOADER_ZFS:= no diff --git a/tools/build/options/WITH_MITKRB5 b/tools/build/options/WITH_MITKRB5 new file mode 100644 index 000000000000..6e3683c351c5 --- /dev/null +++ b/tools/build/options/WITH_MITKRB5 @@ -0,0 +1 @@ +Set this to build MIT Kerberos 5 instead of KTH Heimdal.