/[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.59 - (show annotations) (download)
Wed Mar 20 11:14:25 2024 UTC (2 months, 2 weeks ago) by terryfage
Branch: MAIN
CVS Tags: smeserver-php-3_0_0-48_el7_sme, HEAD
Changes since 1.58: +6 -1 lines
* Wed Mar 20 2024 Zsolt Vasarhelyi <vasarhelyizsolt@hotmail.com> 3.0.0-48.sme
- PHP 8.3 logs to 8.2 logdir [SME:12514]

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

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