diff options
author | Matti Bickel <mabi@gentoo.org> | 2010-06-22 21:26:59 +0000 |
---|---|---|
committer | Matti Bickel <mabi@gentoo.org> | 2010-06-22 21:26:59 +0000 |
commit | e51a61210adfae03392d8680a921aa45538f37b3 (patch) | |
tree | f8a5bea660e33bcabf75acc2c9a23dd2404500b5 /dev-php5 | |
parent | Bump to 3.6.4, fixes several security issues, stability issues, and adds supp... (diff) | |
download | gentoo-2-e51a61210adfae03392d8680a921aa45538f37b3.tar.gz gentoo-2-e51a61210adfae03392d8680a921aa45538f37b3.tar.bz2 gentoo-2-e51a61210adfae03392d8680a921aa45538f37b3.zip |
bug #305965
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-php5')
-rw-r--r-- | dev-php5/ZendOptimizer/ChangeLog | 11 | ||||
-rw-r--r-- | dev-php5/ZendOptimizer/ZendOptimizer-3.3.3-r1.ebuild | 87 | ||||
-rw-r--r-- | dev-php5/ZendOptimizer/ZendOptimizer-3.3.9-r1.ebuild (renamed from dev-php5/ZendOptimizer/ZendOptimizer-3.3.9.ebuild) | 19 |
3 files changed, 18 insertions, 99 deletions
diff --git a/dev-php5/ZendOptimizer/ChangeLog b/dev-php5/ZendOptimizer/ChangeLog index df80355ec00a..6ee31f922366 100644 --- a/dev-php5/ZendOptimizer/ChangeLog +++ b/dev-php5/ZendOptimizer/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-php5/ZendOptimizer -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendOptimizer/ChangeLog,v 1.5 2009/12/09 08:37:26 hollow Exp $ +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendOptimizer/ChangeLog,v 1.6 2010/06/22 21:26:59 mabi Exp $ + +*ZendOptimizer-3.3.9-r1 (22 Jun 2010) + + 22 Jun 2010; Matti Bickel <mabi@gentoo.org> + -ZendOptimizer-3.3.3-r1.ebuild, -ZendOptimizer-3.3.9.ebuild, + +ZendOptimizer-3.3.9-r1.ebuild: + doesn't work with php-5.3, can't use threads, debug with PHP (bug #305965) *ZendOptimizer-3.3.9 (09 Dec 2009) diff --git a/dev-php5/ZendOptimizer/ZendOptimizer-3.3.3-r1.ebuild b/dev-php5/ZendOptimizer/ZendOptimizer-3.3.3-r1.ebuild deleted file mode 100644 index 250ed49dfc8d..000000000000 --- a/dev-php5/ZendOptimizer/ZendOptimizer-3.3.3-r1.ebuild +++ /dev/null @@ -1,87 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendOptimizer/ZendOptimizer-3.3.3-r1.ebuild,v 1.2 2009/07/07 23:18:57 flameeyes Exp $ - -PHP_EXT_ZENDEXT="yes" -PHP_EXT_NAME="ZendOptimizer" -PHP_EXT_INI="yes" - -inherit php-ext-base-r1 - -KEYWORDS="~amd64 ~x86" - -SRC_URI="amd64? ( ${PN}-${PV}-linux-glibc23-x86_64.tar.gz ) - x86? ( ${PN}-${PV}-linux-glibc23-i386.tar.gz )" - -MY_ARCH=${ARCH/x86/glibc23-i386} -MY_ARCH=${MY_ARCH/amd64/glibc23-x86_64} - -S="${WORKDIR}/${PN}-${PV}-linux-${MY_ARCH}" - -DESCRIPTION="The Zend PHP optimizer and loader for encoded scripts." -HOMEPAGE="http://www.zend.com/products/zend_optimizer" -LICENSE="zend-optimizer" -SLOT="0" -IUSE="" - -RESTRICT="mirror fetch strip" - -DEPEND="" -RDEPEND="!dev-php5/xdebug !dev-php5/pecl-apc !dev-php5/eaccelerator" - -need_php_by_category - -pkg_nofetch() { - elog - elog "Please download ${PN}-${PV}-linux-${MY_ARCH} from:" - elog "${HOMEPAGE}" - elog "and put it into ${DISTDIR}." - elog "Please note that you need a valid Zend Account" - elog "(free) to download the Zend Optimizer!" - elog -} - -pkg_setup() { - php_binary_extension - QA_TEXTRELS="${EXT_DIR/\//}/${PHP_EXT_NAME}.so" - QA_EXECSTACK="${EXT_DIR/\//}/${PHP_EXT_NAME}.so" -} - -src_install() { - php-ext-base-r1_src_install - - if has_version =dev-lang/php-5.2* ; then - ZENDOPT_VERSION_DIR="5_2_x_comp" - else - die "Unable to find an installed dev-lang/php-5* package." - fi - - # Detect if we use ZTS and change the file path accordingly - if has_zts ; then - ZENDOPT_SO_FILE="data/${ZENDOPT_VERSION_DIR}/TS/${PHP_EXT_NAME}.so" - else - ZENDOPT_SO_FILE="data/${ZENDOPT_VERSION_DIR}/${PHP_EXT_NAME}.so" - fi - - # Install the binary - insinto ${EXT_DIR} - doins ${ZENDOPT_SO_FILE} - - # Add the correct settings to the extension ini files - php-ext-base-r1_addtoinifiles "zend_optimizer.optimization_level" "15" - php-ext-base-r1_addtoinifiles "zend_optimizer.enable_loader" "1" - php-ext-base-r1_addtoinifiles "zend_optimizer.disable_licensing" "0" - - dodoc-php README-${PN} data/doc/Zend_Optimizer_User_Guide.pdf -} - -pkg_postinst() { - has_php - - # You only need to restart apache2 if you're using mod_php - if built_with_use =${PHP_PKG} apache2 ; then - elog - elog "You need to restart apache2 to activate the ${PN}." - elog - fi -} diff --git a/dev-php5/ZendOptimizer/ZendOptimizer-3.3.9.ebuild b/dev-php5/ZendOptimizer/ZendOptimizer-3.3.9-r1.ebuild index 0b01348ec9ac..8ebdd81e1a8e 100644 --- a/dev-php5/ZendOptimizer/ZendOptimizer-3.3.9.ebuild +++ b/dev-php5/ZendOptimizer/ZendOptimizer-3.3.9-r1.ebuild @@ -1,6 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendOptimizer/ZendOptimizer-3.3.9.ebuild,v 1.1 2009/12/09 08:37:26 hollow Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendOptimizer/ZendOptimizer-3.3.9-r1.ebuild,v 1.1 2010/06/22 21:26:59 mabi Exp $ + +EAPI="2" PHP_EXT_ZENDEXT="yes" PHP_EXT_NAME="ZendOptimizer" @@ -27,7 +29,9 @@ IUSE="" RESTRICT="mirror fetch strip" DEPEND="" -RDEPEND="!dev-php5/xdebug !dev-php5/pecl-apc" +RDEPEND="!dev-php5/xdebug + !dev-php5/pecl-apc + <dev-lang/php-5.3[-debug,-threads]" need_php_by_category @@ -56,12 +60,7 @@ src_install() { die "Unable to find an installed dev-lang/php-5* package." fi - # Detect if we use ZTS and change the file path accordingly - if has_zts ; then - ZENDOPT_SO_FILE="data/${ZENDOPT_VERSION_DIR}/TS/${PHP_EXT_NAME}.so" - else - ZENDOPT_SO_FILE="data/${ZENDOPT_VERSION_DIR}/${PHP_EXT_NAME}.so" - fi + ZENDOPT_SO_FILE="data/${ZENDOPT_VERSION_DIR}/${PHP_EXT_NAME}.so" # Install the binary insinto ${EXT_DIR} @@ -72,7 +71,7 @@ src_install() { php-ext-base-r1_addtoinifiles "zend_optimizer.enable_loader" "1" php-ext-base-r1_addtoinifiles "zend_optimizer.disable_licensing" "0" - dodoc-php README-${PN} data/doc/Zend_Optimizer_User_Guide.pdf + dodoc-php README-${PN} } pkg_postinst() { |