/[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.3 - (hide annotations) (download)
Tue Apr 22 15:27:00 2008 UTC (16 years, 6 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-mailman-1_3_0-16_el4_sme
Changes since 1.2: +7 -2 lines
* Sun Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-16
- Added 22 April 2008 locale patch

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

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