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-apc: ChangeLog pecl-apc-3.1.6-r1.ebuild pecl-apc-3.1.6.ebuild
Date: Tue, 30 Nov 2010 15:44:13
Message-Id: 20101130154400.7DFAF20054@flycatcher.gentoo.org
1 olemarkus 10/11/30 15:44:00
2
3 Modified: ChangeLog
4 Added: pecl-apc-3.1.6-r1.ebuild pecl-apc-3.1.6.ebuild
5 Log:
6 Version bump of pecl-apc
7 (Portage version: 2.1.8.3/cvs/Linux i686)
8
9 Revision Changes Path
10 1.67 dev-php5/pecl-apc/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-apc/ChangeLog?rev=1.67&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-apc/ChangeLog?rev=1.67&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-apc/ChangeLog?r1=1.66&r2=1.67
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v
19 retrieving revision 1.66
20 retrieving revision 1.67
21 diff -u -r1.66 -r1.67
22 --- ChangeLog 14 Nov 2010 19:11:52 -0000 1.66
23 +++ ChangeLog 30 Nov 2010 15:44:00 -0000 1.67
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-php5/pecl-apc
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.66 2010/11/14 19:11:52 olemarkus Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/ChangeLog,v 1.67 2010/11/30 15:44:00 olemarkus Exp $
29 +
30 +*pecl-apc-3.1.6-r1 (30 Nov 2010)
31 +*pecl-apc-3.1.6 (30 Nov 2010)
32 +
33 + 30 Nov 2010; Ole Markus With <olemarkus@g.o>
34 + +pecl-apc-3.1.6.ebuild, +pecl-apc-3.1.6-r1.ebuild:
35 + Version bump
36
37 14 Nov 2010; <olemarkus@g.o> pecl-apc-3.1.5-r1.ebuild:
38 No need to depend on any specific SAPI. (bug #344709)
39
40
41
42 1.1 dev-php5/pecl-apc/pecl-apc-3.1.6-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.1.6-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.1.6-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pecl-apc-3.1.6-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.1.6-r1.ebuild,v 1.1 2010/11/30 15:44:00 olemarkus Exp $
52
53 EAPI=2
54
55 PHP_EXT_NAME="apc"
56 PHP_EXT_PECL_PKG="APC"
57 PHP_EXT_INI="yes"
58 PHP_EXT_ZENDEXT="no"
59 DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO"
60
61 inherit php-ext-pecl-r2 confutils eutils
62
63 KEYWORDS="~amd64 ~x86"
64
65 DESCRIPTION="A free, open, and robust framework for caching and optimizing PHP code."
66 LICENSE="PHP-3.01"
67 SLOT="0"
68 IUSE="mmap"
69
70 DEPEND="!dev-php5/eaccelerator !dev-php5/xcache"
71 RDEPEND="${DEPEND}"
72
73 src_compile() {
74 my_conf="--enable-apc"
75 enable_extension_enable "apc-mmap" "mmap" 0
76
77 php-ext-pecl-r2_src_compile
78 }
79
80 src_install() {
81 php-ext-pecl-r2_src_install
82
83 php-ext-source-r2_addtoinifiles "apc.enabled" '"1"'
84 php-ext-source-r2_addtoinifiles "apc.shm_segments" '"1"'
85 php-ext-source-r2_addtoinifiles "apc.shm_size" '"30M"'
86 php-ext-source-r2_addtoinifiles "apc.num_files_hint" '"1024"'
87 php-ext-source-r2_addtoinifiles "apc.ttl" '"7200"'
88 php-ext-source-r2_addtoinifiles "apc.user_ttl" '"7200"'
89 php-ext-source-r2_addtoinifiles "apc.gc_ttl" '"3600"'
90 php-ext-source-r2_addtoinifiles "apc.cache_by_default" '"1"'
91 php-ext-source-r2_addtoinifiles ";apc.filters" '""'
92 php-ext-source-r2_addtoinifiles ";apc.mmap_file_mask" '"/tmp/apcphp5.XXXXXX"'
93 php-ext-source-r2_addtoinifiles "apc.slam_defense" '"0"'
94 php-ext-source-r2_addtoinifiles "apc.file_update_protection" '"2"'
95 php-ext-source-r2_addtoinifiles "apc.enable_cli" '"0"'
96 php-ext-source-r2_addtoinifiles "apc.max_file_size" '"1M"'
97 php-ext-source-r2_addtoinifiles "apc.stat" '"1"'
98 php-ext-source-r2_addtoinifiles "apc.write_lock" '"1"'
99 php-ext-source-r2_addtoinifiles "apc.report_autofilter" '"0"'
100 php-ext-source-r2_addtoinifiles "apc.include_once_override" '"0"'
101 php-ext-source-r2_addtoinifiles "apc.rfc1867" '"0"'
102 php-ext-source-r2_addtoinifiles "apc.rfc1867_prefix" '"upload_"'
103 php-ext-source-r2_addtoinifiles "apc.rfc1867_name" '"APC_UPLOAD_PROGRESS"'
104 php-ext-source-r2_addtoinifiles "apc.rfc1867_freq" '"0"'
105 php-ext-source-r2_addtoinifiles "apc.localcache" '"0"'
106 php-ext-source-r2_addtoinifiles "apc.localcache.size" '"512"'
107 php-ext-source-r2_addtoinifiles "apc.coredump_unmap" '"0"'
108
109 dodir "${PHP_EXT_SHARED_DIR}"
110 insinto "${PHP_EXT_SHARED_DIR}"
111 doins apc.php
112 }
113
114 pkg_postinst() {
115 elog "The apc.php file shipped with this release of PECL-APC was"
116 elog "installed into ${PHP_EXT_SHARED_DIR}/apc/."
117 }
118
119
120
121 1.1 dev-php5/pecl-apc/pecl-apc-3.1.6.ebuild
122
123 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.1.6.ebuild?rev=1.1&view=markup
124 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.1.6.ebuild?rev=1.1&content-type=text/plain
125
126 Index: pecl-apc-3.1.6.ebuild
127 ===================================================================
128 # Copyright 1999-2010 Gentoo Foundation
129 # Distributed under the terms of the GNU General Public License v2
130 # $Header: /var/cvsroot/gentoo-x86/dev-php5/pecl-apc/pecl-apc-3.1.6.ebuild,v 1.1 2010/11/30 15:44:00 olemarkus Exp $
131
132 EAPI=2
133
134 PHP_EXT_NAME="apc"
135 PHP_EXT_PECL_PKG="APC"
136 PHP_EXT_INI="yes"
137 PHP_EXT_ZENDEXT="no"
138 DOCS="CHANGELOG INSTALL NOTICE TECHNOTES.txt TODO"
139
140 inherit php-ext-pecl-r1 confutils eutils
141
142 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
143
144 DESCRIPTION="A free, open, and robust framework for caching and optimizing PHP code."
145 LICENSE="PHP-3.01"
146 SLOT="0"
147 IUSE="mmap"
148
149 DEPEND="!dev-php5/eaccelerator !dev-php5/xcache"
150 RDEPEND="${DEPEND}"
151
152 need_php_by_category
153
154 src_compile() {
155 my_conf="--enable-apc"
156 enable_extension_enable "apc-mmap" "mmap" 0
157
158 php-ext-pecl-r1_src_compile
159 }
160
161 src_install() {
162 php-ext-pecl-r1_src_install
163
164 php-ext-base-r1_addtoinifiles "apc.enabled" '"1"'
165 php-ext-base-r1_addtoinifiles "apc.shm_segments" '"1"'
166 php-ext-base-r1_addtoinifiles "apc.shm_size" '"30M"'
167 php-ext-base-r1_addtoinifiles "apc.num_files_hint" '"1024"'
168 php-ext-base-r1_addtoinifiles "apc.ttl" '"7200"'
169 php-ext-base-r1_addtoinifiles "apc.user_ttl" '"7200"'
170 php-ext-base-r1_addtoinifiles "apc.gc_ttl" '"3600"'
171 php-ext-base-r1_addtoinifiles "apc.cache_by_default" '"1"'
172 php-ext-base-r1_addtoinifiles ";apc.filters" '""'
173 php-ext-base-r1_addtoinifiles ";apc.mmap_file_mask" '"/tmp/apcphp5.XXXXXX"'
174 php-ext-base-r1_addtoinifiles "apc.slam_defense" '"0"'
175 php-ext-base-r1_addtoinifiles "apc.file_update_protection" '"2"'
176 php-ext-base-r1_addtoinifiles "apc.enable_cli" '"0"'
177 php-ext-base-r1_addtoinifiles "apc.max_file_size" '"1M"'
178 php-ext-base-r1_addtoinifiles "apc.stat" '"1"'
179 php-ext-base-r1_addtoinifiles "apc.write_lock" '"1"'
180 php-ext-base-r1_addtoinifiles "apc.report_autofilter" '"0"'
181 php-ext-base-r1_addtoinifiles "apc.include_once_override" '"0"'
182 php-ext-base-r1_addtoinifiles "apc.rfc1867" '"0"'
183 php-ext-base-r1_addtoinifiles "apc.rfc1867_prefix" '"upload_"'
184 php-ext-base-r1_addtoinifiles "apc.rfc1867_name" '"APC_UPLOAD_PROGRESS"'
185 php-ext-base-r1_addtoinifiles "apc.rfc1867_freq" '"0"'
186 php-ext-base-r1_addtoinifiles "apc.localcache" '"0"'
187 php-ext-base-r1_addtoinifiles "apc.localcache.size" '"512"'
188 php-ext-base-r1_addtoinifiles "apc.coredump_unmap" '"0"'
189
190 dodir "${PHP_EXT_SHARED_DIR}"
191 insinto "${PHP_EXT_SHARED_DIR}"
192 doins apc.php
193 }
194
195 pkg_postinst() {
196 elog "The apc.php file shipped with this release of PECL-APC was"
197 elog "installed into ${ROOT}usr/share/php5/apc/."
198 }