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