summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Markus With <olemarkus@gentoo.org>2013-03-04 09:22:21 +0000
committerOle Markus With <olemarkus@gentoo.org>2013-03-04 09:22:21 +0000
commite371dab7f216668e8f21d71073c7c83aa720eb1e (patch)
tree5f1d1bbd322f08f0dcccf44284f308ec535fde32 /dev-php/pecl-memcache
parentStable for x86, wrt bug #460156 (diff)
downloadgentoo-2-e371dab7f216668e8f21d71073c7c83aa720eb1e.tar.gz
gentoo-2-e371dab7f216668e8f21d71073c7c83aa720eb1e.tar.bz2
gentoo-2-e371dab7f216668e8f21d71073c7c83aa720eb1e.zip
Version bump. Fixes bug 456800
(Portage version: 2.1.11.50/cvs/Linux x86_64, signed Manifest commit with key C4A92BF5)
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.7.ebuild46
2 files changed, 54 insertions, 2 deletions
diff --git a/dev-php/pecl-memcache/ChangeLog b/dev-php/pecl-memcache/ChangeLog
index f32fc33e8836..1da8adae9ff5 100644
--- a/dev-php/pecl-memcache/ChangeLog
+++ b/dev-php/pecl-memcache/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-php/pecl-memcache
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-memcache/ChangeLog,v 1.6 2012/08/27 08:27:13 olemarkus Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-memcache/ChangeLog,v 1.7 2013/03/04 09:22:21 olemarkus Exp $
+
+*pecl-memcache-3.0.7 (04 Mar 2013)
+
+ 04 Mar 2013; Ole Markus With <olemarkus@gentoo.org>
+ +pecl-memcache-3.0.7.ebuild:
+ Version bump. Fixes bug 456800
27 Aug 2012; Ole Markus With <olemarkus@gentoo.org>
pecl-memcache-3.0.5-r1.ebuild:
diff --git a/dev-php/pecl-memcache/pecl-memcache-3.0.7.ebuild b/dev-php/pecl-memcache/pecl-memcache-3.0.7.ebuild
new file mode 100644
index 000000000000..da3b4044a0a3
--- /dev/null
+++ b/dev-php/pecl-memcache/pecl-memcache-3.0.7.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2013 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.7.ebuild,v 1.1 2013/03/04 09:22:21 olemarkus Exp $
+
+EAPI="5"
+PHP_EXT_NAME="memcache"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+DOCS="README"
+
+USE_PHP="php5-3 php5-4"
+
+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"
+}