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