Package: release.debian.org Severity: normal Tags: buster User: release.debian....@packages.debian.org Usertags: pu
Hi, let's make apt-cacher-ng in stable usable for sid and bullseye, again, by increasing some decompression buffers. #942634 This is a rebuild of the package in testing and already uploaded. Andreas
diff -Nru apt-cacher-ng-3.2/debian/changelog apt-cacher-ng-3.2/debian/changelog --- apt-cacher-ng-3.2/debian/changelog 2019-05-17 22:59:21.000000000 +0200 +++ apt-cacher-ng-3.2/debian/changelog 2020-01-13 11:05:20.000000000 +0100 @@ -1,3 +1,15 @@ +apt-cacher-ng (3.2-3~deb10u1) buster; urgency=medium + + * Rebuild for buster. + + -- Andreas Beckmann <a...@debian.org> Mon, 13 Jan 2020 11:05:20 +0100 + +apt-cacher-ng (3.2-3) unstable; urgency=medium + + * Increase decompression line buffer size (closes: #942634) + + -- Eduard Bloch <bl...@debian.org> Mon, 28 Oct 2019 22:14:46 +0100 + apt-cacher-ng (3.2-2) unstable; urgency=medium * Fix for incorrect assumption of some existing SHA256SUMS files in Debian diff -Nru apt-cacher-ng-3.2/debian/patches/debian-changes apt-cacher-ng-3.2/debian/patches/debian-changes --- apt-cacher-ng-3.2/debian/patches/debian-changes 2019-05-17 22:59:21.000000000 +0200 +++ apt-cacher-ng-3.2/debian/patches/debian-changes 2020-01-13 11:05:20.000000000 +0100 @@ -5,16 +5,11 @@ information below has been extracted from the changelog. Adjust it or drop it. . - apt-cacher-ng (3.2-2) unstable; urgency=medium + apt-cacher-ng (3.2-3) unstable; urgency=medium . - * Fix for incorrect assumption of some existing SHA256SUMS files in Debian - repositories which makes the expiration task fail without a proper way - for the end user to recover from it. Now ignore a download error in this - case (similar handling as for other guesses), assuming that permanent - 404ing for other reasons than removal of remote content can be considered - unlikely (closes: #928957) + * Increase decompression line buffer size (closes: #942634) Author: Eduard Bloch <bl...@debian.org> -Bug-Debian: https://bugs.debian.org/928957 +Bug-Debian: https://bugs.debian.org/942634 --- The information above should follow the Patch Tagging Guidelines, please @@ -27,7 +22,7 @@ Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber> Forwarded: <no|not-needed|url proving that it has been forwarded> Reviewed-By: <name and email of someone who approved the patch> -Last-Update: 2019-05-21 +Last-Update: 2019-10-28 --- apt-cacher-ng-3.2.orig/source/expiration.cc +++ apt-cacher-ng-3.2/source/expiration.cc @@ -45,6 +40,17 @@ } // and last but not least - care only about the modern version of that index m_metaFilesRel.erase(idir + "MD5SUMS"); +--- apt-cacher-ng-3.2.orig/source/filereader.cc ++++ apt-cacher-ng-3.2/source/filereader.cc +@@ -31,7 +31,7 @@ + + // must be something sensible, ratio impacts stack size by inverse power of 2 + #define BUFSIZEMIN 4095 // makes one page on i386 and should be enough for typical index files +-#define BUFSIZEMAX 16*4096 ++#define BUFSIZEMAX 256*1024 + + + #ifdef MINIBUILD --- apt-cacher-ng-3.2.orig/systemd/apt-cacher-ng.service.in +++ apt-cacher-ng-3.2/systemd/apt-cacher-ng.service.in @@ -1,6 +1,7 @@