diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2004-01-05 03:50:39 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2004-01-05 03:50:39 +0000 |
commit | 89599d5c8ea64928d7e3916ea470f9f3ef0d1116 (patch) | |
tree | 6dea9f087cb22f06e87aba762c8ce2fff2b44abc /dev-php/php-accelerator | |
parent | fix bug #36295, bump revision. (diff) | |
download | historical-89599d5c8ea64928d7e3916ea470f9f3ef0d1116.tar.gz historical-89599d5c8ea64928d7e3916ea470f9f3ef0d1116.tar.bz2 historical-89599d5c8ea64928d7e3916ea470f9f3ef0d1116.zip |
fix bug #36295, bump revision.
Diffstat (limited to 'dev-php/php-accelerator')
4 files changed, 78 insertions, 6 deletions
diff --git a/dev-php/php-accelerator/Manifest b/dev-php/php-accelerator/Manifest index d5bb6881ac0e..7326a10c0a8d 100644 --- a/dev-php/php-accelerator/Manifest +++ b/dev-php/php-accelerator/Manifest @@ -1,7 +1,7 @@ -# $Header: /var/cvsroot/gentoo-x86/dev-php/php-accelerator/Manifest,v 1.9 2004/01/05 03:50:31 robbat2 Exp $ -MD5 e534cfbdce713aac1a7553ee5f32a098 php-accelerator-1.3.3-r1.ebuild 1587 -MD5 03b4eb2980ea68da731ca1a1071e1698 php-accelerator-1.3.3.ebuild 1455 -MD5 c0da47b0a8a8c48308712783c4dd0521 ChangeLog 631 +# $Header: /var/cvsroot/gentoo-x86/dev-php/php-accelerator/Manifest,v 1.10 2004/01/05 03:50:39 robbat2 Exp $ +MD5 f1b7989bc6e18babef71da9a5825ca31 php-accelerator-1.3.3-r1.ebuild 1590 +MD5 bc776444ba486ff37fe52839a4fa2d2e php-accelerator-1.3.3.ebuild 1455 +MD5 90635e57c030243feb318240abbb6101 ChangeLog 824 MD5 34b376f52ca199fffb4e52b83169574a metadata.xml 156 MD5 32bb770b001c8c0539f45c0cdaac389b files/digest-php-accelerator-1.3.3 103 MD5 32bb770b001c8c0539f45c0cdaac389b files/digest-php-accelerator-1.3.3-r1 103 diff --git a/dev-php/php-accelerator/files/digest-php-accelerator-1.3.3-r1 b/dev-php/php-accelerator/files/digest-php-accelerator-1.3.3-r1 new file mode 100644 index 000000000000..1076c9f73252 --- /dev/null +++ b/dev-php/php-accelerator/files/digest-php-accelerator-1.3.3-r1 @@ -0,0 +1 @@ +MD5 61b61aaa1d8092b50175a31796964eef php_accelerator-1.3.3r2_php-4.3.0_linux_i686-glibc2.1.3.tgz 57023 diff --git a/dev-php/php-accelerator/php-accelerator-1.3.3-r1.ebuild b/dev-php/php-accelerator/php-accelerator-1.3.3-r1.ebuild new file mode 100644 index 000000000000..6327a26da4ce --- /dev/null +++ b/dev-php/php-accelerator/php-accelerator-1.3.3-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/php-accelerator/php-accelerator-1.3.3-r1.ebuild,v 1.1 2004/01/05 03:50:31 robbat2 Exp $ + +DESCRIPTION="The ionCube PHP Accelerator" +HOMEPAGE="http://www.php-accelerator.co.uk/" +LICENSE="freedist" +SLOT="0" +KEYWORDS="~alpha ~x86" +IUSE="" +RESTRICT="nomirror nostrip" +DEPEND="!dev-php/turck-mmcache + !dev-php/PECL-apc" + +# Detect machine type +PHP_NO_BUILD= +case ${MACHTYPE} in +alpha-pc-linux-gnu) + OS="linux" + CPU="alpha" + ;; +i686-pc-linux-gnu) + OS="linux" + CPU="i686" + ;; +*) + PHPA_NO_BUILD=1 + ;; +esac + +# Detect glibc version +GLIBC_VER="2.1.3" + +# use phpAccelerator for PHP 4.3.0 +PHP_VER="4.3.0" +PHPA_VER="${PV}r2" +PHPA="php_accelerator-${PHPA_VER}_php-${PHP_VER}_${OS}_${CPU}-glibc${GLIBC_VER}" + +SRC_URI="http://www.php-accelerator.co.uk/releases/${OS}_${CPU}-glibc${GLIBC_VER}/${PHPA_VER}_${PHP_VER}/${PHPA}.tgz" +DEPEND="" +RDEPEND=">=virtual/glibc-${GLIBC_VER} >=virtual/php-${PHP_VER}" + +S=${WORKDIR}/${PHPA} + +PHP_EXT_NAME="php_accelerator_${PHPA_VER}" +PHP_EXT_ZENDEXT="yes" + +inherit php-ext-base + +pkg_setup() { + + if [ -n "${PHPA_NO_BUILD}" ]; then + die "There is no build for your machine type (${MACHTYPE})" + fi + +} + +src_install() { + insinto ${EXT_DIR} + doins ${PHP_EXT_NAME}.so + dobin phpa_cache_admin + dodoc CONFIGURATION INSTALL release_notes phpa_cache_admin *.gif + + php-ext-base_src_install + +} + +pkg_postinst() { + php-ext-base_addtoinifiles "phpa.shm_user" '"apache"' + php-ext-base_addtoinifiles "phpa.shm_group" '"apache"' +} diff --git a/dev-php/php-accelerator/php-accelerator-1.3.3.ebuild b/dev-php/php-accelerator/php-accelerator-1.3.3.ebuild index 3b0fe6d187a8..fd821fed3ae6 100644 --- a/dev-php/php-accelerator/php-accelerator-1.3.3.ebuild +++ b/dev-php/php-accelerator/php-accelerator-1.3.3.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php/php-accelerator/php-accelerator-1.3.3.ebuild,v 1.4 2003/10/30 15:00:39 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php/php-accelerator/php-accelerator-1.3.3.ebuild,v 1.5 2004/01/05 03:50:31 robbat2 Exp $ DESCRIPTION="The ionCube PHP Accelerator" HOMEPAGE="http://www.php-accelerator.co.uk/" |