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