The following commit has been merged in the master branch:
commit eadd7d2376ef54b30cce26b336092c85ca406b3b
Author: Raphaël Hertzog <[email protected]>
Date: Sun Jul 25 17:12:50 2010 +0200
Dpkg::Compression: add --no-name and --rsyncable options to the gzip call
Pass --no-name option to gzip to avoid encoding the timestamp in the file
so that the result is more predictable. Also pass --rsyncable to make
source packages more rsync friendly.
diff --git a/debian/changelog b/debian/changelog
index def5131..c4f5330 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -46,6 +46,9 @@ dpkg (1.15.8) UNRELEASED; urgency=low
* Add --export command to dpkg-buildflags to be used in shell with eval.
* Modify source format "3.0 (git)" to use git bundles. Thanks to Joey Hess
for the patch.
+ * Pass --no-name option to gzip to avoid encoding the timestamp in the file
+ so that the result is more predictable. Closes: #587724
+ Also pass --rsyncable to make source packages more rsync friendly.
[ Guillem Jover ]
* Require gettext 0.18:
diff --git a/scripts/Dpkg/Compression.pm b/scripts/Dpkg/Compression.pm
index 2d3901c..8b2c5c8 100644
--- a/scripts/Dpkg/Compression.pm
+++ b/scripts/Dpkg/Compression.pm
@@ -52,7 +52,7 @@ interact with the set of supported compression methods.
my $COMP = {
"gzip" => {
"file_ext" => "gz",
- "comp_prog" => [ "gzip" ],
+ "comp_prog" => [ "gzip", "--no-name", "--rsyncable" ],
"decomp_prog" => [ "gunzip" ],
},
"bzip2" => {
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]