1 |
# $Id: smeserver-ezmlm-web.spec,v 1.4 2016/04/19 03:41:01 unnilennium Exp $ |
2 |
# Authority: gordonr |
3 |
# Name: Gordon Rowell |
4 |
|
5 |
Summary: SME Server support for ezmlm-web |
6 |
%define name smeserver-ezmlm-web |
7 |
Name: %{name} |
8 |
%define version 1.1.2 |
9 |
%define release 15 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
Group: Networking/Daemons |
14 |
Source: %{name}-%{version}.tar.gz |
15 |
Source1: unknown.gif |
16 |
Patch0: smeserver-ezmlm-web-1.1.2-accountsdb.patch |
17 |
Patch1: smeserver-ezmlm-web-1.1.2-api.patch |
18 |
Patch2: smeserver-ezmlm-web-1.1.2-api.patch2 |
19 |
Patch3: smeserver-ezmlm-web-1.1.2-make.patch |
20 |
Patch4: smeserver-ezmlm-web-1.1.2-api.patch3 |
21 |
Patch5: smeserver-ezmlm-web-1.1.2-templatesevents.patch |
22 |
Patch6: smeserver-ezmlm-web-1.1.2-httpd.patch |
23 |
Patch7: smeserver-ezmlm-web-1.1.2-banner.patch |
24 |
Patch8: smeserver-ezmlm-web-1.1.2-delete.patch |
25 |
Patch9: smeserver-ezmlm-web-1.1.2-ezmlmweb331.patch |
26 |
Patch10: smeserver-ezmlm-web-1.1.2-configurable.patch |
27 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
28 |
BuildArchitectures: noarch |
29 |
Requires: ezmlm-idx >= 7 |
30 |
Requires: e-smith-release >= 8.0 |
31 |
Requires: e-smith-email >= 4.4.0 |
32 |
Requires: ezmlm-web >= 3.3.1 |
33 |
Requires: perl(Mail::Ezmlm) >= 0.07 |
34 |
Obsoletes: e-smith-ezmlm-web |
35 |
Provides: e-smith-ezmlm-web |
36 |
BuildRequires: e-smith-devtools |
37 |
Conflicts: e-smith-ezmlm-idx |
38 |
AutoReqProv: no |
39 |
|
40 |
%changelog |
41 |
* Wed Apr 20 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.2-15.sme |
42 |
- add configuration options and |
43 |
- update tempalte to fit ezmlm-web 3.3.1 [SME: 9470] |
44 |
|
45 |
* Mon Apr 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.1.2-14.sme |
46 |
- adapt templates and manager to ezmlm-web 3.3.1 [SME: 7588] |
47 |
|
48 |
* Tue Dec 10 2013 JP Pialasse <tests@pialasse.com> 1.1.2-12 |
49 |
- fix deletion bug [SME: 3599] |
50 |
|
51 |
* Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-11 |
52 |
- Move ezmlm-web fragment to admin web server |
53 |
|
54 |
* Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-10 |
55 |
- Bump e-smith-release requirement to 7.0 since we are now using the |
56 |
templates2expand and services2adjust |
57 |
|
58 |
* Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-09 |
59 |
- Fix up banner to say SME Server |
60 |
- TODO: Fix background colour bar |
61 |
|
62 |
* Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-08 |
63 |
- Fix up panel so link to ezmlm-web works |
64 |
- Add httpd.conf template for ezmlm-web |
65 |
- Reserve ezmlm-web url |
66 |
|
67 |
* Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-07 |
68 |
- Fix up event links, expand goodrcptto |
69 |
- TODO: Fix up list deletion |
70 |
- TODO: Store lists in accounts db as FQDN and migrate old ones |
71 |
|
72 |
* Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-06 |
73 |
- Add a dependency on Mail::Ezmlm |
74 |
|
75 |
* Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-05 |
76 |
- The newer Mail::Ezmlm breaks when passing the -5 parameter to |
77 |
set the owner. Do it as a separate step after list creation. |
78 |
- Fix up to API update |
79 |
- TODO: Need to expand goodrcptto in list create/delete |
80 |
|
81 |
* Fri Feb 17 2006 Charlie Brady <charlie_brady@mitel.com> 1.1.2-04 |
82 |
- Fix new_record call in previous change. |
83 |
|
84 |
* Fri Feb 17 2006 Charlie Brady <charlie_brady@mitel.com> 1.1.2-03 |
85 |
- Rewrite templates and actions to new API and templates2events |
86 |
|
87 |
* Tue Oct 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-02 |
88 |
- Fix up references to accounts db |
89 |
- TODO: Rewrite templates and actions to new API and templates2events |
90 |
|
91 |
* Tue Oct 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-01 |
92 |
- Package renamed to smeserver-ezmlm-web, including patches to 1.1.1-05 |
93 |
- TODO: Fix up accounts db references |
94 |
- TODO: Store mailing lists with FQDN of list |
95 |
|
96 |
* Fri Oct 4 2002 Gordon Rowell <gordonr@e-smith.com> |
97 |
- [1.1.1-05] |
98 |
- post-upgrade/init-accounts does chown root:root /home/e-smith/files/* |
99 |
and ezmlm needs to be able to write to its home directory |
100 |
The permissions should be in the e-smith-base RPM spec file. Added |
101 |
a workaround in ezmlm-update to ensure we have the right permissions |
102 |
until e-smith-base is updated. |
103 |
|
104 |
* Mon Dec 31 2001 Mark Knox <markk@e-smith.com> |
105 |
- [1.1.1-04] |
106 |
- Incorporated cosmetic changes from Daniel van Raay |
107 |
|
108 |
* Wed Oct 24 2001 Gordon Rowell <gordonr@e-smith.com> |
109 |
- [1.1.1-03] |
110 |
- Added support for list owner to ezmlm-update |
111 |
- Removed now redundant listOptions |
112 |
- Adjusted Copyright notices |
113 |
|
114 |
* Wed Oct 24 2001 Gordon Rowell <gordonr@e-smith.com> |
115 |
- [1.1.1-02] |
116 |
- Added link for ezmlm-web CGI script |
117 |
- Added action to expand /etc/ezmlm/ezmlmwebrc on email-update |
118 |
|
119 |
* Wed Oct 24 2001 Gordon Rowell <gordonr@e-smith.com> |
120 |
- [1.1.1-01] |
121 |
- Rolled version number to 1.1.1-01. Includes patches upto 1.1.0-02. |
122 |
- Renamed to e-smith-ezmlm-web, and added Conflicts: e-smith-ezmlm-idx |
123 |
|
124 |
* Wed Oct 24 2001 Gordon Rowell <gordonr@e-smith.com> |
125 |
- [1.1.0-02] |
126 |
- Major rewrite, using ezmlm-web |
127 |
|
128 |
* Wed Oct 24 2001 Gordon Rowell <gordonr@e-smith.com> |
129 |
- [1.1.0-01] |
130 |
- Rolled version number to 1.1.0-01. Includes patches upto 0.1.3-19. |
131 |
|
132 |
* Fri Oct 19 2001 Gordon Rowell <gordonr@e-smith.com> |
133 |
- [0.1.3-19] |
134 |
- The new "Description" field was not modified during performListModify |
135 |
|
136 |
* Thu Oct 18 2001 Gordon Rowell <gordonr@e-smith.com> |
137 |
- [0.1.3-18] |
138 |
- Put back Charlie's comments describing the options |
139 |
|
140 |
* Thu Oct 18 2001 Daniel van Raay <danielvr@caa.org.au> |
141 |
- [0.1.3-17] |
142 |
- Added description field for each list |
143 |
- Added support for adding and removing subscribers |
144 |
- Moving moderator list to a textbox |
145 |
- Fixed bug when removing a lists .qmail files |
146 |
|
147 |
* Mon Sep 03 2001 Gordon Rowell <gordonr@e-smith.com> |
148 |
- [0.1.3-16] |
149 |
- Actually create a list of existingDomains for the "Create List" domain |
150 |
pull-down |
151 |
|
152 |
* Thu Aug 30 2001 Gordon Rowell <gordonr@e-smith.com> |
153 |
- [0.1.3-15] |
154 |
- Fixed up typo in call to ezmlm-make |
155 |
|
156 |
* Thu Aug 30 2001 Gordon Rowell <gordonr@e-smith.com> |
157 |
- [0.1.3-14] |
158 |
- You can now add and remove moderators |
159 |
- Added some text to explain the options until they become menus |
160 |
|
161 |
* Sat Aug 25 2001 Gordon Rowell <gordonr@e-smith.com> |
162 |
- [0.1.3-13] |
163 |
- Added initial moderator support |
164 |
- You can add moderators, but not remove them, yet :-) |
165 |
|
166 |
* Sat May 26 2001 Gordon Rowell <gordonr@e-smith.com> |
167 |
- [0.1.3-12] |
168 |
- Allow hyphens in list names |
169 |
|
170 |
* Wed Apr 25 2001 Gordon Rowell <gordonr@e-smith.com> |
171 |
- [0.1.3-11] |
172 |
- Added domain to users/assign entries |
173 |
|
174 |
* Mon Apr 23 2001 Gordon Rowell <gordonr@e-smith.com> |
175 |
- [0.1.3-09] |
176 |
- Made use of /var/qmail/users/assign. |
177 |
- Removed ezmlmdomain type - just use DomainName and %domains |
178 |
|
179 |
* Tue Mar 06 2001 Gordon Rowell <gordonr@e-smith.com> |
180 |
- [0.1.3-08] |
181 |
- Use upper-case directory name to ease transition from manual installs |
182 |
|
183 |
* Tue Mar 06 2001 Gordon Rowell <gordonr@e-smith.com> |
184 |
- [0.1.3-07] |
185 |
- Comment to smtpd_check_rules, typo in virtualdomains |
186 |
|
187 |
* Tue Mar 06 2001 Gordon Rowell <gordonr@e-smith.com> |
188 |
- [0.1.3-06] |
189 |
- Added ezmlmdomain type to domains db and reworked fragments to use this |
190 |
|
191 |
* Tue Mar 06 2001 Gordon Rowell <gordonr@e-smith.com> |
192 |
- [0.1.3-05] |
193 |
- Allow hypens in domain names |
194 |
- Fix output permissions for virtualdomains file |
195 |
|
196 |
* Mon Mar 05 2001 Gordon Rowell <gordonr@e-smith.com> |
197 |
- [0.1.3-04] |
198 |
- Fixed uid swap code |
199 |
- Moved most system() calls to list form |
200 |
|
201 |
* Mon Mar 05 2001 Gordon Rowell <gordonr@e-smith.com> |
202 |
- [0.1.3-03] |
203 |
- And create home directory too :-) |
204 |
|
205 |
* Mon Mar 05 2001 Gordon Rowell <gordonr@e-smith.com> |
206 |
- [0.1.3-02] |
207 |
- Create ezmlm user if it doesn't already exist |
208 |
|
209 |
* Mon Mar 05 2001 Gordon Rowell <gordonr@e-smith.com> |
210 |
- [0.1.3-01] |
211 |
- Added web panel, changed links, rebuilt tarball to remove filelist |
212 |
|
213 |
* Mon Mar 05 2001 Gordon Rowell <gordonr@e-smith.com> |
214 |
- [0.1.2-01] |
215 |
- Fixed event links in tarball |
216 |
|
217 |
* Mon Mar 05 2001 Gordon Rowell <gordonr@e-smith.com> |
218 |
- [0.1.1-01] |
219 |
- Initial version |
220 |
|
221 |
%description |
222 |
Configuration and initialisation of ezmlm-web from e-smith |
223 |
|
224 |
%prep |
225 |
%setup |
226 |
%patch0 -p1 |
227 |
mkdir -p root/etc/e-smith/web/common |
228 |
cp -f $RPM_SOURCE_DIR/unknown.gif root/etc/e-smith/web/common |
229 |
%patch1 -p1 |
230 |
%patch2 -p1 |
231 |
%patch3 -p1 |
232 |
%patch4 -p1 |
233 |
%patch5 -p1 |
234 |
%patch6 -p1 |
235 |
%patch7 -p1 |
236 |
%patch8 -p1 |
237 |
%patch9 -p1 |
238 |
%patch10 -p1 |
239 |
|
240 |
%build |
241 |
mkdir -p root/etc/e-smith/web/panels/manager/cgi-bin |
242 |
|
243 |
mkdir -p root/etc/e-smith/web/panels/manager/common |
244 |
ln -s /home/httpd/html/ezmlm-web/index.cgi root/etc/e-smith/web/panels/manager/common/ezmlm-web |
245 |
perl createlinks |
246 |
|
247 |
%install |
248 |
rm -rf $RPM_BUILD_ROOT |
249 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
250 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
251 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
252 |
|
253 |
%clean |
254 |
rm -rf $RPM_BUILD_ROOT |
255 |
|
256 |
%pre |
257 |
%preun |
258 |
%post |
259 |
%postun |
260 |
|
261 |
%files -f %{name}-%{version}-filelist |
262 |
%defattr(-,root,root) |