summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-11-15 02:18:17 +0000
committerAron Griffis <agriffis@gentoo.org>2004-11-15 02:18:17 +0000
commitaac425164d08e1551d349eed9a7c2446cdd95dce (patch)
tree9aacb32a3c3e097307ee53093a7cf204f317bc66 /net-www
parentrepoman: whitespace cleanup (Manifest recommit) (diff)
downloadgentoo-2-aac425164d08e1551d349eed9a7c2446cdd95dce.tar.gz
gentoo-2-aac425164d08e1551d349eed9a7c2446cdd95dce.tar.bz2
gentoo-2-aac425164d08e1551d349eed9a7c2446cdd95dce.zip
Set HOME=~root when running regxpcom/regchrome in case this is being emerged via sudo. Otherwise the commands will create ~/.mozilla owned by root and 700 perms, which makes subsequent execution of firefox by user impossible. #67031
Diffstat (limited to 'net-www')
-rw-r--r--net-www/mozilla-firefox/ChangeLog8
-rw-r--r--net-www/mozilla-firefox/mozilla-firefox-1.0-r2.ebuild11
2 files changed, 15 insertions, 4 deletions
diff --git a/net-www/mozilla-firefox/ChangeLog b/net-www/mozilla-firefox/ChangeLog
index bf2a956d7b8e..cd7cb13c3447 100644
--- a/net-www/mozilla-firefox/ChangeLog
+++ b/net-www/mozilla-firefox/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-www/mozilla-firefox
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firefox/ChangeLog,v 1.78 2004/11/14 03:27:04 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firefox/ChangeLog,v 1.79 2004/11/15 02:18:17 agriffis Exp $
+
+ 14 Nov 2004; Aron Griffis <agriffis@gentoo.org>
+ mozilla-firefox-1.0-r2.ebuild:
+ Set HOME=~root when running regxpcom/regchrome in case this is being emerged
+ via sudo. Otherwise the commands will create ~/.mozilla owned by root and 700
+ perms, which makes subsequent execution of firefox by user impossible. #67031
*mozilla-firefox-1.0-r2 (13 Nov 2004)
diff --git a/net-www/mozilla-firefox/mozilla-firefox-1.0-r2.ebuild b/net-www/mozilla-firefox/mozilla-firefox-1.0-r2.ebuild
index c0e00de229b4..d6d556b63ff0 100644
--- a/net-www/mozilla-firefox/mozilla-firefox-1.0-r2.ebuild
+++ b/net-www/mozilla-firefox/mozilla-firefox-1.0-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firefox/mozilla-firefox-1.0-r2.ebuild,v 1.1 2004/11/14 03:27:04 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-www/mozilla-firefox/mozilla-firefox-1.0-r2.ebuild,v 1.2 2004/11/15 02:18:17 agriffis Exp $
inherit makeedit flag-o-matic gcc nsplugins eutils mozconfig mozilla-launcher
@@ -154,9 +154,14 @@ pkg_postinst() {
env-update
# Register Components and Chrome
+ #
+ # Bug 67031: Set HOME=~root in case this is being emerged via sudo.
+ # Otherwise the following commands will create ~/.mozilla owned by root
+ # and 700 perms, which makes subsequent execution of firefox by user
+ # impossible.
einfo "Registering Components and Chrome..."
- LD_LIBRARY_PATH=/usr/lib/MozillaFirefox ${MOZILLA_FIVE_HOME}/regxpcom
- LD_LIBRARY_PATH=/usr/lib/MozillaFirefox ${MOZILLA_FIVE_HOME}/regchrome
+ HOME=~root LD_LIBRARY_PATH=/usr/lib/MozillaFirefox ${MOZILLA_FIVE_HOME}/regxpcom
+ HOME=~root LD_LIBRARY_PATH=/usr/lib/MozillaFirefox ${MOZILLA_FIVE_HOME}/regchrome
# Fix permissions of component registry
chmod 0644 ${MOZILLA_FIVE_HOME}/components/compreg.dat