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