[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torbrowser/master] [2824 Linux] Set UID:GID of files in TBB-Linux tarball to 0:0 (root:wheel)



commit 312b16cf1b9a60d39e1bed2c442e43fabb77ea2c
Author: Robert Ransom <rransom.8774@xxxxxxxxx>
Date:   Tue Aug 23 01:36:33 2011 -0400

    [2824 Linux] Set UID:GID of files in TBB-Linux tarball to 0:0 (root:wheel)
    
    As a result of this change, the build process for TBB for Linux now
    requires 'Tardy' (http://tardy.sourceforge.net/ ; Debian package 'tardy').
    (I tested this Tardy command line with version 1.12 from Debian Squeeze,
     but not as part of the TBB build process.)
    (cherry picked from commit 037f07b7008643793704af280a847a82296591f7)
---
 build-scripts/linux.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/build-scripts/linux.mk b/build-scripts/linux.mk
index 14c691b..659e3b0 100644
--- a/build-scripts/linux.mk
+++ b/build-scripts/linux.mk
@@ -400,7 +400,7 @@ bundle-localized: bundle-localized_$(LANGCODE).stamp
 compressed-bundle-localized: bundle-localized_$(LANGCODE).stamp
 	-rm -f $(DISTDIR)/$(COMPRESSED_NAME)_$(LANGCODE).tar.gz
 	-mkdir $(DISTDIR)
-	tar -cvzf $(DISTDIR)/$(DEFAULT_COMPRESSED_BASENAME)$(LANGCODE).tar.gz $(NAME)_$(LANGCODE);
+	tar -cvf - $(NAME)_$(LANGCODE) |tardy -unu 0 -una root -gnu 0 -gna wheel |gzip -c9 >$(DISTDIR)/$(DEFAULT_COMPRESSED_BASENAME)$(LANGCODE).tar.gz
 	rm *.zip *.xpi
 
 copy-files_%: generic-bundle.stamp



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits