Fix sandbox access violation on /root/GNUstep, bug #383665
authorBernard Cafarelli <voyageur@gentoo.org>
Tue, 8 Nov 2011 12:16:29 +0000 (12:16 +0000)
committerBernard Cafarelli <voyageur@gentoo.org>
Tue, 8 Nov 2011 12:16:29 +0000 (12:16 +0000)
eclass/ChangeLog
eclass/gnustep-base.eclass

index 05deaee66efd79ed19b9799d56797e3cdf74b909..84db8a2ceb6943c62330ef052bacc0a3d391476d 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.3 2011/11/08 01:05:22 mpagano Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.4 2011/11/08 12:16:29 voyageur Exp $
+
+  08 Nov 2011; Bernard Cafarelli <voyageur@gentoo.org> gnustep-base.eclass:
+  Fix sandbox access violation on /root/GNUstep, bug #383665
 
   08 Nov 2011; Michael Pagano <mpagano@gentoo.org> kernel-2.eclass:
   Modify to support new location of 2.6 kernels on kernel.org and mirrors
index 7825efe0a04e0c7adc60037b31259681309abfab..8d8629b069942dfc8b9269b5e33c78ee7d76b69d 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.19 2011/06/28 15:27:23 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.20 2011/11/08 12:16:29 voyageur Exp $
 
 # @ECLASS: gnustep-base.eclass
 # @MAINTAINER:
@@ -124,8 +124,7 @@ egnustep_env() {
                if [[ ! -f ${T}/GNUstep.conf ]]; then
                        cp "${EPREFIX}"/etc/GNUstep/GNUstep.conf "${T}" \
                                || die "GNUstep.conf copy failed"
-                       sed -e "s#\(GNUSTEP_USER_DIR=\).*#\1${T}#" \
-                               -e "s#\(GNUSTEP_USER_DEFAULTS_DIR=\).*#\1${T}/Defaults#" \
+                       sed -e "s#\(GNUSTEP_USER_.*DIR.*=\)#\1${T}/#" \
                                -i "${T}"/GNUstep.conf || die "GNUstep.conf sed failed"
                fi
 
@@ -147,8 +146,6 @@ egnustep_env() {
                        DESTDIR="${D}" \
                        HOME="${T}" \
                        GNUSTEP_CONFIG_FILE="${T}"/GNUstep.conf \
-                       GNUSTEP_USER_DIR="${T}" \
-                       GNUSTEP_USER_DEFAULTS_DIR="${T}"/Defaults \
                        GNUSTEP_INSTALLATION_DOMAIN=SYSTEM \
                        TAR_OPTIONS="${TAR_OPTIONS} --no-same-owner" \
                        messages=yes )