1 |
mabi 10/04/22 08:45:23 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: eaccelerator-0.9.6.ebuild |
5 |
Log: |
6 |
bump |
7 |
(Portage version: 2.1.8.3/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.3 dev-php5/eaccelerator/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/eaccelerator/metadata.xml?rev=1.3&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/eaccelerator/metadata.xml?rev=1.3&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/eaccelerator/metadata.xml?r1=1.2&r2=1.3 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-php5/eaccelerator/metadata.xml,v |
19 |
retrieving revision 1.2 |
20 |
retrieving revision 1.3 |
21 |
diff -u -r1.2 -r1.3 |
22 |
--- metadata.xml 17 Aug 2008 02:20:28 -0000 1.2 |
23 |
+++ metadata.xml 22 Apr 2010 08:45:23 -0000 1.3 |
24 |
@@ -6,5 +6,7 @@ |
25 |
<flag name="contentcache">Enable content caching</flag> |
26 |
<flag name="disassembler">Enable the eA disassembler</flag> |
27 |
<flag name="inode">Use inode-based caching</flag> |
28 |
+ <flag name="doccommentinclusion">If you want eAccelerator to retain |
29 |
+ doc-comments in internal php structures.</flag> |
30 |
</use> |
31 |
</pkgmetadata> |
32 |
|
33 |
|
34 |
|
35 |
1.23 dev-php5/eaccelerator/ChangeLog |
36 |
|
37 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/eaccelerator/ChangeLog?rev=1.23&view=markup |
38 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/eaccelerator/ChangeLog?rev=1.23&content-type=text/plain |
39 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/eaccelerator/ChangeLog?r1=1.22&r2=1.23 |
40 |
|
41 |
Index: ChangeLog |
42 |
=================================================================== |
43 |
RCS file: /var/cvsroot/gentoo-x86/dev-php5/eaccelerator/ChangeLog,v |
44 |
retrieving revision 1.22 |
45 |
retrieving revision 1.23 |
46 |
diff -u -r1.22 -r1.23 |
47 |
--- ChangeLog 14 Aug 2009 11:00:24 -0000 1.22 |
48 |
+++ ChangeLog 22 Apr 2010 08:45:23 -0000 1.23 |
49 |
@@ -1,6 +1,11 @@ |
50 |
# ChangeLog for dev-php5/eaccelerator |
51 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
52 |
-# $Header: /var/cvsroot/gentoo-x86/dev-php5/eaccelerator/ChangeLog,v 1.22 2009/08/14 11:00:24 a3li Exp $ |
53 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
54 |
+# $Header: /var/cvsroot/gentoo-x86/dev-php5/eaccelerator/ChangeLog,v 1.23 2010/04/22 08:45:23 mabi Exp $ |
55 |
+ |
56 |
+*eaccelerator-0.9.6 (22 Apr 2010) |
57 |
+ |
58 |
+ 22 Apr 2010; <mabi@g.o> +eaccelerator-0.9.6.ebuild: |
59 |
+ bump (bug #304289), provided by Ole Markus With |
60 |
|
61 |
*eaccelerator-0.9.5.3-r1 (14 Aug 2009) |
62 |
|
63 |
|
64 |
|
65 |
|
66 |
1.1 dev-php5/eaccelerator/eaccelerator-0.9.6.ebuild |
67 |
|
68 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/eaccelerator/eaccelerator-0.9.6.ebuild?rev=1.1&view=markup |
69 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php5/eaccelerator/eaccelerator-0.9.6.ebuild?rev=1.1&content-type=text/plain |
70 |
|
71 |
Index: eaccelerator-0.9.6.ebuild |
72 |
=================================================================== |
73 |
# Copyright 1999-2010 Gentoo Foundation |
74 |
# Distributed under the terms of the GNU General Public License v2 |
75 |
# $Header: /var/cvsroot/gentoo-x86/dev-php5/eaccelerator/eaccelerator-0.9.6.ebuild,v 1.1 2010/04/22 08:45:23 mabi Exp $ |
76 |
|
77 |
PHP_EXT_NAME="eaccelerator" |
78 |
PHP_EXT_INI="yes" |
79 |
PHP_EXT_ZENDEXT="yes" |
80 |
|
81 |
EAPI="2" |
82 |
|
83 |
[[ -z "${EACCELERATOR_CACHEDIR}" ]] && EACCELERATOR_CACHEDIR="/var/cache/eaccelerator-php5/" |
84 |
|
85 |
inherit php-ext-source-r1 eutils depend.apache |
86 |
|
87 |
KEYWORDS="~amd64 ~sparc ~x86" |
88 |
|
89 |
DESCRIPTION="A PHP Accelerator & Encoder." |
90 |
HOMEPAGE="http://www.eaccelerator.net/" |
91 |
SRC_URI="http://bart.eaccelerator.net/source/${PV}/${P}.tar.bz2" |
92 |
LICENSE="GPL-2" |
93 |
SLOT="0" |
94 |
IUSE="debug disassembler inode doccommentinclusion" |
95 |
|
96 |
DEPEND="!dev-php5/pecl-apc !dev-php5/xcache" |
97 |
RDEPEND="${DEPEND} |
98 |
>=dev-lang/php-5.1[zlib,session?] |
99 |
|| ( dev-lang/php[cgi] dev-lang/php[apache2] ) |
100 |
" |
101 |
|
102 |
# Webserver user and group, here for Apache by default |
103 |
HTTPD_USER="${HTTPD_USER:-apache}" |
104 |
HTTPD_GROUP="${HTTPD_GROUP:-apache}" |
105 |
|
106 |
need_php_by_category |
107 |
want_apache |
108 |
|
109 |
pkg_setup() { |
110 |
depend.apache_pkg_setup |
111 |
|
112 |
has_php |
113 |
|
114 |
if ! use apache2 ; then |
115 |
if [[ ${HTTPD_USER} == "apache" ]] || [[ ${HTTPD_GROUP} == "apache" ]] ; then |
116 |
eerror "You did not enable apache2 USE flag, so you need to define" |
117 |
eerror "the user and group that will be used for ${PN} yourself." |
118 |
eerror |
119 |
eerror "This should (generally) match the user and group that your webserver uses, e.g.:" |
120 |
eerror "HTTPD_USER=\"lighttpd\" HTTPD_GROUP=\"lighttpd\" if using www-servers/lighttpd" |
121 |
eerror |
122 |
die "Either enable USE=\"apache2\" or re-emerge this with HTTPD_USER and HTTPD_GROUP set" |
123 |
else |
124 |
enewgroup ${HTTPD_GROUP} |
125 |
enewuser ${HTTPD_USER} -1 -1 /var/www ${HTTPD_GROUP} |
126 |
fi |
127 |
fi |
128 |
} |
129 |
|
130 |
src_compile() { |
131 |
has_php |
132 |
|
133 |
my_conf="--enable-eaccelerator=shared --with-eaccelerator-userid=`id -u ${HTTPD_USER}`" |
134 |
|
135 |
use debug && my_conf="${my_conf} --with-eaccelerator-debug" |
136 |
use disassembler && my_conf="${my_conf} --with-eaccelerator-disassembler" |
137 |
! use inode && my_conf="${my_conf} --without-eaccelerator-use-inode" |
138 |
use doccommentinclusion && my_conf="${my_conf} --with-eaccelerator-doc-comment-inclusion" |
139 |
|
140 |
php-ext-source-r1_src_compile |
141 |
} |
142 |
|
143 |
src_install() { |
144 |
php-ext-source-r1_src_install |
145 |
|
146 |
keepdir "${EACCELERATOR_CACHEDIR}" |
147 |
fowners ${HTTPD_USER}:${HTTPD_GROUP} "${EACCELERATOR_CACHEDIR}" |
148 |
fperms 750 "${EACCELERATOR_CACHEDIR}" |
149 |
|
150 |
insinto "/usr/share/${PN}-php5/" |
151 |
doins -r doc/php/ |
152 |
dodoc-php AUTHORS ChangeLog COPYING NEWS README README.eLoader |
153 |
|
154 |
php-ext-base-r1_addtoinifiles "eaccelerator.shm_size" '"28"' |
155 |
php-ext-base-r1_addtoinifiles "eaccelerator.cache_dir" "\"${EACCELERATOR_CACHEDIR}\"" |
156 |
php-ext-base-r1_addtoinifiles "eaccelerator.enable" '"1"' |
157 |
php-ext-base-r1_addtoinifiles "eaccelerator.optimizer" '"1"' |
158 |
php-ext-base-r1_addtoinifiles "eaccelerator.debug" '"0"' |
159 |
php-ext-base-r1_addtoinifiles ";eaccelerator.log_file" '"/var/log/eaccelerator_log"' |
160 |
php-ext-base-r1_addtoinifiles "eaccelerator.check_mtime" '"1"' |
161 |
php-ext-base-r1_addtoinifiles "eaccelerator.filter" '""' |
162 |
php-ext-base-r1_addtoinifiles "eaccelerator.shm_ttl" '"0"' |
163 |
php-ext-base-r1_addtoinifiles "eaccelerator.shm_prune_period" '"0"' |
164 |
php-ext-base-r1_addtoinifiles "eaccelerator.shm_only" '"0"' |
165 |
php-ext-base-r1_addtoinifiles ";eaccelerator.allowed_admin_path" '"/path/where/admin/files/shall/be/allowed"' |
166 |
} |
167 |
|
168 |
pkg_postinst() { |
169 |
elog "Please see the files in ${ROOT}usr/share/${PN}-php5/ for some" |
170 |
elog "examples and informations on how to use the functions that" |
171 |
elog "eAccelerator adds to PHP." |
172 |
} |