1 |
# $Id: smeserver-spamassassin.spec,v 1.16 2012/04/08 15:12:14 snetram Exp $ |
# $Id: smeserver-spamassassin.spec,v 1.7 2014/01/30 04:06:11 wellsi 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 1 |
%define release 6 |
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 |
|
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 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
Requires: e-smith-email >= 4.13.0-38 |
Requires: e-smith-email >= 4.13.0-38 |
20 |
Requires: headermatch |
Requires: headermatch |
44 |
SME Server - spamassassin anti-spam module |
SME Server - spamassassin anti-spam module |
45 |
|
|
46 |
%changelog |
%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 |
* Wed Feb 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
64 |
- Roll new stream for sme9 |
- Roll new stream for sme9 |
65 |
|
|
420 |
|
|
421 |
%prep |
%prep |
422 |
%setup |
%setup |
423 |
|
%patch2 -p1 |
424 |
|
%patch3 -p1 |
425 |
|
%patch4 -p1 |
426 |
|
%patch5 -p1 |
427 |
|
%patch6 -p1 |
428 |
|
|
429 |
%build |
%build |
430 |
perl createlinks |
perl createlinks |
445 |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
446 |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
447 |
--file /etc/cron.hourly/sa-restart 'attr(0755,root,root)' \ |
--file /etc/cron.hourly/sa-restart 'attr(0755,root,root)' \ |
448 |
|
--file /usr/bin/refreshclam 'attr(0755,root,root)' \ |
449 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
450 |
|
|
451 |
%pre |
%pre |