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