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