/[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.8 - (show annotations) (download)
Sat Apr 26 09:48:19 2008 UTC (16 years, 1 month ago) by snetram
Branch: MAIN
Changes since 1.7: +7 -2 lines
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-19
- Added 26 April 2008 locale patch

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

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