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