1 |
unnilennium |
1.12 |
# $Id: smeserver-mailman.spec,v 1.11 2015/09/11 15:10:29 stephdl Exp $ |
2 |
unnilennium |
1.1 |
# Authority: gordonr |
3 |
|
|
# Name: Gordon Rowell |
4 |
|
|
|
5 |
unnilennium |
1.5 |
# avoid brp bytecompile |
6 |
|
|
%define __os_install_post %{nil} |
7 |
|
|
|
8 |
unnilennium |
1.1 |
Summary: Mailman configuration for SME server. |
9 |
|
|
%define name smeserver-mailman |
10 |
|
|
Name: %{name} |
11 |
|
|
%define version 1.3.0 |
12 |
unnilennium |
1.12 |
%define release 47 |
13 |
unnilennium |
1.1 |
Version: %{version} |
14 |
|
|
Release: %{release}%{?dist} |
15 |
|
|
License: GPL |
16 |
|
|
Group: Applications/Internet |
17 |
|
|
Source: %{name}-%{version}.tar.gz |
18 |
|
|
Patch0: smeserver-mailman-1.3.0-relocate.patch |
19 |
|
|
Patch1: smeserver-mailman-1.3.0-relocate.patch2 |
20 |
|
|
Patch2: smeserver-mailman-1.3.0-mailmanmail.patch |
21 |
|
|
Patch3: smeserver-mailman-1.3.0-smelist.patch |
22 |
|
|
Patch4: smeserver-mailman-1.3.0-createlinks.patch2 |
23 |
|
|
Patch5: smeserver-mailman-1.3.0-postinstall.patch |
24 |
|
|
Patch6: smeserver-mailman-1.3.0-postinstall.patch2 |
25 |
|
|
Patch7: smeserver-mailman-1.3.0-firsttime.patch |
26 |
|
|
Patch8: smeserver-mailman-1.3.0-actionorder.patch |
27 |
|
|
Patch9: smeserver-mailman-1.3.0-alias2mailman.patch |
28 |
|
|
Patch10: smeserver-mailman-1.3.0-smelist.patch2 |
29 |
|
|
Patch11: smeserver-mailman-1.3.0-locale-2008-04-22.patch |
30 |
|
|
Patch12: smeserver-mailman-1.3.0-archives.patch |
31 |
|
|
Patch13: smeserver-mailman-1.3.0-locale-2008-04-23.patch |
32 |
|
|
Patch14: smeserver-mailman-1.3.0-locale-2008-04-26.patch |
33 |
|
|
Patch15: smeserver-mailman-1.3.0-add2general.patch |
34 |
|
|
Patch16: smeserver-mailman-1.3.0-locale-2008-05-05.patch |
35 |
|
|
Patch17: smeserver-mailman-1.3.0-locale-2008-05-21.patch |
36 |
|
|
Patch18: smeserver-mailman-1.3.0-locale-2008-06-27.patch |
37 |
|
|
Patch19: smeserver-mailman-1.3.0-locale-2008-07-01.patch |
38 |
|
|
Patch20: smeserver-mailman-1.3.0-locale-2008-10-14.patch |
39 |
|
|
Patch21: smeserver-mailman-1.3.0-locale-2008-11-05.patch |
40 |
|
|
Patch22: smeserver-mailman-1.3.0-locale-2009-01-31.patch |
41 |
|
|
Patch23: smeserver-mailman-1.3.0-locale-2009-03-01.patch |
42 |
|
|
Patch24: smeserver-mailman-1.3.0-locale-2009-03-03.patch |
43 |
|
|
Patch25: smeserver-mailman-1.3.0-locale-2009-04-27.patch |
44 |
|
|
Patch26: smeserver-mailman-1.3.0-locale-2009-05-20.patch |
45 |
|
|
Patch27: smeserver-mailman-1.3.0-locale-2009-08-24.patch |
46 |
|
|
Patch28: smeserver-mailman-1.3.0-locale-2009-10-27.patch |
47 |
|
|
Patch29: smeserver-mailman-1.3.0-locale-2010-03-02.patch |
48 |
|
|
Patch30: smeserver-mailman-1.3.0-locale-2011-03-06.patch |
49 |
|
|
Patch31: smeserver-mailman-1.3.0-locale-2011-04-27.patch |
50 |
|
|
Patch32: smeserver-mailman-1.3.0-locale-2012-03-20.patch |
51 |
unnilennium |
1.3 |
Patch33: smeserver-mailman-1.3.0-BootStrap.patch |
52 |
unnilennium |
1.6 |
Patch34: smeserver-mailman-1.3.0-restarthang.patch |
53 |
unnilennium |
1.7 |
Patch35: smeserver-mailman-1.3.0-locale-2013-07-14.patch |
54 |
stephdl |
1.11 |
Patch36: smeserver-mailman-1.3.0.bz2411.Backup_mailman.patch |
55 |
unnilennium |
1.12 |
Patch37: smeserver-mailman-1.3.0-locale-2016-03-09.patch |
56 |
|
|
|
57 |
unnilennium |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
58 |
|
|
BuildArchitectures: noarch |
59 |
|
|
Requires: e-smith-base |
60 |
unnilennium |
1.10 |
Requires: e-smith-release >= 8.0 |
61 |
|
|
Requires: mailman >= 2.1.9-20.el5.sme |
62 |
unnilennium |
1.1 |
Requires: e-smith-formmagick >= 1.4.0-12 |
63 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
64 |
|
|
Obsoletes: e-smith-mailman |
65 |
|
|
Provides: e-smith-mailman |
66 |
|
|
AutoReqProv: no |
67 |
|
|
|
68 |
|
|
%description |
69 |
|
|
Add Mailman integration to the SME server. |
70 |
|
|
|
71 |
|
|
%changelog |
72 |
unnilennium |
1.12 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 1.3.0-47.sme |
73 |
|
|
- apply locale 2016-03-09 patch |
74 |
|
|
|
75 |
stephdl |
1.11 |
* Fri Sep 11 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.3.0-46.sme |
76 |
|
|
- Mailman is now added to the backup/restore process [SME: 2411] |
77 |
|
|
- Added smeserver-mailman-1.3.0.bz2411.Backup_mailman.patch |
78 |
|
|
|
79 |
unnilennium |
1.10 |
* Fri Sep 20 2013 JP Pialasse <tests@pialasse.com> 1.3.0-45.sme |
80 |
|
|
- fix bug [SME: 7787] |
81 |
|
|
|
82 |
unnilennium |
1.9 |
* Thu Sep 19 2013 JP Pialasse <tests@pialasse.com> 1.3.0-44.sme |
83 |
unnilennium |
1.8 |
- fix case sensitive TRUE to true in smeserver-mailman-1.3.0-restarthang.patch |
84 |
unnilennium |
1.9 |
- wrong path to actions folder fixed |
85 |
unnilennium |
1.8 |
- see [SME: 7845] |
86 |
|
|
|
87 |
unnilennium |
1.7 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.3.0-42.sme |
88 |
|
|
- apply locale 2013-07-14 patch |
89 |
|
|
|
90 |
unnilennium |
1.6 |
* Sun Jul 14 2013 JP Pialasse <tests@pialasse.com> 1.3.0-41.sme |
91 |
|
|
- fix signal-event hang on mailman restart [SME ] |
92 |
unnilennium |
1.5 |
* Mon Jul 01 2013 JP Pialasse <tests@pialasse.com> 1.3.0-40.sme |
93 |
unnilennium |
1.4 |
- fix expanding pyc pyo [SME: 7730] |
94 |
|
|
|
95 |
|
|
* Mon Jul 01 2013 JP Pialasse <tests@pialasse.com> 1.3.0-38.sme |
96 |
unnilennium |
1.2 |
- import to sme8 buildsys |
97 |
unnilennium |
1.3 |
- fix bootstrap hang [SME: 6693] |
98 |
unnilennium |
1.2 |
|
99 |
unnilennium |
1.1 |
* Tue Mar 20 2012 SME Translation Server <translations@contribs.org> 1.3.0-37.el6 |
100 |
|
|
- apply locale 2012-03-20 patch |
101 |
|
|
|
102 |
|
|
* Wed Apr 27 2011 SME Translation Server <translations@contribs.org> 1.3.0-36.sme |
103 |
|
|
- apply locale 2011-04-27 patch |
104 |
|
|
|
105 |
|
|
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 1.3.0-35.sme |
106 |
|
|
- apply locale 2011-03-06 patch |
107 |
|
|
|
108 |
|
|
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 1.3.0-34.sme |
109 |
|
|
- apply locale 2010-03-02 patch |
110 |
|
|
|
111 |
|
|
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 1.3.0-33.sme |
112 |
|
|
- apply locale 2009-10-27 patch |
113 |
|
|
|
114 |
|
|
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 1.3.0-32.sme |
115 |
|
|
- apply locale 2009-08-24 patch |
116 |
|
|
|
117 |
|
|
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 1.3.0-31.sme |
118 |
|
|
- apply locale 2009-05-20 patch |
119 |
|
|
|
120 |
|
|
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 1.3.0-30.sme |
121 |
|
|
- apply locale 2009-04-27 patch |
122 |
|
|
|
123 |
|
|
* Tue Mar 03 2009 SME Translation Server |
124 |
|
|
- apply locale 2009-03-03 patch |
125 |
|
|
|
126 |
|
|
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-28 |
127 |
|
|
- Apply 1 Mar 2009 locale patch [SME: 5018] |
128 |
|
|
|
129 |
|
|
* Sat Jan 31 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-27 |
130 |
|
|
- Apply 31 Jan 2009 locale patch [SME: 4951] |
131 |
|
|
|
132 |
|
|
* Wed Nov 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-26 |
133 |
|
|
- Apply 5 Nov 2008 locale patch |
134 |
|
|
|
135 |
|
|
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-25 |
136 |
|
|
- Apply 14 Oct 2008 locale patch |
137 |
|
|
|
138 |
|
|
* Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-24 |
139 |
|
|
- Apply 1 July 2008 locale patch |
140 |
|
|
|
141 |
|
|
* Fri Jun 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-23 |
142 |
|
|
- Apply 27 Jun 2008 locale patch |
143 |
|
|
|
144 |
|
|
* Thu May 21 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-22 |
145 |
|
|
- Apply 21 May 2008 locale patch |
146 |
|
|
- Fixed version number in previous changelog entry |
147 |
|
|
|
148 |
|
|
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.6-21 |
149 |
|
|
- Apply 5 May 2008 locale patch |
150 |
|
|
|
151 |
|
|
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-20 |
152 |
|
|
- Add common <base> tags to e-smith-formmagick's general |
153 |
|
|
|
154 |
|
|
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-19 |
155 |
|
|
- Added 26 April 2008 locale patch |
156 |
|
|
|
157 |
|
|
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-18 |
158 |
|
|
- Added 23 April 2008 locale patch |
159 |
|
|
- Fixed changelog |
160 |
|
|
|
161 |
|
|
* Wed Apr 23 2008 Daniel B. <daniel@firewall-services.com> 1.3.0-17 |
162 |
|
|
- Fix path for the archives [SME: 4252] |
163 |
|
|
|
164 |
|
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.3.0-16 |
165 |
|
|
- Added 22 April 2008 locale patch |
166 |
|
|
|
167 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
168 |
|
|
- Clean up spec so package can be built by koji/plague |
169 |
|
|
|
170 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
171 |
|
|
- Update to new release naming. No functional changes. |
172 |
|
|
- Make Packager generic |
173 |
|
|
|
174 |
|
|
* Fri Sep 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-15 |
175 |
|
|
- Allow hyphen in list names in smelist command [SME: 1307] |
176 |
|
|
|
177 |
|
|
* Fri Sep 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-14 |
178 |
|
|
- Add /sbin/e-smith/alias2mailman to convert hand-built alias files |
179 |
|
|
to mailman lists. Converst ~alias/.qmail-<listname> to the mailman |
180 |
|
|
list <listname> |
181 |
|
|
- List owner is mailman{DefaultOwner} defaulting to admin |
182 |
|
|
|
183 |
|
|
* Fri Sep 22 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-13 |
184 |
|
|
- Fix various permissions to satisfy /usr/lib/mailman/check_perms |
185 |
|
|
- Update mailman dependency to latest from CentOS |
186 |
|
|
|
187 |
|
|
* Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-12 |
188 |
|
|
- Run the addlist/rmlist actions before generic_template_expand [SME: 665] |
189 |
|
|
|
190 |
|
|
* Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-11 |
191 |
|
|
- Ensure that mailman record exists prior to trying to set the status |
192 |
|
|
|
193 |
|
|
* Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-10 |
194 |
|
|
- Adjust path in post-install script to match CentOS structure |
195 |
|
|
|
196 |
|
|
* Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-09 |
197 |
|
|
- Make further use of services2adjust and templates2expand |
198 |
|
|
|
199 |
|
|
* Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-08 |
200 |
|
|
- Make use of services2adjust and templates2expand |
201 |
|
|
- Update dependency as this is for 7.0 |
202 |
|
|
|
203 |
|
|
* Wed Mar 8 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-07 |
204 |
|
|
- Create qfiles heirarchy |
205 |
|
|
- Fix up taint issue in smelist script |
206 |
|
|
|
207 |
|
|
* Thu Jan 5 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-06 |
208 |
|
|
- TODO: Check permissions on /var/spool/mailman/qfiles. The |
209 |
|
|
'in' directory needs to be writable by the mailman CGI script, |
210 |
|
|
which is running as www. |
211 |
|
|
|
212 |
|
|
* Thu Jan 5 2006 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-05 |
213 |
|
|
- Remove postun section which depended on action scripts which |
214 |
|
|
no longer exist |
215 |
|
|
|
216 |
|
|
* Fri Dec 23 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-04 |
217 |
|
|
- Allow mail for mailman user |
218 |
|
|
- TODO: We should have configurable allow/deny for system accounts |
219 |
|
|
|
220 |
|
|
* Tue Oct 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-03 |
221 |
|
|
- No change |
222 |
|
|
- TODO: Rewrite templates to new API and move to templates2expand |
223 |
|
|
- TODO: Add pre script to relocate /opt/mailman parts for upgrades |
224 |
|
|
|
225 |
|
|
* Tue Oct 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-02 |
226 |
|
|
- Require patched mailman - SME Server runs httpd as www, not apache |
227 |
|
|
- Relocate paths from /opt/mailman to /usr/lib/mailman to match mailman pkg |
228 |
|
|
- Changed references to accounts db to new location |
229 |
|
|
|
230 |
|
|
* Tue Oct 25 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-01 |
231 |
|
|
- Package renamed to smeserver-mailman, including patches to 1.1.10-05 |
232 |
|
|
- TODO: Relocate to /usr/lib/mailman |
233 |
|
|
- TODO: Change DB references, and rewrite to new API |
234 |
|
|
|
235 |
|
|
* Fri Oct 14 2005 Michael Soulier <msoulier@e-smith.com> |
236 |
|
|
- [1.1.10-05] |
237 |
|
|
- Fixed error with creation of alias file with dot in the name. |
238 |
|
|
|
239 |
|
|
* Wed Mar 16 2005 Michael Soulier <msoulier@e-smith.com> |
240 |
|
|
- [1.1.10-04] |
241 |
|
|
- Added FQDN of box as a potential virtual host. |
242 |
|
|
|
243 |
|
|
* Mon Mar 14 2005 Michael Soulier <msoulier@e-smith.com> |
244 |
|
|
- [1.1.10-03] |
245 |
|
|
- Removed circular event call. |
246 |
|
|
|
247 |
|
|
* Wed Feb 23 2005 Michael Soulier <msoulier@e-smith.com> |
248 |
|
|
- [1.1.10-02] |
249 |
|
|
- Forgot to set mode on smelist. |
250 |
|
|
|
251 |
|
|
* Wed Feb 16 2005 Michael Soulier <msoulier@e-smith.com> |
252 |
|
|
- [1.1.10-01] |
253 |
|
|
- Added hooks into domain creation and deletion. |
254 |
|
|
|
255 |
|
|
* Wed Feb 16 2005 Michael Soulier <msoulier@e-smith.com> |
256 |
|
|
- [1.1.9-01] |
257 |
|
|
- Rolling again to get past build error on sme61build. |
258 |
|
|
|
259 |
|
|
* Wed Feb 16 2005 Michael Soulier <msoulier@e-smith.com> |
260 |
|
|
- [1.1.8-01] |
261 |
|
|
- Added create-system-user call to make the mailman user. |
262 |
|
|
- Added a link to the mailman UI. |
263 |
|
|
|
264 |
|
|
* Tue Feb 15 2005 Michael Soulier <msoulier@e-smith.com> |
265 |
|
|
- [1.1.7-01] |
266 |
|
|
- Updated mailman-conf to call a post-install script when first run. If this |
267 |
|
|
is ever included in a blade, post-install should move to the blade handler. |
268 |
|
|
|
269 |
|
|
* Tue Feb 15 2005 Michael Soulier <msoulier@e-smith.com> |
270 |
|
|
- [1.1.6-01] |
271 |
|
|
- Fixed badly placed lib. |
272 |
|
|
- Added post-install script to move it out of scriptlets. |
273 |
|
|
|
274 |
|
|
* Tue Feb 15 2005 Michael Soulier <msoulier@e-smith.com> |
275 |
|
|
- [1.1.5-01] |
276 |
|
|
- Added conf and restart actions. |
277 |
|
|
- Added a simple panel. |
278 |
|
|
|
279 |
|
|
* Tue Feb 15 2005 Michael Soulier <msoulier@e-smith.com> |
280 |
|
|
- [1.1.4-01] |
281 |
|
|
- Fixed perms on /opt/mailman, and bad symlink. |
282 |
|
|
|
283 |
|
|
* Sun Feb 13 2005 Michael Soulier <msoulier@e-smith.com> |
284 |
|
|
- [1.1.3-01] |
285 |
|
|
- Fixed error in createlinks. |
286 |
|
|
|
287 |
|
|
* Sun Feb 13 2005 Michael Soulier <msoulier@e-smith.com> |
288 |
|
|
- [1.1.2-01] |
289 |
|
|
- Rolling initial build of imported package. [msoulier] |
290 |
|
|
|
291 |
|
|
* Sun Feb 13 2005 Michael Soulier <msoulier@e-smith.com> |
292 |
|
|
- [1.1.1-01] |
293 |
|
|
- Reimplementation after lost packages. Implementing for mailman 2.1.5. |
294 |
|
|
[msoulier] |
295 |
|
|
|
296 |
|
|
* Sun Sep 08 2002 Shad L. Lords <slords@mail.com> |
297 |
|
|
- 1.0-5 |
298 |
|
|
- updated addlist and rmlist to better handle conflicts |
299 |
|
|
|
300 |
|
|
* Sun Sep 01 2002 Shad L. Lords <slords@mail.com> |
301 |
|
|
- 1.0-4 |
302 |
|
|
- updated accounts so that ezmlm can coexist with mailman |
303 |
|
|
|
304 |
|
|
* Tue Aug 27 2002 Shad L. Lords <slords@mail.com> |
305 |
|
|
- 1.0-3 |
306 |
|
|
- make site have a random password on install |
307 |
|
|
- make mailman list have random password on install |
308 |
|
|
|
309 |
|
|
* Sat Aug 24 2002 Shad L. Lords <slords@mail.com> |
310 |
|
|
- 1.0-2 |
311 |
|
|
- changed mailman-addlist to set perms and ownership correctly. |
312 |
|
|
- changed permissions from root,mailman to mailman,mailman |
313 |
|
|
|
314 |
|
|
* Fri Aug 23 2002 Shad L. Lords <slords@mail.com> |
315 |
|
|
- 1.0-1 |
316 |
|
|
- Initial release |
317 |
|
|
|
318 |
|
|
%prep |
319 |
|
|
%setup |
320 |
|
|
%patch0 -p1 |
321 |
|
|
%patch1 -p1 |
322 |
|
|
%patch2 -p1 |
323 |
|
|
%patch3 -p1 |
324 |
|
|
%patch4 -p1 |
325 |
|
|
%patch5 -p1 |
326 |
|
|
%patch6 -p1 |
327 |
|
|
%patch7 -p1 |
328 |
|
|
%patch8 -p1 |
329 |
|
|
%patch9 -p1 |
330 |
|
|
%patch10 -p1 |
331 |
|
|
%patch11 -p1 |
332 |
|
|
%patch12 -p1 |
333 |
|
|
%patch13 -p1 |
334 |
|
|
%patch14 -p1 |
335 |
|
|
%patch15 -p1 |
336 |
|
|
%patch16 -p1 |
337 |
|
|
%patch17 -p1 |
338 |
|
|
%patch18 -p1 |
339 |
|
|
%patch19 -p1 |
340 |
|
|
%patch20 -p1 |
341 |
|
|
%patch21 -p1 |
342 |
|
|
%patch22 -p1 |
343 |
|
|
%patch23 -p1 |
344 |
|
|
%patch24 -p1 |
345 |
|
|
%patch25 -p1 |
346 |
|
|
%patch26 -p1 |
347 |
|
|
%patch27 -p1 |
348 |
|
|
%patch28 -p1 |
349 |
|
|
%patch29 -p1 |
350 |
|
|
%patch30 -p1 |
351 |
|
|
%patch31 -p1 |
352 |
|
|
%patch32 -p1 |
353 |
unnilennium |
1.3 |
%patch33 -p1 |
354 |
unnilennium |
1.6 |
%patch34 -p1 |
355 |
unnilennium |
1.7 |
%patch35 -p1 |
356 |
stephdl |
1.11 |
%patch36 -p1 |
357 |
unnilennium |
1.12 |
%patch37 -p1 |
358 |
|
|
|
359 |
unnilennium |
1.1 |
|
360 |
|
|
/bin/rm -r root/opt/mailman |
361 |
|
|
|
362 |
|
|
%build |
363 |
|
|
perl createlinks |
364 |
|
|
mkdir -p root/usr/lib/mailman/aliases |
365 |
|
|
|
366 |
|
|
mkdir -p root/opt |
367 |
|
|
ln -s /usr/lib/mailman root/opt/mailman |
368 |
|
|
mkdir -p root/var/spool/mailman/qfiles |
369 |
|
|
for dir in archive bounces commands in news out retry shunt virgin |
370 |
|
|
do |
371 |
|
|
mkdir -p root/var/spool/mailman/qfiles/$dir |
372 |
|
|
done |
373 |
|
|
|
374 |
|
|
|
375 |
|
|
%install |
376 |
|
|
rm -rf $RPM_BUILD_ROOT |
377 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
378 |
|
|
rm -f e-smith-%{version}-filelist |
379 |
|
|
/sbin/e-smith/genfilelist \ |
380 |
|
|
--dir '/usr/lib/mailman' 'attr(02775,root,mailman)' \ |
381 |
|
|
--dir '/usr/lib/mailman/bin' 'attr(02775,root,mailman)' \ |
382 |
|
|
--dir '/var/spool/mailman' 'attr(02775,root,mailman)' \ |
383 |
|
|
--dir '/usr/lib/mailman/aliases' 'attr(02775,mailman,mailman)' \ |
384 |
|
|
--file '/usr/lib/mailman/bin/post-install' 'attr(0755,root,mailman)' \ |
385 |
|
|
--file '/usr/lib/mailman/bin/smelist' 'attr(04755,root,mailman)' \ |
386 |
|
|
--dir '/usr/lib/mailman/Mailman' 'attr(02775,root,mailman)' \ |
387 |
|
|
--dir '/usr/lib/mailman/Mailman/MTA' 'attr(02775,root,mailman)' \ |
388 |
|
|
--file '/usr/lib/mailman/Mailman/MTA/SME.py' 'attr(02775,root,mailman)' \ |
389 |
|
|
--dir '/var/spool/mailman/qfiles' 'attr(02770,mailman,mailman)' \ |
390 |
|
|
--dir '/var/spool/mailman/qfiles/archive' 'attr(02770,mailman,mailman)' \ |
391 |
|
|
--dir '/var/spool/mailman/qfiles/bounces' 'attr(02770,mailman,mailman)' \ |
392 |
|
|
--dir '/var/spool/mailman/qfiles/commands' 'attr(02770,mailman,mailman)' \ |
393 |
|
|
--dir '/var/spool/mailman/qfiles/in' 'attr(02770,mailman,mailman)' \ |
394 |
|
|
--dir '/var/spool/mailman/qfiles/news' 'attr(02770,mailman,mailman)' \ |
395 |
|
|
--dir '/var/spool/mailman/qfiles/out' 'attr(02770,mailman,mailman)' \ |
396 |
|
|
--dir '/var/spool/mailman/qfiles/retry' 'attr(02770,mailman,mailman)' \ |
397 |
|
|
--dir '/var/spool/mailman/qfiles/shunt' 'attr(02770,mailman,mailman)' \ |
398 |
|
|
--dir '/var/spool/mailman/qfiles/virgin' 'attr(02770,mailman,mailman)' \ |
399 |
|
|
$RPM_BUILD_ROOT > %{name}-%{version}-filelist |
400 |
|
|
|
401 |
unnilennium |
1.2 |
# SME8 build to avoid error |
402 |
unnilennium |
1.4 |
#/usr/lib/rpm/brp-python-bytecompile |
403 |
unnilennium |
1.5 |
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
404 |
|
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-create/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
405 |
|
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-delete/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
406 |
|
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/domain-delete/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
407 |
|
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/bootstrap-console-save/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
408 |
|
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/bootstrap-console-save/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
409 |
unnilennium |
1.4 |
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/mailman-update/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyc |
410 |
|
|
#rm -rf $RPM_BUILD_ROOT/etc/e-smith/events/mailman-update/templates2expand/usr/lib/mailman/Mailman/mm_cfg.pyo |
411 |
unnilennium |
1.5 |
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/mm_cfg.pyc |
412 |
|
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/mm_cfg.pyo |
413 |
|
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/MTA/SME.pyc |
414 |
|
|
#rm -rf $RPM_BUILD_ROOT/usr/lib/mailman/Mailman/MTA/SME.pyo |
415 |
|
|
|
416 |
|
|
# fixe for unwanted listed compiled python files |
417 |
unnilennium |
1.4 |
cat %{name}-%{version}-filelist |sed '/py[oc]$/d'>%{name}-%{version}-filelist.tmp |
418 |
|
|
cat %{name}-%{version}-filelist.tmp> %{name}-%{version}-filelist |
419 |
|
|
#rm -rf %{name}-%{version}-filelist.tmp |
420 |
unnilennium |
1.2 |
|
421 |
unnilennium |
1.1 |
%clean |
422 |
|
|
rm -rf $RPM_BUILD_ROOT |
423 |
|
|
|
424 |
|
|
%files -f %{name}-%{version}-filelist |
425 |
|
|
|
426 |
|
|
%defattr(-,root,root) |
427 |
|
|
|
428 |
|
|
%pre |
429 |
|
|
/sbin/e-smith/create-system-user mailman 41 \ |
430 |
|
|
"Mailman user" /usr/lib/mailman /bin/false |
431 |
|
|
|
432 |
|
|
%post |
433 |
|
|
|
434 |
|
|
%preun |
435 |
|
|
|
436 |
|
|
%postun |