[openarena-data] 01/07: Normalize permissions of PK3 archive contents to 0644/0755 to fix reproducibility under different umask (Closes: #819965)

Simon McVittie smcv at debian.org
Tue Jun 28 11:51:10 UTC 2016


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch master
in repository openarena-data.

commit 5667d7b67b7c60b3625de066eba03067ead11f39
Author: Simon McVittie <smcv at debian.org>
Date:   Tue Jun 28 09:59:32 2016 +0100

    Normalize permissions of PK3 archive contents to 0644/0755 to fix reproducibility under different umask (Closes: #819965)
---
 debian/changelog | 8 ++++++++
 debian/rules     | 2 ++
 2 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1466bb7..8c42a8b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+openarena-data (0.8.5split-8) UNRELEASED; urgency=medium
+
+  [ Alexandre Detiste ]
+  * Normalize permissions of PK3 archive contents to 0644/0755 to
+    fix reproducibility under different umask (Closes: #819965)
+
+ -- Simon McVittie <smcv at debian.org>  Tue, 28 Jun 2016 09:58:34 +0100
+
 openarena-data (0.8.5split-7) unstable; urgency=medium
 
   * Switch Vcs-Browser to cgit and https
diff --git a/debian/rules b/debian/rules
index a5c70c8..ce38cd8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -38,6 +38,8 @@ build/%: debian/%.pk3.qvms debian/%.pk3.filenames
 			touch --date='$(build_date)' $*/$$filename.qvm; \
 		done < debian/$*.pk3.qvms
 	rm -f $*.pk3
+	find $* -type d -exec chmod 0755 {} \;
+	find $* -type f -exec chmod 0644 {} \;
 	( cd $* && zip -X -o -q -9 $(CURDIR)/$*.pk3 -@ ) < \
 		debian/$*.pk3.filenames
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/openarena-data.git



More information about the Pkg-games-commits mailing list