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