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-php/xcache: xcache-2.0.0.ebuild ChangeLog
Date: Wed, 02 May 2012 10:09:45
Message-Id: 20120502100927.4A0CE2004B@flycatcher.gentoo.org
1 olemarkus 12/05/02 10:09:27
2
3 Modified: ChangeLog
4 Added: xcache-2.0.0.ebuild
5 Log:
6 Version bump. Bug 413101
7
8 (Portage version: 2.1.10.49/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.6 dev-php/xcache/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/xcache/ChangeLog?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/xcache/ChangeLog?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/xcache/ChangeLog?r1=1.5&r2=1.6
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-php/xcache/ChangeLog,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- ChangeLog 13 Apr 2012 19:07:42 -0000 1.5
24 +++ ChangeLog 2 May 2012 10:09:27 -0000 1.6
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-php/xcache
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-php/xcache/ChangeLog,v 1.5 2012/04/13 19:07:42 ulm Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-php/xcache/ChangeLog,v 1.6 2012/05/02 10:09:27 olemarkus Exp $
30 +
31 +*xcache-2.0.0 (02 May 2012)
32 +
33 + 02 May 2012; Ole Markus With <olemarkus@g.o> +xcache-2.0.0.ebuild:
34 + Version bump. Bug 413101
35
36 13 Apr 2012; Ulrich Müller <ulm@g.o> xcache-1.3.1.ebuild,
37 xcache-1.3.2.ebuild:
38
39
40
41 1.1 dev-php/xcache/xcache-2.0.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/xcache/xcache-2.0.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php/xcache/xcache-2.0.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xcache-2.0.0.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-php/xcache/xcache-2.0.0.ebuild,v 1.1 2012/05/02 10:09:26 olemarkus Exp $
51
52 PHP_EXT_NAME="xcache"
53 PHP_EXT_INI="yes"
54 PHP_EXT_ZENDEXT="yes"
55 PHPSAPILIST="apache2 cgi fpm"
56
57 USE_PHP="php5-3 php5-4"
58 EAPI="4"
59 inherit php-ext-source-r2 confutils
60
61 DESCRIPTION="A fast and stable PHP opcode cacher"
62 HOMEPAGE="http://xcache.lighttpd.net/"
63 SRC_URI="http://xcache.lighttpd.net/pub/Releases/${PV}/${P}.tar.bz2"
64
65 LICENSE="BSD"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE=""
69
70 # make test would just run php's test and as such need the full php source
71 RESTRICT="test"
72
73 DEPEND="virtual/httpd-php
74 !dev-php/eaccelerator !dev-php/pecl-apc"
75 RDEPEND="${DEPEND}"
76
77 src_configure() {
78
79 my_conf="--enable-xcache=shared \
80 --enable-xcache-constant \
81 --enable-xcache-optimizer \
82 --enable-xcache-coverager \
83 --enable-xcache-assembler \
84 --enable-xcache-encoder \
85 --enable-xcache-decoder"
86
87 php-ext-source-r2_src_configure
88 }
89
90 src_install() {
91 php-ext-source-r2_src_install
92 dodoc AUTHORS ChangeLog NEWS README THANKS
93
94 php-ext-source-r2_addtoinifiles "xcache.admin.enable_auth" '"On"'
95 php-ext-source-r2_addtoinifiles "xcache.admin.user" '"admin"'
96 php-ext-source-r2_addtoinifiles "xcache.admin.pass" '""'
97
98 php-ext-source-r2_addtoinifiles "xcache.cacher" '"On"'
99 php-ext-source-r2_addtoinifiles "xcache.size" '"64M"'
100 php-ext-source-r2_addtoinifiles "xcache.count" '"2"'
101 php-ext-source-r2_addtoinifiles "xcache.slots" '"8k"'
102 php-ext-source-r2_addtoinifiles "xcache.ttl" '"0"'
103 php-ext-source-r2_addtoinifiles "xcache.gc_interval" '"0"'
104 php-ext-source-r2_addtoinifiles "xcache.var_size" '"8M"'
105 php-ext-source-r2_addtoinifiles "xcache.var_count" '"1"'
106 php-ext-source-r2_addtoinifiles "xcache.var_slots" '"8K"'
107 php-ext-source-r2_addtoinifiles "xcache.var_ttl" '"0"'
108 php-ext-source-r2_addtoinifiles "xcache.var_maxttl" '"0"'
109 php-ext-source-r2_addtoinifiles "xcache.var_gc_interval" '"600"'
110 php-ext-source-r2_addtoinifiles "xcache.readonly_protection" '"Off"'
111 php-ext-source-r2_addtoinifiles "xcache.mmap_path" '"/dev/zero"'
112
113 php-ext-source-r2_addtoinifiles "xcache.coverager" '"Off"'
114 php-ext-source-r2_addtoinifiles "xcache.coveragedump_directory" '""'
115
116 php-ext-source-r2_addtoinifiles "xcache.optimizer" '"Off"'
117
118 insinto "${PHP_EXT_SHARED_DIR}"
119 doins Decompiler.class.php
120 insinto "${PHP_EXT_SHARED_DIR}/admin"
121 doins admin/*
122 insinto "${PHP_EXT_SHARED_DIR}/coverager"
123 doins coverager/*
124 }
125
126 pkg_postinst() {
127 elog "Decompiler.class.php, the admin/ and the coverager/ directory shipped with this"
128 elog "release were installed into ${ROOT}usr/share/php5/xcache/."
129 }