[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#34223] Fixing timestamps in archives.

From: Tim Gesthuizen
Subject: [bug#34223] Fixing timestamps in archives.
Date: Sun, 27 Jan 2019 18:58:38 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0

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

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

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.


Attachment: 0001-gnu-Add-repack.patch
Description: Text Data

Attachment: 0002-guix-utils-Add-repack-archives.patch
Description: Text Data

Attachment: 0003-gnu-pwsafe-Remove-timestamps-from-zip-files.patch
Description: Text Data

Attachment: 0004-guix-ant-Use-repack.patch
Description: Text Data

Attachment: 0005-guix-ant-build-system-Use-repack-archives.patch
Description: Text Data

Attachment: 0006-gnu-ant-bootstrap-Use-strip-jar-timestamps.patch
Description: Text Data

Attachment: 0007-gnu-icedtea-8-Use-repack.patch
Description: Text Data

Attachment: 0008-gnu-openjdk9-Use-repack-for-repacking-zips.patch
Description: Text Data

Attachment: 0009-gnu-openjdk-Use-repack-for-repacking-zips.patch
Description: Text Data

Attachment: 0010-gnu-ant-java8-Use-repack-for-repacking-archives.patch
Description: Text Data

Attachment: 0011-gnu-ant-Use-repack-for-repacking-archives.patch
Description: Text Data

Attachment: repack.tar.xz
Description: application/xz

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]