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