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/xcache: ChangeLog xcache-1.3.0-r2.ebuild xcache-1.3.0-r1.ebuild
Date: Tue, 02 Nov 2010 17:19:31
Message-Id: 20101102171924.8564920051@flycatcher.gentoo.org
1 olemarkus 10/11/02 17:19:24
2
3 Modified: ChangeLog
4 Added: xcache-1.3.0-r2.ebuild xcache-1.3.0-r1.ebuild
5 Log:
6 Revbump supporting minor version slotting and fpm
7 (Portage version: 2.1.8.3/cvs/Linux i686)
8
9 Revision Changes Path
10 1.20 dev-php5/xcache/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/xcache/ChangeLog?rev=1.20&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/xcache/ChangeLog?rev=1.20&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/xcache/ChangeLog?r1=1.19&r2=1.20
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-php5/xcache/ChangeLog,v
19 retrieving revision 1.19
20 retrieving revision 1.20
21 diff -u -r1.19 -r1.20
22 --- ChangeLog 10 Dec 2009 21:04:52 -0000 1.19
23 +++ ChangeLog 2 Nov 2010 17:19:24 -0000 1.20
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-php5/xcache
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/xcache/ChangeLog,v 1.19 2009/12/10 21:04:52 maekke Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/xcache/ChangeLog,v 1.20 2010/11/02 17:19:24 olemarkus Exp $
30 +
31 +*xcache-1.3.0-r2 (02 Nov 2010)
32 +*xcache-1.3.0-r1 (02 Nov 2010)
33 +
34 + 02 Nov 2010; <olemarkus@g.o> +xcache-1.3.0-r1.ebuild,
35 + +xcache-1.3.0-r2.ebuild:
36 + Revbump supporting minor version slotting and fpm
37
38 10 Dec 2009; Markus Meier <maekke@g.o> xcache-1.3.0.ebuild:
39 amd64/x86 stable, bug #296362
40
41
42
43 1.1 dev-php5/xcache/xcache-1.3.0-r2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/xcache/xcache-1.3.0-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/xcache/xcache-1.3.0-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: xcache-1.3.0-r2.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/xcache/xcache-1.3.0-r2.ebuild,v 1.1 2010/11/02 17:19:24 olemarkus Exp $
53
54 PHP_EXT_NAME="xcache"
55 PHP_EXT_INI="yes"
56 PHP_EXT_ZENDEXT="yes"
57 PHPSAPILIST="apache2 cgi fpm"
58
59 EAPI="2"
60 inherit php-ext-source-r2 confutils
61
62 DESCRIPTION="A fast and stable PHP opcode cacher"
63 HOMEPAGE="http://xcache.lighttpd.net/"
64 SRC_URI="http://xcache.lighttpd.net/pub/Releases/${PV}/${P}.tar.bz2"
65
66 LICENSE="BSD"
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86"
69 IUSE=""
70
71 # make test would just run php's test and as such need the full php source
72 RESTRICT="test"
73
74 DEPEND="virtual/httpd-php
75 !dev-php5/eaccelerator !dev-php5/pecl-apc"
76 RDEPEND="${DEPEND}"
77
78 src_compile() {
79
80 my_conf="--enable-xcache=shared \
81 --enable-xcache-constant \
82 --enable-xcache-optimizer \
83 --enable-xcache-coverager \
84 --enable-xcache-assembler \
85 --enable-xcache-encoder \
86 --enable-xcache-decoder"
87
88 php-ext-source-r2_src_compile
89 }
90
91 src_install() {
92 php-ext-source-r2_src_install
93 dodoc AUTHORS ChangeLog NEWS README THANKS
94
95 php-ext-source-r2_addtoinifiles "xcache.admin.enable_auth" '"On"'
96 php-ext-source-r2_addtoinifiles "xcache.admin.user" '"admin"'
97 php-ext-source-r2_addtoinifiles "xcache.admin.pass" '""'
98
99 php-ext-source-r2_addtoinifiles "xcache.cacher" '"On"'
100 php-ext-source-r2_addtoinifiles "xcache.size" '"64M"'
101 php-ext-source-r2_addtoinifiles "xcache.count" '"2"'
102 php-ext-source-r2_addtoinifiles "xcache.slots" '"8k"'
103 php-ext-source-r2_addtoinifiles "xcache.ttl" '"0"'
104 php-ext-source-r2_addtoinifiles "xcache.gc_interval" '"0"'
105 php-ext-source-r2_addtoinifiles "xcache.var_size" '"8M"'
106 php-ext-source-r2_addtoinifiles "xcache.var_count" '"1"'
107 php-ext-source-r2_addtoinifiles "xcache.var_slots" '"8K"'
108 php-ext-source-r2_addtoinifiles "xcache.var_ttl" '"0"'
109 php-ext-source-r2_addtoinifiles "xcache.var_maxttl" '"0"'
110 php-ext-source-r2_addtoinifiles "xcache.var_gc_interval" '"600"'
111 php-ext-source-r2_addtoinifiles "xcache.readonly_protection" '"Off"'
112 php-ext-source-r2_addtoinifiles "xcache.mmap_path" '"/dev/zero"'
113
114 php-ext-source-r2_addtoinifiles "xcache.coverager" '"Off"'
115 php-ext-source-r2_addtoinifiles "xcache.coveragedump_directory" '""'
116
117 php-ext-source-r2_addtoinifiles "xcache.optimizer" '"Off"'
118
119 insinto "${PHP_EXT_SHARED_DIR}"
120 doins Decompiler.class.php
121 insinto "${PHP_EXT_SHARED_DIR}/admin"
122 doins admin/*
123 insinto "${PHP_EXT_SHARED_DIR}/coverager"
124 doins coverager/*
125 }
126
127 pkg_postinst() {
128 elog "Decompiler.class.php, the admin/ and the coverager/ directory shipped with this"
129 elog "release were installed into ${ROOT}usr/share/php5/xcache/."
130 }
131
132
133
134 1.1 dev-php5/xcache/xcache-1.3.0-r1.ebuild
135
136 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/xcache/xcache-1.3.0-r1.ebuild?rev=1.1&view=markup
137 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/xcache/xcache-1.3.0-r1.ebuild?rev=1.1&content-type=text/plain
138
139 Index: xcache-1.3.0-r1.ebuild
140 ===================================================================
141 # Copyright 1999-2010 Gentoo Foundation
142 # Distributed under the terms of the GNU General Public License v2
143 # $Header: /var/cvsroot/gentoo-x86/dev-php5/xcache/xcache-1.3.0-r1.ebuild,v 1.1 2010/11/02 17:19:24 olemarkus Exp $
144
145 PHP_EXT_NAME="xcache"
146 PHP_EXT_INI="yes"
147 PHP_EXT_ZENDEXT="yes"
148 PHPSAPILIST="apache2 cgi fpm"
149
150 inherit php-ext-source-r1 confutils
151
152 DESCRIPTION="A fast and stable PHP opcode cacher"
153 HOMEPAGE="http://xcache.lighttpd.net/"
154 SRC_URI="http://xcache.lighttpd.net/pub/Releases/${PV}/${P}.tar.bz2"
155
156 LICENSE="BSD"
157 SLOT="0"
158 KEYWORDS="~amd64 ~x86"
159 IUSE=""
160
161 # make test would just run php's test and as such need the full php source
162 RESTRICT="test"
163
164 DEPEND="!dev-php5/eaccelerator !dev-php5/pecl-apc"
165 RDEPEND="${DEPEND}"
166
167 need_php_by_category
168
169 pkg_setup() {
170 has_php
171 require_php_sapi_from cgi apache2
172 }
173
174 src_compile() {
175 has_php
176
177 my_conf="--enable-xcache=shared \
178 --enable-xcache-constant \
179 --enable-xcache-optimizer \
180 --enable-xcache-coverager \
181 --enable-xcache-assembler \
182 --enable-xcache-encoder \
183 --enable-xcache-decoder"
184
185 php-ext-source-r1_src_compile
186 }
187
188 src_install() {
189 php-ext-source-r1_src_install
190 dodoc-php AUTHORS ChangeLog NEWS README THANKS
191
192 php-ext-base-r1_addtoinifiles "xcache.admin.enable_auth" '"On"'
193 php-ext-base-r1_addtoinifiles "xcache.admin.user" '"admin"'
194 php-ext-base-r1_addtoinifiles "xcache.admin.pass" '""'
195
196 php-ext-base-r1_addtoinifiles "xcache.cacher" '"On"'
197 php-ext-base-r1_addtoinifiles "xcache.size" '"64M"'
198 php-ext-base-r1_addtoinifiles "xcache.count" '"2"'
199 php-ext-base-r1_addtoinifiles "xcache.slots" '"8k"'
200 php-ext-base-r1_addtoinifiles "xcache.ttl" '"0"'
201 php-ext-base-r1_addtoinifiles "xcache.gc_interval" '"0"'
202 php-ext-base-r1_addtoinifiles "xcache.var_size" '"8M"'
203 php-ext-base-r1_addtoinifiles "xcache.var_count" '"1"'
204 php-ext-base-r1_addtoinifiles "xcache.var_slots" '"8K"'
205 php-ext-base-r1_addtoinifiles "xcache.var_ttl" '"0"'
206 php-ext-base-r1_addtoinifiles "xcache.var_maxttl" '"0"'
207 php-ext-base-r1_addtoinifiles "xcache.var_gc_interval" '"600"'
208 php-ext-base-r1_addtoinifiles "xcache.readonly_protection" '"Off"'
209 php-ext-base-r1_addtoinifiles "xcache.mmap_path" '"/dev/zero"'
210
211 php-ext-base-r1_addtoinifiles "xcache.coverager" '"Off"'
212 php-ext-base-r1_addtoinifiles "xcache.coveragedump_directory" '""'
213
214 php-ext-base-r1_addtoinifiles "xcache.optimizer" '"Off"'
215
216 insinto "${PHP_EXT_SHARED_DIR}"
217 doins Decompiler.class.php
218 insinto "${PHP_EXT_SHARED_DIR}/admin"
219 doins admin/*
220 insinto "${PHP_EXT_SHARED_DIR}/coverager"
221 doins coverager/*
222 }
223
224 pkg_postinst() {
225 elog "Decompiler.class.php, the admin/ and the coverager/ directory shipped with this"
226 elog "release were installed into ${ROOT}usr/share/php5/xcache/."
227 }