summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Markus With <olemarkus@gentoo.org>2011-08-17 18:25:28 +0000
committerOle Markus With <olemarkus@gentoo.org>2011-08-17 18:25:28 +0000
commitcb9a361004930a5a530f34cf4572b4c1cb9c6240 (patch)
treec8135ac7c05d5a030b336f52a9ac3aa1e6528ef8 /dev-php/pecl-memcache
parentadd pointer to docs in append-lfs-flags too (diff)
downloadgentoo-2-cb9a361004930a5a530f34cf4572b4c1cb9c6240.tar.gz
gentoo-2-cb9a361004930a5a530f34cf4572b4c1cb9c6240.tar.bz2
gentoo-2-cb9a361004930a5a530f34cf4572b4c1cb9c6240.zip
Version bump. Bug 379129
(Portage version: 2.1.10.6/cvs/Linux x86_64)
Diffstat (limited to 'dev-php/pecl-memcache')
-rw-r--r--dev-php/pecl-memcache/ChangeLog10
-rw-r--r--dev-php/pecl-memcache/pecl-memcache-3.0.6.ebuild44
2 files changed, 52 insertions, 2 deletions
diff --git a/dev-php/pecl-memcache/ChangeLog b/dev-php/pecl-memcache/ChangeLog
index 9db166818743..65a80270d658 100644
--- a/dev-php/pecl-memcache/ChangeLog
+++ b/dev-php/pecl-memcache/ChangeLog
@@ -1,6 +1,12 @@
-# ChangeLog for dev-php5/pecl-memcache
+# ChangeLog for dev-php/pecl-memcache
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-memcache/ChangeLog,v 1.1 2011/08/17 18:13:51 olemarkus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-memcache/ChangeLog,v 1.2 2011/08/17 18:25:28 olemarkus Exp $
+
+*pecl-memcache-3.0.6 (17 Aug 2011)
+
+ 17 Aug 2011; Ole Markus With <olemarkus@gentoo.org>
+ +pecl-memcache-3.0.6.ebuild:
+ Version bump. Bug 379129
15 Jul 2011; Kacper Kowalik <xarthisius@gentoo.org>
pecl-memcache-2.2.6-r1.ebuild:
diff --git a/dev-php/pecl-memcache/pecl-memcache-3.0.6.ebuild b/dev-php/pecl-memcache/pecl-memcache-3.0.6.ebuild
new file mode 100644
index 000000000000..c0ec8e4a0a39
--- /dev/null
+++ b/dev-php/pecl-memcache/pecl-memcache-3.0.6.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-memcache/pecl-memcache-3.0.6.ebuild,v 1.1 2011/08/17 18:25:28 olemarkus Exp $
+
+EAPI="2"
+PHP_EXT_NAME="memcache"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+DOCS="README"
+
+inherit php-ext-pecl-r2
+
+KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
+
+DESCRIPTION="PHP extension for using memcached."
+LICENSE="PHP-3"
+SLOT="0"
+IUSE="+session"
+
+DEPEND="sys-libs/zlib
+ dev-lang/php[session?]"
+RDEPEND="${DEPEND}"
+
+# upstream does not ship any testsuite, so the PHPize test-runner fails.
+RESTRICT='test'
+
+src_configure() {
+ my_conf="--enable-memcache --with-zlib-dir=/usr $(use_enable session memcache-session)"
+ php-ext-source-r2_src_configure
+}
+
+src_install() {
+ php-ext-pecl-r2_src_install
+
+ php-ext-source-r2_addtoinifiles "memcache.allow_failover" "true"
+ php-ext-source-r2_addtoinifiles "memcache.max_failover_attempts" "20"
+ php-ext-source-r2_addtoinifiles "memcache.chunk_size" "32768"
+ php-ext-source-r2_addtoinifiles "memcache.default_port" "11211"
+ php-ext-source-r2_addtoinifiles "memcache.hash_strategy" "consistent"
+ php-ext-source-r2_addtoinifiles "memcache.hash_function" "crc32"
+ php-ext-source-r2_addtoinifiles "memcache.redundancy" "1"
+ php-ext-source-r2_addtoinifiles "memcache.session_redundancy" "2"
+ php-ext-source-r2_addtoinifiles "memcache.protocol" "ascii"
+}