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

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

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


Revision 1.8 - (hide annotations) (download)
Wed Sep 18 20:24:13 2013 UTC (11 years, 1 month ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-mailman-1_3_0-43_el5_sme
Changes since 1.7: +6 -2 lines
* Wed Sep 18 2013 JP Pialasse <tests@pialasse.com> 1.3.0-43.sme
- fix case sensitive TRUE to true in smeserver-mailman-1.3.0-restarthang.patch
- see [SME: 7845]

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

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