Gentoo Archives: gentoo-commits

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.ebuild pecl-memcache-2.2.6.ebuild
Date: Mon, 04 Oct 2010 04:59:34
Message-Id: 20101004045928.85E0D2004C@flycatcher.gentoo.org
1 olemarkus 10/10/04 04:59:28
2
3 Modified: ChangeLog
4 Added: pecl-memcache-3.0.5.ebuild
5 pecl-memcache-2.2.6.ebuild
6 Log:
7 Version bump of both stable 2.2 branch and unstable 3.0 branch
8 (Portage version: 2.1.8.3/cvs/Linux i686)
9
10 Revision Changes Path
11 1.34 dev-php5/pecl-memcache/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-memcache/ChangeLog?rev=1.34&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-memcache/ChangeLog?rev=1.34&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-memcache/ChangeLog?r1=1.33&r2=1.34
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-php5/pecl-memcache/ChangeLog,v
20 retrieving revision 1.33
21 retrieving revision 1.34
22 diff -u -r1.33 -r1.34
23 --- ChangeLog 7 Feb 2010 15:57:39 -0000 1.33
24 +++ ChangeLog 4 Oct 2010 04:59:28 -0000 1.34
25 @@ -1,6 +1,13 @@
26 # ChangeLog for dev-php5/pecl-memcache
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-memcache/ChangeLog,v 1.33 2010/02/07 15:57:39 armin76 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-memcache/ChangeLog,v 1.34 2010/10/04 04:59:28 olemarkus Exp $
30 +
31 +*pecl-memcache-3.0.5 (04 Oct 2010)
32 +*pecl-memcache-2.2.6 (04 Oct 2010)
33 +
34 + 04 Oct 2010; <olemarkus@g.o> +pecl-memcache-2.2.6.ebuild,
35 + +pecl-memcache-3.0.5.ebuild:
36 + Version bump of both stable 2.2 branch and unstable 3.0 branch
37
38 07 Feb 2010; Raúl Porcel <armin76@g.o> pecl-memcache-2.2.5.ebuild:
39 sparc stable wrt #299655
40
41
42
43 1.1 dev-php5/pecl-memcache/pecl-memcache-3.0.5.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-memcache/pecl-memcache-3.0.5.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-memcache/pecl-memcache-3.0.5.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pecl-memcache-3.0.5.ebuild
49 ===================================================================
50 # Copyright 1999-2010 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-memcache/pecl-memcache-3.0.5.ebuild,v 1.1 2010/10/04 04:59:28 olemarkus Exp $
53
54 EAPI="1"
55 PHP_EXT_NAME="memcache"
56 PHP_EXT_INI="yes"
57 PHP_EXT_ZENDEXT="no"
58 DOCS="README"
59
60 inherit php-ext-pecl-r1 php-ext-base-r1
61
62 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
63
64 DESCRIPTION="PHP extension for using memcached."
65 LICENSE="PHP-3"
66 SLOT="0"
67 IUSE="+session"
68
69 DEPEND="sys-libs/zlib"
70 RDEPEND="${DEPEND}"
71
72 # upstream does not ship any testsuite, so the PHPize test-runner fails.
73 RESTRICT='test'
74
75 need_php_by_category
76
77 pkg_setup() {
78 use session && require_php_with_use session
79 }
80
81 src_compile() {
82 my_conf="--enable-memcache --with-zlib-dir=/usr $(use_enable session memcache-session)"
83 php-ext-pecl-r1_src_compile
84 }
85
86 src_install() {
87 php-ext-pecl-r1_src_install
88
89 php-ext-base-r1_addtoinifiles "memcache.allow_failover" "true"
90 php-ext-base-r1_addtoinifiles "memcache.max_failover_attempts" "20"
91 php-ext-base-r1_addtoinifiles "memcache.chunk_size" "32768"
92 php-ext-base-r1_addtoinifiles "memcache.default_port" "11211"
93 php-ext-base-r1_addtoinifiles "memcache.hash_strategy" "consistent"
94 php-ext-base-r1_addtoinifiles "memcache.hash_function" "crc32"
95 php-ext-base-r1_addtoinifiles "memcache.redundancy" "1"
96 php-ext-base-r1_addtoinifiles "memcache.session_redundancy" "2"
97 php-ext-base-r1_addtoinifiles "memcache.protocol" "ascii"
98 }
99
100
101
102 1.1 dev-php5/pecl-memcache/pecl-memcache-2.2.6.ebuild
103
104 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-memcache/pecl-memcache-2.2.6.ebuild?rev=1.1&view=markup
105 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-memcache/pecl-memcache-2.2.6.ebuild?rev=1.1&content-type=text/plain
106
107 Index: pecl-memcache-2.2.6.ebuild
108 ===================================================================
109 # Copyright 1999-2010 Gentoo Foundation
110 # Distributed under the terms of the GNU General Public License v2
111 # $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-memcache/pecl-memcache-2.2.6.ebuild,v 1.1 2010/10/04 04:59:28 olemarkus Exp $
112
113 EAPI="1"
114 PHP_EXT_NAME="memcache"
115 PHP_EXT_INI="yes"
116 PHP_EXT_ZENDEXT="no"
117 DOCS="README"
118
119 inherit php-ext-pecl-r1 php-ext-base-r1 depend.php
120
121 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
122
123 DESCRIPTION="PHP extension for using memcached."
124 LICENSE="PHP-3"
125 SLOT="0"
126 IUSE="+session"
127
128 DEPEND="sys-libs/zlib"
129 RDEPEND="${DEPEND}"
130
131 # upstream does not ship any testsuite, so the PHPize test-runner fails.
132 RESTRICT='test'
133
134 need_php_by_category
135
136 pkg_setup() {
137 use session && require_php_with_use session
138 }
139
140 src_compile() {
141 my_conf="--enable-memcache --with-zlib-dir=/usr $(use_enable session memcache-session)"
142 php-ext-pecl-r1_src_compile
143 }
144
145 src_install() {
146 php-ext-pecl-r1_src_install
147
148 php-ext-base-r1_addtoinifiles "memcache.allow_failover" "true"
149 php-ext-base-r1_addtoinifiles "memcache.max_failover_attempts" "20"
150 php-ext-base-r1_addtoinifiles "memcache.chunk_size" "32768"
151 php-ext-base-r1_addtoinifiles "memcache.default_port" "11211"
152 php-ext-base-r1_addtoinifiles "memcache.hash_strategy" "standard"
153 php-ext-base-r1_addtoinifiles "memcache.hash_function" "crc32"
154 }