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