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