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