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