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