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