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