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