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