From: | "Ole Markus With (olemarkus)" <olemarkus@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-php5/pecl-memcache: ChangeLog pecl-memcache-3.0.5-r1.ebuild |
Date: | Fri, 08 Oct 2010 20:03:03 |
Message-Id: | 20101008191511.87B1E20057@flycatcher.gentoo.org |
1 | olemarkus 10/10/08 19:15:11 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pecl-memcache-3.0.5-r1.ebuild |
5 | Log: |
6 | Added version supporting minor version slotting |
7 | (Portage version: 2.1.8.3/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.35 dev-php5/pecl-memcache/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-memcache/ChangeLog?rev=1.35&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-memcache/ChangeLog?rev=1.35&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-memcache/ChangeLog?r1=1.34&r2=1.35 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-php5/pecl-memcache/ChangeLog,v |
19 | retrieving revision 1.34 |
20 | retrieving revision 1.35 |
21 | diff -u -r1.34 -r1.35 |
22 | --- ChangeLog 4 Oct 2010 04:59:28 -0000 1.34 |
23 | +++ ChangeLog 8 Oct 2010 19:15:11 -0000 1.35 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-php5/pecl-memcache |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-memcache/ChangeLog,v 1.34 2010/10/04 04:59:28 olemarkus Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-memcache/ChangeLog,v 1.35 2010/10/08 19:15:11 olemarkus Exp $ |
29 | + |
30 | +*pecl-memcache-3.0.5-r1 (08 Oct 2010) |
31 | + |
32 | + 08 Oct 2010; <olemarkus@g.o> +pecl-memcache-3.0.5-r1.ebuild: |
33 | + Added version supporting minor version slotting |
34 | |
35 | *pecl-memcache-3.0.5 (04 Oct 2010) |
36 | *pecl-memcache-2.2.6 (04 Oct 2010) |
37 | |
38 | |
39 | |
40 | 1.1 dev-php5/pecl-memcache/pecl-memcache-3.0.5-r1.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-memcache/pecl-memcache-3.0.5-r1.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-memcache/pecl-memcache-3.0.5-r1.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: pecl-memcache-3.0.5-r1.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2010 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-memcache/pecl-memcache-3.0.5-r1.ebuild,v 1.1 2010/10/08 19:15:11 olemarkus Exp $ |
50 | |
51 | EAPI="2" |
52 | PHP_EXT_NAME="memcache" |
53 | PHP_EXT_INI="yes" |
54 | PHP_EXT_ZENDEXT="no" |
55 | DOCS="README" |
56 | |
57 | inherit php-ext-pecl-r2 |
58 | |
59 | KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
60 | |
61 | DESCRIPTION="PHP extension for using memcached." |
62 | LICENSE="PHP-3" |
63 | SLOT="0" |
64 | IUSE="+session" |
65 | |
66 | DEPEND="sys-libs/zlib |
67 | dev-lang/php[session?]" |
68 | RDEPEND="${DEPEND}" |
69 | |
70 | # upstream does not ship any testsuite, so the PHPize test-runner fails. |
71 | RESTRICT='test' |
72 | |
73 | src_compile() { |
74 | my_conf="--enable-memcache --with-zlib-dir=/usr $(use_enable session memcache-session)" |
75 | php-ext-pecl-r2_src_compile |
76 | } |
77 | |
78 | src_install() { |
79 | php-ext-pecl-r2_src_install |
80 | |
81 | php-ext-source-r2_addtoinifiles "memcache.allow_failover" "true" |
82 | php-ext-source-r2_addtoinifiles "memcache.max_failover_attempts" "20" |
83 | php-ext-source-r2_addtoinifiles "memcache.chunk_size" "32768" |
84 | php-ext-source-r2_addtoinifiles "memcache.default_port" "11211" |
85 | php-ext-source-r2_addtoinifiles "memcache.hash_strategy" "consistent" |
86 | php-ext-source-r2_addtoinifiles "memcache.hash_function" "crc32" |
87 | php-ext-source-r2_addtoinifiles "memcache.redundancy" "1" |
88 | php-ext-source-r2_addtoinifiles "memcache.session_redundancy" "2" |
89 | php-ext-source-r2_addtoinifiles "memcache.protocol" "ascii" |
90 | } |