Gentoo Archives: gentoo-commits

From: "Benedikt Boehm (hollow)" <hollow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-php5/xcache: ChangeLog xcache-1.3.0.ebuild
Date: Sun, 30 Aug 2009 01:36:21
Message-Id: E1MheAC-0007Oo-DH@stork.gentoo.org
1 hollow 09/08/30 06:45:20
2
3 Modified: ChangeLog
4 Added: xcache-1.3.0.ebuild
5 Log:
6 version bump
7 (Portage version: 2.2_rc33/cvs/Linux i686)
8
9 Revision Changes Path
10 1.17 dev-php5/xcache/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/xcache/ChangeLog?rev=1.17&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/xcache/ChangeLog?rev=1.17&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/xcache/ChangeLog?r1=1.16&r2=1.17
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-php5/xcache/ChangeLog,v
19 retrieving revision 1.16
20 retrieving revision 1.17
21 diff -u -r1.16 -r1.17
22 --- ChangeLog 3 Jun 2008 03:26:27 -0000 1.16
23 +++ ChangeLog 30 Aug 2009 06:45:20 -0000 1.17
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-php5/xcache
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/xcache/ChangeLog,v 1.16 2008/06/03 03:26:27 chtekk Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/xcache/ChangeLog,v 1.17 2009/08/30 06:45:20 hollow Exp $
30 +
31 +*xcache-1.3.0 (30 Aug 2009)
32 +
33 + 30 Aug 2009; Benedikt Böhm <hollow@g.o> +xcache-1.3.0.ebuild:
34 + version bump
35
36 03 Jun 2008; Luca Longinotti <chtekk@g.o> -xcache-1.2.1.ebuild:
37 Remove old.
38
39
40
41 1.1 dev-php5/xcache/xcache-1.3.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/xcache/xcache-1.3.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/xcache/xcache-1.3.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xcache-1.3.0.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-php5/xcache/xcache-1.3.0.ebuild,v 1.1 2009/08/30 06:45:20 hollow Exp $
51
52 PHP_EXT_NAME="xcache"
53 PHP_EXT_INI="yes"
54 PHP_EXT_ZENDEXT="yes"
55 PHPSAPILIST="apache2 cgi"
56
57 inherit php-ext-source-r1 confutils
58
59 KEYWORDS="~amd64 ~x86"
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 LICENSE="BSD"
65 SLOT="0"
66 IUSE=""
67
68 # make test would just run php's test and as such need the full php source
69 RESTRICT="test"
70
71 DEPEND="!dev-php5/eaccelerator !dev-php5/pecl-apc !dev-php5/ZendOptimizer"
72 RDEPEND="${DEPEND}"
73
74 need_php_by_category
75
76 pkg_setup() {
77 has_php
78 require_php_sapi_from cgi apache2
79 }
80
81 src_compile() {
82 has_php
83
84 my_conf="--enable-xcache=shared \
85 --enable-xcache-constant \
86 --enable-xcache-optimizer \
87 --enable-xcache-coverager \
88 --enable-xcache-assembler \
89 --enable-xcache-encoder \
90 --enable-xcache-decoder"
91
92 php-ext-source-r1_src_compile
93 }
94
95 src_install() {
96 php-ext-source-r1_src_install
97 dodoc-php AUTHORS ChangeLog NEWS README THANKS
98
99 php-ext-base-r1_addtoinifiles "auto_globals_jit" '"0"'
100 php-ext-base-r1_addtoinifiles "xcache.size" '"32M"'
101 php-ext-base-r1_addtoinifiles "xcache.count" '"2"'
102 php-ext-base-r1_addtoinifiles "xcache.slots" '"8k"'
103 php-ext-base-r1_addtoinifiles "xcache.ttl" '"0"'
104 php-ext-base-r1_addtoinifiles "xcache.gc_interval" '"0"'
105 php-ext-base-r1_addtoinifiles "xcache.var_size" '"8M"'
106 php-ext-base-r1_addtoinifiles "xcache.var_count" '"1"'
107 php-ext-base-r1_addtoinifiles "xcache.var_slots" '"8K"'
108 php-ext-base-r1_addtoinifiles "xcache.var_ttl" '"0"'
109 php-ext-base-r1_addtoinifiles "xcache.var_maxttl" '"0"'
110 php-ext-base-r1_addtoinifiles "xcache.var_gc_interval" '"600"'
111 php-ext-base-r1_addtoinifiles "xcache.readonly_protection" '"0"'
112 php-ext-base-r1_addtoinifiles "xcache.shm_schema" '"mmap"'
113 php-ext-base-r1_addtoinifiles "xcache.mmap_path" '"/dev/zero"'
114 php-ext-base-r1_addtoinifiles "xcache.readyonly_protection" '"Off"'
115 php-ext-base-r1_addtoinifiles "xcache.cacher" '"On"'
116 php-ext-base-r1_addtoinifiles "xcache.stat" '"On"'
117 php-ext-base-r1_addtoinifiles "xcache.coverager" '"Off"'
118 php-ext-base-r1_addtoinifiles "xcache.coveragedump_directory" '""'
119 php-ext-base-r1_addtoinifiles "xcache.optimizer" '"Off"'
120 php-ext-base-r1_addtoinifiles "xcache.admin.enable_auth" '"1"'
121 php-ext-base-r1_addtoinifiles "xcache.admin.user" '"m0o"'
122 php-ext-base-r1_addtoinifiles "xcache.admin.pass" '""'
123 php-ext-base-r1_addtoinifiles "xcache.test" '"Off"'
124 php-ext-base-r1_addtoinifiles "xcache.experimental" '"Off"'
125
126 insinto "${PHP_EXT_SHARED_DIR}"
127 doins Decompiler.class.php
128 insinto "${PHP_EXT_SHARED_DIR}/admin"
129 doins admin/*
130 insinto "${PHP_EXT_SHARED_DIR}/coverager"
131 doins coverager/*
132 }
133
134 pkg_postinst() {
135 elog "Decompiler.class.php, the admin/ and the coverager/ directory shipped with this"
136 elog "release were installed into ${ROOT}usr/share/php5/xcache/."
137 }