/[smeserver]/rpms/smeserver-php/sme10/smeserver-php.spec
ViewVC logotype

Annotation of /rpms/smeserver-php/sme10/smeserver-php.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.36 - (hide annotations) (download)
Mon Mar 8 07:36:02 2021 UTC (3 years, 3 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-php-3_0_0-28_el7_sme
Changes since 1.35: +4 -0 lines
* Mon Mar 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 3.0.0-28.sme
- filter non existing php script [SME: 10907]
- allow php embded files per ibay using AllowPHTML [SME: 10890]
- add timeout property in case of need for long running script [SME: 11427]
  e.g. upgrade of a wiki

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

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