D25494: Make tar archives reproducible by setting Pax headers

Bernhard M. Wiedemann noreply at phabricator.kde.org
Mon Jan 13 02:06:35 GMT 2020


bmwiedemann added a comment.


  This should work fine with a producer GNU-tar >= 1.28 , but what will be the consumer of the tar file?
  
  Asking because I remember the case of alpine Linux and its 'abuild' producer. Alpine package manager implemented its own tar and that would only be happy with
  
    --pax-option=exthdr.name=%d/PaxHeaders/%f,atime:=0,ctime:=0
  
  The other thing is about POSIXLY_CORRECT - it is only considered in recent tar git (no releases last time I checked) and only for embedding the PID of the tar process. So I would just not mention it in the commit message to make it easier to understand:
  
  > GNU tar will add ctime, atime and the PID
  >  of the tar process that created the archive
  
  ...

REPOSITORY
  R32 KDevelop

REVISION DETAIL
  https://phabricator.kde.org/D25494

To: aaronpuchert, kfunk, #kdevelop, kossebau
Cc: bmwiedemann, kossebau, kdevelop-devel, hmitonneau, christiant, glebaccon, domson, antismap, iodelay, alexeymin, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20200113/07a90e11/attachment.html>


More information about the KDevelop-devel mailing list