GNU bug report logs - #34223
Fixing timestamps in archives.

Previous Next

Package: guix-patches;

Reported by: Tim Gesthuizen <tim.gesthuizen <at> yahoo.de>

Date: Sun, 27 Jan 2019 18:00:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Tim Gesthuizen <tim.gesthuizen <at> yahoo.de>
To: ludo <at> gnu.org, 34223 <at> debbugs.gnu.org
Subject: [bug#34223] Fixing timestamps in archives.
Date: Sun, 27 Jan 2019 18:58:38 +0100
[Message part 1 (text/plain, inline)]
Hi Ludo,

as discussed before I have looked into the problems of timestamps in the
zip files.
I looked at the way this is solved in ant-build-system with jar files
and thought that this could be done in a more elegant way.
Because of this I wrote a simple frontend for LibArchive in C that
repacks archives and sets their timestamps to zero and disables
compression as it is done in the ant-build-system.
Creative as I am the program is called repack.
You find a git repository attached with the history of the repack program.
The attached patches add repack to Guix and use it for pwsafe and the
ant-build-system.

This is a work in progress version: If you like these changes I will
work on missing details so that we can add it, otherwise now would be a
good point to stop development on these changes.
I can still fall back to the variant that ant-build-system uses now for
pwsafe.

It would be nice if you could find the time to review everything and
tell me what you think about the patches.
The changes trigger a lot of rebuilds so it will take some time to build
dependencies of the required programs.

The repack tar contains a bare git repository with the program.
Because I could not yet find a place to host the repository you need to
unpack it somewhere, create an archive with the source code and change
the guix definition of repack to use that source.

Tim.
[0001-gnu-Add-repack.patch (text/x-patch, attachment)]
[0002-guix-utils-Add-repack-archives.patch (text/x-patch, attachment)]
[0003-gnu-pwsafe-Remove-timestamps-from-zip-files.patch (text/x-patch, attachment)]
[0004-guix-ant-Use-repack.patch (text/x-patch, attachment)]
[0005-guix-ant-build-system-Use-repack-archives.patch (text/x-patch, attachment)]
[0006-gnu-ant-bootstrap-Use-strip-jar-timestamps.patch (text/x-patch, attachment)]
[0007-gnu-icedtea-8-Use-repack.patch (text/x-patch, attachment)]
[0008-gnu-openjdk9-Use-repack-for-repacking-zips.patch (text/x-patch, attachment)]
[0009-gnu-openjdk-Use-repack-for-repacking-zips.patch (text/x-patch, attachment)]
[0010-gnu-ant-java8-Use-repack-for-repacking-archives.patch (text/x-patch, attachment)]
[0011-gnu-ant-Use-repack-for-repacking-archives.patch (text/x-patch, attachment)]
[repack.tar.xz (application/x-xz, attachment)]
[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 6 years and 105 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.