1 |
commit: 01d013a4f218a61c4f2f242f7c3e16a59ff2d3c5 |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Feb 5 14:27:00 2021 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Feb 5 14:27:00 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01d013a4 |
7 |
|
8 |
dev-php/pecl-memcache: Drop old |
9 |
|
10 |
Signed-off-by: Brian Evans <grknight <AT> gentoo.org> |
11 |
|
12 |
dev-php/pecl-memcache/pecl-memcache-4.0.5.2.ebuild | 46 ---------------------- |
13 |
1 file changed, 46 deletions(-) |
14 |
|
15 |
diff --git a/dev-php/pecl-memcache/pecl-memcache-4.0.5.2.ebuild b/dev-php/pecl-memcache/pecl-memcache-4.0.5.2.ebuild |
16 |
deleted file mode 100644 |
17 |
index 525328e8308..00000000000 |
18 |
--- a/dev-php/pecl-memcache/pecl-memcache-4.0.5.2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,46 +0,0 @@ |
21 |
-# Copyright 1999-2019 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI="7" |
25 |
-PHP_EXT_NAME="memcache" |
26 |
-PHP_EXT_INI="yes" |
27 |
-PHP_EXT_ZENDEXT="no" |
28 |
-PHP_EXT_NEEDED_USE="session(-)?" |
29 |
-DOCS=( README example.php ) |
30 |
-HTML_DOCS=( memcache.php ) |
31 |
- |
32 |
-USE_PHP="php7-2 php7-3 php7-4" |
33 |
- |
34 |
-inherit php-ext-pecl-r3 |
35 |
- |
36 |
-KEYWORDS="~amd64 ~hppa ~ppc64 ~x86" |
37 |
- |
38 |
-DESCRIPTION="PHP extension for using memcached" |
39 |
-LICENSE="PHP-3" |
40 |
-SLOT="7" |
41 |
-IUSE="+session" |
42 |
- |
43 |
-DEPEND="sys-libs/zlib" |
44 |
-RDEPEND="${DEPEND}" |
45 |
- |
46 |
-# The test suite requires memcached to be running. |
47 |
-RESTRICT='test' |
48 |
- |
49 |
-src_configure() { |
50 |
- local PHP_EXT_ECONF_ARGS=( --enable-memcache --with-zlib-dir="${EPREFIX}/usr" $(use_enable session memcache-session) ) |
51 |
- php-ext-source-r3_src_configure |
52 |
-} |
53 |
- |
54 |
-src_install() { |
55 |
- php-ext-pecl-r3_src_install |
56 |
- |
57 |
- php-ext-source-r3_addtoinifiles "memcache.allow_failover" "true" |
58 |
- php-ext-source-r3_addtoinifiles "memcache.max_failover_attempts" "20" |
59 |
- php-ext-source-r3_addtoinifiles "memcache.chunk_size" "32768" |
60 |
- php-ext-source-r3_addtoinifiles "memcache.default_port" "11211" |
61 |
- php-ext-source-r3_addtoinifiles "memcache.hash_strategy" "consistent" |
62 |
- php-ext-source-r3_addtoinifiles "memcache.hash_function" "crc32" |
63 |
- php-ext-source-r3_addtoinifiles "memcache.redundancy" "1" |
64 |
- php-ext-source-r3_addtoinifiles "memcache.session_redundancy" "2" |
65 |
- php-ext-source-r3_addtoinifiles "memcache.protocol" "ascii" |
66 |
-} |