/[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.44 - (show annotations) (download)
Thu Apr 22 01:49:35 2021 UTC (3 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-php-3_0_0-34_el7_sme
Changes since 1.43: +6 -1 lines
* Wed Apr 21 2021 Jean-Philippe Pialasse <tests@pialasse.com> 3.0.0-34.sme
- fix open_basedir for pool missing /var/lib/php/$ibay/ [SME: 11573]

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

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