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