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