diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-12-05 17:01:42 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-12-05 17:03:36 +0100 |
commit | 7b9aedfdf14899366b25ac89008f84a11461c99c (patch) | |
tree | 81deb90dccbf182d65f3d6e2ab138b96b5efac98 | |
parent | f670b913f741c8fa4782f6caa677f5204c25c48b (diff) | |
download | tde-packaging-7b9aedfdf14899366b25ac89008f84a11461c99c.tar.gz tde-packaging-7b9aedfdf14899366b25ac89008f84a11461c99c.zip |
DEB tqt3: Force file permissions in the tarball for examples.
It addresses independence from UMASK to ensure a reproducible build.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a29cf137186d696da4327cd6957bfa2e9278527f)
-rwxr-xr-x | debian/_base/dependencies/tqt3/debian/rules | 1 | ||||
-rwxr-xr-x | dilos/dependencies/tqt3/debian/rules | 1 | ||||
-rwxr-xr-x | ubuntu/_base/dependencies/tqt3/debian/rules | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/debian/_base/dependencies/tqt3/debian/rules b/debian/_base/dependencies/tqt3/debian/rules index 45448b36c..23b436e8b 100755 --- a/debian/_base/dependencies/tqt3/debian/rules +++ b/debian/_base/dependencies/tqt3/debian/rules @@ -313,6 +313,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 45448b36c..23b436e8b 100755 --- a/ubuntu/_base/dependencies/tqt3/debian/rules +++ b/ubuntu/_base/dependencies/tqt3/debian/rules @@ -313,6 +313,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 |