/[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.38 - (show annotations) (download)
Mon Mar 8 08:57:00 2021 UTC (3 years, 7 months ago) by jpp
Branch: MAIN
Changes since 1.37: +3 -2 lines
* Mon Mar 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 3.0.0-30.sme
-  uniformize php related properties between ibays and php [SME: 11411]
   tidy fragments for php-fpm and ibays
- fix syntax error for timeouts [SME: 11427]

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

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