/[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.51 - (show annotations) (download)
Sun Oct 24 05:58:25 2021 UTC (3 years ago) by jpp
Branch: MAIN
Changes since 1.50: +37 -14 lines
* Sun Oct 24 2021 Jean-Philippe Pialasse <tests@pialasse.com> 3.0.0-41.sme
- add php81 support [SME: 11717]

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

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