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