From a29cf137186d696da4327cd6957bfa2e9278527f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 5 Dec 2020 17:01:42 +0100 Subject: DEB tqt3: Force file permissions in the tarball for examples. It addresses independence from UMASK to ensure a reproducible build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- debian/_base/dependencies/tqt3/debian/rules | 1 + dilos/dependencies/tqt3/debian/rules | 1 + ubuntu/_base/dependencies/tqt3/debian/rules | 1 + 3 files changed, 3 insertions(+) diff --git a/debian/_base/dependencies/tqt3/debian/rules b/debian/_base/dependencies/tqt3/debian/rules index 070591030..dafa13359 100755 --- a/debian/_base/dependencies/tqt3/debian/rules +++ b/debian/_base/dependencies/tqt3/debian/rules @@ -325,6 +325,7 @@ binary-indep: build install cd `pwd`/debian/doc/ && \ find tqt3-examples/ -type f -print0 | LC_ALL=C sort -z | \ tar cvv --no-recursion --null -T - \ + --mode=u+rw,go=rX,a-s \ --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime | \ gzip -n > tqt3-examples.tar.gz install -D `pwd`/debian/doc/tqt3-examples.tar.gz `pwd`/debian/tqt3-examples/usr/share/doc/tqt3-examples/tqt3-examples.tar.gz diff --git a/dilos/dependencies/tqt3/debian/rules b/dilos/dependencies/tqt3/debian/rules index d89739167..9d5ad6548 100755 --- a/dilos/dependencies/tqt3/debian/rules +++ b/dilos/dependencies/tqt3/debian/rules @@ -331,6 +331,7 @@ binary-indep: build install cd `pwd`/debian/doc/ && \ find tqt3-examples/ -type f -print0 | LC_ALL=C sort -z | \ tar cvv --no-recursion --null -T - \ + --mode=u+rw,go=rX,a-s \ --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime | \ gzip -n > tqt3-examples.tar.gz install -D `pwd`/debian/doc/tqt3-examples.tar.gz `pwd`/debian/tqt3-examples/usr/share/doc/tqt3-examples/tqt3-examples.tar.gz diff --git a/ubuntu/_base/dependencies/tqt3/debian/rules b/ubuntu/_base/dependencies/tqt3/debian/rules index 070591030..dafa13359 100755 --- a/ubuntu/_base/dependencies/tqt3/debian/rules +++ b/ubuntu/_base/dependencies/tqt3/debian/rules @@ -325,6 +325,7 @@ binary-indep: build install cd `pwd`/debian/doc/ && \ find tqt3-examples/ -type f -print0 | LC_ALL=C sort -z | \ tar cvv --no-recursion --null -T - \ + --mode=u+rw,go=rX,a-s \ --pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime | \ gzip -n > tqt3-examples.tar.gz install -D `pwd`/debian/doc/tqt3-examples.tar.gz `pwd`/debian/tqt3-examples/usr/share/doc/tqt3-examples/tqt3-examples.tar.gz -- cgit v1.2.1