diff options
author | Markus Ullmann <jokey@gentoo.org> | 2007-08-30 12:44:27 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2007-08-30 12:44:27 +0000 |
commit | 8488d7799c980aaa15bd071ce566abe084474c98 (patch) | |
tree | aa0d53f163387c688e8e2cd2983bacad9cb81dbf /dev-php4 | |
parent | Add license for dev-php{4,5}/ZendOptimizer (diff) | |
download | gentoo-2-8488d7799c980aaa15bd071ce566abe084474c98.tar.gz gentoo-2-8488d7799c980aaa15bd071ce566abe084474c98.tar.bz2 gentoo-2-8488d7799c980aaa15bd071ce566abe084474c98.zip |
Port from project overlay
(Portage version: 2.1.3.7)
Diffstat (limited to 'dev-php4')
-rw-r--r-- | dev-php4/ZendOptimizer/ChangeLog | 15 | ||||
-rw-r--r-- | dev-php4/ZendOptimizer/Manifest | 17 | ||||
-rw-r--r-- | dev-php4/ZendOptimizer/ZendOptimizer-3.3.0a.ebuild | 87 | ||||
-rw-r--r-- | dev-php4/ZendOptimizer/files/digest-ZendOptimizer-3.3.0a | 6 | ||||
-rw-r--r-- | dev-php4/ZendOptimizer/metadata.xml | 5 |
5 files changed, 130 insertions, 0 deletions
diff --git a/dev-php4/ZendOptimizer/ChangeLog b/dev-php4/ZendOptimizer/ChangeLog new file mode 100644 index 000000000000..1c724955bf80 --- /dev/null +++ b/dev-php4/ZendOptimizer/ChangeLog @@ -0,0 +1,15 @@ +# ChangeLog for dev-php4/ZendOptimizer +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php4/ZendOptimizer/ChangeLog,v 1.1 2007/08/30 12:44:27 jokey Exp $ + +*ZendOptimizer-3.3.0a (30 Aug 2007) + + 30 Aug 2007; Markus Ullmann <jokey@gentoo.org> +metadata.xml, + +ZendOptimizer-3.3.0a.ebuild: + Port from project overlay + + 29 Aug 2007; Jakub Moc <jakub@gentoo.org> -ZendOptimizer-3.0.1.ebuild, + +ZendOptimizer-3.3.0a.ebuild: + Bump to 3.3.0a, add QA_{TEXTRELS,EXECSTACK} variables to silence portage QA + warnings, install user guide as well. + diff --git a/dev-php4/ZendOptimizer/Manifest b/dev-php4/ZendOptimizer/Manifest new file mode 100644 index 000000000000..5948b6735fbc --- /dev/null +++ b/dev-php4/ZendOptimizer/Manifest @@ -0,0 +1,17 @@ +DIST ZendOptimizer-3.3.0a-linux-glibc21-i386.tar.gz 9751851 RMD160 32a30b8d728d747374bb4f0f94e34e1ac6dfc095 SHA1 9ae95f1a85f443c0440ccf40df7967b0adba02c6 SHA256 0e59e5a5a8dd5e960f553b93025c8a1fb95ba3c3d23943e31c28ceedea2372c0 +DIST ZendOptimizer-3.3.0a-linux-glibc23-x86_64.tar.gz 9031963 RMD160 616789347010cdc1ef7163e22689b61adffbb807 SHA1 2c0144fefc110f7deb8b439147c9b691f56b7326 SHA256 4e58bf3d32b4fb9368ade3fab58b164b23b66a4397f656c928e26f7aa95a26eb +EBUILD ZendOptimizer-3.3.0a.ebuild 2159 RMD160 6a769de0344f9adab5d6a99647eac689c19dcea9 SHA1 753cf8bbf22c44857f91ed80a8dc64a8015fe64b SHA256 f1ce6104af4edc04e0fd19e1e2e2546d2e7ddab057b11d6b64afa2eff0c0a4fb +MD5 621f8eb0f23367fff21ef042fd52738d ZendOptimizer-3.3.0a.ebuild 2159 +RMD160 6a769de0344f9adab5d6a99647eac689c19dcea9 ZendOptimizer-3.3.0a.ebuild 2159 +SHA256 f1ce6104af4edc04e0fd19e1e2e2546d2e7ddab057b11d6b64afa2eff0c0a4fb ZendOptimizer-3.3.0a.ebuild 2159 +MISC ChangeLog 509 RMD160 7be9839b39aae0c2df51156aa50e519d1f96b68f SHA1 d9c058ae60bfa448779e40fb9450fa6947b9df74 SHA256 68306c9d64f5967ba2ac81b8b3aed3e1ea721c4e761b83f947ec3906e7b134ee +MD5 f64dfa30447c4453e462dbaa2d12ca8d ChangeLog 509 +RMD160 7be9839b39aae0c2df51156aa50e519d1f96b68f ChangeLog 509 +SHA256 68306c9d64f5967ba2ac81b8b3aed3e1ea721c4e761b83f947ec3906e7b134ee ChangeLog 509 +MISC metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a SHA1 ddaa23cc35eb917bf8962b652442bebb1ce0f440 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 +MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 +RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a metadata.xml 157 +SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 metadata.xml 157 +MD5 9473536f5b9fb1b602cd4e421cc390e3 files/digest-ZendOptimizer-3.3.0a 650 +RMD160 f1f388367951d4aeb0f473d976b87d11b5193d77 files/digest-ZendOptimizer-3.3.0a 650 +SHA256 d7d7f3e1ddd6d1e970c5739c2487566b0c7bd85daf5b6775f502cdb55711d764 files/digest-ZendOptimizer-3.3.0a 650 diff --git a/dev-php4/ZendOptimizer/ZendOptimizer-3.3.0a.ebuild b/dev-php4/ZendOptimizer/ZendOptimizer-3.3.0a.ebuild new file mode 100644 index 000000000000..df8d1cdd4258 --- /dev/null +++ b/dev-php4/ZendOptimizer/ZendOptimizer-3.3.0a.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php4/ZendOptimizer/ZendOptimizer-3.3.0a.ebuild,v 1.1 2007/08/30 12:44:27 jokey 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-glibc21-i386.tar.gz )" + +MY_ARCH=${ARCH/x86/glibc21-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-php4/xdebug !dev-php4/pecl-apc !dev-php4/eaccelerator" + +need_php_by_category + +pkg_nofetch() { + einfo + einfo "Please download ${PN}-${PV}-linux-${MY_ARCH} from:" + einfo "${HOMEPAGE}" + einfo "and put it into /usr/portage/distfiles/." + einfo "Please note that you need a valid Zend Account" + einfo "(free) to download the Zend Optimizer!" + einfo +} + +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 + + # Detect which PHP4 version is installed + if has_version =dev-lang/php-4.4* ; then + ZENDOPT_VERSION_DIR="4_4_x_comp" + else + die "Unable to find an installed dev-lang/php-4* 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" "0" + + dodoc-php README-${PN} data/doc/*.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-php4/ZendOptimizer/files/digest-ZendOptimizer-3.3.0a b/dev-php4/ZendOptimizer/files/digest-ZendOptimizer-3.3.0a new file mode 100644 index 000000000000..e5c0ad4b880c --- /dev/null +++ b/dev-php4/ZendOptimizer/files/digest-ZendOptimizer-3.3.0a @@ -0,0 +1,6 @@ +MD5 68a46ab6f8d1bf976388ad5a3618503e ZendOptimizer-3.3.0a-linux-glibc21-i386.tar.gz 9751851 +RMD160 32a30b8d728d747374bb4f0f94e34e1ac6dfc095 ZendOptimizer-3.3.0a-linux-glibc21-i386.tar.gz 9751851 +SHA256 0e59e5a5a8dd5e960f553b93025c8a1fb95ba3c3d23943e31c28ceedea2372c0 ZendOptimizer-3.3.0a-linux-glibc21-i386.tar.gz 9751851 +MD5 ea54486b554305a92273e354b7cab15a ZendOptimizer-3.3.0a-linux-glibc23-x86_64.tar.gz 9031963 +RMD160 616789347010cdc1ef7163e22689b61adffbb807 ZendOptimizer-3.3.0a-linux-glibc23-x86_64.tar.gz 9031963 +SHA256 4e58bf3d32b4fb9368ade3fab58b164b23b66a4397f656c928e26f7aa95a26eb ZendOptimizer-3.3.0a-linux-glibc23-x86_64.tar.gz 9031963 diff --git a/dev-php4/ZendOptimizer/metadata.xml b/dev-php4/ZendOptimizer/metadata.xml new file mode 100644 index 000000000000..fd3dbe39fa64 --- /dev/null +++ b/dev-php4/ZendOptimizer/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>php</herd> +</pkgmetadata> |