auto-apt-proxy (18.1) unstable; urgency=medium

  * debian/tests/apt-integration: skip for https APT sources

 -- Antonio Terceiro <terceiro@debian.org>  Wed, 19 Aug 2026 12:30:33 -0300

auto-apt-proxy (18) unstable; urgency=medium

  [ Paride Legovini ]
  * Revert "autopkgtest: drop test for squid-deb-proxy"

  [ Antonio Terceiro ]
  * Log a message when default gateway can't be looked up
  * hit(): prevent apt-helper call from recursing into auto-apt-proxy
    (Closes: #1142542)
  * detect_squid_deb_proxy: fix log message
  * Give higher precedence to squid-deb-proxy
  * auto-apt-proxy.conf: drop unused auto-apt-proxy::Debug "setting"
  * wait for network to be online
  * Add ability to lookup default gateway with networkctl
  * Use a unique output directory per run
  * avahi: iterate over all address broadcast as potential proxies
  * avahi: handle unrouteable addresss (Closes: #1124369)

  [ Tj ]
  * use legal SRV name (Closes: #1128058)
  * Rename AUTO_APT_PROXY_AVAHI_NAME to AUTO_APT_PROXY_MDNS_NAME
  * Add systemd-resolved mDNS support

  [ Kirt Runolfson ]
  * Restore DNS hostname resolution for apt-proxy (Closes: #1120071)

 -- Antonio Terceiro <terceiro@debian.org>  Tue, 18 Aug 2026 11:05:20 -0300

auto-apt-proxy (17.1) unstable; urgency=medium

  [ Paride Legovini ]
  * Update squid-deb-proxy default port, now 3563

 -- Antonio Terceiro <terceiro@debian.org>  Sat, 18 Apr 2026 07:53:16 -0300

auto-apt-proxy (17) unstable; urgency=medium

  [ Antonio Terceiro ]
  * Try apt-proxy from /etc/hosts before default gateway
  * Extract iterating over possible sources into a function
  * Check for explicitly configured proxies before trying the gateway
    (Closes: #1108265)
  * Search gateway before DNS for containers
  * debian/tests: add test for lxc
  * Fix warnings and errors found by shellcheck
  * copyright: drop year
  * Extract timeout handling into a single function
  * Make timeout for network probes default to 1s.
    Suggested-By: Christopher Bock <christopher@bocki.com>

  [ Christopher Bock ]
  * add zsh completion

 -- Antonio Terceiro <terceiro@debian.org>  Sun, 10 Aug 2025 13:45:56 -0300

auto-apt-proxy (16.8) unstable; urgency=medium

  [ Antonio Terceiro ]
  * Include timestamp in debug logs
  * Fix typo when printing debug information for IPv6 gateway
  * Log before trying to resolve apt-proxy
  * Disambiguate ip the tool from ip as an address
  * Lazy load addresses to be checked for a proxy
  * Try options that require resolving names last

  [ Helmut Grohne ]
  * Make parsing the default gateway more strict (Closes: #1107997)

 -- Antonio Terceiro <terceiro@debian.org>  Fri, 20 Jun 2025 10:34:06 -0300

auto-apt-proxy (16.7) unstable; urgency=medium

  * Disable logging by default.
    Set AUTO_APT_PROXY_DEBUG to a non-empty string to enable logging to
    stderr.
  * README.md: consistently mark package names up
  * Improve logging support
  * Fix awk usage when resolving hostnames (Closes: #1105962)

 -- Antonio Terceiro <terceiro@debian.org>  Sun, 18 May 2025 23:20:27 -0300

auto-apt-proxy (16.6) unstable; urgency=medium

  * Send log messages to stderr. This avoids running too silently and mask
    roblems.
  * autopkgtest: noproxy: avoid interference from previous test
  * Add support for unprivileged podman containers

 -- Antonio Terceiro <terceiro@debian.org>  Sat, 03 May 2025 11:09:11 -0300

auto-apt-proxy (16.5) unstable; urgency=medium

  * avahi: fix detection when no proxy is available (Closes: #1101459)

 -- Antonio Terceiro <terceiro@debian.org>  Fri, 28 Mar 2025 14:53:06 -0300

auto-apt-proxy (16.4) unstable; urgency=medium

  * Always check for presence of `ip`. (Closes: #1099448)
  * Document functionality restriction without iproute2 or busybox
  * Recommends: prefer busybox to iproute2

 -- Antonio Terceiro <terceiro@debian.org>  Tue, 04 Mar 2025 13:42:05 -0300

auto-apt-proxy (16.3) unstable; urgency=medium

  * avahi: skip detection if avahi-browse is not installed.
    This fixes a regression introduced when the avahi support was
    simplified.
    Fixes: 7e781c13dcb9 ("Rewrite avahi proxy detection")
  * avahi: also catch `101: Network is unreachable` as a failure
  * Add autopkgtest for the case where no proxy is available

 -- Antonio Terceiro <terceiro@debian.org>  Thu, 27 Feb 2025 10:41:46 -0300

auto-apt-proxy (16.2) unstable; urgency=medium

  * Rewrite avahi proxy detection.
    It no longer needs curl to work.

 -- Antonio Terceiro <terceiro@debian.org>  Thu, 20 Feb 2025 09:03:26 -0300

auto-apt-proxy (16.1) unstable; urgency=medium

  * Fix check for avahi proxy.
    To correctly detect a proxy advertised by avahi, curl needs to
    installed. This has been documented in the package description and in
    the manpage. (Closes: #1095509)

 -- Antonio Terceiro <terceiro@debian.org>  Thu, 13 Feb 2025 20:42:21 -0300

auto-apt-proxy (16) unstable; urgency=medium

  * Give top priority to 127.0.0.1 over other local addresses
  * Only check DNS and avahi after checking local addresses
  * Check locally running proxy before anything else
  * Build manpage with pandoc
  * Document precedence order for proxies
  * Bump Standards-Version to 4.7.0; no changes needed

 -- Antonio Terceiro <terceiro@debian.org>  Wed, 29 Jan 2025 16:42:59 +0100

auto-apt-proxy (15.2) unstable; urgency=medium

  * Check local IPv4 addresses as well before 127.0.0.1
  * debian/tests/control: mark tests that require running system services
  * avahi: don't trust avahi response blindly, verify first

 -- Antonio Terceiro <terceiro@debian.org>  Mon, 27 Jan 2025 05:37:38 -0300

auto-apt-proxy (15.1) unstable; urgency=medium

  * debian/tests/apt-integration: improve reliability

 -- Antonio Terceiro <terceiro@debian.org>  Fri, 06 Sep 2024 18:50:50 -0300

auto-apt-proxy (15) unstable; urgency=medium

  [ Antonio Terceiro ]
  * Check security of cache dir before doing anything else
  * Save output of proxy detection attempts into cache directory
  * debian/copyright: replace anonscm.debian.org URL with a salsa one
  * autopkgtest: drop test for squid-deb-proxy (Closes: #1033530)
  * Don't create cache directory when not using it
  * Add proper support for IPv6 (Closes: #1058561)
  * apt-cacher-ng: don't require a exact message match (Closes: #1037081)
  * DNS: also lookup SRV entries in the search domains from resolve.conf

  [ Lucas Kanashiro ]
  * d/t/control: add ruby-rackup as a dependency of timeout test if ruby-rack >= 3
  * d/t/timeout: increase timeout to 15 seconds

  [ Helmut Grohne ]
  * Print IPv6 URL's correctly (Closes: #1034472)

  [ James Tocknell ]
  * Add support for mDNS via avahi (Closes: #1051206)

 -- Antonio Terceiro <terceiro@debian.org>  Wed, 04 Sep 2024 21:04:51 -0300

# Older entries have been removed from this changelog.
# To read the complete changelog use `apt changelog auto-apt-proxy`.
