1 |
stephdl |
1.22 |
# $Id: e-smith-ibays.spec,v 1.21 2014/02/24 16:08:41 wellsi Exp $ |
2 |
slords |
1.9 |
|
3 |
slords |
1.1 |
Summary: e-smith server and gateway - ibays module |
4 |
|
|
%define name e-smith-ibays |
5 |
|
|
Name: %{name} |
6 |
slords |
1.9 |
%define version 2.2.0 |
7 |
stephdl |
1.22 |
%define release 15 |
8 |
slords |
1.1 |
Version: %{version} |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: GPL |
11 |
|
|
Group: Networking/Daemons |
12 |
|
|
Source: %{name}-%{version}.tar.gz |
13 |
slords |
1.10 |
Patch1: e-smith-ibays-2.2.0-maxLength.patch |
14 |
slords |
1.11 |
Patch2: e-smith-ibays-2.2.0-enable-cpu.patch |
15 |
slords |
1.12 |
Patch3: e-smith-ibays-2.2.0-better-ldap.patch |
16 |
vip-ire |
1.18 |
Patch4: e-smith-ibays-2.2.0-dont_modify_primary.patch |
17 |
snetram |
1.19 |
Patch5: e-smith-ibays-2.2.0-revert-locale-string-password-change.patch |
18 |
burnat |
1.20 |
Patch6: e-smith-ibays-2.2.0-force-https.patch |
19 |
|
|
Patch7: e-smith-ibays-2.2.0-https-patch-en-us.patch |
20 |
stephdl |
1.22 |
Patch8: e-smith-ibays-2.2.0_force_ssl_to_domains.patch |
21 |
slords |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
|
|
BuildArchitectures: noarch |
23 |
|
|
Requires: e-smith-base >= 4.13.15-76 |
24 |
|
|
Requires: perl(CGI::FormMagick) |
25 |
snetram |
1.5 |
Requires: e-smith-formmagick >= 1.4.0-12 |
26 |
slords |
1.1 |
Conflicts: e-smith-apache < 0.1.1 |
27 |
|
|
BuildRequires: perl, perl(Test::Inline) |
28 |
|
|
BuildRequires: e-smith-devtools >= 1.11.0-03 |
29 |
|
|
AutoReqProv: no |
30 |
|
|
|
31 |
|
|
|
32 |
|
|
%description |
33 |
|
|
e-smith server and gateway software - ibays module. |
34 |
|
|
|
35 |
|
|
%changelog |
36 |
stephdl |
1.22 |
* Thu Apr 24 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 2.2.0-15.sme |
37 |
|
|
- Force SSL following ibays settings to the relevant domain [SME: 8331] |
38 |
|
|
|
39 |
wellsi |
1.21 |
* Mon Feb 24 2014 Ian Wells <esmith@wellsi.com> 2.2.0-14.sme |
40 |
|
|
- Force https per ibay should not be the default for existing ibays [SME: 8158] |
41 |
|
|
|
42 |
burnat |
1.20 |
* Sun Jan 2 2014 Chris Burnat <devlist@burnat.com> 2.2.0-13.sme |
43 |
|
|
- Update en-us translation file by Stephane de Labrusse [SME: 8158] |
44 |
|
|
|
45 |
|
|
* Sun Jan 2 2014 Chris Burnat <devlist@burnat.com> 2.2.0-12.sme |
46 |
|
|
- Provide the ability to force https per ibay by Stephane de Labrusse [SME: 8158] |
47 |
|
|
|
48 |
snetram |
1.19 |
* Fri Dec 23 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-11.sme |
49 |
|
|
- Fix non-translated locale in ibays panel [SME: 6718] |
50 |
|
|
|
51 |
vip-ire |
1.18 |
* Thu Oct 27 2011 Daniel B. <daniel@firewall-services.com> 2.2.0-10.sme |
52 |
|
|
- Don't try to modify Primary unix/ldap account [SME:6770] |
53 |
|
|
|
54 |
slords |
1.17 |
* Thu Nov 4 2010 Shad L. Lords <slords@mail.com> 2.2.0-9.sme |
55 |
|
|
- All ibay account commands as system accounts in LDAP [SME: 6326] |
56 |
|
|
|
57 |
vip-ire |
1.16 |
* Thu Nov 4 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-8.sme |
58 |
|
|
- Create ibay accounts as system accounts in LDAP [SME: 6326] |
59 |
|
|
|
60 |
slords |
1.15 |
* Thu Nov 4 2010 Shad L. Lords <slords@mail.com> 2.2.0-7.sme |
61 |
|
|
- Fix cpu critical patch missing ) [SME: 6330] |
62 |
|
|
|
63 |
slords |
1.14 |
* Wed Nov 3 2010 Shad L. Lords <slords@mail.com> 2.2.0-6.sme |
64 |
|
|
- Fix cpu critical patch missing ' [SME: 6330] |
65 |
|
|
|
66 |
slords |
1.13 |
* Wed Nov 3 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
67 |
|
|
- Make cpu calls critical only with ldap{Auth} is enabled [SME: 6330] |
68 |
|
|
|
69 |
slords |
1.12 |
* Tue Nov 2 2010 Shad L. Lords <slords@mail.com> 2.2.0-4.sme |
70 |
|
|
- Always use cpu, do unix if ldap{Auth} is disabled [SME: 6326] |
71 |
|
|
|
72 |
slords |
1.11 |
* Mon Nov 1 2010 Shad L. Lords <slords@mail.com> 2.2.0-3.sme |
73 |
|
|
- Switch to cpu commands if ldap is master [SME: 6326] |
74 |
|
|
|
75 |
slords |
1.10 |
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 2.2.0-2.sme |
76 |
|
|
- Fix maxIbayNameLength logic [SME: 4457] |
77 |
|
|
|
78 |
slords |
1.9 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
79 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
80 |
|
|
|
81 |
snetram |
1.8 |
* Sun Jul 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-12 |
82 |
|
|
- Fix password verify entry text box description [SME: 4460] |
83 |
|
|
|
84 |
slords |
1.7 |
* Thu Jul 24 2008 Shad L. Lords <slords@mail.com> 1.2.0-11 |
85 |
|
|
- Really fix faulty patch for maxIbayNameLength [SME: 4457] |
86 |
|
|
|
87 |
snetram |
1.6 |
* Fri May 9 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-10 |
88 |
|
|
- Fixed faulty patch for maxIbayNameLength [SME: 424] |
89 |
|
|
|
90 |
snetram |
1.4 |
* Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-9 |
91 |
snetram |
1.5 |
- Add common <base> tags to e-smith-formmagick's general [SME: 4283] |
92 |
snetram |
1.4 |
|
93 |
|
|
* Fri Apr 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-8 |
94 |
|
|
- Move maxIbayNameLength from ibays.pm to config DB [SME: 424] |
95 |
|
|
|
96 |
bytegw |
1.3 |
* Mon Apr 7 2008 Charlie Brady <charlie_brady@mitel.com> 1.2.0-7 |
97 |
|
|
- Include index.shtml in DirectoryIndex list.[SME: 4180] |
98 |
|
|
|
99 |
bytegw |
1.2 |
* Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.2.0-6 |
100 |
|
|
- Remove <base> tags now in general [SME: 3924] |
101 |
|
|
|
102 |
slords |
1.1 |
* Thu Aug 30 2007 Charlie Brady <charlie_brady@mitel.com> |
103 |
|
|
- Fix warnings generated by panel. [SME: 1309] |
104 |
|
|
|
105 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
106 |
|
|
- Clean up spec so package can be built by koji/plague |
107 |
|
|
|
108 |
|
|
* Fri Dec 08 2006 Shad L. Lords <slords@mail.com> 1.2.0-4 |
109 |
|
|
- Make non-dynamic indexes not look for dynamic content. [SME: 1908] |
110 |
|
|
|
111 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
112 |
|
|
- Update to new release naming. No functional changes. |
113 |
|
|
- Make Packager generic |
114 |
|
|
|
115 |
|
|
* Wed Apr 5 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-02 |
116 |
|
|
- Fix typo in ibays http.conf template [SME: 1173] |
117 |
|
|
|
118 |
|
|
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-01 |
119 |
|
|
- Roll stable stream version. [SME: 1016] |
120 |
|
|
|
121 |
|
|
* Thu Feb 23 2006 Charlie Brady <charlie_brady@mitel.com> 1.1.3-06 |
122 |
|
|
- Fix php register_globals directive. [SME: 820] |
123 |
|
|
|
124 |
|
|
* Thu Jan 19 2006 Charlie Brady <charlieb@e-smith.com> 1.1.3-05 |
125 |
|
|
- Remove bogus IbayPlugin symlink. [SME: 519] |
126 |
|
|
|
127 |
|
|
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.3-04 |
128 |
|
|
- Bump release number only |
129 |
|
|
|
130 |
|
|
* Sun Oct 16 2005 Gordon Rowell <gordonr@e-smith.com> |
131 |
|
|
- [1.1.3-03] |
132 |
|
|
- Allow per-ibay override for PHP register_globals setting. To enable: |
133 |
|
|
/sbin/e-smith/db accounts setprop <ibay> PHPRegisterGlobals enabled |
134 |
|
|
Thanks John Bennett [SF: 1328236] |
135 |
|
|
|
136 |
|
|
* Fri Oct 14 2005 Charlie Brady <charlieb@e-smith.com> |
137 |
|
|
- [1.1.3-02] |
138 |
|
|
- Fix missing 'use esmith::util' in ibay-modify action. |
139 |
|
|
[SF: 1327138] |
140 |
|
|
|
141 |
|
|
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
142 |
|
|
- [1.1.3-01] |
143 |
|
|
- Remove L10Ns from base packages [SF: 1309520] |
144 |
|
|
|
145 |
|
|
* Fri Oct 14 2005 Gordon Rowell <gordonr@e-smith.com> |
146 |
|
|
- [1.1.2-01] |
147 |
|
|
- New dev stream before relocating L10Ns |
148 |
|
|
|
149 |
|
|
* Thu Oct 6 2005 Charlie Brady <charlieb@e-smith.com> |
150 |
|
|
- [1.1.1-18] |
151 |
|
|
- Strip out plugin stuff, for now at least. [SF: 1304496] |
152 |
|
|
|
153 |
|
|
* Fri Sep 30 2005 Gordon Rowell <gordonr@e-smith.com> |
154 |
|
|
- [1.1.1-17] |
155 |
|
|
- Added Italian L10N - Thanks Filippo Carletti [SF: 1309266] |
156 |
|
|
|
157 |
|
|
* Mon Sep 26 2005 Gordon Rowell <gordonr@e-smith.com> |
158 |
|
|
- [1.1.1-16] |
159 |
|
|
- Added German L10N - Thanks Dietmar Berteld [SF: 1293325] |
160 |
|
|
|
161 |
|
|
* Wed Sep 14 2005 Tony Clayton <apc@e-smith.com> |
162 |
|
|
- [1.1.1-15] |
163 |
|
|
- Don't version 'none' plugin [SF: 1292084] |
164 |
|
|
|
165 |
|
|
* Mon Sep 5 2005 Tony Clayton <apc@e-smith.com> |
166 |
|
|
- [1.1.1-14] |
167 |
|
|
- Add dependency on e-smith-formmagick >= 1.3.0-10 |
168 |
|
|
- Fix default plugin display [SF: 1271745,1263740] |
169 |
|
|
- Clean up, add POD to IbayPlugin modules [SF: 1263740] |
170 |
|
|
- Support versioning of plugins, do version checks in ibay panel |
171 |
|
|
|
172 |
|
|
* Wed Aug 24 2005 Charlie Brady <charlieb@e-smith.com> |
173 |
|
|
- [1.1.1-13] |
174 |
|
|
- Default plugin to none in esFM::ibay::create_ibay(). [SF: 1267897] |
175 |
|
|
|
176 |
|
|
* Mon Aug 22 2005 Charlie Brady <charlieb@e-smith.com> |
177 |
|
|
- [1.1.1-12] |
178 |
|
|
- Fix missing "use esmith::util" in ibay plugin lib. [SF: 1265684] |
179 |
|
|
- Don't display ibay Plugin choice if "none" is the only choice. [SF: 1263740] |
180 |
|
|
|
181 |
|
|
* Fri Aug 19 2005 Gordon Rowell <gordonr@gormand.com.au> |
182 |
|
|
- [1.1.1-11] |
183 |
|
|
- Need to check $ibay->prop('type') not $ibay->type [SF: 1260237] |
184 |
|
|
|
185 |
|
|
* Tue Aug 9 2005 Shad Lords <slords@mail.com> |
186 |
|
|
- [1.1.1-10] |
187 |
|
|
- Remove 90e-smithAccess10common (belongs in e-smith-apache) |
188 |
|
|
- Move some ibay options to database |
189 |
|
|
|
190 |
|
|
* Thu Aug 4 2005 Gordon Rowell <gordonr@gormand.com.au> |
191 |
|
|
- [1.1.1-09] |
192 |
|
|
- Syntactic fix to perl code from 1.1.1-08 change |
193 |
|
|
|
194 |
|
|
* Thu Jul 28 2005 Charlie Brady <charlieb@e-smith.com> |
195 |
|
|
- [1.1.1-08] |
196 |
|
|
- Update all uses of deprecated esmith::config and db_ APIs. |
197 |
|
|
- Rewrite ibay-delete action in shell. |
198 |
|
|
|
199 |
|
|
* Wed Jan 19 2005 Charlie Brady <charlieb@e-smith.com> |
200 |
|
|
- [1.1.1-07] |
201 |
|
|
- Fix untaint RE. [charlieb MN00050161] |
202 |
|
|
- Fix "will not stay shared" warnings in IbayPlugin/none.pm |
203 |
|
|
|
204 |
|
|
* Thu Nov 11 2004 Charlie Brady <charlieb@e-smith.com> |
205 |
|
|
- [1.1.1-06] |
206 |
|
|
- Untaint name before using in system(). [charlieb MN00050161] |
207 |
|
|
|
208 |
|
|
* Fri Sep 3 2004 Charlie Brady <charlieb@e-smith.com> |
209 |
|
|
- [1.1.1-05] |
210 |
|
|
- Updated requires with new perl dependencies. [msoulier MN00040240] |
211 |
|
|
- Clean BuildRequires. [charlieb MN00043055] |
212 |
|
|
|
213 |
|
|
* Fri Feb 6 2004 Michael Soulier <msoulier@e-smith.com> |
214 |
|
|
- [1.1.1-04] |
215 |
|
|
- Fixed two issues with previous change. [msoulier 7475] |
216 |
|
|
|
217 |
|
|
* Fri Feb 6 2004 Michael Soulier <msoulier@e-smith.com> |
218 |
|
|
- [1.1.1-03] |
219 |
|
|
- Updating default repair method to set CGIs as executable if enabled. |
220 |
|
|
[msoulier 7475] |
221 |
|
|
|
222 |
|
|
* Wed Nov 19 2003 Tony Clayton <apc@e-smith.com> |
223 |
|
|
- [1.1.1-02] |
224 |
|
|
- Fix processTemplate call in IbayPlugin::none [tonyc 9924] |
225 |
|
|
- Merge ibay-conf-plugin into ibay-modify action [tonyc 9924] |
226 |
|
|
|
227 |
|
|
* Wed Nov 19 2003 Michael Soulier <msoulier@e-smith.com> |
228 |
|
|
- [1.1.1-01] |
229 |
|
|
- Collecting patches. |
230 |
|
|
|
231 |
|
|
* Wed Nov 19 2003 Michael Soulier <msoulier@e-smith.com> |
232 |
|
|
- [1.1.0-02] |
233 |
|
|
- Adding 6.0 styling to ibay panel. [msoulier 10415] |
234 |
|
|
- Converted createlinks to new api. |
235 |
|
|
- Add IbayPlugin stuff [tonyc 9924] |
236 |
|
|
- Add dependency on perl-CGI-FormMagick >= 0.91-04 [tonyc 9924] |
237 |
|
|
|
238 |
|
|
* Fri Sep 5 2003 Tony Clayton <apc@e-smith.com> |
239 |
|
|
- [1.1.0-01] |
240 |
|
|
- Changing version to development stream number - 1.1.0 |
241 |
|
|
- Rolling to development stream [tonyc 9924] |
242 |
|
|
|
243 |
|
|
* Wed Aug 13 2003 Michael Soulier <msoulier@e-smith.com> |
244 |
|
|
- [1.0.3-05] |
245 |
|
|
- Fixed the content ibay showing up in the ibay list of the primary domain's |
246 |
|
|
virtual host block. [msoulier 9649] |
247 |
|
|
|
248 |
|
|
* Wed Aug 13 2003 Michael Soulier <msoulier@e-smith.com> |
249 |
|
|
- [1.0.3-04] |
250 |
|
|
- Correcting the previous revision, and limiting ibay access as sub-urls to |
251 |
|
|
the primary domain only. [msoulier 9649] |
252 |
|
|
|
253 |
|
|
* Wed Aug 6 2003 Michael Soulier <msoulier@e-smith.com> |
254 |
|
|
- [1.0.3-03] |
255 |
|
|
- Unify ibay handling, since 15PrimaryContent is now obsolete, and changing |
256 |
|
|
the primary domain's content was breaking access to ibays. [msoulier 9649] |
257 |
|
|
|
258 |
|
|
* Wed Jul 2 2003 Charlie Brady <charlieb@e-smith.com> |
259 |
|
|
- [1.0.3-02] |
260 |
|
|
- Fix path of created starter website index file (don't rely on symlink |
261 |
|
|
which "should" point to correct place). [charlieb 9241] |
262 |
|
|
|
263 |
|
|
* Thu Jun 12 2003 Gordon Rowell <gordonr@e-smith.com> |
264 |
|
|
- [1.0.3-01] |
265 |
|
|
- Added order to migrate fragments [gordonr 9015] |
266 |
|
|
|
267 |
|
|
* Wed Jun 11 2003 Gordon Rowell <gordonr@e-smith.com> |
268 |
|
|
- [1.0.2-04] |
269 |
|
|
- Fixed Conflicts header - should be <, not <= [gordonr 8903] |
270 |
|
|
|
271 |
|
|
* Wed Jun 11 2003 Gordon Rowell <gordonr@e-smith.com> |
272 |
|
|
- [1.0.2-03] |
273 |
|
|
- Missing 'use esmith::util' [gordonr 8973] |
274 |
|
|
|
275 |
|
|
* Tue Jun 10 2003 Charlie Brady <charlieb@e-smith.com> |
276 |
|
|
- [1.0.2-02] |
277 |
|
|
- Fix broken symlinks in post-{install,upgrade}. [charlieb 8973] |
278 |
|
|
|
279 |
|
|
* Fri Jun 6 2003 Gordon Rowell <gordonr@e-smith.com> |
280 |
|
|
- [1.0.2-01] |
281 |
|
|
- Shuffled some httpd.conf fragments from e-smith-apache [gordonr 8903] |
282 |
|
|
|
283 |
|
|
* Tue May 27 2003 Charlie Brady <charlieb@e-smith.com> |
284 |
|
|
- [1.0.1-01] |
285 |
|
|
- Fix typo in createlinks script. Rolling version of package |
286 |
|
|
to correct build problem. [charlieb 8841] |
287 |
|
|
|
288 |
|
|
* Tue May 27 2003 Charlie Brady <charlieb@e-smith.com> |
289 |
|
|
- [1.0.0-02] |
290 |
|
|
- Add some code from init-accounts action which depends on |
291 |
|
|
/home/e-smith/files/ibays directory, which isn't included |
292 |
|
|
in base. New action is init-ibays. [charlieb 8841] |
293 |
|
|
|
294 |
|
|
* Thu May 8 2003 Mark Knox <markk@e-smith.com> |
295 |
|
|
- [1.0.0-01] |
296 |
|
|
- Initial release. Split out from e-smith-base. [markk 8610] |
297 |
|
|
|
298 |
|
|
%prep |
299 |
|
|
%setup |
300 |
slords |
1.10 |
%patch1 -p1 |
301 |
slords |
1.11 |
%patch2 -p1 |
302 |
slords |
1.12 |
%patch3 -p1 |
303 |
vip-ire |
1.18 |
%patch4 -p1 |
304 |
snetram |
1.19 |
%patch5 -p1 |
305 |
burnat |
1.20 |
%patch6 -p1 |
306 |
|
|
%patch7 -p1 |
307 |
stephdl |
1.22 |
%patch8 -p1 |
308 |
slords |
1.1 |
|
309 |
|
|
%pre |
310 |
|
|
%post |
311 |
|
|
|
312 |
|
|
%build |
313 |
|
|
# Force creation of potentially empty directories |
314 |
|
|
mkdir -p root/etc/e-smith/skel/ibay/{cgi-bin,files,html,.AppleDesktop} |
315 |
|
|
mkdir -p root/etc/e-smith/skel/e-smith/files/ibays |
316 |
|
|
mkdir -p root/etc/e-smith/web/{common,functions} |
317 |
|
|
mkdir -p root/etc/e-smith/web/panels/manager/{cgi-bin,common,html} |
318 |
|
|
mkdir -p root/home/e-smith/files/ibays |
319 |
|
|
|
320 |
|
|
LEXICONS=$(find root/etc/e-smith/web/functions \ |
321 |
|
|
-type f | grep -v CVS | grep -v pleasewait) |
322 |
|
|
|
323 |
|
|
for lexicon in $LEXICONS |
324 |
|
|
do |
325 |
|
|
/sbin/e-smith/validate-lexicon $lexicon |
326 |
|
|
done |
327 |
|
|
|
328 |
|
|
/sbin/e-smith/generate-lexicons |
329 |
|
|
|
330 |
|
|
perl createlinks |
331 |
|
|
|
332 |
|
|
%install |
333 |
|
|
rm -rf $RPM_BUILD_ROOT |
334 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
335 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
336 |
|
|
> %{name}-%{version}-%{release}-filelist |
337 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist |
338 |
|
|
|
339 |
|
|
%clean |
340 |
|
|
rm -rf $RPM_BUILD_ROOT |
341 |
|
|
|
342 |
|
|
%files -f %{name}-%{version}-%{release}-filelist |
343 |
|
|
%defattr(-,root,root) |