diff options
author | Konstantin V. Arkhipov <voxus@gentoo.org> | 2007-06-30 17:22:56 +0000 |
---|---|---|
committer | Konstantin V. Arkhipov <voxus@gentoo.org> | 2007-06-30 17:22:56 +0000 |
commit | 9c691bbafbc44a9b9824709d609c6561b1ea590d (patch) | |
tree | 310b859fbcb1c39f04f216f8e97b259671eeefab /dev-php4 | |
parent | alpha stable (diff) | |
download | gentoo-2-9c691bbafbc44a9b9824709d609c6561b1ea590d.tar.gz gentoo-2-9c691bbafbc44a9b9824709d609c6561b1ea590d.tar.bz2 gentoo-2-9c691bbafbc44a9b9824709d609c6561b1ea590d.zip |
* bump, bug #180562
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'dev-php4')
-rw-r--r-- | dev-php4/pecl-apc/ChangeLog | 8 | ||||
-rw-r--r-- | dev-php4/pecl-apc/files/digest-pecl-apc-3.0.14 | 3 | ||||
-rw-r--r-- | dev-php4/pecl-apc/pecl-apc-3.0.14.ebuild | 73 |
3 files changed, 83 insertions, 1 deletions
diff --git a/dev-php4/pecl-apc/ChangeLog b/dev-php4/pecl-apc/ChangeLog index 86ef75ef4d03..c349ca34019d 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-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-apc/ChangeLog,v 1.24 2007/05/12 14:35:18 chtekk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php4/pecl-apc/ChangeLog,v 1.25 2007/06/30 17:22:56 voxus Exp $ + +*pecl-apc-3.0.14 (30 Jun 2007) + + 30 Jun 2007; Konstantin V. Arkhipov <voxus@gentoo.org> + +pecl-apc-3.0.14.ebuild: + Version bump, closing bug #180562. 12 May 2007; Luca Longinotti <chtekk@gentoo.org> pecl-apc-3.0.12_p2.ebuild, pecl-apc-3.0.13.ebuild: diff --git a/dev-php4/pecl-apc/files/digest-pecl-apc-3.0.14 b/dev-php4/pecl-apc/files/digest-pecl-apc-3.0.14 new file mode 100644 index 000000000000..415ca2aa9d49 --- /dev/null +++ b/dev-php4/pecl-apc/files/digest-pecl-apc-3.0.14 @@ -0,0 +1,3 @@ +MD5 0f452f936239b6107d3e2e5cda4f4bda APC-3.0.14.tgz 108511 +RMD160 59c76ae8ae4aa237d118e0860c42f11e416751d1 APC-3.0.14.tgz 108511 +SHA256 f05195d163983a8f36336e622e6008bfecd4643d7c5613a6e4a8b07ed735e050 APC-3.0.14.tgz 108511 diff --git a/dev-php4/pecl-apc/pecl-apc-3.0.14.ebuild b/dev-php4/pecl-apc/pecl-apc-3.0.14.ebuild new file mode 100644 index 000000000000..7c14b768d0cb --- /dev/null +++ b/dev-php4/pecl-apc/pecl-apc-3.0.14.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2007 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.14.ebuild,v 1.1 2007/06/30 17:22:56 voxus 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="A free, open, and robust framework for caching and optimizing PHP code." +LICENSE="PHP" +SLOT="0" +IUSE="mmap" + +DEPEND="!dev-php4/eaccelerator !dev-php4/xcache" +RDEPEND="${DEPEND}" + +need_php_by_category + +pkg_setup() { + has_php + require_php_sapi_from cgi apache2 +} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-tsrm.patch" +} + +src_compile() { + has_php + + my_conf="--enable-apc" + enable_extension_enable "apc-mmap" "mmap" 0 + enable_extension_with_built_with =${PHP_PKG} apache2 apxs /usr/sbin/apxs2 "optimisation for apache2" + + 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" '"1024"' + php-ext-base-r1_addtoinifiles "apc.ttl" '"7200"' + php-ext-base-r1_addtoinifiles "apc.user_ttl" '"7200"' + 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.mmap_file_mask" '"/tmp/apcphp4.XXXXXX"' + php-ext-base-r1_addtoinifiles "apc.file_update_protection" '"2"' + php-ext-base-r1_addtoinifiles "apc.enable_cli" '"0"' + php-ext-base-r1_addtoinifiles "apc.max_file_size" '"1M"' + php-ext-base-r1_addtoinifiles "apc.stat" '"1"' + php-ext-base-r1_addtoinifiles "apc.write_lock" '"1"' + + dodir "${PHP_EXT_SHARED_DIR}" + insinto "${PHP_EXT_SHARED_DIR}" + doins apc.php +} + +pkg_postinst() { + elog "The apc.php file shipped with this release of PECL-APC was" + elog "installed into ${ROOT}usr/share/php4/apc/." +} |