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