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