1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
Author: James Addison <jay@jp-hosting.net>
Description: Generate a deterministic gprofng example documentation tarball
Bug-Debian: https://bugs.debian.org/1090395
Bug-Debian: https://bugs.debian.org/1092870
Last-Update: 2025-01-13
--- a/gprofng/doc/Makefile.am
+++ b/gprofng/doc/Makefile.am
@@ -61,7 +61,7 @@ EXTRA_DIST = $(man_MANS) version.texi
info: $(man_MANS)
examples.tar.gz:
- $(AM_V_at)( tar czf $@ $(srcdir)/../examples )
+ $(AM_V_at)( tar czf $@ --sort=name --mtime="@${SOURCE_DATE_EPOCH}" --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime --mode=a=rX,u+w $(srcdir)/../examples )
.PHONY: install-data-local
--- a/gprofng/doc/Makefile.in
+++ b/gprofng/doc/Makefile.in
@@ -895,7 +895,7 @@ gprofng-display-text.1: $(srcdir)/gprofn
info: $(man_MANS)
examples.tar.gz:
- $(AM_V_at)( tar czf $@ $(srcdir)/../examples )
+ $(AM_V_at)( tar czf $@ --sort=name --mtime="@${SOURCE_DATE_EPOCH}" --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime --mode=a=rX,u+w $(srcdir)/../examples )
.PHONY: install-data-local
|