/[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.28 - (show annotations) (download)
Wed Apr 27 16:48:01 2011 UTC (13 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: smeserver-mailman-1_3_0-36_el4_sme
Changes since 1.27: +7 -2 lines
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 1.3.0-36.sme
- apply locale 2011-04-27 patch

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

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