Last active
December 17, 2015 16:29
-
-
Save makuk66/5639157 to your computer and use it in GitHub Desktop.
apt-cacher-ng patch for oracle java (.bin) and .tgz/.zip
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- acng.conf.orig 2013-05-23 21:20:04.000000000 +0100 | |
+++ acng.conf 2013-05-28 15:02:23.000000000 +0100 | |
@@ -100,6 +100,7 @@ | |
# | |
#VfilePattern = (^|.*?/)(Index|Packages\.bz2|Packages\.gz|Packages|Release|Release\.gpg|Sources\.bz2|Sources\.gz|Sources|release|index\.db-.*\.gz|Contents-[^/]*\.gz|pkglist[^/]*\.bz2|rclist[^/]*\.bz2|/meta-release[^/]*|Translation[^/]*\.bz2)$ | |
#PfilePattern = .*(\.deb|\.rpm|\.dsc|\.tar\.gz\.gpg|\.tar\.gz|\.diff\.gz|\.diff\.bz2|\.jigdo|\.template|changelog|copyright|\.udeb|\.diff/.*\.gz|vmlinuz|initrd\.gz|(Devel)?ReleaseAnnouncement(\\?.*)?)$ | |
+PfilePattern = .*(\.deb|\.rpm|\.dsc|\.tar\.gz\.gpg|\.tar\.gz|\.tgz|\.zip|\.diff\.gz|\.diff\.bz2|\.jigdo|\.bin(\?AuthParam=.*)?|\.template|changelog|copyright|\.udeb|\.diff/.*\.gz|vmlinuz|initrd\.gz|(Devel)?ReleaseAnnouncement(\\?.*)?)$ | |
# Whitelist for expiration, file types not to be removed even when being | |
# unreferenced. Default: same as VfilePattern which is a safe bed. When and | |
# only when the only used mirrors are official repositories (with working |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment