diff options
author | Caleb Tennis <caleb@gentoo.org> | 2004-01-04 17:40:24 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2004-01-04 17:40:24 +0000 |
commit | 6a570f71e9ab093d08b12692761bcf1c29bd7163 (patch) | |
tree | 8f904d6ba84a647680ffb91388f6f0445356de4c /x11-libs | |
parent | Adding amd64 keyword to satisfy dependencies (diff) | |
download | gentoo-2-6a570f71e9ab093d08b12692761bcf1c29bd7163.tar.gz gentoo-2-6a570f71e9ab093d08b12692761bcf1c29bd7163.tar.bz2 gentoo-2-6a570f71e9ab093d08b12692761bcf1c29bd7163.zip |
Let qt write to sysconf directories during emerge - prevent sandbox violations
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/qt/ChangeLog | 6 | ||||
-rw-r--r-- | x11-libs/qt/Manifest | 4 | ||||
-rw-r--r-- | x11-libs/qt/qt-3.3.0_beta1.ebuild | 19 |
3 files changed, 19 insertions, 10 deletions
diff --git a/x11-libs/qt/ChangeLog b/x11-libs/qt/ChangeLog index 38f852e38715..0050d8aec36c 100644 --- a/x11-libs/qt/ChangeLog +++ b/x11-libs/qt/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-libs/qt # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/ChangeLog,v 1.102 2004/01/04 02:45:06 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/ChangeLog,v 1.103 2004/01/04 17:40:16 caleb Exp $ + + 04 Jan 2004; Caleb Tennis <caleb@gentoo.org> qt-3.3.0_beta1.ebuild: + Test for compile fix - let Qt write to some sysconf directories + when emerging. 03 Jan 2004; Caleb Tennis <caleb@gentoo.org> qt-3.2.3.ebuild, qt-3.3.0_beta1.ebuild: diff --git a/x11-libs/qt/Manifest b/x11-libs/qt/Manifest index 28f19f8f8d6a..ec8ab85719c2 100644 --- a/x11-libs/qt/Manifest +++ b/x11-libs/qt/Manifest @@ -4,9 +4,9 @@ MD5 8d694ee5132993e415b040eff6ad298e qt-2.3.2-r1.ebuild 2277 MD5 c47d4bd47ef74b87a7eaa1c5969ec48e qt-3.2.1.ebuild 4937 MD5 a3dd25c9f882f04df789dddc02ed3177 qt-3.0.5-r2.ebuild 3896 MD5 34d7e86effe978ec96eae9a33ecfe2f6 qt-3.2.3.ebuild 5136 -MD5 1e1ea3a6825b6fd8ada6c6e4e99031cb qt-3.3.0_beta1.ebuild 5074 +MD5 c0f22535c64744196d2c5af0a442b4be qt-3.3.0_beta1.ebuild 5241 MD5 aff33d960efe2f7ef7782bd0a7cc9441 qt-3.1.2-r4.ebuild 5340 -MD5 5ff3dd3b8a687ac52974dca9fdb26e2f ChangeLog 16874 +MD5 c086a48d66e788b7b01d46099acad29f ChangeLog 17028 MD5 512150b47a904b0240101e319856aab1 metadata.xml 156 MD5 f036a81a9440e146ca67fb23dbb2b535 files/0013-qtabwidget-less_flicker.patch 2785 MD5 8ffca1b1b7523339af04fd24b4595ce4 files/0001-dnd_optimization.patch 5623 diff --git a/x11-libs/qt/qt-3.3.0_beta1.ebuild b/x11-libs/qt/qt-3.3.0_beta1.ebuild index d032178b24db..354fd3b74d34 100644 --- a/x11-libs/qt/qt-3.3.0_beta1.ebuild +++ b/x11-libs/qt/qt-3.3.0_beta1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.0_beta1.ebuild,v 1.9 2004/01/04 17:25:06 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-libs/qt/qt-3.3.0_beta1.ebuild,v 1.10 2004/01/04 17:40:17 caleb Exp $ SRCTYPE="free" DESCRIPTION="QT version ${PV}" @@ -59,14 +59,19 @@ src_compile() { LD_LIBRARY_PATH_OLD=${LD_LIBRARY_PATH} export LD_LIBRARY_PATH=${S}/lib:${LD_LIBRARY_PATH} - REALHOME="$HOME" - mkdir -p $T/fakehome/.qt - export HOME="$T/fakehome" - [ -d "$REALHOME/.ccache" ] && ln -sf "$REALHOME/.ccache" "$HOME/" + # REALHOME="$HOME" + # mkdir -p $T/fakehome/.qt + # export HOME="$T/fakehome" + # [ -d "$REALHOME/.ccache" ] && ln -sf "$REALHOME/.ccache" "$HOME/" # fix #11144; qt wants to create lock files etc. in that directory - [ -d "$QTBASE/etc/settings" ] && addwrite "$QTBASE/etc/settings" - [ ! -d "$QTBASE/etc/settings" ] && dodir ${QTBASE}/etc/settings + # [ -d "$QTBASE/etc/settings" ] && addwrite "$QTBASE/etc/settings" + # [ ! -d "$QTBASE/etc/settings" ] && dodir ${QTBASE}/etc/settings + + # Let's just allow writing to these directories during Qt emerge + # as it makes Qt much happier. + addwrite "$QTBASE/etc/settings" + addwrite "$HOME/.qt" use nas && myconf="${myconf} -system-nas-sound" use gif && myconf="${myconf} -qt-gif" |