1 |
# $Id: e-smith-php.spec,v 1.2 2016/03/31 11:43:56 unnilennium Exp $ |
2 |
|
3 |
Summary: e-smith specific PHP configuration and templates. |
4 |
%define name e-smith-php |
5 |
Name: %{name} |
6 |
%define version 2.6.0 |
7 |
%define release 3 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
13 |
Patch0: e-smith-php-2.6.0-allow_call_time_pass_reference.patch |
14 |
Patch1: e-smith-php-2.6.0_add_upload_tmp_folder.patch |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildArchitectures: noarch |
17 |
Requires: e-smith-base, php >= 4.0.1 |
18 |
Requires: e-smith-lib >= 1.15.1-16 |
19 |
BuildRequires: e-smith-devtools >= 1.11.0-12 |
20 |
AutoReqProv: no |
21 |
|
22 |
%changelog |
23 |
* Thu Jun 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
24 |
- add tmp folder to ibays [SME: 7011] |
25 |
|
26 |
* Thu Mar 31 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
27 |
- remove deprecated allow_call_time_pass_reference from php.ini [SME: 9416] |
28 |
|
29 |
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
30 |
- Initial release to sme10 |
31 |
|
32 |
* Mon Jun 29 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-5 |
33 |
- revert the e-smith-php-2.4.0_add_upload_tmp_folder.patch [SME: 7011] |
34 |
|
35 |
* Fri Nov 14 2014 Charlie Brady <charlie_brady@mitel.com> 2.4.0-4.sme |
36 |
- Remove obsolete gpc_order setting from php.ini. [SME: 8652] |
37 |
|
38 |
* Sat May 4 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-3.sme |
39 |
- Add an upload_tmp_folder setting by db command [SME: 7011] |
40 |
- Thanks to Michael McCarn and Jean-philippe Pialasse |
41 |
|
42 |
* Sun May 19 2013 Ian Wells <esmith@wellsi.com> 2.4.0-2.sme |
43 |
- Force magic_quotes Off [SME: 7605] |
44 |
|
45 |
* Wed Feb 13 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
46 |
- Roll new stream for sme9 |
47 |
|
48 |
* Mon Sep 19 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme |
49 |
- Remove PHP version check from migrate script [SME: 6727] |
50 |
|
51 |
* Mon Sep 19 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-5.sme |
52 |
- Obsolete magic_quotes settings [SME: 6725] |
53 |
|
54 |
* Sat Sep 17 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-4.sme |
55 |
- Set default timezone [SME: 6716] |
56 |
|
57 |
* Mon Jul 19 2010 Ian Wells <esmith@wellsi.com> 2.2.0-3.sme |
58 |
- Default expose_php in php.ini to Off [SME: 6136] |
59 |
|
60 |
* Sun Mar 14 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-2.sme |
61 |
- Prepare for obsoletion of magic_quotes* when we supply PHP 5.3.0+ [SME: 5843] |
62 |
|
63 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
64 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
65 |
|
66 |
* Wed Aug 20 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.12.0-8 |
67 |
- Fix latest patches to prevent .orig file [SME: 4513] |
68 |
|
69 |
* Wed Aug 20 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.12.0-7 |
70 |
- Fix some minor layout issues introduced by fixes in [SME: 4513] |
71 |
|
72 |
* Tue Aug 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.12.0-6 |
73 |
- Fix whiteline and spacing issues [SME: 4513] |
74 |
|
75 |
* Fri Apr 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.12.0-5 |
76 |
- Split 80ModuleSettings template fragmenent to have one frament per module [SME: 3282] |
77 |
|
78 |
* Fri May 18 2007 Shad L. Lords <slords@mail.com> 1.12.0-4 |
79 |
- Use correct lib for modules |
80 |
|
81 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
82 |
- Clean up spec so package can be built by koji/plague |
83 |
|
84 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
85 |
- Update to new release naming. No functional changes. |
86 |
- Make Packager generic |
87 |
|
88 |
* Fri Oct 13 2006 Shad L. Lords <slords@mail.com> 1.12.0-02 |
89 |
- Add support for php5 [SME: 1120] |
90 |
|
91 |
* Fri Mar 17 2006 Gordon Rowell <gordonr@gormand.com.au> 1.12.0-01 |
92 |
- Roll stable stream version. [SME: 1016] |
93 |
|
94 |
* Mon Jan 30 2006 Charlie Brady <charlie_brady@mitel.com> 1.11.0-10 |
95 |
- Remove all pre/post/preun/postun scriptlets. [SME: 469] |
96 |
|
97 |
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.11.0-09 |
98 |
- Bump release number only |
99 |
|
100 |
* Tue Oct 18 2005 Charlie Brady <charlieb@e-smith.com> |
101 |
- [1.11.0-08] |
102 |
- Prevent i-bay name aliasing in default open_basedir restriction. |
103 |
[SF: 1330228] |
104 |
|
105 |
* Tue Sep 6 2005 Tony Clayton <apc@e-smith.com> |
106 |
- [1.11.0-07] |
107 |
- Turn register_globals off by default [SF: 1271218] |
108 |
|
109 |
* Tue Jul 19 2005 Charlie Brady <charlieb@e-smith.com> |
110 |
- [1.11.0-06] |
111 |
- Update to current db access APIs, in readiness for move of dbs to private |
112 |
directory. [SF: 1216546 (Shad)] |
113 |
|
114 |
* Sun May 1 2005 Charlie Brady <charlieb@e-smith.com> |
115 |
- [1.11.0-05] |
116 |
- Update include_path in php.ini, to base and add-on pear directories. |
117 |
|
118 |
* Tue Jan 25 2005 Charlie Brady <charlieb@e-smith.com> |
119 |
- [1.11.0-04] |
120 |
- Use generic_template_expand action to expand /etc/php.ini. |
121 |
Add e-smith-lib dependency. Add e-smith-devtools dependency. [MN00064130] |
122 |
- Remove anachronisms in /etc/php.ini templates. |
123 |
- Fix loss of AllowUrlFopen property during post-install. [MN00064752] |
124 |
|
125 |
* Wed Nov 10 2004 Charlie Brady <charlieb@e-smith.com> |
126 |
- [1.11.0-03] |
127 |
- Convert apache config fragments to apache2 format. [charlieb MN00051144] |
128 |
|
129 |
* Fri Nov 5 2004 Charlie Brady <charlieb@e-smith.com> |
130 |
- [1.11.0-02] |
131 |
- Remove specification of dynamic extensions, as that is done with newer |
132 |
php via /etc/php.d/. [charlieb MN00051515] |
133 |
- Replace deprecated Copyright header with License header. |
134 |
- Remove bogus WARNING text from spec file. [charlieb] |
135 |
|
136 |
* Mon Jan 26 2004 Michael Soulier <msoulier@e-smith.com> |
137 |
- [1.11.0-01] |
138 |
- rolling to dev - 1.11.0 |
139 |
|
140 |
* Thu Jun 26 2003 Charlie Brady <charlieb@e-smith.com> |
141 |
- [1.10.0-01] |
142 |
- Changing version to stable stream number - 1.10.0 |
143 |
|
144 |
* Wed May 28 2003 Michael Soulier <msoulier@e-smith.com> |
145 |
- [1.9.0-13] |
146 |
- Fixed a typo in the previous version. [msoulier 8852] |
147 |
|
148 |
* Wed May 28 2003 Michael Soulier <msoulier@e-smith.com> |
149 |
- [1.9.0-12] |
150 |
- Wrappered the restart of the e-smith web server so that it is conditional on |
151 |
e-smith-apache being installed. [msoulier 8852] |
152 |
|
153 |
* Tue May 27 2003 Michael Soulier <msoulier@e-smith.com> |
154 |
- [1.9.0-11] |
155 |
- Remembered that we can't query the rpm database during rpm installs. |
156 |
[msoulier 8852] |
157 |
|
158 |
* Tue May 27 2003 Michael Soulier <msoulier@e-smith.com> |
159 |
- [1.9.0-10] |
160 |
- Wrappered the restart of the e-smith web server so that it is conditional on |
161 |
e-smith-apache being installed. [msoulier 8852] |
162 |
|
163 |
* Tue May 27 2003 Michael Soulier <msoulier@e-smith.com> |
164 |
- [1.9.0-09] |
165 |
- Added a type default fragment. [msoulier 3299] |
166 |
|
167 |
* Wed Apr 23 2003 Gordon Rowell <gordonr@e-smith.com> |
168 |
- [1.9.0-08] |
169 |
- Increase limits to allow webmail attachments of 10MB, rather than 2MB |
170 |
MemoryLimit 8M -> 32M, PostMaxSize 8M -> 20M, UploadMaxFilesize 2M -> 10M [gordonr 8478] |
171 |
|
172 |
* Wed Apr 2 2003 Gordon Rowell <gordonr@e-smith.com> |
173 |
- [1.9.0-07] |
174 |
- set allow_url_fopen = Off by default, tunable in config db [gordonr 4970] |
175 |
|
176 |
* Tue Apr 1 2003 Gordon Rowell <gordonr@e-smith.com> |
177 |
- [1.9.0-06] |
178 |
- And back out last change - not a bug [gordonr 7836] |
179 |
|
180 |
* Tue Apr 1 2003 Gordon Rowell <gordonr@e-smith.com> |
181 |
- [1.9.0-05] |
182 |
- Fix include_path in php.ini [gordonr 7836] |
183 |
|
184 |
* Fri Mar 7 2003 Gordon Rowell <gordonr@e-smith.com> |
185 |
- [1.9.0-04] |
186 |
- Update more httpd.conf fragments to new interface [gordonr 7600] |
187 |
|
188 |
* Fri Mar 7 2003 Gordon Rowell <gordonr@e-smith.com> |
189 |
- [1.9.0-03] |
190 |
- Update httpd.conf fragment to new interface [gordonr 7600] |
191 |
|
192 |
* Thu Jan 23 2003 Michael Soulier <msoulier@e-smith.com> |
193 |
- [1.9.0-02] |
194 |
- Adding .phtml extension. [msoulier 6543] |
195 |
|
196 |
* Thu Jan 23 2003 Michael Soulier <msoulier@e-smith.com> |
197 |
- [1.9.0-01] |
198 |
- rolling to development stream to 1.9.0 |
199 |
|
200 |
* Thu Jan 23 2003 Michael Soulier <msoulier@e-smith.com> |
201 |
- [1.8.0-05] |
202 |
- Backing out changes since 1.8.0-01, as they belong in a development stream. |
203 |
[msoulier 6543] |
204 |
|
205 |
* Thu Jan 23 2003 Michael Soulier <msoulier@e-smith.com> |
206 |
- [1.8.0-04] |
207 |
- Fixed a syntax error that I should have caught before committing the last |
208 |
version. [msoulier 6543] |
209 |
|
210 |
* Thu Jan 23 2003 Michael Soulier <msoulier@e-smith.com> |
211 |
- [1.8.0-03] |
212 |
- Bringing the api up to the modern version. [msoulier 6543] |
213 |
|
214 |
* Thu Jan 23 2003 Michael Soulier <msoulier@e-smith.com> |
215 |
- [1.8.0-02] |
216 |
- Added index.phtml to the DirectoryIndex directive, and made the code a |
217 |
little nicer to look at. [msoulier 6543] |
218 |
|
219 |
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
220 |
- [1.8.0-01] |
221 |
- Roll to maintained version number to 1.8.0 |
222 |
|
223 |
* Mon Jul 22 2002 Charlie Brady <charlieb@e-smith.com> |
224 |
- [1.7.1-01] |
225 |
- Add conf-php link to bootstrap-console-save event [charlieb 1939] |
226 |
|
227 |
* Wed Jun 5 2002 Charlie Brady <charlieb@e-smith.com> |
228 |
- [1.7.0-01] |
229 |
- Changing version to development stream number to 1.7.0 |
230 |
|
231 |
* Fri May 31 2002 Charlie Brady <charlieb@e-smith.com> |
232 |
- [1.6.0-01] |
233 |
- Changing version to maintained stream number to 1.6.0 |
234 |
|
235 |
* Thu May 23 2002 Gordon Rowell <gordonr@e-smith.com> |
236 |
- [1.5.5-01] |
237 |
- RPM rebuild forced by cvsroot2rpm |
238 |
|
239 |
* Fri Mar 15 2002 Gordon Rowell <gordonr@e-smith.com> |
240 |
- [1.5.4-01] |
241 |
- Turned off display_errors, use error_log -> syslog instead, as per |
242 |
Dan Brown's PHP upgrade HOWTO |
243 |
- Tidied up formatting in that fragment [gordonr 3019] |
244 |
|
245 |
* Fri Mar 15 2002 Gordon Rowell <gordonr@e-smith.com> |
246 |
- [1.5.3-01] |
247 |
- Imported into CVS |
248 |
|
249 |
* Fri Mar 15 2002 Gordon Rowell <gordonr@e-smith.com> |
250 |
- [1.5.1-01] |
251 |
- rollRPM: Rolled version number to 1.5.1-01. Includes patches up to 1.5.0-03. |
252 |
|
253 |
* Mon Feb 04 2002 Charlie Brady <charlieb@e-smith.com> |
254 |
- [1.5.0-03] |
255 |
- Remove all comments from php.ini template fragments. |
256 |
- Allow some resource limits to be set by properties of the php service |
257 |
in the config db. |
258 |
|
259 |
* Mon Feb 04 2002 Charlie Brady <charlieb@e-smith.com> |
260 |
- [1.5.0-02] |
261 |
- Template /etc/php.ini, and expand template during conf-php action. |
262 |
- Make some simplifications to the conf-php script, and remove a |
263 |
potential error case (php is not in config db and event is neither |
264 |
post-install or post-upgrade). |
265 |
|
266 |
* Mon Feb 4 2002 Charlie Brady <charlieb@e-smith.com> |
267 |
- [1.5.0-01] |
268 |
- rollRPM: Rolled version number to 1.5.0-01. Includes patches up to 1.4.0-03. |
269 |
|
270 |
* Thu Sep 6 2001 Charlie Brady <charlieb@e-smith.com> |
271 |
- [1.4.0-03] |
272 |
- Restrict PHP programs residing in an i-bay to only be able to open files |
273 |
which reside in the same i-bay. An i-bay property PHPBaseDir is available |
274 |
to override this restriction. |
275 |
|
276 |
* Fri Aug 17 2001 gordonr |
277 |
- [1.4.0-02] |
278 |
- Autorebuild by rebuildRPM |
279 |
|
280 |
* Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com> |
281 |
- [1.4.0-01] |
282 |
- Rolled version number to 1.4.0-01. Includes patches upto 1.3.0-02. |
283 |
|
284 |
* Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com> |
285 |
- [1.3.0-02] |
286 |
- Load PHP modules late, not first. This corrects a compatibility problem |
287 |
with RedHat 7.1 RPMS. |
288 |
|
289 |
* Wed Aug 8 2001 Charlie Brady <charlieb@e-smith.com> |
290 |
- [1.3.0-01] |
291 |
- Rolled version number to 1.3.0-01. Includes patches upto 1.2.0-05. |
292 |
|
293 |
* Fri Jul 6 2001 Peter Samuel <peters@e-smith.com> |
294 |
- [1.2.0-05] |
295 |
- Changed license to GPL |
296 |
|
297 |
* Fri Mar 23 2001 Charlie Brady <charlieb@e-smith.com> |
298 |
- [1.2.0-04] |
299 |
- Disable PHP MIME type by default |
300 |
- Enable PHP MIME type for each i-bay for which dynamic content is enabled. |
301 |
|
302 |
* Thu Feb 8 2001 Adrian Chung <adrianc@e-smith.com> |
303 |
- [1.2.0-03] |
304 |
- Rolling release number for GPG signing. |
305 |
|
306 |
* Thu Jan 25 2001 Adrian Chung <adrianc@e-smith.com> |
307 |
- [1.2.0-02] |
308 |
- changed action to run at 50, instead of 55. |
309 |
|
310 |
* Thu Jan 25 2001 Peter Samuel <peters@e-smith.com> |
311 |
- [1.2.0-01] |
312 |
- Rolled version number to 1.2.0-01. Includes patches upto 1.1.0-10. |
313 |
|
314 |
* Wed Jan 17 2001 Adrian Chung <adrianc@e-smith.com> |
315 |
- [1.1.0-10] |
316 |
- PHP is enabled by default. |
317 |
|
318 |
* Fri Jan 12 2001 Adrian Chung <adrianc@e-smith.com> |
319 |
- [1.1.0-9] |
320 |
- rolling to 9, 8 is missing. |
321 |
- pulling expand httpd.conf, we'll leave conf-httpd |
322 |
to do it. |
323 |
|
324 |
* Thu Jan 11 2001 Tony Clayton <tonyc@e-smith.com> |
325 |
- [1.1.0-8] |
326 |
- pulled restarting apache - just expand httpd.conf |
327 |
|
328 |
* Thu Jan 11 2001 Tony Clayton <tonyc@e-smith.com> |
329 |
- [1.1.0-7] |
330 |
- apache now restarts whenever php's status changes |
331 |
|
332 |
* Thu Jan 11 2001 Tony Clayton <tonyc@e-smith.com> |
333 |
- [1.1.0-6] |
334 |
- expand httpd.conf template from conf-php |
335 |
|
336 |
* Thu Jan 11 2001 Tony Clayton <tonyc@e-smith.com> |
337 |
- [1.1.0-5] |
338 |
- add apache restart code to conf-php |
339 |
|
340 |
* Sat Jan 6 2001 Charlie Brady <charlieb@e-smith.com> |
341 |
- [1.1.0-4] |
342 |
- Only run %post actions in runlevel 7 |
343 |
|
344 |
* Fri Jan 5 2001 Adrian Chung <adrianc@e-smith.com> |
345 |
- [1.1.0-3] |
346 |
- put createlinks back in. |
347 |
|
348 |
* Fri Jan 5 2001 Adrian Chung <adrianc@e-smith.com> |
349 |
- [1.1.0-2] |
350 |
- expand PHP httpd.conf fragments conditionally based on |
351 |
service status. |
352 |
- add PHP to the services database and default to disabled. |
353 |
|
354 |
* Wed Dec 06 2000 Peter Samuel <peters@e-smith.com> |
355 |
- [1.1.0-1] |
356 |
- Rolled version to 1.1.0-1. Inlcudes patches up to 0.1-1. |
357 |
|
358 |
* Tue Nov 14 2000 Adrian Chung <adrianc@e-smith.com> |
359 |
- initial release |
360 |
|
361 |
%description |
362 |
This package adds necessary e-smith template fragments to enable |
363 |
php specific configuration items. |
364 |
|
365 |
%prep |
366 |
%setup |
367 |
%patch0 -p1 |
368 |
%patch1 -p1 |
369 |
|
370 |
%build |
371 |
perl createlinks |
372 |
|
373 |
%install |
374 |
rm -rf $RPM_BUILD_ROOT |
375 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
376 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
377 |
> %{name}-%{version}-%{release}-filelist |
378 |
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
379 |
|
380 |
%clean |
381 |
rm -rf $RPM_BUILD_ROOT |
382 |
|
383 |
%files -f %{name}-%{version}-%{release}-filelist |
384 |
%defattr(-,root,root) |