/[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.50 - (show annotations) (download)
Fri Sep 24 12:58:18 2021 UTC (3 years, 1 month ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-php-3_0_0-40_el7_sme
Changes since 1.49: +6 -1 lines
Fix error reporting comment

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

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