/[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.13 - (hide annotations) (download)
Fri Jun 27 15:09:36 2008 UTC (15 years, 11 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-mailman-1_3_0-23_el4_sme
Changes since 1.12: +7 -2 lines
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-23
- Apply 27 Jun 2008 locale patch

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

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