diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-07-15 17:31:37 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-07-15 17:31:37 +0000 |
commit | 9307d65196a8a083553ae133fa9f2042d6071c99 (patch) | |
tree | 7d69150cb8c67274e49e696758792dfe4a4a92c3 /eclass | |
parent | ppc/ppc64 stable wrt #364593 (diff) | |
download | historical-9307d65196a8a083553ae133fa9f2042d6071c99.tar.gz historical-9307d65196a8a083553ae133fa9f2042d6071c99.tar.bz2 historical-9307d65196a8a083553ae133fa9f2042d6071c99.zip |
Bug #345659 - fix hardcoded /root/.gnome2
This uses a special $(unset HOME; echo ~) trick to query the home
directory that gnome-vfs uses from the password database, as suggested
by Jonathan Callen <abcd@gentoo.org> in bug 345659, comment #24.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/gnome2.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass index e25994cfefc5..b417ebbe5111 100644 --- a/eclass/gnome2.eclass +++ b/eclass/gnome2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.97 2011/07/08 11:35:01 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.98 2011/07/15 17:31:37 zmedico Exp $ # @ECLASS: gnome2.eclass # @MAINTAINER: @@ -116,8 +116,8 @@ gnome2_src_configure() { G2CONF="${G2CONF} $(use_enable doc gtk-doc)" fi - # Avoid sandbox violations caused by misbehaving packages (bug #128289) - addwrite "/root/.gnome2" + # Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659) + addwrite "$(unset HOME; echo ~)/.gnome2" # GST_REGISTRY is to work around gst-inspect trying to read/write /root GST_REGISTRY="${S}/registry.xml" econf "$@" ${G2CONF} |