Is there any plans to bring squid 7.2+ to ports?
Hi Yes, I do have plans to upgrade it. I'll try to make it this week.
Created attachment 264986 [details] squid-7.3.patch Update to 7.3 https://github.com/squid-cache/squid/releases/tag/SQUID_7_3 portlint(1) Compliant.
I'm sorry but how can I apply this patch over poudriere ports tree?
(In reply to ant2 from comment #3) git apply?
Build failed in my case. ... checking for pkg-config... no configure: WARNING: pkg-config not found. Many optional features with external ... configure: OpenSSL library support: yes -lcrypto -lssl checking for LIBMIT_KRB5... no configure: Library 'mit-krb5' support: no (auto) ./configure: LIBHEIMDAL_KRB5_PATH+=-L/usr/lib: not found ./configure: LIBHEIMDAL_KRB5_CFLAGS+=-I/usr/include: not found checking for LIBHEIMDAL_KRB5... no configure: error: Required library 'heimdal-krb5' not found ===> Script "configure" failed unexpectedly. Please report the problem to timp87@gmail.com [maintainer] and attach the "/wrkdirs/usr/ports/www/squid/work/squid-7.3/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 checking how to recognize dependent libraries... pass_all checking for dlltool... no ... Options was: ... ====> GSSAPI Security API support: you have to select exactly one of them GSSAPI_BASE=on: GSSAPI support via base system (needs Kerberos) GSSAPI_HEIMDAL=off: GSSAPI support via security/heimdal GSSAPI_MIT=off: GSSAPI support via security/krb5 GSSAPI_NONE=off: Disable GSSAPI support ... uname -a FreeBSD 14.3-STABLE FreeBSD 14.3-STABLE #0 stable/14-n272483
Sorry. Ignore my comment https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290630#c5 There was no FreeBSD-kerberos basepackage in my system.
(In reply to ant2 from comment #5) > checking for pkg-config... no > configure: WARNING: pkg-config not found. Many optional features with external Maybe add USES+=pkgconfig?
I can report that with patch above (from 2025-10-29 05:39 UTC) squid 7.3 was successfully builded in my case.
Thank you, guys. The base heimdal kerberos detection is messy indeed. I found how to workaround it, but need a bit more time for testing. So I'll post port patch within next few days.
Created attachment 265166 [details] port patch - upgrade to latest 7.3, see changelog at https://github.com/squid-cache/squid/blob/SQUID_7_3/ChangeLog - remove all patch sites. They do not exist anymore, project moved to github - remove ESI, IDENT options as upstream did - rename --without-gnugss to --without-gss to follow changes in configure script - add --without-mit-krb5 paramater to GSSAPI_BASE_CONFIGURE_ON (for fbsd < 15) and GSSAPI_HEIMDAL_CONFIGURE_ON (for fbsd 15+) to stop auto-detection of MIT KRB5 which comes before HEIMDAL in configure - remove SMB_LM basic auth helper as upstream did - add patch to fix build with based heimdal krb5 on fbsd < 15 - remove workaround for https://bugs.squid-cache.org/show_bug.cgi?id=5390 in squid rc script, not actual for squid 7 - apply portfmt I'll report configure script problems with heimdal krb5 detection to upstream. Hope they will fix it in the next version
Still has problems under freebsd 15. Fixing