/[smecontribs]/rpms/smeserver-mailman/contribs7/smeserver-mailman.spec
ViewVC logotype

Contents of /rpms/smeserver-mailman/contribs7/smeserver-mailman.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.10 - (show annotations) (download)
Mon Apr 28 23:21:44 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: smeserver-mailman-1_3_0-20_el4_sme
Changes since 1.9: +2 -1 lines
Update requires

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

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