/[smeserver]/rpms/smeserver-spamassassin/sme9/smeserver-spamassassin.spec
ViewVC logotype

Contents of /rpms/smeserver-spamassassin/sme9/smeserver-spamassassin.spec

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


Revision 1.8 - (show annotations) (download)
Thu Jan 7 14:16:52 2016 UTC (8 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_4_0-6_el6_sme
Changes since 1.7: +7 -2 lines
* Thu Jan 07 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-6.sme
- Disable ipv6 support to prevent a warning during startup [SME: 9153]

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

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