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