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