Created attachment 223588 [details] dependency correction. www/chromium 88.0.4324.182 has wrong dependency to security/heimdal or security/krb5.
To begin with, Mk/Uses/gssapi.mk exists for the selection of kerberos.
Created attachment 226214 [details] dependency correction (v2) Rebase attachment 223588 [details] to the latest commit of ports.
Created attachment 231621 [details] Patch modified to use Mk/Uses/gssapi.mk Reworked the patch to use Mk/Uses/gssapi.mk.
*** Bug 266162 has been marked as a duplicate of this bug. ***
This is still not really fixed. Look: # grep krb ports/www/chromium/Makefile MIT_DESC= MIT Kerberos (security/krb5) HEIMDAL_LIB_DEPENDS= libkrb.so.26:security/heimdal MIT_LIB_DEPENDS= libkrb.so.3:security/krb5 .if ${PORT_OPTIONS:MHEIMDAL_BASE} && !exists(/usr/lib/libkrb5.so) The Makefile even says libkrb5 down further than the actual DEPENDS line (admittedly that's in base).
As of the 2023Q1 branch (with a recently committed chromium port skeleton) this is where my build stops: [00:02:17] heimdal-7.1.0_1 uses a new database format which is incompatible [00:02:17] with Heimdal in the base system and heimdal-1.5.3_6 or prior. [00:02:17] [00:02:17] Please read 20161112 in /usr/ports/UPDATING carefully to upgrade [00:02:17] your database. [00:02:17] ===> chromium-111.0.5563.110 depends on shared library: libkrb.so.26 - not found [00:02:17] *** Error code 1 I can work around this by modifying the Makefile like this: HEIMDAL_LIB_DEPENDS= libkrb5.so.26:security/heimdal
Created attachment 241255 [details] Use GSSAPI macros to handle kerberos options. This is a patch based on the former one from @hiroo.ono+freebsd@gmail.com. Poudriere 'testport' passed against the 4 kerberos choices, running 13.1-RELEASE on AMD64. * ssl from base: *HEIMDAL: OK *HEIMDAL from base: OK *HEIMDAL mit: OK * No kerberos: OK *libressl: *HEIMDAL: OK *HEIMDAL from base:KO, sanity check, this is expected. *HEIMDAL mit: OK *No kerberos: OK *Openssl: *HEIMDAL: OK *HEIMDAL from base:KO, sanity check, this is expected. *HEIMDAL mit: OK *No kerberos: OK