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