/[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.9 - (hide annotations) (download)
Sat Apr 26 15:00:21 2008 UTC (16 years, 6 months ago) by snetram
Branch: MAIN
Changes since 1.8: +7 -2 lines
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-20
- Add common <base> tags to e-smith-formmagick's general

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

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