diff options
author | Sebastian Bergmann <sebastian@gentoo.org> | 2006-03-04 21:12:49 +0000 |
---|---|---|
committer | Sebastian Bergmann <sebastian@gentoo.org> | 2006-03-04 21:12:49 +0000 |
commit | 740724146e14bb95d08cf7029cc43b5f4cbca3d1 (patch) | |
tree | 152b2aa908028896792e6a15e6dcc793232ada94 /dev-php5 | |
parent | Version bump. (diff) | |
download | gentoo-2-740724146e14bb95d08cf7029cc43b5f4cbca3d1.tar.gz gentoo-2-740724146e14bb95d08cf7029cc43b5f4cbca3d1.tar.bz2 gentoo-2-740724146e14bb95d08cf7029cc43b5f4cbca3d1.zip |
Version bump.
(Portage version: 2.1_pre5-r3)
Diffstat (limited to 'dev-php5')
-rw-r--r-- | dev-php5/pecl-apc/ChangeLog | 8 | ||||
-rw-r--r-- | dev-php5/pecl-apc/Manifest | 12 | ||||
-rw-r--r-- | dev-php5/pecl-apc/files/digest-pecl-apc-3.0.9 | 3 | ||||
-rw-r--r-- | dev-php5/pecl-apc/pecl-apc-3.0.9.ebuild | 71 |
4 files changed, 90 insertions, 4 deletions
diff --git a/dev-php5/pecl-apc/ChangeLog b/dev-php5/pecl-apc/ChangeLog index a58bfad1911e..6a350f39cd23 100644 --- a/dev-php5/pecl-apc/ChangeLog +++ b/dev-php5/pecl-apc/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-php5/pecl-apc # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.5 2006/02/10 10:32:32 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.6 2006/03/04 21:12:49 sebastian Exp $ + +*pecl-apc-3.0.9 (04 Mar 2006) + + 04 Mar 2006; Sebastian Bergmann <sebastian@gentoo.org> + +pecl-apc-3.0.9.ebuild: + Version bump. 10 Feb 2006; Simon Stelling <blubb@gentoo.org> pecl-apc-3.0.8.ebuild: added ~amd64 keyword diff --git a/dev-php5/pecl-apc/Manifest b/dev-php5/pecl-apc/Manifest index ec4986bc5964..da6c39b4cbee 100644 --- a/dev-php5/pecl-apc/Manifest +++ b/dev-php5/pecl-apc/Manifest @@ -1,12 +1,18 @@ -MD5 283423bbb574862c927a7c6e2b1b6cfa ChangeLog 701 -RMD160 de144a7d50b7be0bd9586b3edbab8c93fbbdc0b0 ChangeLog 701 -SHA256 df4ba0ee03793f3e0c7ebfbba8c550b3066b55657a377cd73c78fe829c341ea8 ChangeLog 701 +MD5 a7c089a2e03a23d03d2fc16c490cd541 ChangeLog 832 +RMD160 8aec18e17494f56d5f8be3803a67f30019f5bbe4 ChangeLog 832 +SHA256 f60ced4d899173f7cbfc83f33b629912f96a52ffb97bcd516fd5510b9dee45bb ChangeLog 832 MD5 66795850fe4fb57f021182ccdd3e3203 files/digest-pecl-apc-3.0.8 57 RMD160 dcb355e13d2dae25850e1d47389686de63278e58 files/digest-pecl-apc-3.0.8 57 SHA256 00cace789053719fe85b322602a0f85c537a832de53f74720d969d4ab4c8c60d files/digest-pecl-apc-3.0.8 57 +MD5 d017ac22b1f501982506d92d7f546184 files/digest-pecl-apc-3.0.9 217 +RMD160 440146e0ed7756ab176f1bdcae60f14ca60e2c17 files/digest-pecl-apc-3.0.9 217 +SHA256 8b558e124c017734b1c2ae46f3dbc8170b029e052d5829f8a6287e428e683f9e files/digest-pecl-apc-3.0.9 217 MD5 c58d07ca1c1235bbad9bccaec96fc062 metadata.xml 157 RMD160 a98db3a086fae3c09a903dadbc05f60443ec4b1a metadata.xml 157 SHA256 54f8878ca0228e380abbaa4b529806b5533a6b9b51b3b16c0909e906586a91a1 metadata.xml 157 MD5 7b3c692e7527df799d245607f5b86ef8 pecl-apc-3.0.8.ebuild 2187 RMD160 cf98686d3bb1411c4b1de283be58a7d9ea5ee076 pecl-apc-3.0.8.ebuild 2187 SHA256 4a5c175ebec2e96e154345cf4377a5be503a41dc52b3f879611aee23ab979cca pecl-apc-3.0.8.ebuild 2187 +MD5 7b3c692e7527df799d245607f5b86ef8 pecl-apc-3.0.9.ebuild 2187 +RMD160 cf98686d3bb1411c4b1de283be58a7d9ea5ee076 pecl-apc-3.0.9.ebuild 2187 +SHA256 4a5c175ebec2e96e154345cf4377a5be503a41dc52b3f879611aee23ab979cca pecl-apc-3.0.9.ebuild 2187 diff --git a/dev-php5/pecl-apc/files/digest-pecl-apc-3.0.9 b/dev-php5/pecl-apc/files/digest-pecl-apc-3.0.9 new file mode 100644 index 000000000000..3f22f39ef77e --- /dev/null +++ b/dev-php5/pecl-apc/files/digest-pecl-apc-3.0.9 @@ -0,0 +1,3 @@ +MD5 71a78f0bbce906bb5962717051efac9c APC-3.0.9.tgz 84525 +RMD160 a31be1d2e7062f4dfd65c5aafed1cee68a3818d0 APC-3.0.9.tgz 84525 +SHA256 a55c3bda75363b2e1e11c929b0f8cc5279e547b1b583d46a644c564d18be1c60 APC-3.0.9.tgz 84525 diff --git a/dev-php5/pecl-apc/pecl-apc-3.0.9.ebuild b/dev-php5/pecl-apc/pecl-apc-3.0.9.ebuild new file mode 100644 index 000000000000..620081cabbd3 --- /dev/null +++ b/dev-php5/pecl-apc/pecl-apc-3.0.9.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.0.9.ebuild,v 1.1 2006/03/04 21:12:49 sebastian Exp $ + +PHP_EXT_NAME="apc" +PHP_EXT_PECL_PKG="APC" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" + +inherit php-ext-pecl-r1 confutils + +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +DESCRIPTION="The Alternative PHP Cache." +LICENSE="PHP" +SLOT="0" +IUSE="mmap" + +need_php_by_category + +pkg_setup() { + has_php + + require_php_sapi_from cgi apache apache2 +} + +src_compile() { + has_php + + # PECL-APC does not work with Zend Thread Safety (ZTS) + # so abort if we are using PHP compiled with ZTS. + if has_zts ; then + eerror "PECL-APC doesn't work with a ZTS enabled PHP." + eerror "Please disable ZTS by turning the 'threads'" + eerror "USE flag off when you compile dev-lang/php." + die "PECL-APC does not support ZTS" + fi + + my_conf="--enable-apc" + enable_extension_enable "apc-mmap" "mmap" 0 + enable_extension_with_built_with =${PHP_PKG} apache2 apxs2 /usr/sbin/apxs2 "optimisation for apache2" + enable_extension_with_built_with =${PHP_PKG} apache apxs /usr/sbin/apxs "optimisation for apache1" + + php-ext-pecl-r1_src_compile +} + +src_install() { + php-ext-pecl-r1_src_install + dodoc-php CHANGELOG INSTALL LICENSE NOTICE + + php-ext-base-r1_addtoinifiles "apc.enabled" '"1"' + php-ext-base-r1_addtoinifiles "apc.shm_segments" '"1"' + php-ext-base-r1_addtoinifiles "apc.shm_size" '"30"' + php-ext-base-r1_addtoinifiles "apc.optimization" '"0"' + php-ext-base-r1_addtoinifiles "apc.num_files_hint" '"1000"' + php-ext-base-r1_addtoinifiles "apc.ttl" '"0"' + php-ext-base-r1_addtoinifiles "apc.gc_ttl" '"3600"' + php-ext-base-r1_addtoinifiles "apc.cache_by_default" '"1"' + php-ext-base-r1_addtoinifiles "apc.filters" '""' + php-ext-base-r1_addtoinifiles "apc.mmap_file_mask" '""' + php-ext-base-r1_addtoinifiles "apc.slam_defense" '"0"' + php-ext-base-r1_addtoinifiles "apc.file_update_protection" '"2"' + + dodir "${PHP_EXT_SHARED_DIR}" + insinto "${PHP_EXT_SHARED_DIR}" + doins apc.php +} + +pkg_postinst() { + einfo "The apc.php file shipped with this release of PECL-APC was" + einfo "installed into /usr/share/php5/apc/." +} |