Date: Sun, 31 Aug 2025 14:33:29 +0100 From: Lexi Winter <ivy@freebsd.org> To: Herbert <herbert@fastmail.jp> Cc: freebsd-current@freebsd.org Subject: Re: a few observations with 15-prerelease as of early this week Message-ID: <aLRPKcYGC2bWuJBR@amaryllis.le-fay.org> In-Reply-To: <b5825b9d-f180-4b2b-88f9-e1cebc172594@app.fastmail.com> References: <CAPx1GveLjXtNf8GiZ6BHCH5eJfMwt=22mEPaHpk9nxdhd3ey2Q@mail.gmail.com> <aLNi5rxeP7LI2SPJ@amaryllis.le-fay.org> <ba5578461c047482016cdbbf65a5a2e3@Leidinger.net> <b5825b9d-f180-4b2b-88f9-e1cebc172594@app.fastmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Herbert:
> Yes, it's broken. The problematic part:
>
> GSSAPI_MIT_VARS_OFF= KRB5CONF=${HEIMDAL_HOME}/bin/krb5-config
>
> and on main HEIMDAL_HOME is empty.
>
> Maybe we need an OSVERSION check fpr this line?
you can't use OSVERSION to check for this because the user can build
15.0 with Heimdal instead of MIT Kerberos. instead, check for the
existence of /usr/libdata/pkgconfig/mit-krb5.pc; for example, from
www/squid:
.if exists(/usr/libdata/pkgconfig/mit-krb5.pc)
GSSAPI_BASE_CONFIGURE_ON+= --with-mit-krb5=${GSSAPIBASEDIR}
.else
GSSAPI_BASE_CONFIGURE_ON+= --with-heimdal-krb5=${GSSAPIBASEDIR}
.endif
alternatively, perhaps you can assume that if ${HEIMDAL_HOME} is empty
then the base system is using MIT Kerberos, but i don't know where that
variable comes from.
i wonder if Uses/gssapi.mk should provide some sort of variable to allow
ports to check what Kerberos version the base system is using without
having knowledge of specific files.
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCaLRPJgAKCRD1nT63mIK/
YFyeAQDNTLuFg7kjRBWdPZYU+LLd6m4b5v4U2SeWntrBPTBsugEAqPmt6v4hrI4s
mprY1cacJyF69L2nqww8exaFbNm1hg0=
=t2Kc
-----END PGP SIGNATURE-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aLRPKcYGC2bWuJBR>
