Index: zope-2.10.7.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.10.7.ebuild,v retrieving revision 1.4 diff -u -r1.4 zope-2.10.7.ebuild --- zope-2.10.7.ebuild 15 Nov 2008 18:55:33 -0000 1.4 +++ zope-2.10.7.ebuild 28 Jul 2009 14:26:46 -0000 @@ -1,6 +1,7 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-zope/zope/zope-2.10.7.ebuild,v 1.4 2008/11/15 18:55:33 armin76 Exp $ +EAPI=2 inherit eutils multilib @@ -32,10 +33,12 @@ # UPDATE: ${ZSERVDIR} is a lib directory and should be world readable # like e.g /usr/lib/python we do not store any user data there, # currently removed all custom permission stuff, for ${ZSERVDIR} +src_prepare() { + epatch "${FILESDIR}"/CVE-2009-0668+0669.patch +} -src_compile() { +src_configure() { ./configure --prefix="${D}${ZSERVDIR}" --with-python=/usr/bin/python2.4 || die "Failed to execute ./configure ..." - emake || die "Failed to compile." } src_install() {