/[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.1 - (hide annotations) (download)
Mon Apr 21 00:14:27 2008 UTC (16 years, 6 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-mailman-1_3_0-15_el4_sme
Initial import of smeserver-mailman-1.3.0-15.el4.sme.src.rpm

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

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