Commit a685db7a authored by Eduard Bloch's avatar Eduard Bloch
Browse files

Support .zst compressed packages

Debian bug Bug#948259
parent 3b91874b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -15,6 +15,8 @@ apt-cacher-ng (3.3.1) A-LITTLE-BUGFIX-FOR-A-MAN; urgency=medium
        possible (i.e. missing permissions or the tool is run on a different
        host), the operation through TCP can be enforced with ACNG_INSECURE
        environment variable
  * Support .zst compressed packages (reference:
    https://www.archlinux.org/news/now-using-zstandard-instead-of-xz-for-package-compression/ )

 -- Eduard Bloch <blade@debian.org>  Tue, 07 Jan 2020 21:33:24 +0100

+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ confdir, adminauth, adminauthB64, bindaddr, mirrorsrcs, suppdir(LIBDIR),
capath("/etc/ssl/certs"), cafile, badredmime("text/html");

#define INFOLDER "(^|.*/)"
#define COMPRLIST "(\\.gz|\\.bz2|\\.lzma|\\.xz)"
#define COMPRLIST "(\\.gz|\\.bz2|\\.lzma|\\.xz|\\.zst)"
#define ALXPATTERN ".*\\.(db|files|abs)(\\.tar" COMPRLIST ")?"
#define COMPOPT COMPRLIST"?"
//#define COMPONENT_OPTIONAL "(-[a-z0-9-])"