fix: remove hardcoded fedora versions from cacher

This commit is contained in:
Ben Grande 2024-02-22 21:58:14 +01:00
parent 908a0773db
commit 0cd3e662da

View File

@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2022 unman <unman@thirdeyesecurity.org>
# SPDX-FileCopyrightText: 2022 - 2024 unman <unman@thirdeyesecurity.org>
# SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
#
# SPDX-License-Identifier: AGPL-3.0-or-later
@ -74,30 +74,30 @@ Port:8082
# Examples:
#Remap-debrep: file:deb_mirror*.gz /debian ; file:backends_debian # Debian Archives
Remap-alxrep: file:archlx_mirrors /archlinux # ; file:backend_archlx # Arch Linux
Remap-debrep: https://deb.debian.org http://deb.debian.org file:deb_mirrors.gz /debian
Remap-fedora: file:fedora_mirrors # Fedora Linux
Remap-uburep: file:ubuntu_mirrors /ubuntu ; file:backends_ubuntu # Ubuntu Archives
Remap-klxrep: file:kali_mirrors /kali ; file:backends_kali # Kali Linux Archives
Remap-cygwin: file:cygwin_mirrors /cygwin # ; file:backends_cygwin # incomplete, please create this file or specify preferred mirrors here
Remap-sfnet: file:sfnet_mirrors # ; file:backends_sfnet # incomplete, please create this file or specify preferred mirrors here
Remap-alxrep: file:archlx_mirrors /archlinux # ; file:backend_archlx # Arch Linux
Remap-fedora: file:fedora_mirrors # Fedora Linux
Remap-cygwin: file:cygwin_mirrors /cygwin # ; file:backends_cygwin # incomplete, please create this file or specify preferred mirrors here
Remap-debrep: https://deb.debian.org http://deb.debian.org file:deb_mirrors.gz /debian
Remap-epel: file:epel_mirrors # Fedora EPEL
Remap-slrep: file:sl_mirrors # Scientific Linux
Remap-fedora: file:fedora_mirrors # Fedora Linux
Remap-fedora: file:fedora_mirrors # Fedora Linux
Remap-gentoo: file:gentoo_mirrors.gz /gentoo ; file:backends_gentoo # Gentoo Archives
Remap-klxrep: file:kali_mirrors /kali ; file:backends_kali # Kali Linux Archives
Remap-secdeb: security.debian.org security.debian.org/debian-security deb.debian.org/debian-security /debian-security cdn-fastly.deb.debian.org/debian-security ; deb.debian.org/debian-security security.debian.org cdn-fastly.deb.debian.org/debian-security
Remap-sfnet: file:sfnet_mirrors # ; file:backends_sfnet # incomplete, please create this file or specify preferred mirrors here
Remap-slrep: file:sl_mirrors # Scientific Linux
Remap-uburep: file:ubuntu_mirrors /ubuntu ; file:backends_ubuntu # Ubuntu Archives
# Qusal external repositories
Remap-qubesdebrep: https://deb.qubes-os.org http://deb.qubes-os.org
Remap-qubesyumrep: https://yum.qubes-os.org http://yum.qubes-os.org
Remap-dockerrep: https://download.docker.com http://download.docker.com
Remap-googlerep: https://dl.google.com http://dl.google.com
Remap-hashicorprep: https://apt.releases.hashicorp.com http://apt.releases.hashicorp.com
Remap-kicksecuredebrep: https://deb.kicksecure.com http://deb.kicksecure.com
Remap-launchpadrep: https://ppa.launchpad.net http://ppa.launchpad.net
Remap-opentofurep: https://packages.opentofu.org http://packages.opentofu.org
Remap-qubesdebrep: https://deb.qubes-os.org http://deb.qubes-os.org
Remap-qubesyumrep: https://yum.qubes-os.org http://yum.qubes-os.org
Remap-signalrep: https://updates.signal.org http://updates.signal.org
Remap-syncthingrep: https://apt.syncthing.net http://apt.syncthing.net
Remap-opentofurep: https://packages.opentofu.org http://packages.opentofu.org
Remap-whonixdebrep: https://deb.whonix.org http://deb.whonix.org
Remap-kicksecuredebrep: https://deb.kicksecure.com http://deb.kicksecure.com
# Virtual page accessible in a web browser to see statistics and status
# information, i.e. under http://localhost:3142/acng-report.html
@ -269,7 +269,7 @@ FollowIndexFileRemoval: 1
#
# To see examples of the expected syntax, run: apt-cacher-ng -p debug=1
#
PfilePatternEx: .*yaml.gz$|.*fedora.*arch=x86_64$|.*f35&arch=x86_64|.*f36&arch=x86_64|.*f37&arch=x86_64
PfilePatternEx: .*yaml.gz$|.*fedora.*arch=x86_64$|.*f[0-9]+&arch=x86_64
VfilePatternEx: .*fedora.*updateinfo.*xml.zck$|^/\?release=[0-9]+&arch=.*|.*/RPM-GPG-KEY.*|.*\?repo=fedora|.*pkg.tar.zst.sig
# SPfilePatternEx:
# SVfilePatternEx:
@ -358,7 +358,7 @@ VfilePatternEx: .*fedora.*updateinfo.*xml.zck$|^/\?release=[0-9]+&arch=.*|.*/RPM
# details.
#
# Example:
DontCache: .*fedora.*updates.*updateinfo.xml.zck
DontCache: .*fedora.*updates.*updateinfo.xml.zck .*fedora.*updates.*repomd.xml
# Default permission set of freshly created files and directories, as octal
# numbers (see chmod(1) for details).