/[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.21 - (hide annotations) (download)
Tue Mar 3 21:36:59 2009 UTC (15 years, 3 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-mailman-1_3_0-29_el4_sme
Changes since 1.20: +7 -2 lines
Locale updates

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

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