From 65196d4dcf0841ff334ecb97613f09983ba28745 Mon Sep 17 00:00:00 2001 From: bauen1 Date: Sun, 9 Jan 2022 14:31:44 +0100 Subject: [PATCH] Avoid embedding timestamps into gzipped Packages and Translations files. Signed-off-by: Holger Levsen --- debian/changelog | 3 +++ tools/make_disc_trees.pl | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index f8b53186..a4582aee 100644 --- a/debian/changelog +++ b/debian/changelog @@ -23,6 +23,9 @@ debian-cd (3.1.36) UNRELEASED; urgency=medium * Update default CODENAME to bookworm in various places. Closes: #994121 + [ Jonathan Hettwer ] + * Avoid embedding timestamps into gzipped Packages and Translations files. + -- Steve McIntyre <93sam@debian.org> Mon, 26 Jul 2021 01:02:03 +0100 debian-cd (3.1.35) unstable; urgency=medium diff --git a/tools/make_disc_trees.pl b/tools/make_disc_trees.pl index 972706ec..8ec76aad 100755 --- a/tools/make_disc_trees.pl +++ b/tools/make_disc_trees.pl @@ -656,13 +656,13 @@ sub recompress { # Packages and Sources files; workaround for bug #402482 if ($filename =~ m/\/.*\/(Packages|Sources)$/o) { system("rm -f $_.gz"); - system("gzip -9c < $_ >$_.gz"); + system("gzip --no-name -9c < $_ >$_.gz"); } # Translation files need to be compressed in .gz format on CD? if ($filename =~ m/\/.*\/i18n\/(Translation.*)$/o && ! ($filename =~ m/\/.*\/i18n\/(Translation.*gz)$/o)) { system("rm -f $_.gz"); - system("gzip -9c < $_ >$_.gz"); + system("gzip --no-name -9c < $_ >$_.gz"); system("rm -f $_"); } }