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