From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MbuWI-0002OO-KH for garchives@archives.gentoo.org; Fri, 14 Aug 2009 11:00:26 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23DDBE04CE; Fri, 14 Aug 2009 11:00:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C8B18E04CE for ; Fri, 14 Aug 2009 11:00:25 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 7508C66749 for ; Fri, 14 Aug 2009 11:00:25 +0000 (UTC) Received: from a3li by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1MbuWG-0002En-Ub for gentoo-commits@lists.gentoo.org; Fri, 14 Aug 2009 11:00:24 +0000 From: "Alex Legler (a3li)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, a3li@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in dev-php5/eaccelerator: ChangeLog eaccelerator-0.9.5.3-r1.ebuild eaccelerator-0.9.5.1.ebuild eaccelerator-0.9.5.3.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog eaccelerator-0.9.5.3-r1.ebuild eaccelerator-0.9.5.1.ebuild eaccelerator-0.9.5.3.ebuild X-VCS-Directories: dev-php5/eaccelerator X-VCS-Committer: a3li X-VCS-Committer-Name: Alex Legler Content-Type: text/plain; charset=utf8 Message-Id: Sender: Alex Legler Date: Fri, 14 Aug 2009 11:00:24 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 737327ff-c85f-4e62-a7c9-c020d0f149b8 X-Archives-Hash: 4f5ca3511a04b310ace7941cc30b99aa a3li 09/08/14 11:00:24 Modified: ChangeLog Added: eaccelerator-0.9.5.3-r1.ebuild Removed: eaccelerator-0.9.5.1.ebuild eaccelerator-0.9.5.3.ebuild Log: Non-maintainer commit: Revbump to remove the vulnerable encoder for sec= urity bug 277293. (Portage version: 2.2_rc33/cvs/Linux x86_64) Revision Changes Path 1.22 dev-php5/eaccelerator/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/eaccelera= tor/ChangeLog?rev=3D1.22&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/eaccelera= tor/ChangeLog?rev=3D1.22&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/eaccelera= tor/ChangeLog?r1=3D1.21&r2=3D1.22 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/dev-php5/eaccelerator/ChangeLog,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- ChangeLog 26 May 2009 17:00:42 -0000 1.21 +++ ChangeLog 14 Aug 2009 11:00:24 -0000 1.22 @@ -1,6 +1,17 @@ # ChangeLog for dev-php5/eaccelerator # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/eaccelerator/ChangeLog,v 1.2= 1 2009/05/26 17:00:42 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php5/eaccelerator/ChangeLog,v 1.2= 2 2009/08/14 11:00:24 a3li Exp $ + +*eaccelerator-0.9.5.3-r1 (14 Aug 2009) + + 14 Aug 2009; Alex Legler -eaccelerator-0.9.5.1.ebuil= d, + -files/eaccelerator-0.9.5.1-optimize-catch-exceptions.patch, + -eaccelerator-0.9.5.3.ebuild, +eaccelerator-0.9.5.3-r1.ebuild, + +files/eaccelerator-remove-encoder.patch: + Non-mainatiner commit: Removing encoder because it a) contains a + vulnerabilitiy and b) is already deprecated by upstream and will be go= ne + anyway in the next upstream release. Security bug 277293. Removing + vulnerable versions. =20 26 May 2009; Arfrever Frehtes Taifersar Arahesis eaccelerator-0.9.5.1.ebuild, eaccelerator-0.9.5.3.ebuild: 1.1 dev-php5/eaccelerator/eaccelerator-0.9.5.3-r1.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/eaccelera= tor/eaccelerator-0.9.5.3-r1.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/eaccelera= tor/eaccelerator-0.9.5.3-r1.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: eaccelerator-0.9.5.3-r1.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-php5/eaccelerator/eaccelerator-0.9= .5.3-r1.ebuild,v 1.1 2009/08/14 11:00:24 a3li Exp $ PHP_EXT_NAME=3D"eaccelerator" PHP_EXT_INI=3D"yes" PHP_EXT_ZENDEXT=3D"yes" [[ -z "${EACCELERATOR_CACHEDIR}" ]] && EACCELERATOR_CACHEDIR=3D"/var/cach= e/eaccelerator-php5/" inherit php-ext-source-r1 eutils depend.apache autotools KEYWORDS=3D"~amd64 ~sparc ~x86" DESCRIPTION=3D"A PHP Accelerator & Encoder." HOMEPAGE=3D"http://www.eaccelerator.net/" SRC_URI=3D"http://bart.eaccelerator.net/source/${PV}/${P}.tar.bz2" LICENSE=3D"GPL-2" SLOT=3D"0" IUSE=3D"contentcache debug disassembler inode session sharedmem" DEPEND=3D"!dev-php5/pecl-apc !dev-php5/xcache" RDEPEND=3D"${DEPEND}" # Webserver user and group, here for Apache by default HTTPD_USER=3D"${HTTPD_USER:-apache}" HTTPD_GROUP=3D"${HTTPD_GROUP:-apache}" need_php_by_category want_apache pkg_setup() { depend.apache_pkg_setup has_php require_php_sapi_from cgi apache2 if use session ; then require_php_with_use session zlib else require_php_with_use zlib fi if ! use apache2 ; then if [[ ${HTTPD_USER} =3D=3D "apache" ]] || [[ ${HTTPD_GROUP} =3D=3D "apa= che" ]] ; then eerror "You did not enable apache2 USE flag, so you need to define" eerror "the user and group that will be used for ${PN} yourself." eerror eerror "This should (generally) match the user and group that your web= server uses, e.g.:" eerror "HTTPD_USER=3D\"lighttpd\" HTTPD_GROUP=3D\"lighttpd\" if using = www-servers/lighttpd" eerror die "Either enable USE=3D\"apache2\" or re-emerge this with HTTPD_USER= and HTTPD_GROUP set" else enewgroup ${HTTPD_GROUP} enewuser ${HTTPD_USER} -1 -1 /var/www ${HTTPD_GROUP} fi fi } src_unpack() { unpack ${A} cd "${S}" # Remove the badly broken encoder, already done by upstream in SVN trunk # Also needed for security bug 277293. rm loader.c encoder.{php,c} doc/php/{loader,encoder}.php || die "Cannot = remove encoder" epatch "${FILESDIR}/${PN}-remove-encoder.patch" eautoconf eautomake php-ext-source-r1_phpize } src_compile() { has_php my_conf=3D"--enable-eaccelerator=3Dshared --with-eaccelerator-userid=3D`= id -u ${HTTPD_USER}`" use contentcache && my_conf=3D"${my_conf} --with-eaccelerator-content-ca= ching" use debug && my_conf=3D"${my_conf} --with-eaccelerator-debug" use disassembler && my_conf=3D"${my_conf} --with-eaccelerator-disassembl= er" ! use inode && my_conf=3D"${my_conf} --without-eaccelerator-use-inode" use session && my_conf=3D"${my_conf} --with-eaccelerator-sessions" use sharedmem && my_conf=3D"${my_conf} --with-eaccelerator-shared-memory= " php-ext-source-r1_src_compile } src_install() { php-ext-source-r1_src_install keepdir "${EACCELERATOR_CACHEDIR}" fowners ${HTTPD_USER}:${HTTPD_GROUP} "${EACCELERATOR_CACHEDIR}" fperms 750 "${EACCELERATOR_CACHEDIR}" insinto "/usr/share/${PN}-php5/" doins -r doc/php/ dodoc-php AUTHORS ChangeLog COPYING NEWS README README.eLoader php-ext-base-r1_addtoinifiles "eaccelerator.shm_size" '"28"' php-ext-base-r1_addtoinifiles "eaccelerator.cache_dir" "\"${EACCELERATOR= _CACHEDIR}\"" php-ext-base-r1_addtoinifiles "eaccelerator.enable" '"1"' php-ext-base-r1_addtoinifiles "eaccelerator.optimizer" '"1"' php-ext-base-r1_addtoinifiles "eaccelerator.debug" '"0"' php-ext-base-r1_addtoinifiles ";eaccelerator.log_file" '"/var/log/eaccel= erator_log"' php-ext-base-r1_addtoinifiles "eaccelerator.check_mtime" '"1"' php-ext-base-r1_addtoinifiles "eaccelerator.filter" '""' php-ext-base-r1_addtoinifiles "eaccelerator.shm_max" '"0"' php-ext-base-r1_addtoinifiles "eaccelerator.shm_ttl" '"0"' php-ext-base-r1_addtoinifiles "eaccelerator.shm_prune_period" '"0"' php-ext-base-r1_addtoinifiles "eaccelerator.shm_only" '"0"' php-ext-base-r1_addtoinifiles "eaccelerator.compress" '"1"' php-ext-base-r1_addtoinifiles "eaccelerator.compress_level" '"9"' php-ext-base-r1_addtoinifiles "eaccelerator.keys" '"shm_and_disk"' php-ext-base-r1_addtoinifiles "eaccelerator.sessions" '"shm_and_disk"' php-ext-base-r1_addtoinifiles "eaccelerator.content" '"shm_and_disk"' php-ext-base-r1_addtoinifiles ";eaccelerator.allowed_admin_path" '"/path= /where/admin/files/shall/be/allowed"' } pkg_postinst() { elog "Please see the files in ${ROOT}usr/share/${PN}-php5/ for some" elog "examples and informations on how to use the functions that" elog "eAccelerator adds to PHP." }