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