/[smecontribs]/rpms/smeserver-mailman/contribs7/smeserver-mailman.spec
ViewVC logotype

Contents of /rpms/smeserver-mailman/contribs7/smeserver-mailman.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.25 - (show annotations) (download)
Tue Oct 27 17:43:52 2009 UTC (15 years ago) by slords
Branch: MAIN
Changes since 1.24: +7 -2 lines
Translation updates

1 # $Id: smeserver-mailman.spec,v 1.24 2009/08/24 17:58:13 slords Exp $
2 # Authority: gordonr
3 # Name: Gordon Rowell
4
5 Summary: Mailman configuration for SME server.
6 %define name smeserver-mailman
7 Name: %{name}
8 %define version 1.3.0
9 %define release 33
10 Version: %{version}
11 Release: %{release}%{?dist}
12 License: GPL
13 Group: Applications/Internet
14 Source: %{name}-%{version}.tar.gz
15 Patch0: smeserver-mailman-1.3.0-relocate.patch
16 Patch1: smeserver-mailman-1.3.0-relocate.patch2
17 Patch2: smeserver-mailman-1.3.0-mailmanmail.patch
18 Patch3: smeserver-mailman-1.3.0-smelist.patch
19 Patch4: smeserver-mailman-1.3.0-createlinks.patch2
20 Patch5: smeserver-mailman-1.3.0-postinstall.patch
21 Patch6: smeserver-mailman-1.3.0-postinstall.patch2
22 Patch7: smeserver-mailman-1.3.0-firsttime.patch
23 Patch8: smeserver-mailman-1.3.0-actionorder.patch
24 Patch9: smeserver-mailman-1.3.0-alias2mailman.patch
25 Patch10: smeserver-mailman-1.3.0-smelist.patch2
26 Patch11: smeserver-mailman-1.3.0-locale-2008-04-22.patch
27 Patch12: smeserver-mailman-1.3.0-archives.patch
28 Patch13: smeserver-mailman-1.3.0-locale-2008-04-23.patch
29 Patch14: smeserver-mailman-1.3.0-locale-2008-04-26.patch
30 Patch15: smeserver-mailman-1.3.0-add2general.patch
31 Patch16: smeserver-mailman-1.3.0-locale-2008-05-05.patch
32 Patch17: smeserver-mailman-1.3.0-locale-2008-05-21.patch
33 Patch18: smeserver-mailman-1.3.0-locale-2008-06-27.patch
34 Patch19: smeserver-mailman-1.3.0-locale-2008-07-01.patch
35 Patch20: smeserver-mailman-1.3.0-locale-2008-10-14.patch
36 Patch21: smeserver-mailman-1.3.0-locale-2008-11-05.patch
37 Patch22: smeserver-mailman-1.3.0-locale-2009-01-31.patch
38 Patch23: smeserver-mailman-1.3.0-locale-2009-03-01.patch
39 Patch24: smeserver-mailman-1.3.0-locale-2009-03-03.patch
40 Patch25: smeserver-mailman-1.3.0-locale-2009-04-27.patch
41 Patch26: smeserver-mailman-1.3.0-locale-2009-05-20.patch
42 Patch27: smeserver-mailman-1.3.0-locale-2009-08-24.patch
43 Patch28: smeserver-mailman-1.3.0-locale-2009-10-27.patch
44 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
45 BuildArchitectures: noarch
46 Requires: e-smith-base
47 Requires: e-smith-release >= 7.0
48 Requires: mailman >= 2.1.5.1-34.rhel4.3sme01
49 Requires: e-smith-formmagick >= 1.4.0-12
50 BuildRequires: e-smith-devtools >= 1.13.1-03
51 Obsoletes: e-smith-mailman
52 Provides: e-smith-mailman
53 AutoReqProv: no
54
55 %description
56 Add Mailman integration to the SME server.
57
58 %changelog
59 * Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 1.3.0-33.sme
60 - apply locale 2009-10-27 patch
61
62 * Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 1.3.0-32.sme
63 - apply locale 2009-08-24 patch
64
65 * Wed May 20 2009 SME Translation Server <translations@contribs.org> 1.3.0-31.sme
66 - apply locale 2009-05-20 patch
67
68 * Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.3.0-30.sme
69 - apply locale 2009-04-27 patch
70
71 * Tue Mar 03 2009 SME Translation Server
72 - apply locale 2009-03-03 patch
73
74 * Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-28
75 - Apply 1 Mar 2009 locale patch [SME: 5018]
76
77 * Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-27
78 - Apply 31 Jan 2009 locale patch [SME: 4951]
79
80 * Wed Nov 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-26
81 - Apply 5 Nov 2008 locale patch
82
83 * Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-25
84 - Apply 14 Oct 2008 locale patch
85
86 * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-24
87 - Apply 1 July 2008 locale patch
88
89 * Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-23
90 - Apply 27 Jun 2008 locale patch
91
92 * Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-22
93 - Apply 21 May 2008 locale patch
94 - Fixed version number in previous changelog entry
95
96 * Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-21
97 - Apply 5 May 2008 locale patch
98
99 * Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-20
100 - Add common <base> tags to e-smith-formmagick's general
101
102 * Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-19
103 - Added 26 April 2008 locale patch
104
105 * Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-18
106 - Added 23 April 2008 locale patch
107 - Fixed changelog
108
109 * Wed Apr 23 2008 Daniel B. <daniel@firewall-services.com> 1.3.0-17
110 - Fix path for the archives [SME: 4252]
111
112 * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-16
113 - Added 22 April 2008 locale patch
114
115 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
116 - Clean up spec so package can be built by koji/plague
117
118 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
119 - Update to new release naming. No functional changes.
120 - Make Packager generic
121
122 * Fri Sep 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-15
123 - Allow hyphen in list names in smelist command [SME: 1307]
124
125 * Fri Sep 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-14
126 - Add /sbin/e-smith/alias2mailman to convert hand-built alias files
127 to mailman lists. Converst ~alias/.qmail-<listname> to the mailman
128 list <listname>
129 - List owner is mailman{DefaultOwner} defaulting to admin
130
131 * Fri Sep 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-13
132 - Fix various permissions to satisfy /usr/lib/mailman/check_perms
133 - Update mailman dependency to latest from CentOS
134
135 * Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-12
136 - Run the addlist/rmlist actions before generic_template_expand [SME: 665]
137
138 * Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-11
139 - Ensure that mailman record exists prior to trying to set the status
140
141 * Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-10
142 - Adjust path in post-install script to match CentOS structure
143
144 * Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-09
145 - Make further use of services2adjust and templates2expand
146
147 * Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-08
148 - Make use of services2adjust and templates2expand
149 - Update dependency as this is for 7.0
150
151 * Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-07
152 - Create qfiles heirarchy
153 - Fix up taint issue in smelist script
154
155 * Thu Jan 5 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-06
156 - TODO: Check permissions on /var/spool/mailman/qfiles. The
157 'in' directory needs to be writable by the mailman CGI script,
158 which is running as www.
159
160 * Thu Jan 5 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-05
161 - Remove postun section which depended on action scripts which
162 no longer exist
163
164 * Fri Dec 23 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-04
165 - Allow mail for mailman user
166 - TODO: We should have configurable allow/deny for system accounts
167
168 * Tue Oct 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-03
169 - No change
170 - TODO: Rewrite templates to new API and move to templates2expand
171 - TODO: Add pre script to relocate /opt/mailman parts for upgrades
172
173 * Tue Oct 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-02
174 - Require patched mailman - SME Server runs httpd as www, not apache
175 - Relocate paths from /opt/mailman to /usr/lib/mailman to match mailman pkg
176 - Changed references to accounts db to new location
177
178 * Tue Oct 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-01
179 - Package renamed to smeserver-mailman, including patches to 1.1.10-05
180 - TODO: Relocate to /usr/lib/mailman
181 - TODO: Change DB references, and rewrite to new API
182
183 * Fri Oct 14 2005 Michael Soulier <msoulier@e-smith.com>
184 - [1.1.10-05]
185 - Fixed error with creation of alias file with dot in the name.
186
187 * Wed Mar 16 2005 Michael Soulier <msoulier@e-smith.com>
188 - [1.1.10-04]
189 - Added FQDN of box as a potential virtual host.
190
191 * Mon Mar 14 2005 Michael Soulier <msoulier@e-smith.com>
192 - [1.1.10-03]
193 - Removed circular event call.
194
195 * Wed Feb 23 2005 Michael Soulier <msoulier@e-smith.com>
196 - [1.1.10-02]
197 - Forgot to set mode on smelist.
198
199 * Wed Feb 16 2005 Michael Soulier <msoulier@e-smith.com>
200 - [1.1.10-01]
201 - Added hooks into domain creation and deletion.
202
203 * Wed Feb 16 2005 Michael Soulier <msoulier@e-smith.com>
204 - [1.1.9-01]
205 - Rolling again to get past build error on sme61build.
206
207 * Wed Feb 16 2005 Michael Soulier <msoulier@e-smith.com>
208 - [1.1.8-01]
209 - Added create-system-user call to make the mailman user.
210 - Added a link to the mailman UI.
211
212 * Tue Feb 15 2005 Michael Soulier <msoulier@e-smith.com>
213 - [1.1.7-01]
214 - Updated mailman-conf to call a post-install script when first run. If this
215 is ever included in a blade, post-install should move to the blade handler.
216
217 * Tue Feb 15 2005 Michael Soulier <msoulier@e-smith.com>
218 - [1.1.6-01]
219 - Fixed badly placed lib.
220 - Added post-install script to move it out of scriptlets.
221
222 * Tue Feb 15 2005 Michael Soulier <msoulier@e-smith.com>
223 - [1.1.5-01]
224 - Added conf and restart actions.
225 - Added a simple panel.
226
227 * Tue Feb 15 2005 Michael Soulier <msoulier@e-smith.com>
228 - [1.1.4-01]
229 - Fixed perms on /opt/mailman, and bad symlink.
230
231 * Sun Feb 13 2005 Michael Soulier <msoulier@e-smith.com>
232 - [1.1.3-01]
233 - Fixed error in createlinks.
234
235 * Sun Feb 13 2005 Michael Soulier <msoulier@e-smith.com>
236 - [1.1.2-01]
237 - Rolling initial build of imported package. [msoulier]
238
239 * Sun Feb 13 2005 Michael Soulier <msoulier@e-smith.com>
240 - [1.1.1-01]
241 - Reimplementation after lost packages. Implementing for mailman 2.1.5.
242 [msoulier]
243
244 * Sun Sep 08 2002 Shad L. Lords <slords@mail.com>
245 - 1.0-5
246 - updated addlist and rmlist to better handle conflicts
247
248 * Sun Sep 01 2002 Shad L. Lords <slords@mail.com>
249 - 1.0-4
250 - updated accounts so that ezmlm can coexist with mailman
251
252 * Tue Aug 27 2002 Shad L. Lords <slords@mail.com>
253 - 1.0-3
254 - make site have a random password on install
255 - make mailman list have random password on install
256
257 * Sat Aug 24 2002 Shad L. Lords <slords@mail.com>
258 - 1.0-2
259 - changed mailman-addlist to set perms and ownership correctly.
260 - changed permissions from root,mailman to mailman,mailman
261
262 * Fri Aug 23 2002 Shad L. Lords <slords@mail.com>
263 - 1.0-1
264 - Initial release
265
266 %prep
267 %setup
268 %patch0 -p1
269 %patch1 -p1
270 %patch2 -p1
271 %patch3 -p1
272 %patch4 -p1
273 %patch5 -p1
274 %patch6 -p1
275 %patch7 -p1
276 %patch8 -p1
277 %patch9 -p1
278 %patch10 -p1
279 %patch11 -p1
280 %patch12 -p1
281 %patch13 -p1
282 %patch14 -p1
283 %patch15 -p1
284 %patch16 -p1
285 %patch17 -p1
286 %patch18 -p1
287 %patch19 -p1
288 %patch20 -p1
289 %patch21 -p1
290 %patch22 -p1
291 %patch23 -p1
292 %patch24 -p1
293 %patch25 -p1
294 %patch26 -p1
295 %patch27 -p1
296 %patch28 -p1
297
298 /bin/rm -r root/opt/mailman
299
300 %build
301 perl createlinks
302 mkdir -p root/usr/lib/mailman/aliases
303
304 mkdir -p root/opt
305 ln -s /usr/lib/mailman root/opt/mailman
306 mkdir -p root/var/spool/mailman/qfiles
307 for dir in archive bounces commands in news out retry shunt virgin
308 do
309 mkdir -p root/var/spool/mailman/qfiles/$dir
310 done
311
312
313 %install
314 rm -rf $RPM_BUILD_ROOT
315 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
316 rm -f e-smith-%{version}-filelist
317 /sbin/e-smith/genfilelist \
318 --dir '/usr/lib/mailman' 'attr(02775,root,mailman)' \
319 --dir '/usr/lib/mailman/bin' 'attr(02775,root,mailman)' \
320 --dir '/var/spool/mailman' 'attr(02775,root,mailman)' \
321 --dir '/usr/lib/mailman/aliases' 'attr(02775,mailman,mailman)' \
322 --file '/usr/lib/mailman/bin/post-install' 'attr(0755,root,mailman)' \
323 --file '/usr/lib/mailman/bin/smelist' 'attr(04755,root,mailman)' \
324 --dir '/usr/lib/mailman/Mailman' 'attr(02775,root,mailman)' \
325 --dir '/usr/lib/mailman/Mailman/MTA' 'attr(02775,root,mailman)' \
326 --file '/usr/lib/mailman/Mailman/MTA/SME.py' 'attr(02775,root,mailman)' \
327 --dir '/var/spool/mailman/qfiles' 'attr(02770,mailman,mailman)' \
328 --dir '/var/spool/mailman/qfiles/archive' 'attr(02770,mailman,mailman)' \
329 --dir '/var/spool/mailman/qfiles/bounces' 'attr(02770,mailman,mailman)' \
330 --dir '/var/spool/mailman/qfiles/commands' 'attr(02770,mailman,mailman)' \
331 --dir '/var/spool/mailman/qfiles/in' 'attr(02770,mailman,mailman)' \
332 --dir '/var/spool/mailman/qfiles/news' 'attr(02770,mailman,mailman)' \
333 --dir '/var/spool/mailman/qfiles/out' 'attr(02770,mailman,mailman)' \
334 --dir '/var/spool/mailman/qfiles/retry' 'attr(02770,mailman,mailman)' \
335 --dir '/var/spool/mailman/qfiles/shunt' 'attr(02770,mailman,mailman)' \
336 --dir '/var/spool/mailman/qfiles/virgin' 'attr(02770,mailman,mailman)' \
337 $RPM_BUILD_ROOT > %{name}-%{version}-filelist
338
339 %clean
340 rm -rf $RPM_BUILD_ROOT
341
342 %files -f %{name}-%{version}-filelist
343
344 %defattr(-,root,root)
345
346 %pre
347 /sbin/e-smith/create-system-user mailman 41 \
348 "Mailman user" /usr/lib/mailman /bin/false
349
350 %post
351
352 %preun
353
354 %postun

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed