summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-11-15 02:22:40 +0000
committerAron Griffis <agriffis@gentoo.org>2004-11-15 02:22:40 +0000
commitb45027a25bde04966d57cb4787430c25d8ad01c3 (patch)
tree6a366931d7b054dfbde21c6ccdec01f9e6d2fd18 /mail-client
parentSet HOME=~root when running regxpcom/regchrome in case this is being emerged ... (diff)
downloadgentoo-2-b45027a25bde04966d57cb4787430c25d8ad01c3.tar.gz
gentoo-2-b45027a25bde04966d57cb4787430c25d8ad01c3.tar.bz2
gentoo-2-b45027a25bde04966d57cb4787430c25d8ad01c3.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 'mail-client')
-rw-r--r--mail-client/mozilla-thunderbird/ChangeLog8
-rw-r--r--mail-client/mozilla-thunderbird/mozilla-thunderbird-0.9-r2.ebuild11
2 files changed, 15 insertions, 4 deletions
diff --git a/mail-client/mozilla-thunderbird/ChangeLog b/mail-client/mozilla-thunderbird/ChangeLog
index 64fa40790716..da6d45a88740 100644
--- a/mail-client/mozilla-thunderbird/ChangeLog
+++ b/mail-client/mozilla-thunderbird/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for mail-client/mozilla-thunderbird
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird/ChangeLog,v 1.33 2004/11/14 03:33:28 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird/ChangeLog,v 1.34 2004/11/15 02:22:40 agriffis Exp $
+
+ 14 Nov 2004; Aron Griffis <agriffis@gentoo.org>
+ mozilla-thunderbird-0.9-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-thunderbird-0.9-r2 (13 Nov 2004)
diff --git a/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.9-r2.ebuild b/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.9-r2.ebuild
index e2c1f88054ce..22c53df70be5 100644
--- a/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.9-r2.ebuild
+++ b/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.9-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/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.9-r2.ebuild,v 1.1 2004/11/14 03:33:28 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird/mozilla-thunderbird-0.9-r2.ebuild,v 1.2 2004/11/15 02:22:40 agriffis Exp $
IUSE="crypt gtk2"
@@ -143,9 +143,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=${ROOT}/usr/lib/MozillaThunderbird ${MOZILLA_FIVE_HOME}/regxpcom
- LD_LIBRARY_PATH=${ROOT}/usr/lib/MozillaThunderbird ${MOZILLA_FIVE_HOME}/regchrome
+ HOME=~root LD_LIBRARY_PATH=/usr/lib/MozillaThunderbird ${MOZILLA_FIVE_HOME}/regxpcom
+ HOME=~root LD_LIBRARY_PATH=/usr/lib/MozillaThunderbird ${MOZILLA_FIVE_HOME}/regchrome
# Fix permissions of component registry
chmod 0644 ${MOZILLA_FIVE_HOME}/components/compreg.dat