/[smeserver]/rpms/smeserver-php/sme10/smeserver-php.spec
ViewVC logotype

Contents of /rpms/smeserver-php/sme10/smeserver-php.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.22 - (show annotations) (download)
Thu Dec 17 23:00:34 2020 UTC (3 years, 6 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-php-3_0_0-20_el7_sme
Changes since 1.21: +6 -1 lines
* Thu Dec 17 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.0.20.sme
- Fix individual PHP version for ibay [SME: 11267]

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed