/[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.3 - (hide annotations) (download)
Tue Jul 2 14:16:32 2013 UTC (11 years, 4 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-mailman-1_3_0-38_el5_sme
Changes since 1.2: +4 -1 lines
* Mon Jul 01 2013 JP Pialasse <tests@pialasse.com> 1.3.0-37.sme
- import to sme8 buildsys
- fix bootstrap hang [SME: 6693]

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

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