Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
33c4857
Document ideal configure.ac structure
yadij Jan 7, 2026
a3f00ea
Maintenance: remove outdated macro AC_REVISION (#2344)
yadij Jan 7, 2026
177bb6a
Fix ./configure EUI check (#2338)
timp87 Jan 7, 2026
f0cf8fe
Add AC_COPYRIGHT macro (#2343)
yadij Jan 8, 2026
241c32d
Drop obsolete AM_PROG_CC_C_O (#2342)
yadij Jan 8, 2026
520f8bc
CI: Do not install translate-toolkit on FreeBSD (#2353)
kinkie Jan 12, 2026
4cfb4fc
CI: Collect logs of failed unit tests (#2348)
eduard-bagdasaryan Jan 13, 2026
f684f25
Translation: update error page POT/PO files (#2350)
yadij Jan 13, 2026
b49a374
Set SSL_OP_LEGACY_SERVER_CONNECT when peeking at servers (#2354)
somecookie Jan 15, 2026
7c122dd
Maintenance: update copyright comment prefix in M4 code (#2347)
yadij Jan 16, 2026
c5f977b
Maintenance: Add missing definitions to stub_fd.cc (#2340)
yadij Jan 17, 2026
d2a59b8
Restore Security::ErrorDetail::detailEntry initialization (#2364)
somecookie Jan 30, 2026
0896e1e
Maintenance: Add missing stub_fde.cc (#2359)
yadij Feb 9, 2026
52c60bb
CI: update Linux test targets (#2370)
kinkie Feb 9, 2026
61268b0
Do not escape malformed URI twice when sending ICP errors (#2374)
Feb 10, 2026
611cda1
Expand %x and %D after bumped SQUID_X509_V_ERR_DOMAIN_MISMATCH (#2373)
somecookie Feb 11, 2026
4c455bc
ICP: Fix validation of packet sizes and URLs (#2220)
MegaManSec Feb 12, 2026
49f47cc
ICP: Fix HttpRequest lifetime for ICP v3 queries (#2377)
rousskov Feb 18, 2026
4cfe71a
Update Swedish error page translations (#2379)
yeager Feb 20, 2026
765c7f4
Maintenance: minor COPYING/CREDITS updates (#2383)
yadij Mar 2, 2026
a62833e
CI: enhance FreeBSD staging tests (#2372)
kinkie Mar 18, 2026
dc001f6
Remove SCO OpenServer workaround (#2402)
kinkie Apr 9, 2026
16da7bf
Update configure.ac
yadij Apr 14, 2026
e79ed4e
Update configure.ac
yadij Apr 14, 2026
4a7d0e5
Document ideal configure.ac structure
yadij Jan 7, 2026
6c4be60
Shuffle text up during review decisions
yadij Apr 14, 2026
d6185ec
merge reviewer requested changes
yadij Apr 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/quick.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: build-logs-${{ matrix.os }}-${{ matrix.compiler.CC }}-${{ matrix.layer.nick }}
path: btlayer-*.log
path: "**/*.log"

CodeQL-tests:

Expand Down
64 changes: 46 additions & 18 deletions .github/workflows/slow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,8 @@ jobs:
- opensuse-tumbleweed
- ubuntu-focal
- ubuntu-jammy
- ubuntu-noble # EOL 2036-04
- ubuntu-oracular # EOL 2025-07
- ubuntu-plucky
- ubuntu-noble
- ubuntu-questing
compiler:
- { CC: gcc, CXX: g++ }
- { CC: clang, CXX: clang++ }
Expand Down Expand Up @@ -84,7 +83,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: build-logs-${{ matrix.os }}-${{ matrix.compiler.CC }}-${{ matrix.layer.nick }}
path: btlayer-*.log
path: "**/*.log"

macos:
runs-on: macos-14
Expand Down Expand Up @@ -140,53 +139,82 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: build-logs-macos
path: btlayer-*.log
path: "**/*.log"

freebsd:
strategy:
matrix:
osversion:
- 14.3
- "15.0"
- "14.3"
- "13.5"
platform:
- amd64
# We are ready to support multiple platforms, but
# - arm64 is too slow as of 2026-02 (> 6 hours per run, GitHub times out)
# - riscv64 not working as of 2026-02 (GitHub image is incomplete)
# We expect these problems to be solved some time soon.
runs-on: "${{ matrix.platform != 'arm64' && 'ubuntu-24.04' || 'ubuntu-24.04-arm' }}"

runs-on: ubuntu-24.04
name: freebsd(${{ matrix.osversion }})
name: freebsd(${{ matrix.osversion }},${{ matrix.platform }})

steps:
- name: Checkout Sources
uses: actions/checkout@v4

- name: Setup ccache
uses: hendrikmuhs/ccache-action@v1.2.19
with:
verbose: 2 # default 0
key: ${{ github.job }}-${{ matrix.osversion }}-${{ matrix.platform }}
max-size: "250MB"
evict-old-files: "28d"

- name: Run test-builds
id: test-builds
uses: vmactions/freebsd-vm@v1
with:
usesh: true
release: ${{ matrix.osversion }}
sync: rsync
copyback: true
release: "${{ matrix.osversion }}"
arch: "${{ matrix.platform }}"
prepare: |
pkg update
export BATCH=yes
which nproc > /dev/null && echo "MAKE_JOBS_NUMBER?=`nproc --all`" >> /etc/make.conf
echo "OPTIONS_UNSET=CUPS DEBUG DOCS FONTCONFIG NLS X11" >> /etc/make.conf
echo "WITHOUT_MODULES=sound ntfs linux" >> /etc/make.conf
echo "WITHOUT_X11=yes" >> /etc/make.conf
echo "NO_SENDMAIL=true" >> /etc/make.conf
echo "IGNORE_OSVERSION=yes" >> /usr/local/etc/pkg.conf

pkg install -y \
autoconf \
autoconf-archive \
automake \
bash \
ccache \
cppunit \
gmake \
libltdl \
libtool \
m4 \
nettle \
pkgconf \
translate-toolkit
pkgconf
ccache --set-config=cache_dir="$GITHUB_WORKSPACE/.ccache"
ccache --set-config=max_size='250MB'
ccache --set-config=compression=true

run: |
export MAKE=gmake
./test-builds.sh
export CC='ccache cc'
export CXX='ccache c++'
./test-builds.sh layer-02-maximus

- name: Publish build logs
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: build-logs-freebsd-${{ matrix.osversion }}
path: btlayer-*.log
name: build-logs-freebsd-${{ matrix.osversion }}-${{ matrix.platform }}
path: "**/*.log"

openbsd:
runs-on: ubuntu-24.04
Expand Down Expand Up @@ -245,4 +273,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: build-logs-openbsd
path: btlayer-*.log
path: "**/*.log"
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ Thank you!
Reinhard Sojka <reinhard.sojka@parlament.gv.at>
Rene Geile <rene.geile@t-online.de>
Reuben Farrelly <reuben@reub.net>
Ricardo Ferreira Ribeiro <garb12@pm.me>
Richard Huveneers <Richard.Huveneers@hekkihek.hacom.nl>
Richard Huveneers <richard@hekkihek.hacom.nl>
Richard Sharpe
Expand Down
9 changes: 4 additions & 5 deletions COPYING
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Version 2, June 1991

Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
<https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

Expand Down Expand Up @@ -304,8 +304,7 @@ the "copyright" line and a pointer to where the full notice is found.
GNU General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
with this program; if not, see <https://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

Expand All @@ -329,8 +328,8 @@ necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.

<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
<signature of Moe Ghoul>, 1 April 1989
Moe Ghoul, President of Vice

This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
Expand Down
76 changes: 36 additions & 40 deletions CREDITS
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,21 @@ research project called The Harvest Information Discovery and Access System:

acinclude/ax_cxx_compile_stdcxx.m4:

# Copyright (c) 2008 Benjamin Kosnik <bkoz@redhat.com>
# Copyright (c) 2012 Zack Weinberg <zackw@panix.com>
# Copyright (c) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
# Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
# Copyright (c) 2015 Paul Norman <penorman@mac.com>
# Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu>
# Copyright (c) 2016, 2018 Krzesimir Nowak <qdlacz@gmail.com>
# Copyright (c) 2019 Enji Cooper <yaneurabeya@gmail.com>
# Copyright (c) 2020 Jason Merrill <jason@redhat.com>
# Copyright (c) 2021 Jörn Heusipp <osmanx@problemloesungsmaschine.de>
#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice
# and this notice are preserved. This file is offered as-is, without any
# warranty.
dnl Copyright (c) 2008 Benjamin Kosnik <bkoz@redhat.com>
dnl Copyright (c) 2012 Zack Weinberg <zackw@panix.com>
dnl Copyright (c) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
dnl Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
dnl Copyright (c) 2015 Paul Norman <penorman@mac.com>
dnl Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu>
dnl Copyright (c) 2016, 2018 Krzesimir Nowak <qdlacz@gmail.com>
dnl Copyright (c) 2019 Enji Cooper <yaneurabeya@gmail.com>
dnl Copyright (c) 2020 Jason Merrill <jason@redhat.com>
dnl Copyright (c) 2021 Jörn Heusipp <osmanx@problemloesungsmaschine.de>
dnl
dnl Copying and distribution of this file, with or without modification, are
dnl permitted in any medium without royalty provided the copyright notice
dnl and this notice are preserved. This file is offered as-is, without any
dnl warranty.

==============================================================================

Expand All @@ -117,26 +117,26 @@ dnl and this notice are preserved.

acinclude/pkg.m4:

# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
# As a special exception to the GNU General Public License, if you
# distribute this file as part of a program that contains a
# configuration script generated by Autoconf, you may include it under
# the same distribution terms that you use for the rest of that program.
dnl Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
dnl the Free Software Foundation; either version 2 of the License, or
dnl (at your option) any later version.
dnl
dnl This program is distributed in the hope that it will be useful, but
dnl WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dnl General Public License for more details.
dnl
dnl You should have received a copy of the GNU General Public License
dnl along with this program; if not, write to the Free Software
dnl Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
dnl
dnl As a special exception to the GNU General Public License, if you
dnl distribute this file as part of a program that contains a
dnl configuration script generated by Autoconf, you may include it under
dnl the same distribution terms that you use for the rest of that program.

==============================================================================

Expand Down Expand Up @@ -739,11 +739,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with GNU Libltdl; see the file COPYING.LIB. If not, a
copy can be downloaded from http://www.gnu.org/licenses/lgpl.html,
or obtained by writing to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

License along with GNU Libltdl. If not, see <https://www.gnu.org/licenses/>.

==============================================================================

Expand Down
102 changes: 51 additions & 51 deletions acinclude/ax_cxx_compile_stdcxx.m4
Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
## Copyright (C) 1996-2026 The Squid Software Foundation and contributors
##
## Squid software is distributed under GPLv2+ license and includes
## contributions from numerous individuals and organizations.
## Please see the COPYING and CONTRIBUTORS files for details.
##

# ===========================================================================
# https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html
# ===========================================================================
#
# SYNOPSIS
#
# AX_CXX_COMPILE_STDCXX(VERSION, [ext|noext], [mandatory|optional])
#
# DESCRIPTION
#
# Check for baseline language coverage in the compiler for the specified
# version of the C++ standard. If necessary, add switches to CXX and
# CXXCPP to enable support. VERSION may be '11', '14', '17', or '20' for
# the respective C++ standard version.
#
# The second argument, if specified, indicates whether you insist on an
# extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g.
# -std=c++11). If neither is specified, you get whatever works, with
# preference for no added switch, and then for an extended mode.
#
# The third argument, if specified 'mandatory' or if left unspecified,
# indicates that baseline support for the specified C++ standard is
# required and that the macro should error out if no mode with that
# support is found. If specified 'optional', then configuration proceeds
# regardless, after defining HAVE_CXX${VERSION} if and only if a
# supporting mode is found.
#
# LICENSE
#
# Copyright (c) 2008 Benjamin Kosnik <bkoz@redhat.com>
# Copyright (c) 2012 Zack Weinberg <zackw@panix.com>
# Copyright (c) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
# Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
# Copyright (c) 2015 Paul Norman <penorman@mac.com>
# Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu>
# Copyright (c) 2016, 2018 Krzesimir Nowak <qdlacz@gmail.com>
# Copyright (c) 2019 Enji Cooper <yaneurabeya@gmail.com>
# Copyright (c) 2020 Jason Merrill <jason@redhat.com>
# Copyright (c) 2021 Jörn Heusipp <osmanx@problemloesungsmaschine.de>
#
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty provided the copyright notice
# and this notice are preserved. This file is offered as-is, without any
# warranty.
dnl Copyright (C) 1996-2026 The Squid Software Foundation and contributors
dnl
dnl Squid software is distributed under GPLv2+ license and includes
dnl contributions from numerous individuals and organizations.
dnl Please see the COPYING and CONTRIBUTORS files for details.
dnl

dnl ===========================================================================
dnl https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html
dnl ===========================================================================
dnl
dnl SYNOPSIS
dnl
dnl AX_CXX_COMPILE_STDCXX(VERSION, [ext|noext], [mandatory|optional])
dnl
dnl DESCRIPTION
dnl
dnl Check for baseline language coverage in the compiler for the specified
dnl version of the C++ standard. If necessary, add switches to CXX and
dnl CXXCPP to enable support. VERSION may be '11', '14', '17', or '20' for
dnl the respective C++ standard version.
dnl
dnl The second argument, if specified, indicates whether you insist on an
dnl extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g.
dnl -std=c++11). If neither is specified, you get whatever works, with
dnl preference for no added switch, and then for an extended mode.
dnl
dnl The third argument, if specified 'mandatory' or if left unspecified,
dnl indicates that baseline support for the specified C++ standard is
dnl required and that the macro should error out if no mode with that
dnl support is found. If specified 'optional', then configuration proceeds
dnl regardless, after defining HAVE_CXX${VERSION} if and only if a
dnl supporting mode is found.
dnl
dnl LICENSE
dnl
dnl Copyright (c) 2008 Benjamin Kosnik <bkoz@redhat.com>
dnl Copyright (c) 2012 Zack Weinberg <zackw@panix.com>
dnl Copyright (c) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
dnl Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com>
dnl Copyright (c) 2015 Paul Norman <penorman@mac.com>
dnl Copyright (c) 2015 Moritz Klammler <moritz@klammler.eu>
dnl Copyright (c) 2016, 2018 Krzesimir Nowak <qdlacz@gmail.com>
dnl Copyright (c) 2019 Enji Cooper <yaneurabeya@gmail.com>
dnl Copyright (c) 2020 Jason Merrill <jason@redhat.com>
dnl Copyright (c) 2021 Jörn Heusipp <osmanx@problemloesungsmaschine.de>
dnl
dnl Copying and distribution of this file, with or without modification, are
dnl permitted in any medium without royalty provided the copyright notice
dnl and this notice are preserved. This file is offered as-is, without any
dnl warranty.

#serial 15

Expand Down
12 changes: 6 additions & 6 deletions acinclude/ax_with_prog.m4
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
## Copyright (C) 1996-2026 The Squid Software Foundation and contributors
##
## Squid software is distributed under GPLv2+ license and includes
## contributions from numerous individuals and organizations.
## Please see the COPYING and CONTRIBUTORS files for details.
##
dnl Copyright (C) 1996-2026 The Squid Software Foundation and contributors
dnl
dnl Squid software is distributed under GPLv2+ license and includes
dnl contributions from numerous individuals and organizations.
dnl Please see the COPYING and CONTRIBUTORS files for details.
dnl

dnl ===========================================================================
dnl http://autoconf-archive.cryp.to/ax_with_prog.html
Expand Down
Loading
Loading