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

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

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


Revision 1.1 - (hide annotations) (download)
Wed Nov 13 12:55:27 2013 UTC (10 years, 11 months ago) by vip-ire
Branch: MAIN
* Wed Nov 13 2013 Daniel Berteaud <daniel@firewall-services.com> 1.4.0-1.sme
- Rebuild for SME9

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

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