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