1 |
%define version 3.0.0 |
2 |
%define release 5 |
3 |
%define name smeserver-php |
4 |
|
5 |
|
6 |
Summary: PHP FPM pools and more on SME Server |
7 |
Name: %{name} |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: MIT |
11 |
Group: Applications/System |
12 |
Source: %{name}-%{version}.tar.gz |
13 |
Patch0: smeserver-php-fpm-0.1.1-bz10871-ibay-php-fpm.patch |
14 |
Patch1: smeserver-php-fpm-0.1.1-bz10871-bz10335-fix1.patch |
15 |
Patch2: smeserver-php-fpm-0.1.1-bz10879-php-fpm_syslog.patch |
16 |
Patch3: smeserver-php-fpm-0.1.1-bz10877-pool-logs.patch |
17 |
Patch4: smeserver-php-3.0.0-bz10888-sys_temp_dir.patch |
18 |
Patch5: smeserver-php-fpm-0.1.1-bz0335-fix2.patch |
19 |
|
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
BuildArch: x86_64 |
22 |
BuildRequires: e-smith-devtools |
23 |
|
24 |
Requires: e-smith-base >= 5.6.0 |
25 |
Provides: e-smith-php = %{version}-%{release} |
26 |
Obsoletes: e-smith-php < %{version} |
27 |
|
28 |
Requires: tmpwatch |
29 |
Requires: logrotate |
30 |
|
31 |
# Stock PHP |
32 |
Requires: php-cli |
33 |
Requires: php-ldap |
34 |
Requires: php-imap |
35 |
Requires: php-gd |
36 |
Requires: php-xml |
37 |
Requires: php-xmlrpc |
38 |
Requires: php-soap |
39 |
Requires: php-opcache |
40 |
Requires: php-fpm |
41 |
Requires: php-mbstring |
42 |
Requires: php-mysql |
43 |
Requires: php-json |
44 |
Requires: php-bcmath |
45 |
Requires: php-intl |
46 |
Requires: php-mcrypt |
47 |
Requires: php-pear |
48 |
Requires: php-process |
49 |
Requires: php-snmp |
50 |
|
51 |
|
52 |
# PHP 5.5 |
53 |
Requires: php55-php-cli |
54 |
Requires: php55-php-ldap |
55 |
Requires: php55-php-imap |
56 |
Requires: php55-php-gd |
57 |
Requires: php55-php-xml |
58 |
Requires: php55-php-xmlrpc |
59 |
Requires: php55-php-soap |
60 |
Requires: php55-php-opcache |
61 |
Requires: php55-php-fpm |
62 |
Requires: php55-php-mbstring |
63 |
Requires: php55-php-mysql |
64 |
Requires: php55-php-json |
65 |
Requires: php55-php-bcmath |
66 |
Requires: php55-php-intl |
67 |
Requires: php55-php-mcrypt |
68 |
Requires: php55-php-pear |
69 |
Requires: php55-php-process |
70 |
Requires: php55-php-snmp |
71 |
Requires: php55-php, php55-php-enchant , php55-php-pdo php55-php-tidy , php55-php-mysqlnd php55-php-pecl-zip |
72 |
|
73 |
# PHP 5.6 |
74 |
Requires: php56-php-cli |
75 |
Requires: php56-php-ldap |
76 |
Requires: php56-php-imap |
77 |
Requires: php56-php-gd |
78 |
Requires: php56-php-xml |
79 |
Requires: php56-php-xmlrpc |
80 |
Requires: php56-php-soap |
81 |
Requires: php56-php-opcache |
82 |
Requires: php56-php-fpm |
83 |
Requires: php56-php-mbstring |
84 |
Requires: php56-php-mysql |
85 |
Requires: php56-php-json |
86 |
Requires: php56-php-bcmath |
87 |
Requires: php56-php-intl |
88 |
Requires: php56-php-mcrypt |
89 |
Requires: php56-php-pear |
90 |
Requires: php56-php-process |
91 |
Requires: php56-php-snmp |
92 |
Requires: php56-php, php56-php-enchant , php56-php-pdo php56-php-tidy , php56-php-mysqlnd php56-php-pecl-zip |
93 |
|
94 |
# PHP 7.0 |
95 |
Requires: php70-php-cli |
96 |
Requires: php70-php-ldap |
97 |
Requires: php70-php-imap |
98 |
Requires: php70-php-gd |
99 |
Requires: php70-php-xml |
100 |
Requires: php70-php-xmlrpc |
101 |
Requires: php70-php-soap |
102 |
Requires: php70-php-opcache |
103 |
Requires: php70-php-fpm |
104 |
Requires: php70-php-mbstring |
105 |
Requires: php70-php-mysql |
106 |
Requires: php70-php-json |
107 |
Requires: php70-php-bcmath |
108 |
Requires: php70-php-intl |
109 |
Requires: php70-php-mcrypt |
110 |
Requires: php70-php-pear |
111 |
Requires: php70-php-process |
112 |
Requires: php70-php-snmp |
113 |
Requires: php70-php, php70-php-enchant , php70-php-pdo php70-php-tidy , php70-php-mysqlnd php70-php-pecl-zip |
114 |
|
115 |
# PHP 7.1 |
116 |
Requires: php71-php-cli |
117 |
Requires: php71-php-ldap |
118 |
Requires: php71-php-imap |
119 |
Requires: php71-php-gd |
120 |
Requires: php71-php-xml |
121 |
Requires: php71-php-xmlrpc |
122 |
Requires: php71-php-soap |
123 |
Requires: php71-php-opcache |
124 |
Requires: php71-php-fpm |
125 |
Requires: php71-php-mbstring |
126 |
Requires: php71-php-mysql |
127 |
Requires: php71-php-json |
128 |
Requires: php71-php-bcmath |
129 |
Requires: php71-php-intl |
130 |
Requires: php71-php-mcrypt |
131 |
Requires: php71-php-pear |
132 |
Requires: php71-php-process |
133 |
Requires: php71-php-snmp |
134 |
Requires: php71-php, php71-php-enchant , php71-php-pdo php71-php-tidy , php71-php-mysqlnd php71-php-pecl-zip |
135 |
|
136 |
# PHP 7.2 |
137 |
Requires: php72-php-cli |
138 |
Requires: php72-php-ldap |
139 |
Requires: php72-php-imap |
140 |
Requires: php72-php-gd |
141 |
Requires: php72-php-xml |
142 |
Requires: php72-php-xmlrpc |
143 |
Requires: php72-php-soap |
144 |
Requires: php72-php-opcache |
145 |
Requires: php72-php-fpm |
146 |
Requires: php72-php-mbstring |
147 |
Requires: php72-php-mysql |
148 |
Requires: php72-php-json |
149 |
Requires: php72-php-bcmath |
150 |
Requires: php72-php-intl |
151 |
Requires: php72-php-mcrypt |
152 |
Requires: php72-php-pear |
153 |
Requires: php72-php-process |
154 |
Requires: php72-php-snmp |
155 |
Requires: php72-php, php72-php-enchant , php72-php-pdo php72-php-tidy , php72-php-mysqlnd php72-php-pecl-zip |
156 |
|
157 |
# PHP 7.3 |
158 |
Requires: php73-php-cli |
159 |
Requires: php73-php-ldap |
160 |
Requires: php73-php-imap |
161 |
Requires: php73-php-gd |
162 |
Requires: php73-php-xml |
163 |
Requires: php73-php-xmlrpc |
164 |
Requires: php73-php-soap |
165 |
Requires: php73-php-opcache |
166 |
Requires: php73-php-fpm |
167 |
Requires: php73-php-mbstring |
168 |
Requires: php73-php-mysql |
169 |
Requires: php73-php-json |
170 |
Requires: php73-php-bcmath |
171 |
Requires: php73-php-intl |
172 |
Requires: php73-php-pear |
173 |
Requires: php73-php-process |
174 |
Requires: php73-php-snmp |
175 |
Requires: php73-php, php73-php-enchant , php73-php-pdo php73-php-tidy , php73-php-mysqlnd php73-php-pecl-zip |
176 |
|
177 |
# PHP 7.4 |
178 |
Requires: php74-php-cli |
179 |
Requires: php74-php-ldap |
180 |
Requires: php74-php-imap |
181 |
Requires: php74-php-gd |
182 |
Requires: php74-php-xml |
183 |
Requires: php74-php-xmlrpc |
184 |
Requires: php74-php-soap |
185 |
Requires: php74-php-opcache |
186 |
Requires: php74-php-fpm |
187 |
Requires: php74-php-mbstring |
188 |
Requires: php74-php-mysql |
189 |
Requires: php74-php-json |
190 |
Requires: php74-php-bcmath |
191 |
Requires: php74-php-intl |
192 |
Requires: php74-php-pear |
193 |
Requires: php74-php-process |
194 |
Requires: php74-php-snmp |
195 |
Requires: php74-php, php74-php-enchant , php74-php-pdo php74-php-tidy , php74-php-mysqlnd php74-php-pecl-zip |
196 |
|
197 |
%description |
198 |
Manage PHP FPM pools, and switch between PHP versions easily |
199 |
|
200 |
%prep |
201 |
%setup -q -n %{name}-%{version} |
202 |
%patch0 -p1 |
203 |
%patch1 -p1 |
204 |
%patch2 -p1 |
205 |
%patch3 -p1 |
206 |
%patch4 -p1 |
207 |
%patch5 -p1 |
208 |
|
209 |
%build |
210 |
perl createlinks |
211 |
%{__mkdir_p} root/var/www/php-cgi-bin/ |
212 |
%{__mkdir_p} root/var/log/php/php/ |
213 |
%{__mkdir_p} root/var/lib/php/php/{session,tmp,opcache,wsdlcache} |
214 |
#create service configuration for SME Seerver |
215 |
#%{__mkdir_p} root/%{_unitdir}/php-fpm.service.d/ |
216 |
#echo '' > root/%{_unitdir}/php-fpm.service.d/php-fpm.conf |
217 |
#enable by default |
218 |
%{__mkdir_p} root/%{_presetdir} |
219 |
echo 'enable php-fpm.service' >root/%{_presetdir}/80-koozali-php.preset |
220 |
|
221 |
for phpver in "55" "56" "70" "71" "72" "73" "74"; do |
222 |
#needed folder |
223 |
%{__mkdir_p} root/var/log/php/php$phpver/ |
224 |
%{__mkdir_p} root/var/lib/php/php$phpver/{session,tmp,opcache,wsdlcache} |
225 |
|
226 |
#db configuration |
227 |
%{__mkdir_p} root/etc/e-smith/db/configuration/defaults/php$phpver-php-fpm |
228 |
echo 'enabled' > root/etc/e-smith/db/configuration/defaults/php$phpver-php-fpm/status |
229 |
echo 'service'> root/etc/e-smith/db/configuration/defaults/php$phpver-php-fpm/type |
230 |
|
231 |
#create service configuration for SME Seerver |
232 |
#%{__mkdir_p} root/%{_unitdir}/php$phpver-php-fpm.service.d/ |
233 |
#echo '' > root/%{_unitdir}/php$phpver-php-fpm.service.d/php$phpver-php-fpm.conf |
234 |
|
235 |
#enable by default php fpm |
236 |
echo 'enable php'$phpver'-php-fpm.service' >>root/%{_presetdir}/80-koozali-php.preset |
237 |
|
238 |
done |
239 |
|
240 |
#to add a new php version |
241 |
#php5* |
242 |
for phpver in "55" ; do |
243 |
#cp php56 metadata |
244 |
cp -a root/etc/e-smith/templates.metadata/opt/remi/php56 root/etc/e-smith/templates.metadata/opt/remi/php$phpver |
245 |
#sed inplace |
246 |
find root/etc/e-smith/templates.metadata/opt/remi/php$phpver -type f -print0 | xargs -0 sed -i 's/56/'$phpver'/g' |
247 |
done |
248 |
|
249 |
# php7* |
250 |
for phpver in "72" "73" "74"; do |
251 |
#cp ph70 metada |
252 |
cp -a root/etc/e-smith/templates.metadata/etc/opt/remi/php70 root/etc/e-smith/templates.metadata/etc/opt/remi/php$phpver |
253 |
#sed inplace |
254 |
find root/etc/e-smith/templates.metadata/etc/opt/remi/php$phpver -type f -print0 | xargs -0 sed -i 's/70/'$phpver'/g' |
255 |
done |
256 |
|
257 |
# then patch the following files |
258 |
#./templates/etc/logrotate.d/php-fpm/php-fpm: /sbin/e-smith/service php56-php-fpm reload >/dev/null 2>&1 || true |
259 |
#./templates/etc/httpd/conf/httpd.conf/68FastCGIConfig: foreach my $ver ('', '56', '70', '71'){ |
260 |
#./templates/etc/cron.daily/tmpwatch-php-fpm/10Defaults:for VER in php php56 php70 php71; do |
261 |
|
262 |
|
263 |
%install |
264 |
/bin/rm -rf $RPM_BUILD_ROOT |
265 |
(cd root; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) |
266 |
/bin/rm -f %{name}-%{version}-filelist |
267 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
268 |
--dir /var/log/php/php 'attr(0770,root,www)' \ |
269 |
--dir /var/lib/php/php/session 'attr(0770,root,www)' \ |
270 |
--dir /var/lib/php/php/tmp 'attr(0770,root,www)' \ |
271 |
--dir /var/lib/php/php/opcache 'attr(0770,root,www)' \ |
272 |
--dir /var/lib/php/php/wsdlcache 'attr(0770,root,www)' \ |
273 |
`for phpver in "54" "55" "56" "70" "71" "72" "73" "74"; do echo -n "--dir /var/log/php/php$phpver attr(0770,root,www) --dir /var/lib/php/php$phpver/session attr(0770,root,www) --dir /var/lib/php/php$phpver/tmp attr(0770,root,www) --dir /var/lib/php/php$phpver/opcache attr(0770,root,www) --dir /var/lib/php/php$phpver/wsdlcache attr(0770,root,www) ";done ` \ |
274 |
> %{name}-%{version}-filelist |
275 |
|
276 |
|
277 |
|
278 |
%clean |
279 |
rm -rf $RPM_BUILD_ROOT |
280 |
|
281 |
%files -f %{name}-%{version}-filelist |
282 |
%defattr(-,root,root) |
283 |
|
284 |
%pre |
285 |
|
286 |
%post |
287 |
# %systemd_post %{pkgname}.service |
288 |
|
289 |
%preun |
290 |
|
291 |
%changelog |
292 |
* Tue Mar 10 2020 Jean-Philipe Pialasse <tests@pialasse.com> 3.0.0-5.sme |
293 |
- set sys_temp_dir for php-fpm and ibays [SME: 10888] |
294 |
- set restart for php-fpm services in the smeserver-php-update event [SME: 10335] |
295 |
|
296 |
* Mon Mar 09 2020 Jean-Philipe Pialasse <tests@pialasse.com> 3.0.0-3.sme |
297 |
- fix typos and logic in scripts [SME: 10335] |
298 |
- only set php admin values if php module is enabled [SME: 10871] |
299 |
- redirect php*-php-fpm services logs to /var/log/php/php*/php-fpm.log [SME: 10879] |
300 |
- pool logs in /var/log/php/*/error.log [SME: 10877] |
301 |
|
302 |
* Sat Feb 01 2020 Jean-Philipe Pialasse <tests@pialasse.com> 3.0.0-2.sme |
303 |
- modification for ibays php-fpm support in httpd.conf [SME: 10871] |
304 |
|
305 |
* Tue Jan 28 2020 Jean-Philipe Pialasse <tests@pialasse.com> 3.0.0-1.sme |
306 |
- initial release of smeserver-php from smeserver-php-fpm [SME: 10335] |
307 |
added support for ibays, remove references to shares (should move to smeserver-share-folders) |
308 |
- merge and Obsoletes e-smith-php [SME: 10335] |
309 |
- remove reference to php3 and php4 files [SME: 10865] |
310 |
|
311 |
* Thu Jul 27 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.1-1.sme |
312 |
- Fix closing parenthesis on prop method in httpd template |
313 |
|
314 |
* Wed Jul 26 2017 Daniel Berteaud <daniel@firewall-services.com> - 0.1.0-1.sme |
315 |
- Initial release |
316 |
|
317 |
Sun Jun 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme |
318 |
- clean daily session and tmp folders [SME: 9626] |
319 |
- updated path for ibays' session and tmp folders to /var/cache |
320 |
|
321 |
* Thu Jun 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
322 |
- add tmp folder to ibays [SME: 7011] |
323 |
- add session folder to ibays [SME: 9620] |
324 |
- change global session folder from /tmp to /var/lib/php/session/ [SME: 139] |
325 |
|
326 |
* Thu Mar 31 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
327 |
- remove deprecated allow_call_time_pass_reference from php.ini [SME: 9416] |
328 |
|
329 |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
330 |
- Initial release to sme10 |
331 |
|
332 |
* Mon Jun 29 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-5 |
333 |
- revert the e-smith-php-2.4.0_add_upload_tmp_folder.patch [SME: 7011] |
334 |
|
335 |
* Fri Nov 14 2014 Charlie Brady <charlie_brady@mitel.com> 2.4.0-4.sme |
336 |
- Remove obsolete gpc_order setting from php.ini. [SME: 8652] |
337 |
|
338 |
* Sun May 4 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-3.sme |
339 |
- Add an upload_tmp_folder setting by db command [SME: 7011] |
340 |
- Thanks to Michael McCarn and Jean-philippe Pialasse |
341 |
|
342 |
* Sun May 19 2013 Ian Wells <esmith@wellsi.com> 2.4.0-2.sme |
343 |
- Force magic_quotes Off [SME: 7605] |
344 |
|
345 |
* Wed Feb 13 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
346 |
- Roll new stream for sme9 |
347 |
|
348 |
* Mon Sep 19 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme |
349 |
- Remove PHP version check from migrate script [SME: 6727] |
350 |
|
351 |
* Mon Sep 19 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-5.sme |
352 |
- Obsolete magic_quotes settings [SME: 6725] |
353 |
|
354 |
* Sat Sep 17 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-4.sme |
355 |
- Set default timezone [SME: 6716] |
356 |
|
357 |
* Mon Jul 19 2010 Ian Wells <esmith@wellsi.com> 2.2.0-3.sme |
358 |
- Default expose_php in php.ini to Off [SME: 6136] |
359 |
|
360 |
* Sun Mar 14 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-2.sme |
361 |
- Prepare for obsoletion of magic_quotes* when we supply PHP 5.3.0+ [SME: 5843] |
362 |
|
363 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
364 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
365 |
|
366 |
* Wed Aug 20 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.12.0-8 |
367 |
- Fix latest patches to prevent .orig file [SME: 4513] |
368 |
|
369 |
* Wed Aug 20 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.12.0-7 |
370 |
- Fix some minor layout issues introduced by fixes in [SME: 4513] |
371 |
|
372 |
* Tue Aug 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.12.0-6 |
373 |
- Fix whiteline and spacing issues [SME: 4513] |
374 |
|
375 |
* Fri Apr 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.12.0-5 |
376 |
- Split 80ModuleSettings template fragmenent to have one frament per module [SME: 3282] |
377 |
|
378 |
* Fri May 18 2007 Shad L. Lords <slords@mail.com> 1.12.0-4 |
379 |
- Use correct lib for modules |
380 |
|
381 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
382 |
- Clean up spec so package can be built by koji/plague |
383 |
|
384 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
385 |
- Update to new release naming. No functional changes. |
386 |
- Make Packager generic |
387 |
|
388 |
* Fri Oct 13 2006 Shad L. Lords <slords@mail.com> 1.12.0-02 |
389 |
- Add support for php5 [SME: 1120] |
390 |
|
391 |
* Fri Mar 17 2006 Gordon Rowell <gordonr@gormand.com.au> 1.12.0-01 |
392 |
- Roll stable stream version. [SME: 1016] |
393 |
|
394 |
* Mon Jan 30 2006 Charlie Brady <charlie_brady@mitel.com> 1.11.0-10 |
395 |
- Remove all pre/post/preun/postun scriptlets. [SME: 469] |
396 |
|
397 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.11.0-09 |
398 |
- Bump release number only |
399 |
|
400 |
* Tue Oct 18 2005 Charlie Brady <charlieb@e-smith.com> |
401 |
- [1.11.0-08] |
402 |
- Prevent i-bay name aliasing in default open_basedir restriction. |
403 |
[SF: 1330228] |
404 |
|
405 |
* Tue Sep 6 2005 Tony Clayton <apc@e-smith.com> |
406 |
- [1.11.0-07] |
407 |
- Turn register_globals off by default [SF: 1271218] |
408 |
|
409 |
* Tue Jul 19 2005 Charlie Brady <charlieb@e-smith.com> |
410 |
- [1.11.0-06] |
411 |
- Update to current db access APIs, in readiness for move of dbs to private |
412 |
directory. [SF: 1216546 (Shad)] |
413 |
|
414 |
* Sun May 1 2005 Charlie Brady <charlieb@e-smith.com> |
415 |
- [1.11.0-05] |
416 |
- Update include_path in php.ini, to base and add-on pear directories. |
417 |
|
418 |
* Tue Jan 25 2005 Charlie Brady <charlieb@e-smith.com> |
419 |
- [1.11.0-04] |
420 |
- Use generic_template_expand action to expand /etc/php.ini. |
421 |
Add e-smith-lib dependency. Add e-smith-devtools dependency. [MN00064130] |
422 |
- Remove anachronisms in /etc/php.ini templates. |
423 |
- Fix loss of AllowUrlFopen property during post-install. [MN00064752] |
424 |
|
425 |
* Wed Nov 10 2004 Charlie Brady <charlieb@e-smith.com> |
426 |
- [1.11.0-03] |
427 |
- Convert apache config fragments to apache2 format. [charlieb MN00051144] |
428 |
|
429 |
* Fri Nov 5 2004 Charlie Brady <charlieb@e-smith.com> |
430 |
- [1.11.0-02] |
431 |
- Remove specification of dynamic extensions, as that is done with newer |
432 |
php via /etc/php.d/. [charlieb MN00051515] |
433 |
- Replace deprecated Copyright header with License header. |
434 |
- Remove bogus WARNING text from spec file. [charlieb] |
435 |
|
436 |
* Mon Jan 26 2004 Michael Soulier <msoulier@e-smith.com> |
437 |
- [1.11.0-01] |
438 |
- rolling to dev - 1.11.0 |
439 |
|
440 |
* Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com> |
441 |
- [1.10.0-01] |
442 |
- Changing version to stable stream number - 1.10.0 |
443 |
|
444 |
* Wed May 28 2003 Michael Soulier <msoulier@e-smith.com> |
445 |
- [1.9.0-13] |
446 |
- Fixed a typo in the previous version. [msoulier 8852] |
447 |
|
448 |
* Wed May 28 2003 Michael Soulier <msoulier@e-smith.com> |
449 |
- [1.9.0-12] |
450 |
- Wrappered the restart of the e-smith web server so that it is conditional on |
451 |
e-smith-apache being installed. [msoulier 8852] |
452 |
|
453 |
* Tue May 27 2003 Michael Soulier <msoulier@e-smith.com> |
454 |
- [1.9.0-11] |
455 |
- Remembered that we can't query the rpm database during rpm installs. |
456 |
[msoulier 8852] |
457 |
|
458 |
* Tue May 27 2003 Michael Soulier <msoulier@e-smith.com> |
459 |
- [1.9.0-10] |
460 |
- Wrappered the restart of the e-smith web server so that it is conditional on |
461 |
e-smith-apache being installed. [msoulier 8852] |
462 |
|
463 |
* Tue May 27 2003 Michael Soulier <msoulier@e-smith.com> |
464 |
- [1.9.0-09] |
465 |
- Added a type default fragment. [msoulier 3299] |
466 |
|
467 |
* Wed Apr 23 2003 Gordon Rowell <gordonr@e-smith.com> |
468 |
- [1.9.0-08] |
469 |
- Increase limits to allow webmail attachments of 10MB, rather than 2MB |
470 |
MemoryLimit 8M -> 32M, PostMaxSize 8M -> 20M, UploadMaxFilesize 2M -> 10M [gordonr 8478] |
471 |
|
472 |
* Wed Apr 2 2003 Gordon Rowell <gordonr@e-smith.com> |
473 |
- [1.9.0-07] |
474 |
- set allow_url_fopen = Off by default, tunable in config db [gordonr 4970] |
475 |
|
476 |
* Tue Apr 1 2003 Gordon Rowell <gordonr@e-smith.com> |
477 |
- [1.9.0-06] |
478 |
- And back out last change - not a bug [gordonr 7836] |
479 |
|
480 |
* Tue Apr 1 2003 Gordon Rowell <gordonr@e-smith.com> |
481 |
- [1.9.0-05] |
482 |
- Fix include_path in php.ini [gordonr 7836] |
483 |
|
484 |
* Fri Mar 7 2003 Gordon Rowell <gordonr@e-smith.com> |
485 |
- [1.9.0-04] |
486 |
- Update more httpd.conf fragments to new interface [gordonr 7600] |
487 |
|
488 |
* Fri Mar 7 2003 Gordon Rowell <gordonr@e-smith.com> |
489 |
- [1.9.0-03] |
490 |
- Update httpd.conf fragment to new interface [gordonr 7600] |
491 |
|
492 |
* Thu Jan 23 2003 Michael Soulier <msoulier@e-smith.com> |
493 |
- [1.9.0-02] |
494 |
- Adding .phtml extension. [msoulier 6543] |
495 |
|
496 |
* Thu Jan 23 2003 Michael Soulier <msoulier@e-smith.com> |
497 |
- [1.9.0-01] |
498 |
- rolling to development stream to 1.9.0 |
499 |
|
500 |
* Thu Jan 23 2003 Michael Soulier <msoulier@e-smith.com> |
501 |
- [1.8.0-05] |
502 |
- Backing out changes since 1.8.0-01, as they belong in a development stream. |
503 |
[msoulier 6543] |
504 |
|
505 |
* Thu Jan 23 2003 Michael Soulier <msoulier@e-smith.com> |
506 |
- [1.8.0-04] |
507 |
- Fixed a syntax error that I should have caught before committing the last |
508 |
version. [msoulier 6543] |
509 |
|
510 |
* Thu Jan 23 2003 Michael Soulier <msoulier@e-smith.com> |
511 |
- [1.8.0-03] |
512 |
- Bringing the api up to the modern version. [msoulier 6543] |
513 |
|
514 |
* Thu Jan 23 2003 Michael Soulier <msoulier@e-smith.com> |
515 |
- [1.8.0-02] |
516 |
- Added index.phtml to the DirectoryIndex directive, and made the code a |
517 |
little nicer to look at. [msoulier 6543] |
518 |
|
519 |
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
520 |
- [1.8.0-01] |
521 |
- Roll to maintained version number to 1.8.0 |
522 |
|
523 |
* Mon Jul 22 2002 Charlie Brady <charlieb@e-smith.com> |
524 |
- [1.7.1-01] |
525 |
- Add conf-php link to bootstrap-console-save event [charlieb 1939] |
526 |
|
527 |
* Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com> |
528 |
- [1.7.0-01] |
529 |
- Changing version to development stream number to 1.7.0 |
530 |
|
531 |
* Fri May 31 2002 Charlie Brady <charlieb@e-smith.com> |
532 |
- [1.6.0-01] |
533 |
- Changing version to maintained stream number to 1.6.0 |
534 |
|
535 |
* Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com> |
536 |
- [1.5.5-01] |
537 |
- RPM rebuild forced by cvsroot2rpm |
538 |
|
539 |
* Fri Mar 15 2002 Gordon Rowell <gordonr@e-smith.com> |
540 |
- [1.5.4-01] |
541 |
- Turned off display_errors, use error_log -> syslog instead, as per |
542 |
Dan Brown's PHP upgrade HOWTO |
543 |
- Tidied up formatting in that fragment [gordonr 3019] |
544 |
|
545 |
* Fri Mar 15 2002 Gordon Rowell <gordonr@e-smith.com> |
546 |
- [1.5.3-01] |
547 |
- Imported into CVS |
548 |
|
549 |
* Fri Mar 15 2002 Gordon Rowell <gordonr@e-smith.com> |
550 |
- [1.5.1-01] |
551 |
- rollRPM: Rolled version number to 1.5.1-01. Includes patches up to 1.5.0-03. |
552 |
|
553 |
* Mon Feb 04 2002 Charlie Brady <charlieb@e-smith.com> |
554 |
- [1.5.0-03] |
555 |
- Remove all comments from php.ini template fragments. |
556 |
- Allow some resource limits to be set by properties of the php service |
557 |
in the config db. |
558 |
|
559 |
* Mon Feb 04 2002 Charlie Brady <charlieb@e-smith.com> |
560 |
- [1.5.0-02] |
561 |
- Template /etc/php.ini, and expand template during conf-php action. |
562 |
- Make some simplifications to the conf-php script, and remove a |
563 |
potential error case (php is not in config db and event is neither |
564 |
post-install or post-upgrade). |
565 |
|
566 |
* Mon Feb 4 2002 Charlie Brady <charlieb@e-smith.com> |
567 |
- [1.5.0-01] |
568 |
- rollRPM: Rolled version number to 1.5.0-01. Includes patches up to 1.4.0-03. |
569 |
|
570 |
* Thu Sep 6 2001 Charlie Brady <charlieb@e-smith.com> |
571 |
- [1.4.0-03] |
572 |
- Restrict PHP programs residing in an i-bay to only be able to open files |
573 |
which reside in the same i-bay. An i-bay property PHPBaseDir is available |
574 |
to override this restriction. |
575 |
|
576 |
* Fri Aug 17 2001 gordonr |
577 |
- [1.4.0-02] |
578 |
- Autorebuild by rebuildRPM |
579 |
|
580 |
* Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com> |
581 |
- [1.4.0-01] |
582 |
- Rolled version number to 1.4.0-01. Includes patches upto 1.3.0-02. |
583 |
|
584 |
* Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com> |
585 |
- [1.3.0-02] |
586 |
- Load PHP modules late, not first. This corrects a compatibility problem |
587 |
with RedHat 7.1 RPMS. |
588 |
|
589 |
* Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com> |
590 |
- [1.3.0-01] |
591 |
- Rolled version number to 1.3.0-01. Includes patches upto 1.2.0-05. |
592 |
|
593 |
* Fri Jul 6 2001 Peter Samuel <peters@e-smith.com> |
594 |
- [1.2.0-05] |
595 |
- Changed license to GPL |
596 |
|
597 |
* Fri Mar 23 2001 Charlie Brady <charlieb@e-smith.com> |
598 |
- [1.2.0-04] |
599 |
- Disable PHP MIME type by default |
600 |
- Enable PHP MIME type for each i-bay for which dynamic content is enabled. |
601 |
|
602 |
* Thu Feb 8 2001 Adrian Chung <adrianc@e-smith.com> |
603 |
- [1.2.0-03] |
604 |
- Rolling release number for GPG signing. |
605 |
|
606 |
* Thu Jan 25 2001 Adrian Chung <adrianc@e-smith.com> |
607 |
- [1.2.0-02] |
608 |
- changed action to run at 50, instead of 55. |
609 |
|
610 |
* Thu Jan 25 2001 Peter Samuel <peters@e-smith.com> |
611 |
- [1.2.0-01] |
612 |
- Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-10. |
613 |
|
614 |
* Wed Jan 17 2001 Adrian Chung <adrianc@e-smith.com> |
615 |
- [1.1.0-10] |
616 |
- PHP is enabled by default. |
617 |
|
618 |
* Fri Jan 12 2001 Adrian Chung <adrianc@e-smith.com> |
619 |
- [1.1.0-9] |
620 |
- rolling to 9, 8 is missing. |
621 |
- pulling expand httpd.conf, we'll leave conf-httpd |
622 |
to do it. |
623 |
|
624 |
* Thu Jan 11 2001 Tony Clayton <tonyc@e-smith.com> |
625 |
- [1.1.0-8] |
626 |
- pulled restarting apache - just expand httpd.conf |
627 |
|
628 |
* Thu Jan 11 2001 Tony Clayton <tonyc@e-smith.com> |
629 |
- [1.1.0-7] |
630 |
- apache now restarts whenever php's status changes |
631 |
|
632 |
* Thu Jan 11 2001 Tony Clayton <tonyc@e-smith.com> |
633 |
- [1.1.0-6] |
634 |
- expand httpd.conf template from conf-php |
635 |
|
636 |
* Thu Jan 11 2001 Tony Clayton <tonyc@e-smith.com> |
637 |
- [1.1.0-5] |
638 |
- add apache restart code to conf-php |
639 |
|
640 |
* Sat Jan 6 2001 Charlie Brady <charlieb@e-smith.com> |
641 |
- [1.1.0-4] |
642 |
- Only run %post actions in runlevel 7 |
643 |
|
644 |
* Fri Jan 5 2001 Adrian Chung <adrianc@e-smith.com> |
645 |
- [1.1.0-3] |
646 |
- put createlinks back in. |
647 |
|
648 |
* Fri Jan 5 2001 Adrian Chung <adrianc@e-smith.com> |
649 |
- [1.1.0-2] |
650 |
- expand PHP httpd.conf fragments conditionally based on |
651 |
service status. |
652 |
- add PHP to the services database and default to disabled. |
653 |
|
654 |
* Wed Dec 06 2000 Peter Samuel <peters@e-smith.com> |
655 |
- [1.1.0-1] |
656 |
- Rolled version to 1.1.0-1. Inlcudes patches up to 0.1-1. |
657 |
|
658 |
* Tue Nov 14 2000 Adrian Chung <adrianc@e-smith.com> |
659 |
- initial release |