summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOle Markus With <olemarkus@gentoo.org>2014-09-02 10:20:22 +0000
committerOle Markus With <olemarkus@gentoo.org>2014-09-02 10:20:22 +0000
commit0c1272f056768e0a930e6142dd01f075af12edab (patch)
tree5108e1d3cc8759f16b44584fa7b51998991695e6 /dev-php
parentVersion bump, drop old, UTF8 is needed for python stuff during building (#489... (diff)
downloadgentoo-2-0c1272f056768e0a930e6142dd01f075af12edab.tar.gz
gentoo-2-0c1272f056768e0a930e6142dd01f075af12edab.tar.bz2
gentoo-2-0c1272f056768e0a930e6142dd01f075af12edab.zip
Revbump supporting php 5.6
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key C4A92BF5)
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/pecl-memcache/ChangeLog8
-rw-r--r--dev-php/pecl-memcache/pecl-memcache-3.0.8-r1.ebuild46
2 files changed, 53 insertions, 1 deletions
diff --git a/dev-php/pecl-memcache/ChangeLog b/dev-php/pecl-memcache/ChangeLog
index 5f31701461db..ca0d5fa3fdd3 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-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-memcache/ChangeLog,v 1.15 2014/08/10 21:02:48 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-php/pecl-memcache/ChangeLog,v 1.16 2014/09/02 10:20:22 olemarkus Exp $
+
+*pecl-memcache-3.0.8-r1 (02 Sep 2014)
+
+ 02 Sep 2014; Ole Markus With <olemarkus@gentoo.org>
+ +pecl-memcache-3.0.8-r1.ebuild:
+ Revbump supporting php 5.6
10 Aug 2014; Sergei Trofimovich <slyfox@gentoo.org>
pecl-memcache-2.2.6-r2.ebuild, pecl-memcache-2.2.7.ebuild,
diff --git a/dev-php/pecl-memcache/pecl-memcache-3.0.8-r1.ebuild b/dev-php/pecl-memcache/pecl-memcache-3.0.8-r1.ebuild
new file mode 100644
index 000000000000..b0877ef51160
--- /dev/null
+++ b/dev-php/pecl-memcache/pecl-memcache-3.0.8-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 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.8-r1.ebuild,v 1.1 2014/09/02 10:20:22 olemarkus Exp $
+
+EAPI="5"
+PHP_EXT_NAME="memcache"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+DOCS="README"
+
+USE_PHP="php5-6 php5-5 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"
+}