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
commit37c8ba872ea8f7543f3ac016f7ff654124ab1495 (patch)
treefa34d2ce28a42aa0c3e89f7d63d925a1ec495c39 /net-www
parentrepoman: whitespace cleanup (diff)
downloadhistorical-37c8ba872ea8f7543f3ac016f7ff654124ab1495.tar.gz
historical-37c8ba872ea8f7543f3ac016f7ff654124ab1495.tar.bz2
historical-37c8ba872ea8f7543f3ac016f7ff654124ab1495.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/Manifest4
-rw-r--r--net-www/mozilla-firefox/mozilla-firefox-1.0-r2.ebuild11
3 files changed, 17 insertions, 6 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/Manifest b/net-www/mozilla-firefox/Manifest
index a215494e962e..f59df81b68e4 100644
--- a/net-www/mozilla-firefox/Manifest
+++ b/net-www/mozilla-firefox/Manifest
@@ -1,11 +1,11 @@
-MD5 b44a8121d4c43177ae2442e7362cd1a8 ChangeLog 12636
+MD5 81a211e2f3776102b06790945a67e56b ChangeLog 12959
MD5 ce23390351fe8020387d93ee29e09a3d metadata.xml 160
MD5 809453352ef124b51ec8e4c96fd23e69 mozilla-firefox-1.0_rc1.ebuild 5147
MD5 6c89295fc5264c6798ee06f9e2f5c936 mozilla-firefox-1.0_rc2.ebuild 5066
MD5 1886b4b2093f8116f5f8639402dc8df1 mozilla-firefox-1.0.ebuild 5060
MD5 c543ce361b2035afbb9db4010f9f776e mozilla-firefox-0.9.3.ebuild 8425
MD5 faaa52e819364f34c1b174f0c47a6d86 mozilla-firefox-1.0_pre-r2.ebuild 5073
-MD5 48cec30568680d4439528d593835d8a0 mozilla-firefox-1.0-r2.ebuild 5343
+MD5 490be87316abb05ed47da6a4d9a4ed1a mozilla-firefox-1.0-r2.ebuild 5595
MD5 606e82226379fd5ae6cd1d0d1faff7ff files/10MozillaFirefox 31
MD5 fa885b490a3c76594784843a1c06ee3a files/digest-mozilla-firefox-1.0_rc1 76
MD5 e5cc0a5838a73f3fdaf38f4e3c368c26 files/digest-mozilla-firefox-1.0_rc2 76
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