/[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.7 - (hide annotations) (download)
Wed Apr 23 18:32:01 2008 UTC (16 years, 1 month ago) by snetram
Branch: MAIN
CVS Tags: smeserver-mailman-1_3_0-18_el4_sme
Changes since 1.6: +10 -4 lines
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-18
- Added 23 April 2008 locale patch
- Fixed changelog

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

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