/[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.12 - (show annotations) (download)
Wed May 21 20:17:45 2008 UTC (16 years, 5 months ago) by snetram
Branch: MAIN
Changes since 1.11: +9 -3 lines
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-22
- Apply 21 May 2008 locale patch
- Fixed version number in previous changelog entry

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

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