bug#32342: [PATCH] Do not store mtime when compressing stdin

2018-08-02 Thread Paul Eggert
On 08/02/2018 01:31 AM, Bernhard M. Wiedemann wrote: I know that it does, but patching hundreds of packages [1] (including ones still to be created) doing tar -czf $file to do instead tar -c | gzip -n > $file This would be something that tar could and should address, I'd think. Is there a goo

bug#32342: [PATCH] Do not store mtime when compressing stdin

2018-08-02 Thread Bernhard M. Wiedemann
On 2018-08-02 08:47, Paul Eggert wrote: > Bernhard M. Wiedemann wrote: >> This allows for reproducible output of >> echo foo | gzip | md5sum > > gzip -n already does that, so we don't need to change the gzip source > code to get reproducible output. I know that it does, but patching hundreds of p

bug#32342: [PATCH] Do not store mtime when compressing stdin

2018-08-01 Thread Paul Eggert
Bernhard M. Wiedemann wrote: This allows for reproducible output of echo foo | gzip | md5sum gzip -n already does that, so we don't need to change the gzip source code to get reproducible output.

bug#32342: [PATCH] Do not store mtime when compressing stdin

2018-08-01 Thread Bernhard M. Wiedemann
This allows for reproducible output of echo foo | gzip | md5sum tar -cz -H ustar SOMEFILE | md5sum See https://reproducible-builds.org/ for why this is good. --- gzip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gzip.c b/gzip.c index a023d81..4b00e42 100644 --- a/gzip.c +