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