diff options
author | Markus Ullmann <jokey@gentoo.org> | 2007-10-28 11:53:31 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2007-10-28 11:53:31 +0000 |
commit | c6b7aaeeba12c8f3c5bbfb8a646214705f95c3aa (patch) | |
tree | 5cf27c2a1e731c12e34289ad56a43f5b9a62b9b6 /dev-php5/pecl-apc | |
parent | Version bump from php project overlay (diff) | |
download | gentoo-2-c6b7aaeeba12c8f3c5bbfb8a646214705f95c3aa.tar.gz gentoo-2-c6b7aaeeba12c8f3c5bbfb8a646214705f95c3aa.tar.bz2 gentoo-2-c6b7aaeeba12c8f3c5bbfb8a646214705f95c3aa.zip |
Version bump from php project overlay
(Portage version: 2.1.3.16)
Diffstat (limited to 'dev-php5/pecl-apc')
-rw-r--r-- | dev-php5/pecl-apc/ChangeLog | 10 | ||||
-rw-r--r-- | dev-php5/pecl-apc/files/digest-pecl-apc-3.0.15 | 3 | ||||
-rw-r--r-- | dev-php5/pecl-apc/pecl-apc-3.0.15.ebuild | 67 |
3 files changed, 79 insertions, 1 deletions
diff --git a/dev-php5/pecl-apc/ChangeLog b/dev-php5/pecl-apc/ChangeLog index dff8aa4bf922..a849126d0668 100644 --- a/dev-php5/pecl-apc/ChangeLog +++ b/dev-php5/pecl-apc/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-php5/pecl-apc # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.26 2007/09/06 16:04:19 jokey Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.27 2007/10/28 11:53:31 jokey Exp $ + +*pecl-apc-3.0.15 (28 Oct 2007) + + 28 Oct 2007; Markus Ullmann <jokey@gentoo.org> +pecl-apc-3.0.15.ebuild: + Version bump from php project overlay + + 27 Oct 2007; Jakub Moc <jakub@gentoo.org> +pecl-apc-3.0.15.ebuild: + Version bump 06 Sep 2007; Markus Ullmann <jokey@gentoo.org> -pecl-apc-3.0.13.ebuild: Cleanup diff --git a/dev-php5/pecl-apc/files/digest-pecl-apc-3.0.15 b/dev-php5/pecl-apc/files/digest-pecl-apc-3.0.15 new file mode 100644 index 000000000000..188ee54ddecf --- /dev/null +++ b/dev-php5/pecl-apc/files/digest-pecl-apc-3.0.15 @@ -0,0 +1,3 @@ +MD5 fa15eac040221728f3aaeaf9595de6e1 APC-3.0.15.tgz 112056 +RMD160 ede098ca1411dd14f29da9d12795807e4c9dffcb APC-3.0.15.tgz 112056 +SHA256 1c475a84d12db2a45f1489a48f375d77854ae2c1d6626db3e812ccc04461911a APC-3.0.15.tgz 112056 diff --git a/dev-php5/pecl-apc/pecl-apc-3.0.15.ebuild b/dev-php5/pecl-apc/pecl-apc-3.0.15.ebuild new file mode 100644 index 000000000000..a58d07e2a698 --- /dev/null +++ b/dev-php5/pecl-apc/pecl-apc-3.0.15.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2007 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.15.ebuild,v 1.1 2007/10/28 11:53:31 jokey 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-php5/eaccelerator !dev-php5/xcache" +RDEPEND="${DEPEND}" + +need_php_by_category + +pkg_setup() { + has_php + require_php_sapi_from cgi apache2 +} + +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/apcphp5.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/php5/apc/." +} |