1 |
# $Id: smeserver-spamassassin.spec,v 1.3 2013/06/07 15:05:49 wellsi Exp $ |
# $Id: smeserver-spamassassin.spec,v 1.10 2017/03/08 15:15:25 vip-ire Exp $ |
2 |
|
|
3 |
Summary: SME Server - spamassassin anti-spam module |
Summary: SME Server - spamassassin anti-spam module |
4 |
%define name smeserver-spamassassin |
%define name smeserver-spamassassin |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.4.0 |
%define version 2.4.0 |
7 |
%define release 3 |
%define release 9 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
|
Patch1: smeserver-spamassassin-2.4.0-fix_10required_score.patch |
|
13 |
Patch2: smeserver-spamassassin-2.4.0-okLanguages.patch |
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 |
|
Patch9: smeserver-spamassassin-2.4.0-bz10360-auto_learn.patch |
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
Requires: e-smith-email >= 4.13.0-38 |
Requires: e-smith-email >= 4.13.0-38 |
23 |
Requires: headermatch |
Requires: headermatch |
47 |
SME Server - spamassassin anti-spam module |
SME Server - spamassassin anti-spam module |
48 |
|
|
49 |
%changelog |
%changelog |
50 |
|
* Wed Jun 28 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-9.sme |
51 |
|
- disable auto_learn by default when enabling Bayes [SME: 10360] |
52 |
|
- added properties UseBayesAutoLearn, BayesAutoLearnThresholdSpam and |
53 |
|
BayesAutoLearnThresholdNonSpam |
54 |
|
|
55 |
|
* Wed Mar 8 2017 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-8.sme |
56 |
|
- Rewrite spamd run script to add support for --allow-tell [SME: 10138] |
57 |
|
|
58 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-7.sme |
59 |
|
- Add X-Spam-Details header (and simplify X-Spam-Status) [SME: 9509] |
60 |
|
|
61 |
|
* Thu Jan 07 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-6.sme |
62 |
|
- Disable ipv6 support to prevent a warning during startup [SME: 9153] |
63 |
|
|
64 |
|
* Wed Jan 29 2014 Ian Wells <esmith@wellsi.com> 2.4.0-5.sme |
65 |
|
- Remove workarounds for how qpsmtpd tags spam email [SME: 8109] |
66 |
|
- Fix whitespace in 10required_score |
67 |
|
|
68 |
|
* Thu Jan 2 2014 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme |
69 |
|
- Include /usr/bin/refreshclam [SME: 8108] |
70 |
|
|
71 |
* Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 2.4.0-3.sme |
* Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 2.4.0-3.sme |
72 |
- Load TextCat plugin if ok_languages is enabled [SME: 7757] |
- Load TextCat plugin if ok_languages is enabled [SME: 7757] |
73 |
|
|
434 |
|
|
435 |
%prep |
%prep |
436 |
%setup |
%setup |
|
%patch1 -p1 |
|
437 |
%patch2 -p1 |
%patch2 -p1 |
438 |
|
%patch3 -p1 |
439 |
|
%patch4 -p1 |
440 |
|
%patch5 -p1 |
441 |
|
%patch6 -p1 |
442 |
|
%patch7 -p1 |
443 |
|
%patch8 -p1 |
444 |
|
%patch9 -p1 |
445 |
|
|
446 |
%build |
%build |
447 |
perl createlinks |
perl createlinks |
462 |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
463 |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
464 |
--file /etc/cron.hourly/sa-restart 'attr(0755,root,root)' \ |
--file /etc/cron.hourly/sa-restart 'attr(0755,root,root)' \ |
465 |
|
--file /usr/bin/refreshclam 'attr(0755,root,root)' \ |
466 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
467 |
|
|
468 |
%pre |
%pre |