From nobody Tue Jun 24 15:30:04 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 4bRTR34XtFz5ywVL; Tue, 24 Jun 2025 15:30:07 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta003.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bRTR31WM0z3Y7v; Tue, 24 Jun 2025 15:30:07 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTPS id U0ViuvILr9JM2U5b4uYSpl; Tue, 24 Jun 2025 15:30:06 +0000 Received: from spqr.komquats.com ([70.66.136.217]) by cmsmtp with ESMTPSA id U5b2uby0jWX70U5b3uAPTk; Tue, 24 Jun 2025 15:30:06 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=d71WygjE c=1 sm=1 tr=0 ts=685ac47e a=h7br+8Ma+Xn9xscxy5znUg==:117 a=h7br+8Ma+Xn9xscxy5znUg==:17 a=kj9zAlcOel0A:10 a=6IFa9wvqVegA:10 a=6I5d2MoRAAAA:8 a=EkcXrb_YAAAA:8 a=YxBL1-UpAAAA:8 a=pCfXl5vkbc7RvFvwq00A:9 a=CjuIK1q_8ugA:10 a=LK5xJRSDVpKd5WXXoEvA:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 609C170F; Tue, 24 Jun 2025 08:30:04 -0700 (PDT) Received: from slippy (localhost [127.0.0.1]) by slippy.cwsent.com (Postfix) with ESMTP id 4EEF01CF; Tue, 24 Jun 2025 08:30:04 -0700 (PDT) Date: Tue, 24 Jun 2025 08:30:04 -0700 From: Cy Schubert To: Dima Panov Cc: Cy Schubert , src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 7e35117eb07f - main - Makefile: Hook MIT KRB5 into the build Message-ID: <20250624083004.6de66e53@slippy> In-Reply-To: <5fa53b5b-6c66-4195-8c89-1fc9d7b165bd@FreeBSD.org> References: <202506160251.55G2pwx4063231@gitrepo.freebsd.org> <20250620073050.7f03f74e@slippy> <3742e37c-bca9-4778-881a-94c09aefdb32@FreeBSD.org> <20250623093010.71b18c87@slippy> <5fa53b5b-6c66-4195-8c89-1fc9d7b165bd@FreeBSD.org> Organization: KOMQUATS X-Mailer: Claws Mail 3.21.0 (GTK+ 2.24.33; amd64-portbld-freebsd15.0) 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=US-ASCII Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfCQ0S7L/VsHGEMO03fCmKrRT6FL6pb6vmoH4t/qsvCzBtr++TgJwUGtKK4a0uxgo71nHsKDImo3GhKFvrUVIeNFZN/28xmEsl4c2xnWhCVHKsazBRmBX HC3KRAycx+HyVvretHO5M3iBtBMGgzJDO/Yxl4U/Yqt55yFrJC7TAJuOHiirxsn7njyQQnBrd1QKRKuRWDEG/j5PExjVc/jooYHo0ICW5Lx1bdFa4Sxrq26i KXjnWaAk8yYJM2gZRqId3J/CSrFsVmWOdnOlNnYJN+j5v5bpBROCbohLQC86cBB7YjKjKNfk6l4zPBoaBEBCJo0QH+q+MlYSugxevEoaO2jd83kTGZp3Ab98 JhfA4GTr X-Rspamd-Queue-Id: 4bRTR31WM0z3Y7v X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] On Tue, 24 Jun 2025 11:50:14 +0300 Dima Panov wrote: > Hello! > > On 23.06.2025 19:30, Cy Schubert wrote: > > Thanks for pointing this out. This has been addressed. > > Thanks! > But latest touch introduced a new error with packages: > > Checking integrity... done (1 conflicting) > - FreeBSD-krb5-lib-dev-15.snap20250624082953 [FreeBSD-Base] conflicts with FreeBSD-krb5-dev-15.snap20250624082953 [installed] on /usr/include/com_err.h > Checking integrity... done (0 conflicting) > The following 4 package(s) will be affected (of 0 checked): > > New packages to be INSTALLED: > FreeBSD-krb5-lib-dev: 15.snap20250624082953 [FreeBSD-Base] > FreeBSD-krb5-lib-dev-lib32: 15.snap20250624082953 [FreeBSD-Base] > > Installed packages to be REMOVED: > FreeBSD-krb5-dev: 15.snap20250624082953 > FreeBSD-krb5-dev-lib32: 15.snap20250624082953 > > Number of packages to be removed: 2 > Number of packages to be installed: 2 > > The operation will free 16 MiB. I haven't played around with pkgbase yet. I'll need to look at this further. com_err.h was not touched by the last commit. But, it and /usr/include/verto* were being installed by krb5/include and their respective krb5/util libraries. I didn't verify the output of my generation script at the time and remove the duplicate entries. This has been fixed. > > > > > We will forego the warning as upstream doesn't include a warning. I > > prefer to let upstream decide whether to display a warning. > > > > Your testing is muchly appreciated. Is this work part of portmgr's > > exp-run? > > > > Nope, it's a personal effort and my love to FreeBSD and it's future :) This is still on my todo list. Since people can enable WITH_MITKRB5 we will need a make.conf knob which will default based on a test of __FreeBSD_version. There will be another __FreeBSD_version bump when WITH_MITKRB5=yes is default. > > > BTW, ports need some love with MIT KRB5 in the base, so I have a dirty hack for Mk/Uses/gssapi.mk and also introduced a new variable, KRB5_IMPL, to pass as argument for ports that require something like ```--with-${KRB5_IMPL}-krb5=${GSSAPIBASEDIR}``` for configure stage. > > https://people.freebsd.org/~fluffy/-patches/with_mitkrb5.diff > I'll take a look at this and maybe reach out to you offline to plan the necessary ports changes. I have some gssapi.mk patches to implement an optional port split as requested by some in a PR who want more of a Red Hat style of package split. I'd like to bounce those ideas off someone too before any formal review is put forward. Though, the port split is probably moot now but may still be relevant for older versions of FreeBSD. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e**(i*pi)+1=0