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