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