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

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

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


Revision 1.27 - (hide annotations) (download)
Sun Mar 6 15:28:01 2011 UTC (13 years, 8 months ago) by slords
Branch: MAIN
Changes since 1.26: +7 -2 lines
Apply updates

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

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