public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-php5/ZendOptimizer: ZendOptimizer-3.3.9.ebuild ChangeLog ZendOptimizer-3.3.0a.ebuild ZendOptimizer-3.3.3.ebuild
@ 2009-12-09  8:37 Benedikt Boehm (hollow)
  0 siblings, 0 replies; only message in thread
From: Benedikt Boehm (hollow) @ 2009-12-09  8:37 UTC (permalink / raw
  To: gentoo-commits

hollow      09/12/09 08:37:26

  Modified:             ChangeLog
  Added:                ZendOptimizer-3.3.9.ebuild
  Removed:              ZendOptimizer-3.3.0a.ebuild
                        ZendOptimizer-3.3.3.ebuild
  Log:
  version bump wrt #292474, remove blocker on eAccelerator wrt #258736
  (Portage version: 2.2_rc55/cvs/Linux i686)

Revision  Changes    Path
1.5                  dev-php5/ZendOptimizer/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/ZendOptimizer/ChangeLog?rev=1.5&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/ZendOptimizer/ChangeLog?rev=1.5&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/ZendOptimizer/ChangeLog?r1=1.4&r2=1.5

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-php5/ZendOptimizer/ChangeLog,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- ChangeLog	7 Jul 2009 23:18:57 -0000	1.4
+++ ChangeLog	9 Dec 2009 08:37:26 -0000	1.5
@@ -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.4 2009/07/07 23:18:57 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/ZendOptimizer/ChangeLog,v 1.5 2009/12/09 08:37:26 hollow Exp $
+
+*ZendOptimizer-3.3.9 (09 Dec 2009)
+
+  09 Dec 2009; Benedikt Böhm <hollow@gentoo.org>
+  -ZendOptimizer-3.3.0a.ebuild, -ZendOptimizer-3.3.3.ebuild,
+  +ZendOptimizer-3.3.9.ebuild:
+  version bump wrt #292474, remove blocker on eAccelerator wrt #258736
 
   07 Jul 2009; Diego E. Pettenò <flameeyes@gentoo.org>
   ZendOptimizer-3.3.3-r1.ebuild:



1.1                  dev-php5/ZendOptimizer/ZendOptimizer-3.3.9.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/ZendOptimizer/ZendOptimizer-3.3.9.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/ZendOptimizer/ZendOptimizer-3.3.9.ebuild?rev=1.1&content-type=text/plain

Index: ZendOptimizer-3.3.9.ebuild
===================================================================
# 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.9.ebuild,v 1.1 2009/12/09 08:37:26 hollow 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"

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
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-12-09 10:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-09  8:37 [gentoo-commits] gentoo-x86 commit in dev-php5/ZendOptimizer: ZendOptimizer-3.3.9.ebuild ChangeLog ZendOptimizer-3.3.0a.ebuild ZendOptimizer-3.3.3.ebuild Benedikt Boehm (hollow)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox