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