1 |
# $Id: smeserver-ezmlm-web.spec,v 1.1 2013/02/26 03:11:48 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 12 |
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
26 |
BuildArchitectures: noarch |
27 |
Requires: ezmlm-idx-std |
28 |
Requires: e-smith-release >= 7.0 |
29 |
Requires: e-smith-email >= 4.4.0 |
30 |
Requires: ezmlm-web |
31 |
Requires: perl(Mail::Ezmlm) >= 0.07 |
32 |
Obsoletes: e-smith-ezmlm-web |
33 |
Provides: e-smith-ezmlm-web |
34 |
BuildRequires: e-smith-devtools |
35 |
Conflicts: e-smith-ezmlm-idx |
36 |
AutoReqProv: no |
37 |
|
38 |
%changelog |
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 |
mkdir -p root/etc/e-smith/web/common |
219 |
cp -f $RPM_SOURCE_DIR/unknown.gif root/etc/e-smith/web/common |
220 |
%patch1 -p1 |
221 |
%patch2 -p1 |
222 |
%patch3 -p1 |
223 |
%patch4 -p1 |
224 |
%patch5 -p1 |
225 |
%patch6 -p1 |
226 |
%patch7 -p1 |
227 |
%patch8 -p1 |
228 |
|
229 |
%build |
230 |
mkdir -p root/etc/e-smith/web/panels/manager/cgi-bin |
231 |
|
232 |
mkdir -p root/etc/e-smith/web/panels/manager/common |
233 |
ln -s /home/httpd/html/ezmlm-web/index.cgi root/etc/e-smith/web/panels/manager/common/ezmlm-web |
234 |
perl createlinks |
235 |
|
236 |
%install |
237 |
rm -rf $RPM_BUILD_ROOT |
238 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
239 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
240 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
241 |
|
242 |
%clean |
243 |
rm -rf $RPM_BUILD_ROOT |
244 |
|
245 |
%pre |
246 |
%preun |
247 |
%post |
248 |
%postun |
249 |
|
250 |
%files -f %{name}-%{version}-filelist |
251 |
%defattr(-,root,root) |