From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E4z1S-0000qB-O9 for garchives@archives.gentoo.org; Tue, 16 Aug 2005 10:50:23 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j7GAmpsl015493; Tue, 16 Aug 2005 10:48:51 GMT Received: from mxfep01.bredband.com (mxfep01.bredband.com [195.54.107.70]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j7GAjFq9013705 for ; Tue, 16 Aug 2005 10:45:15 GMT Received: from [192.168.0.102] ([85.224.245.192] [85.224.245.192]) by mxfep01.bredband.com with ESMTP id <20050816104554.IBPZ23053.mxfep01.bredband.com@[192.168.0.102]> for ; Tue, 16 Aug 2005 12:45:54 +0200 Message-ID: <4301C3DE.6040402@gmail.com> Date: Tue, 16 Aug 2005 12:45:50 +0200 From: Nagatoro User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050723) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] [OT] Ebuild with scons and sandbox References: <4301B89E.8010900@gmail.com> <4301BC92.7090509@gmail.com> In-Reply-To: <4301BC92.7090509@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 48deff1a-d718-49d1-aa61-8f505b13da1e X-Archives-Hash: 2b997ce442c14fa765a59d16a2b5a821 Zac Medico wrote: > Maybe you can configure the build so that it won't write outside of the > sandbox. If you post your ebuild then we might be able to help. Here it is: # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils cvs DESCRIPTION="A gtk port of DC++, using the unmodified DC++ core" HOMEPAGE="linuxdcpp.berlios.de" SRC_URI="" LICENSE="GPL" SLOT="0" KEYWORDS="x86" IUSE="" RDEPEND="virtual/x11 >=x11-libs/gtk+-2.4.0 >=gnome-base/libglade-2.4.0 sys-libs/zlib" # Haven't found where these live yet # pthread # libbz2 DEPEND="${RDEPEND} dev-util/scons >=sys-devel/gcc-3.4.0" ECVS_SERVER="cvs.linuxdcpp.berlios.de:/cvsroot/linuxdcpp" ECVS_MODULE="linuxdcpp" S="${WORKDIR}/linuxdcpp" src_unpack() { cvs_src_unpack } src_compile() { # Waring message "borrowed" from the enlightenment.eclass # by vapier@gentoo.org eerror "This is a LIVE CVS ebuild." eerror "That means there are NO promises it will work." eerror "If it fails to build, FIX THE CODE YOURSELF" eerror "before reporting any issues." scons release=1 || die "scons failed" } src_install() { INTO="/usr/local/lib/dcpp" exeinto ${INTO}/ doexe dcpp || die "Couldn't copy the binary" # docsinto ${INTO} dodoc *.txt insinto ${INTO}/pixmaps/ doins pixmaps/* || die "Couldn't copy the icons" insinto ${INTO}/glade/ doins glade/* || die dodir /usr/local/bin dosym ${INTO}/dcpp /usr/local/bin/dcpp } -- Naga -- gentoo-user@gentoo.org mailing list