Bug#932093: apt-cacher-ng: Remap-secdeb security urls are not merged

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#932093: apt-cacher-ng: Remap-secdeb security urls are not merged

Ryan Tandy-4
Package: apt-cacher-ng
Version: 3.2-1
Severity: minor

Dear maintainer,

Thank you for adding the Remap-secdeb rule in the default config
(#900325). However I think it could be improved.

The "MergingURLs" field contains only security.debian.org, so
security.debian.org is remapped to secdeb but
deb.debian.org/debian-security is not remapped at all.

Also, security.debian.org/debian-security is not remapped, so it gets
interpreted as secdeb/debian-security instead secdeb.

To resolve both of these issues without regressing #884881, I propose
this configuration:

Remap-secdeb: security.debian.org security.debian.org/debian-security deb.debian.org/debian-security /debian-security ; security.debian.org

This should remap all of the following to secdeb:

deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
deb http://security.debian.org/ buster/updates main contrib non-free
deb http://security.debian.org/debian-security/ buster/updates main contrib non-free
deb http://localhost:3142/debian-security/ buster/updates main contrib non-free

Of course then I start wondering whether that line gets long enough to
be worth creating debsec_mirrors/backend_debsec files... :)

Thank you,
Ryan