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