/[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.55 - (show annotations) (download)
Wed Dec 14 07:13:36 2022 UTC (18 months, 3 weeks ago) by jpp
Branch: MAIN
CVS Tags: smeserver-php-3_0_0-44_el7_sme
Changes since 1.54: +6 -1 lines
* Wed Dec 14 2022 Jean-Philippe Pialasse <tests@pialasse.com> 3.0.0-44.sme
- fix tkt auth not propagated to php pool [SME: 12269]

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

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