DIST memcache-3.0.8.tgz 70523 BLAKE2B 829c842ac2764327037c5ef620cd4759e16d56e22195c035eeed2722d8a499119489d3304ad5223cf1c89a8e3ab6f6830d67742958ec2a37e302bf8ea265dfb1 SHA512 916c6b21ab7c1021128626c0df35ef0b83cb76b6115fe7c45b003ca4f78ad9484bf3c998bc7ebdee19f84349ff1e56759f74e75aee5bc70b1de9a03c45a99bc3
+DIST memcache-4.0.5.1.tgz 75057 BLAKE2B 2a1b6ce557f9cce3fd7039db8017fc8e7aa0c7b35c2746af2b426aceac0330b56f0a9d3798325b72b07c1af560baa805e1e4db16c803f46bf26a8e4a39d16b77 SHA512 809351b086e5a96bca091e3f7bdbf845d4d549c47c84eaee0f87aed5421bbf8421a503db18593f8616e4c520c46c90c0c945895de685fd046eae64921acfdf10
--- /dev/null
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+PHP_EXT_NAME="memcache"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+PHP_EXT_NEEDED_USE="session(-)?"
+DOCS=( README example.php )
+HTML_DOCS=( memcache.php )
+
+USE_PHP="php7-2 php7-3 php7-4"
+
+inherit php-ext-pecl-r3
+
+KEYWORDS="~amd64 ~hppa ~ppc64 ~x86"
+
+DESCRIPTION="PHP extension for using memcached"
+LICENSE="PHP-3"
+SLOT="7"
+IUSE="+session"
+
+DEPEND="sys-libs/zlib"
+RDEPEND="${DEPEND}"
+
+# The test suite requires memcached to be running.
+RESTRICT='test'
+
+src_configure() {
+ local PHP_EXT_ECONF_ARGS=( --enable-memcache --with-zlib-dir="${EPREFIX}/usr" $(use_enable session memcache-session) )
+ php-ext-source-r3_src_configure
+}
+
+src_install() {
+ php-ext-pecl-r3_src_install
+
+ php-ext-source-r3_addtoinifiles "memcache.allow_failover" "true"
+ php-ext-source-r3_addtoinifiles "memcache.max_failover_attempts" "20"
+ php-ext-source-r3_addtoinifiles "memcache.chunk_size" "32768"
+ php-ext-source-r3_addtoinifiles "memcache.default_port" "11211"
+ php-ext-source-r3_addtoinifiles "memcache.hash_strategy" "consistent"
+ php-ext-source-r3_addtoinifiles "memcache.hash_function" "crc32"
+ php-ext-source-r3_addtoinifiles "memcache.redundancy" "1"
+ php-ext-source-r3_addtoinifiles "memcache.session_redundancy" "2"
+ php-ext-source-r3_addtoinifiles "memcache.protocol" "ascii"
+}
dev-php/pecl-dbase:0
dev-php/pecl-http:2
dev-php/pecl-mailparse:0
+dev-php/pecl-memcache:0
dev-php/pecl-memcached:0
dev-php/pecl-oauth:0
dev-php/pecl-propro:0
# Brian Evans <grknight@gentoo.org> (2019-10-01)
# Old extensions which only work with PHP <7
-# pecl-memcache is replaced by pecl-memcachd (with code changes)
# pecl-mongo is replaced by pecl-monogodb
# Removal in 90 days. Bug 651784
dev-php/PEAR-MDB2_Driver_mysql
dev-php/pecl-haru
dev-php/pecl-htscanner
dev-php/pecl-libevent
-dev-php/pecl-memcache
dev-php/pecl-mongo
dev-php/pecl-mysqlnd_ms
dev-php/pecl-mysqlnd_qc