summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Bergmann <sebastian@gentoo.org>2006-03-04 21:12:18 +0000
committerSebastian Bergmann <sebastian@gentoo.org>2006-03-04 21:12:18 +0000
commit72347cec2ffb521a2db747d3661469a7113149e9 (patch)
tree1cdb0c7d15bdb53d95102c6e5b89f421018ee70f /dev-php4
parentMarked stable on x86 (diff)
downloadgentoo-2-72347cec2ffb521a2db747d3661469a7113149e9.tar.gz
gentoo-2-72347cec2ffb521a2db747d3661469a7113149e9.tar.bz2
gentoo-2-72347cec2ffb521a2db747d3661469a7113149e9.zip
Version bump.
(Portage version: 2.1_pre5-r3)
Diffstat (limited to 'dev-php4')
-rw-r--r--dev-php4/pecl-apc/ChangeLog10
-rw-r--r--dev-php4/pecl-apc/Manifest16
-rw-r--r--dev-php4/pecl-apc/files/digest-pecl-apc-3.0.93
-rw-r--r--dev-php4/pecl-apc/pecl-apc-3.0.9.ebuild74
4 files changed, 100 insertions, 3 deletions
diff --git a/dev-php4/pecl-apc/ChangeLog b/dev-php4/pecl-apc/ChangeLog
index 031c96e74fed..a1369be6ae51 100644
--- a/dev-php4/pecl-apc/ChangeLog
+++ b/dev-php4/pecl-apc/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-php4/pecl-apc
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-apc/ChangeLog,v 1.4 2005/11/24 21:32:49 chtekk Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-apc/ChangeLog,v 1.5 2006/03/04 21:12:18 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.
24 Nov 2005; Luca Longinotti <chtekk@gentoo.org> pecl-apc-3.0.8.ebuild:
Sync with PHP overlay.
diff --git a/dev-php4/pecl-apc/Manifest b/dev-php4/pecl-apc/Manifest
index 6bf2f50c3db9..5d0f6bb94ea3 100644
--- a/dev-php4/pecl-apc/Manifest
+++ b/dev-php4/pecl-apc/Manifest
@@ -1,4 +1,18 @@
-MD5 733fc78988fbb5cf352f9583458ee9f8 ChangeLog 610
+MD5 238ce4c171e839ed93404f3ba445478e ChangeLog 741
+RMD160 45496638be7dfa619980ba2e4c698de3e27eea36 ChangeLog 741
+SHA256 159730e23df8e3de7b85438e1a865728ce7cbe8f8ed52377f2eaddb542e8803f ChangeLog 741
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 1cf632109905e5a7912daf072787f101 pecl-apc-3.0.8.ebuild 2226
+RMD160 085e1d55bf22bc1a6635d9c2a08111c59036150e pecl-apc-3.0.8.ebuild 2226
+SHA256 5b69abbe0b47033c71dcf596e7bacac5e411336cdbfce577b2b112f95e9b7539 pecl-apc-3.0.8.ebuild 2226
+MD5 37624369a4fb6f1772d9ec7ae02f6cd1 pecl-apc-3.0.9.ebuild 2226
+RMD160 a4a0b36802a013b6c5a72c6ba5e11ed494973cc3 pecl-apc-3.0.9.ebuild 2226
+SHA256 9438b5daa1cd2e9ae3b624743b62794eceed2feccb73edc538f3941f575d9e74 pecl-apc-3.0.9.ebuild 2226
diff --git a/dev-php4/pecl-apc/files/digest-pecl-apc-3.0.9 b/dev-php4/pecl-apc/files/digest-pecl-apc-3.0.9
new file mode 100644
index 000000000000..3f22f39ef77e
--- /dev/null
+++ b/dev-php4/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-php4/pecl-apc/pecl-apc-3.0.9.ebuild b/dev-php4/pecl-apc/pecl-apc-3.0.9.ebuild
new file mode 100644
index 000000000000..a072868c7416
--- /dev/null
+++ b/dev-php4/pecl-apc/pecl-apc-3.0.9.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-apc/pecl-apc-3.0.9.ebuild,v 1.1 2006/03/04 21:12:18 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="~ppc ~ppc64 ~sparc ~x86"
+DESCRIPTION="The Alternative PHP Cache."
+LICENSE="PHP"
+SLOT="0"
+IUSE="mmap"
+
+DEPEND="${DEPEND}
+ !dev-php4/eaccelerator"
+
+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/php4/apc/."
+}