/[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.23 - (show annotations) (download)
Mon Dec 21 13:28:54 2020 UTC (3 years, 10 months ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-php-3_0_0-21_el7_sme
Changes since 1.22: +7 -1 lines
* Mon Dec 21 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.0.21.sme
- Fix createlinks typo missing event links [SME: 11287]
- Fix typo

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

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