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