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