On Tue, 24 Jun 2025 11:50:14 +0300
Dima Panov <flu...@freebsd.org> 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 <cy.schub...@cschubert.com>
FreeBSD UNIX:  <c...@freebsd.org>   Web:  https://FreeBSD.org
NTP:           <c...@nwtime.org>    Web:  https://nwtime.org

                        e**(i*pi)+1=0

Reply via email to