/[smeserver]/rpms/e-smith-php/sme10/e-smith-php.spec
ViewVC logotype

Contents of /rpms/e-smith-php/sme10/e-smith-php.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (show annotations) (download)
Sun Jun 26 17:20:56 2016 UTC (7 years, 10 months ago) by unnilennium
Branch: MAIN
CVS Tags: e-smith-php-2_6_0-4_el7_sme, HEAD
Changes since 1.5: +9 -2 lines
* Sun Jun 26 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-4.sme
- clean daily session and tmp folders [SME: 9626]
- updated path for ibays' session and tmp folders to /var/cache

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed