/[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.14 - (hide annotations) (download)
Tue Jul 1 20:04:46 2008 UTC (16 years, 4 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-mailman-1_3_0-24_el4_sme
Changes since 1.13: +7 -2 lines
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-24
- Apply 1 July 2008 locale patch

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

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