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