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