summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2007-10-28 11:57:16 +0000
committerMarkus Ullmann <jokey@gentoo.org>2007-10-28 11:57:16 +0000
commit23fff20b9232e63105d6798c2df3144a5728128d (patch)
tree35cb18ed716f5b56cdec1ea50727623feda34f01 /dev-php5/pecl-apc
parentVersion bump from php project overlay (diff)
downloadhistorical-23fff20b9232e63105d6798c2df3144a5728128d.tar.gz
historical-23fff20b9232e63105d6798c2df3144a5728128d.tar.bz2
historical-23fff20b9232e63105d6798c2df3144a5728128d.zip
Version bump from php project overlay
Package-Manager: portage-2.1.3.16
Diffstat (limited to 'dev-php5/pecl-apc')
-rw-r--r--dev-php5/pecl-apc/ChangeLog10
-rw-r--r--dev-php5/pecl-apc/files/digest-pecl-apc-3.0.153
-rw-r--r--dev-php5/pecl-apc/pecl-apc-3.0.15.ebuild67
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/."
+}