1 |
# $Id: smeserver-spamassassin.spec,v 1.9 2016/05/06 22:30:08 vip-ire Exp $ |
2 |
|
3 |
Summary: SME Server - spamassassin anti-spam module |
4 |
%define name smeserver-spamassassin |
5 |
Name: %{name} |
6 |
%define version 2.4.0 |
7 |
%define release 8 |
8 |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
10 |
License: GPL |
11 |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
13 |
Patch2: smeserver-spamassassin-2.4.0-okLanguages.patch |
14 |
Patch3: smeserver-spamassassin-2.4.0-refreshclam.patch |
15 |
Patch4: smeserver-spamassassin-2.4.0-revert-10required_score.patch |
16 |
Patch5: smeserver-spamassassin-2.4.0-10required_score-whitespace.patch |
17 |
Patch6: smeserver-spamassassin-2.4.0-ipv4_only.patch |
18 |
Patch7: smeserver-spamassassin-2.4.0-add_detailed_header.patch |
19 |
Patch8: smeserver-spamassassin-2.6.0-allow_tell.patch |
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
Requires: e-smith-email >= 4.13.0-38 |
22 |
Requires: headermatch |
23 |
Requires: spamassassin >= 3.3.0 |
24 |
Requires: perl(Crypt::OpenSSL::Bignum) |
25 |
Requires: perl(IO::Socket::INET6) |
26 |
Requires: perl(IP::Country) |
27 |
Requires: perl(Net::DNS) >= 0.34-1 |
28 |
Requires: perl(Net::Ident) |
29 |
Requires: perl(Compress::Zlib) |
30 |
Requires: perl(Mail::DKIM) |
31 |
Requires: ucspi-tcp daemontools |
32 |
Requires: e-smith-lib >= 1.13.1-90 |
33 |
Requires: e-smith-base >= 4.13.16 |
34 |
Requires: e-smith-qmail >= 1.9.0-09sme02 |
35 |
Requires: razor-agents >= 2.61-1 |
36 |
Requires: DCC |
37 |
Requires: pyzor |
38 |
Obsoletes: FuzzyOcr |
39 |
Obsoletes: e-smith-spamassassin |
40 |
Provides: e-smith-spamassassin |
41 |
BuildArchitectures: noarch |
42 |
BuildRequires: e-smith-devtools >= 1.11.0-12 |
43 |
AutoReqProv: no |
44 |
|
45 |
%description |
46 |
SME Server - spamassassin anti-spam module |
47 |
|
48 |
%changelog |
49 |
* Wed Mar 8 2017 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-8.sme |
50 |
- Rewrite spamd run script to add support for --allow-tell [SME: 10138] |
51 |
|
52 |
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-7.sme |
53 |
- Add X-Spam-Details header (and simplify X-Spam-Status) [SME: 9509] |
54 |
|
55 |
* Thu Jan 07 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-6.sme |
56 |
- Disable ipv6 support to prevent a warning during startup [SME: 9153] |
57 |
|
58 |
* Wed Jan 29 2014 Ian Wells <esmith@wellsi.com> 2.4.0-5.sme |
59 |
- Remove workarounds for how qpsmtpd tags spam email [SME: 8109] |
60 |
- Fix whitespace in 10required_score |
61 |
|
62 |
* Thu Jan 2 2014 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme |
63 |
- Include /usr/bin/refreshclam [SME: 8108] |
64 |
|
65 |
* Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 2.4.0-3.sme |
66 |
- Load TextCat plugin if ok_languages is enabled [SME: 7757] |
67 |
|
68 |
* Sun May 19 2013 chris burnat <devlist@burnat.com> 2.4.0-2.sme |
69 |
- Fix how qpsmtpd tags spam email, codes by Charlie Brady [SME: 7604] |
70 |
|
71 |
* Wed Feb 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
72 |
- Roll new stream for sme9 |
73 |
|
74 |
* Sun Apr 8 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-9 |
75 |
- Add template fragment for pyzor timeout [SME: 6896] |
76 |
|
77 |
* Fri Jan 20 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-8 |
78 |
- Actually apply patch to remove spamd restart from bootstrap-console-save event [SME: 6717] |
79 |
|
80 |
* Fri Dec 23 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-7 |
81 |
- Remove spamd restart from bootstrap-console-save event [SME: 6717] |
82 |
|
83 |
* Sat Aug 7 2010 Ian Wells <esmith@wellsi.com> 2.2.0-6.sme |
84 |
- Work around how qpsmtpd tags spam email, by Michael McCarn [SME: 5603] |
85 |
|
86 |
* Mon Apr 19 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
87 |
- Remove cron.daily jobs that are no longer needed |
88 |
- Previous patch make spamassassin restart correctly [SME: 3304] |
89 |
- Newer spamassassin imports keys on install [SME: 5889] |
90 |
|
91 |
* Wed Feb 17 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4.sme |
92 |
- Requires SpamAssassin 3.3.0 [SME: 5741] |
93 |
- Remove FuzzyOcr [SME: 5771] |
94 |
- Use ATrpm package (partially remove previous patch) |
95 |
|
96 |
* Tue Feb 16 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-3.sme |
97 |
- Requires SpamAssassin 3.3.0 [SME: 5741] |
98 |
- Remove FuzzyOcr [SME: 5771] |
99 |
- Run sa-update every two hours and check restart every hour |
100 |
- Redirect cron job output to logfile to avoid mail noise |
101 |
|
102 |
* Tue Nov 25 2008 Giacomo Sanchietti <giacomo@nethesis.it> 2.2.0-2.sme |
103 |
- Fix invalid service name in sa-update [SME: 3304] |
104 |
|
105 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
106 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
107 |
|
108 |
* Sat Mar 9 2008 chris burnat <devlist@burnat.com> 1.4.0-18 |
109 |
- Edit and rename deprecated template fragment [SME: 3857] |
110 |
|
111 |
* Tue Dec 25 2007 Shad L. Lords <slords@mail.com> 1.4.0-17 |
112 |
- Import all spamassassin keys correctly [SME: 3206] |
113 |
|
114 |
* Sat Sep 8 2007 Shad L. Lords <slords@mail.com> 1.4.0-16 |
115 |
- Import spamassassin keys correctly [SME: 3206] |
116 |
|
117 |
* Thu Sep 6 2007 Shad L. Lords <slords@mail.com> 1.4.0-15 |
118 |
- Import spamassassin keys if sa_update is found [SME: 3206] |
119 |
- Restart spamassassin if update successful [SME: 3351] |
120 |
|
121 |
* Sun Jun 24 2007 Shad L. Lords <slords@mail.com> 1.4.0-14 |
122 |
- Fix log (lint) noise [SME: 3100] |
123 |
|
124 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
125 |
- Clean up spec so package can be built by koji/plague |
126 |
|
127 |
* Sun Feb 18 2007 Shad L. Lords <slords@mail.com> 1.4.0-13 |
128 |
- Add FuzzyOcr to spamassassin to detect graphic spam [SME: 1985] |
129 |
|
130 |
* Fri Feb 16 2007 Shad L. Lords <slords@mail.com> 1.4.0-12 |
131 |
- Change runsvctrl to sv to support runit v1.7.x [SME: 2486] |
132 |
|
133 |
* Wed Jan 24 2007 Shad L. Lords <slords@mail.com> 1.4.0-11 |
134 |
- Add requires for new spamassassin modules |
135 |
|
136 |
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
137 |
- Update to new release naming. No functional changes. |
138 |
- Make Packager generic |
139 |
|
140 |
* Fri Nov 10 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-09 |
141 |
- Only match X-Spam-Status in headers, via headermatch [SME: 1924] |
142 |
|
143 |
* Thu Jul 13 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-08 |
144 |
- Anchor X-Spam-Status check to start of line [SME: 1712] |
145 |
|
146 |
* Wed Jun 14 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-07 |
147 |
- Missing space in last change [SME: 1571] |
148 |
|
149 |
* Wed Jun 14 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-06 |
150 |
- Add check for spamassassin{UseAutoWhitelist}, defaulting to 0 (off) |
151 |
[SME: 1571] |
152 |
|
153 |
* Fri Jun 9 2006 Shad L. Lords <slords@mail.com> 1.4.0-05 |
154 |
- Add path/perm for auto_whitelist [SME: 1571] |
155 |
|
156 |
* Fri Jun 9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-04 |
157 |
- Adjust perl dependencies to perl module rather than RPM [SME: 1548] |
158 |
|
159 |
* Fri Jun 9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-03 |
160 |
- Correct previous changelog and rebuild [SME: 1548] |
161 |
|
162 |
* Wed Jun 7 2006 Shad L. Lords <slords@mail.com> 1.4.0-02 |
163 |
- Update config for spamassassin 3.10+ [SME: 1548] |
164 |
|
165 |
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.4.0-01 |
166 |
- Roll stable stream version. [SME: 1016] |
167 |
|
168 |
* Wed Feb 22 2006 Gavin Weight <gweight@gmail.com> 1.3.0-07 |
169 |
- Renamed 40customScore_BAYES_90 to 40customScore_BAYES_95, |
170 |
Edited 40customScore_BAYES_95 to change 90 to 95. [SME: 836] |
171 |
|
172 |
* Tue Feb 7 2006 Shad L. Lords <slords@mail.com> 1.3.0-06 |
173 |
- Add db default for wbl.global_to|type [SME: 693] |
174 |
|
175 |
* Sat Jan 28 2006 Shad L. Lords <slords@mail.com> 1.3.0-05 |
176 |
- Add global white/black lists for to addresses [SME: 594] |
177 |
|
178 |
* Thu Nov 03 2005 Filippo Carletti <carletti@mobilia.it> 1.3.0-04 |
179 |
- Avoid runit spinning if spamd is disabled [SF: 1312897] |
180 |
|
181 |
* Wed Nov 02 2005 Filippo Carletti <carletti@mobilia.it> 1.3.0-03sme01 |
182 |
- Start spamd only if spam filter is enabled [SF: 1312897] |
183 |
|
184 |
* Mon Oct 10 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-03 |
185 |
- Migrate SortSpam property from 0/1 to disabled/enabled [SF: 1321319] |
186 |
|
187 |
* Fri Oct 7 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-02 |
188 |
- Clear qmail{DeliveryInstruction} and qmail{DeliveryType} if |
189 |
they were set for the obsoleted sortspam [SF: 1315596] |
190 |
|
191 |
* Fri Sep 23 2005 Gordon Rowell <gordonr@gormand.com.au> |
192 |
- [1.3.0] |
193 |
- Package renamed to smeserver-spamassassin |
194 |
|
195 |
* Fri Sep 23 2005 Gordon Rowell <gordonr@gormand.com.au> |
196 |
- [1.1.0-08sme01] |
197 |
- Simplify .qmail template fragment and add Requires header |
198 |
for recent e-smith-qmail since we need 00setup from it [SF: 1252336] |
199 |
|
200 |
* Tue Aug 2 2005 Shad Lords <slords@email.com> |
201 |
- [1.1.0-08] |
202 |
- Prepare for change of default database location. [SF: 1216546] |
203 |
|
204 |
* Tue May 31 2005 Charlie Brady <charlieb@e-smith.com> |
205 |
- [1.1.0-07] |
206 |
- Default spamassassin{RejectLevel}==0 [Gordon SF:1202399] |
207 |
|
208 |
* Fri May 13 2005 Charlie Brady <charlieb@e-smith.com> |
209 |
- [1.1.0-06] |
210 |
- Another update from Gordon. |
211 |
- Use condredirect (redirecting to $USERNAME-junkmail) |
212 |
instead of sortspam [SF:1200336] |
213 |
- Provide template for .qmail-junkmail |
214 |
- Remove db defaults for qmail{DeliveryType,DeliveryInstruction}. |
215 |
We don't want one delivery instruction, we want as many as the |
216 |
user has requested. Each instruction should be enabled/disabled |
217 |
on a global and per-user basis, as per SortSpam |
218 |
- TODO: Simplify e-smithForward20 in e-smith-email |
219 |
|
220 |
* Fri May 13 2005 Charlie Brady <charlieb@e-smith.com> |
221 |
- [1.1.0-05] |
222 |
- Really add the new files in last patch from Shad/Gordon. |
223 |
|
224 |
* Thu May 5 2005 Charlie Brady <charlieb@e-smith.com> |
225 |
- [1.1.0-04] |
226 |
- Various contributions from Shad Lords and Gordon Rowell, as follows |
227 |
- Add sortspam from Shad Lords' e-smith-spamassassin |
228 |
- Add lots of config entries and local.cf templates, also from Shad |
229 |
- Modified templates to match new config db names |
230 |
- Add migrate fragments |
231 |
|
232 |
* Wed Apr 27 2005 Charlie Brady <charlieb@e-smith.com> |
233 |
- [1.1.0-03] |
234 |
- Change Requires header to "razor-agents". |
235 |
|
236 |
* Mon Mar 21 2005 Charlie Brady <charlieb@e-smith.com> |
237 |
- [1.1.0-02] |
238 |
- Update config for SpamAssassin 3.0.2 |
239 |
|
240 |
* Wed Feb 4 2004 Michael Soulier <msoulier@e-smith.com> |
241 |
- [1.1.0-01] |
242 |
- rolling to dev - 1.1.0 |
243 |
|
244 |
* Wed Feb 4 2004 Michael Soulier <msoulier@e-smith.com> |
245 |
- [1.0.0-01] |
246 |
- rolling to stable - 1.0.0 |
247 |
|
248 |
* Thu Aug 28 2003 Michael Soulier <msoulier@e-smith.com> |
249 |
- [0.0.8-02] |
250 |
- Added K* init symlinks to runlevels 0, 1 and 6. [msoulier 9761] |
251 |
|
252 |
* Thu Jun 26 2003 Gordon Rowell <gordonr@e-smith.com> |
253 |
- [0.0.8-01] |
254 |
- Enable spamd by default [gordonr 9183] |
255 |
- Simplify spamassassin-update script [gordonr 9183] |
256 |
- Resolve spamd/spamassassing directory confusion [gordonr 9183] |
257 |
- Change spamd use home directory to /var/spool/spamd [gordonr 9183] |
258 |
- Log as smelog user in /var/log/spamd [gordonr 9183] |
259 |
- Update SPEC file with new genfilelist [gordonr 9183] |
260 |
|
261 |
* Fri Jun 20 2003 Gordon Rowell <gordonr@e-smith.com> |
262 |
- [0.0.7-23] |
263 |
- Add path to /service/spamd so restart works [gordonr 9095] |
264 |
|
265 |
* Mon Jun 9 2003 Gordon Rowell <gordonr@e-smith.com> |
266 |
- [0.0.7-22] |
267 |
- Put back skip_rbl_checks|0 default [gordonr 8952] |
268 |
|
269 |
* Mon Jun 9 2003 Gordon Rowell <gordonr@e-smith.com> |
270 |
- [0.0.7-21] |
271 |
- Generate the correct config lines, and make each fragment |
272 |
valid perl [gordonr 8960] |
273 |
|
274 |
* Mon Jun 9 2003 Gordon Rowell <gordonr@e-smith.com> |
275 |
- [0.0.7-20] |
276 |
- Move spamassassin configuration parameters into main configdb |
277 |
as properties of the spamassassing service [gordonr 8960] |
278 |
|
279 |
* Mon Jun 9 2003 Charlie Brady <charlieb@e-smith.com> |
280 |
- [0.0.7-19] |
281 |
- Change config to use RBLs by default. [charlieb 8952] |
282 |
|
283 |
* Wed Jun 4 2003 Charlie Brady <charlieb@e-smith.com> |
284 |
- [0.0.7-18] |
285 |
- Use create-system-user to create spamd user. [charlieb 6033] |
286 |
|
287 |
* Tue Apr 22 2003 Gordon Rowell <gordonr@e-smith.com> |
288 |
- [0.0.7-17] |
289 |
- Removed %post call - already done in various events [gordonr 2600] |
290 |
|
291 |
* Tue Apr 22 2003 Gordon Rowell <gordonr@e-smith.com> |
292 |
- [0.0.7-16] |
293 |
- Changed spamd uid (1003 already taken) - [gordonr 8368] |
294 |
|
295 |
* Mon Apr 21 2003 Gordon Rowell <gordonr@e-smith.com> |
296 |
- [0.0.7-15] |
297 |
- Let useradd add the group in %pre. Don't fail %pre if the uid is not |
298 |
unique [gordonr 8368] |
299 |
|
300 |
* Wed Apr 9 2003 Charlie Brady <charlieb@e-smith.com> |
301 |
- [0.0.7-14] |
302 |
- Replace serviceControl() calls with "svc-stop" or "svc -t" as required, |
303 |
so that messages don't leak to console when spamd is restarted. |
304 |
[charlieb 7883] |
305 |
|
306 |
* Thu Apr 3 2003 Gordon Rowell <gordonr@e-smith.com> |
307 |
- [0.0.7-13] |
308 |
- Removed dangling panel link [gordonr 7787] |
309 |
|
310 |
* Wed Apr 2 2003 Charlie Brady <charlieb@e-smith.com> |
311 |
- [0.0.7-12] |
312 |
- Add default DeliveryInstruction andi DeliveryType default |
313 |
properties for qmail, so that "sortspam" is used for local delivery. |
314 |
Update e-smith-email "requires" version to suit. [charlieb 2600] |
315 |
- Change Copyright header to License. [charlieb] |
316 |
|
317 |
* Wed Apr 2 2003 Charlie Brady <charlieb@e-smith.com> |
318 |
- [0.0.7-11] |
319 |
- Remove panel code. Greg's panel code can now be found in |
320 |
e-smith-spamassassin-panel. [charlieb 7787] |
321 |
- Split action into spamassassin config/restart and procmail |
322 |
configure sections. Latter is not yet liked into any |
323 |
actions. [charlieb 2600] |
324 |
- Remove db initialization parts of action script - init done by |
325 |
'defaults' fragments. [charlieb 7526] |
326 |
- Do stop/restart of 'spamd', not 'spamassassin'. [charlieb 2600] |
327 |
|
328 |
* Fri Mar 28 2003 Gordon Rowell <gordonr@e-smith.com> |
329 |
- [0.0.7-10] |
330 |
- Change panel Spam Control -> Spam filtering [gordonr 2600] |
331 |
|
332 |
* Fri Mar 28 2003 Charlie Brady <charlieb@e-smith.com> |
333 |
- [0.0.7-09] |
334 |
- Fix problem with sorting of sensitivity labels in panel [charlieb 7910] |
335 |
|
336 |
* Tue Mar 25 2003 Charlie Brady <charlieb@e-smith.com> |
337 |
- [0.0.7-08] |
338 |
- Remove -c from run file which starts spamd - we don't want to try |
339 |
to create missing user config files. [charlieb 2600] |
340 |
- Create user spamd and run spamd as that userid. [charlieb 2600] |
341 |
|
342 |
* Mon Mar 17 2003 Charlie Brady <charlieb@e-smith.com> |
343 |
- [0.0.7-07] |
344 |
- Add conf.global and wbl.global default configuration data. [charlieb 2600] |
345 |
|
346 |
* Fri Mar 14 2003 Charlie Brady <charlieb@e-smith.com> |
347 |
- [0.0.7-06] |
348 |
- Various fixes to spamassassin db initialization templates - mostly CVS |
349 |
repository issues. [charlieb 2600] |
350 |
|
351 |
* Fri Mar 14 2003 Charlie Brady <charlieb@e-smith.com> |
352 |
- [0.0.7-05] |
353 |
- Add the panel link for the new panel. Configure spamd to be paranoid |
354 |
and to create no use config files. [charlieb 2600] |
355 |
|
356 |
* Fri Mar 14 2003 Charlie Brady <charlieb@e-smith.com> |
357 |
- [0.0.7-04] |
358 |
- Remove Greg's full-featured spamassassin panel. Consult CVS if you want |
359 |
to resurrect any of the code. [charlieb 2600] |
360 |
|
361 |
* Fri Mar 14 2003 Charlie Brady <charlieb@e-smith.com> |
362 |
- [0.0.7-03] |
363 |
- Fix the minimal FM panel so that it runs. [charlieb 2600] |
364 |
- Fix compile problems in spamassassin-update script. [charlieb 2600] |
365 |
|
366 |
* Fri Mar 14 2003 Charlie Brady <charlieb@e-smith.com> |
367 |
- [0.0.7-02] |
368 |
- Add starter en-us lexicon for FM version of the panel. [charlieb 2600] |
369 |
|
370 |
* Fri Mar 14 2003 Charlie Brady <charlieb@e-smith.com> |
371 |
- [0.0.7-01] |
372 |
- Use new defaults directory structure to initialize db entries. |
373 |
Add minimal Fm web panel. Add spamassassin-update to email-update |
374 |
and bootstrap-console-save events. [charlieb 2600] |
375 |
|
376 |
* Tue Feb 4 2003 Gordon Rowell <gordonr@e-smith.com> |
377 |
- [0.0.6-01] |
378 |
- Roll new source tarball after the merge [gordonr 2600] |
379 |
|
380 |
* Tue Feb 4 2003 Gordon Rowell <gordonr@e-smith.com> |
381 |
- [0.0.5-04] |
382 |
- Merged in Greg Zartman's <greg@leiinc.com> contrib |
383 |
|
384 |
* Wed Jan 29 2003 Greg Zartman <greg@leiinc.com> |
385 |
- Fixed a small typo in spamassassin server-manager |
386 |
panel that caused a menu label to not show correctly |
387 |
|
388 |
* Wed Jan 29 2003 Greg Zartman <greg@leiinc.com> |
389 |
- [0.0.1-1] |
390 |
- initial Alpha release |
391 |
|
392 |
* Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com> |
393 |
- [0.0.5-03] |
394 |
- And rename /service/spamd as well [gordonr 2600] |
395 |
|
396 |
* Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com> |
397 |
- [0.0.5-02] |
398 |
- Renamed spamassassin -> spamd to avoid conflict with spamassassin's |
399 |
init script [gordonr 2600] |
400 |
|
401 |
* Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com> |
402 |
- [0.0.5-01] |
403 |
- Removed stray /etc/tcprules directory [gordonr 2600] |
404 |
|
405 |
* Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com> |
406 |
- [0.0.4-01] |
407 |
- Deleted some detritus [gordonr 2600] |
408 |
|
409 |
* Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com> |
410 |
- [0.0.3-01] |
411 |
- And an -as-source run to build the initial version [gordonr 2600] |
412 |
|
413 |
* Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com> |
414 |
- [0.0.2-02] |
415 |
- Missed some files on initial import [gordonr 2600] |
416 |
|
417 |
* Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com> |
418 |
- [0.0.2-01] |
419 |
- Initial import to 0.0.2 |
420 |
|
421 |
* Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com> |
422 |
- [0.0.1-02] |
423 |
- Initial SRPM from CVS [gordonr 2600] |
424 |
|
425 |
* Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com> |
426 |
- [0.0.1-1] |
427 |
- Initial |
428 |
|
429 |
%prep |
430 |
%setup |
431 |
%patch2 -p1 |
432 |
%patch3 -p1 |
433 |
%patch4 -p1 |
434 |
%patch5 -p1 |
435 |
%patch6 -p1 |
436 |
%patch7 -p1 |
437 |
%patch8 -p1 |
438 |
|
439 |
%build |
440 |
perl createlinks |
441 |
|
442 |
%install |
443 |
rm -rf $RPM_BUILD_ROOT |
444 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
445 |
rm -f %{name}-%{version}-%{release}-filelist |
446 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
447 |
--dir /var/service/spamd 'attr(01755,root,root)' \ |
448 |
--file /var/service/spamd/down 'attr(0644,root,root)' \ |
449 |
--file /var/service/spamd/run 'attr(0755,root,root)' \ |
450 |
--dir /var/service/spamd/log 'attr(0755,root,root)' \ |
451 |
--dir /var/service/spamd/log/supervise 'attr(0700,root,root)' \ |
452 |
--dir /var/service/spamd/supervise 'attr(0700,root,root)' \ |
453 |
--file /var/service/spamd/log/run 'attr(0755,root,root)' \ |
454 |
--dir /var/log/spamd 'attr(2750,smelog,smelog)' \ |
455 |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
456 |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
457 |
--file /etc/cron.hourly/sa-restart 'attr(0755,root,root)' \ |
458 |
--file /usr/bin/refreshclam 'attr(0755,root,root)' \ |
459 |
> %{name}-%{version}-%{release}-filelist |
460 |
|
461 |
%pre |
462 |
/sbin/e-smith/create-system-user spamd 1005 \ |
463 |
'spamassassin daemon user' /var/spool/spamd /bin/false |
464 |
|
465 |
%clean |
466 |
rm -rf $RPM_BUILD_ROOT |
467 |
|
468 |
%post |
469 |
|
470 |
%files -f %{name}-%{version}-%{release}-filelist |
471 |
%defattr(-,root,root) |