1 |
# $Id: smeserver-spamassassin.spec,v 1.2 2013/05/19 05:38:10 burnat Exp $ |
# $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 |
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 2 |
%define release 8 |
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 |
13 |
Patch1: smeserver-spamassassin-2.4.0-fix_10required_score.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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
Requires: e-smith-email >= 4.13.0-38 |
Requires: e-smith-email >= 4.13.0-38 |
22 |
Requires: headermatch |
Requires: headermatch |
46 |
SME Server - spamassassin anti-spam module |
SME Server - spamassassin anti-spam module |
47 |
|
|
48 |
%changelog |
%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 |
* 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] |
- Fix how qpsmtpd tags spam email, codes by Charlie Brady [SME: 7604] |
70 |
|
|
428 |
|
|
429 |
%prep |
%prep |
430 |
%setup |
%setup |
431 |
%patch1 -p1 |
%patch2 -p1 |
432 |
|
%patch3 -p1 |
433 |
|
%patch4 -p1 |
434 |
|
%patch5 -p1 |
435 |
|
%patch6 -p1 |
436 |
|
%patch7 -p1 |
437 |
|
%patch8 -p1 |
438 |
|
|
439 |
%build |
%build |
440 |
perl createlinks |
perl createlinks |
455 |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
456 |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
457 |
--file /etc/cron.hourly/sa-restart 'attr(0755,root,root)' \ |
--file /etc/cron.hourly/sa-restart 'attr(0755,root,root)' \ |
458 |
|
--file /usr/bin/refreshclam 'attr(0755,root,root)' \ |
459 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
460 |
|
|
461 |
%pre |
%pre |