summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-12-08 07:44:28 +0000
committerZac Medico <zmedico@gentoo.org>2009-12-08 07:44:28 +0000
commitcaaca00708472e3db2f3dbcae23e15a3f0b1aa52 (patch)
treea101ca0944eb67b1669705eb6a421866e29c3e9f /app-text
parentVersion bump. (diff)
downloadhistorical-caaca00708472e3db2f3dbcae23e15a3f0b1aa52.tar.gz
historical-caaca00708472e3db2f3dbcae23e15a3f0b1aa52.tar.bz2
historical-caaca00708472e3db2f3dbcae23e15a3f0b1aa52.zip
Bug #295672 - Override XDG_CONFIG_HOME to avoid sandbox violations.
Package-Manager: portage-2.2_rc56_p14963/cvs/Linux i686
Diffstat (limited to 'app-text')
-rw-r--r--app-text/calibre/ChangeLog5
-rw-r--r--app-text/calibre/Manifest4
-rw-r--r--app-text/calibre/calibre-0.6.26.ebuild11
3 files changed, 12 insertions, 8 deletions
diff --git a/app-text/calibre/ChangeLog b/app-text/calibre/ChangeLog
index 1a66445ab75f..12d09539337c 100644
--- a/app-text/calibre/ChangeLog
+++ b/app-text/calibre/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-text/calibre
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.63 2009/12/07 04:23:21 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/ChangeLog,v 1.64 2009/12/08 07:44:28 zmedico Exp $
+
+ 08 Dec 2009; Zac Medico <zmedico@gentoo.org> calibre-0.6.26.ebuild:
+ Bug #295672 - Override XDG_CONFIG_HOME to avoid sandbox violations.
*calibre-0.6.26 (07 Dec 2009)
diff --git a/app-text/calibre/Manifest b/app-text/calibre/Manifest
index 2408c9aca946..16932e0fc500 100644
--- a/app-text/calibre/Manifest
+++ b/app-text/calibre/Manifest
@@ -15,6 +15,6 @@ EBUILD calibre-0.6.21.ebuild 4098 RMD160 2a7aae20595b33eca2904d966adaaaa3b3ffb79
EBUILD calibre-0.6.23.ebuild 4098 RMD160 8d4067abc7ce731e116b4b87d5ae5e9b5c83e071 SHA1 3b8c2fb418974ed88c118196229129d9a7f3a822 SHA256 eb5af9414c9e7ac8373d934ffd060a2413c116b32bd75f1b88befe87d075d1e6
EBUILD calibre-0.6.24.ebuild 4098 RMD160 b9c02a9af059fd16d726b08c133f352c092eaae6 SHA1 5ac1a846f0bad759d43cb797eda26b00f9fa0129 SHA256 ae19e0aa8ad96db54eec93891aae96671e2a8f516852461606f729c37f1e6d27
EBUILD calibre-0.6.25.ebuild 4096 RMD160 fcd6e6627cb08fdb6b77391ddb4fe3eddd1be6f7 SHA1 c1a40680a35b4d09f77f24348475c42111cb86c8 SHA256 bf8fbaa7d8d4785f89f4691ca2a25611023d4e3ae020fd3c1e1739656dfbe51a
-EBUILD calibre-0.6.26.ebuild 4331 RMD160 17520133b4269e70e716c64cda005e9871912cc0 SHA1 29efe396df1b48165847a58f9285fd0d004d4740 SHA256 219b4a1f43f0f14825714ffff3cc794c2ac12dfe537ba2cba58f3c742294405e
-MISC ChangeLog 10366 RMD160 cb23cc1f610d9c2a71e3454dd0a0fb7fcad77ac3 SHA1 198742e72d5318cd42bcc787a80de32a8c54ee31 SHA256 0a4d2b3973cf85962ddaa377be04403db5e3bfbe7a5aec903fc00a0bd2b59fa7
+EBUILD calibre-0.6.26.ebuild 4372 RMD160 5eb2e52dee03af8f3e5b2f4097c89ef9da43042c SHA1 76c54eaf12faf5d602b5738bd9b67ea8473c373c SHA256 d8eb95add36b361f2ed1ee500cacbc401b261498e9dbc6d44b92e0a91f3e40f2
+MISC ChangeLog 10507 RMD160 5d5fccf56c926053a3adde28fa35394200064db5 SHA1 80acfe49071871bfa2ffa44e303b43b053930af1 SHA256 912cc3a3250a6479e6c57bd376a229e2beedf6901a9bae4196542484fd8d3fd5
MISC metadata.xml 231 RMD160 d960211907e25a59573b7be5bb36be9b47bd4c3c SHA1 197ba481e4ddb1dd2776f589fe7339d5f0f9868f SHA256 c97fff2a7f866fcaaa116ae2b946a9422dca2d6b04c702097b02e175d0a07572
diff --git a/app-text/calibre/calibre-0.6.26.ebuild b/app-text/calibre/calibre-0.6.26.ebuild
index 5e01896c19a3..b75842a087c9 100644
--- a/app-text/calibre/calibre-0.6.26.ebuild
+++ b/app-text/calibre/calibre-0.6.26.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.6.26.ebuild,v 1.1 2009/12/07 04:23:21 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.6.26.ebuild,v 1.2 2009/12/08 07:44:28 zmedico Exp $
EAPI=2
NEED_PYTHON=2.6
@@ -82,10 +82,11 @@ src_install() {
# violation with kbuildsycoca as in bug #287067, comment #13.
export -n DISPLAY
- # Bug #295672 - Try to avoid sandbox violation in ~/.config by forcing
- # CALIBRE_CONFIG_DIRECTORY to point to our fake temporary $HOME.
- export CALIBRE_CONFIG_DIRECTORY="$HOME/.config/calibre"
- mkdir -p "$CALIBRE_CONFIG_DIRECTORY"
+ # Bug #295672 - Aavoid sandbox violation in ~/.config by forcing
+ # variables to point to our fake temporary $HOME.
+ export XDG_CONFIG_HOME="$HOME/.config"
+ export CALIBRE_CONFIG_DIRECTORY="$XDG_CONFIG_HOME/calibre"
+ mkdir -p "$XDG_CONFIG_HOME" "$CALIBRE_CONFIG_DIRECTORY"
PATH=${T}:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
distutils_src_install --bindir="${D}usr/bin" --sharedir="${D}usr/share"