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