/[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.18 - (hide annotations) (download)
Tue Nov 25 16:20:24 2008 UTC (15 years, 6 months ago) by slords
Branch: MAIN
Changes since 1.17: +0 -0 lines
Restore

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

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