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

Reply via email to