/[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.10 - (hide annotations) (download)
Fri Sep 20 15:59:31 2013 UTC (10 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-mailman-1_3_0-45_el5_sme
Changes since 1.9: +7 -4 lines
* Fri Sep 20 2013 JP Pialasse <tests@pialasse.com> 1.3.0-45.sme
- fix bug [SME: 7787]

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

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