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