/[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.58 - (show annotations) (download)
Mon Sep 4 11:05:09 2023 UTC (13 months, 4 weeks ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-php-3_0_0-47_el7_sme
Changes since 1.57: +36 -12 lines
* Mon Sep 04 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 3.0.0-47.sme
- Add php83 support [SME:12405]

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

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