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

erinn at torproject.org erinn at torproject.org
Sun Oct 23 23:18:55 UTC 2011


commit 037f07b7008643793704af280a847a82296591f7
Author: Robert Ransom <rransom.8774 at gmail.com>
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.)
---
 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 deba909..2c3b7b8 100644
--- a/build-scripts/linux.mk
+++ b/build-scripts/linux.mk
@@ -457,7 +457,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
 	cp test/torbutton.xpi torbutton.xpi
 





More information about the tor-commits mailing list