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

Annotation 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.5 - (hide annotations) (download)
Thu Jun 23 04:50:32 2016 UTC (8 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: e-smith-php-2_6_0-3_el7_sme
Changes since 1.4: +4 -1 lines
* Thu Jun 23 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
- add tmp folder to ibays [SME: 7011]
- add session folder to ibays [SME: 9620]
- change global session folder from /tmp to /var/lib/php/session/ [SME: 139]

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

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