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