1 |
|
# $Id: smeserver-spamassassin.spec,v 1.17 2013/05/19 05:45:09 burnat 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 1.4.0 |
%define version 2.2.0 |
7 |
%define release 17 |
%define release 11 |
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.gz |
Source: %{name}-%{version}.tar.gz |
13 |
Patch1: sa310.patch |
Patch1: smeserver-spamassassin-2.2.0-ServiceNameFix.patch |
14 |
Patch2: auto_whitelist_path.patch |
Patch2: smeserver-spamassassin-2.2.0-AWL.patch |
15 |
Patch3: smeserver-spamassassin-1.3.0-AWLToggle.patch |
Patch3: smeserver-spamassassin-2.2.0-cronjobs.patch |
16 |
Patch4: smeserver-spamassassin-1.3.0-AWLToggle.patch2 |
Patch4: smeserver-spamassassin-2.2.0-RequiredScore.patch |
17 |
Patch5: smeserver-spamassassin-1.4.0-SpamStatusAtStartOfLine.patch |
Patch5: smeserver-spamassassin-2.2.0-bootstrap-console-save-removal.patch |
18 |
Patch6: smeserver-spamassassin-1.4.0-headermatch.patch |
Patch6: smeserver-spamassassin-2.2.0-pyzor-timeout.patch |
19 |
Patch7: smeserver-spamassassin-1.4.0-runit17.patch |
Patch7: smeserver-spamassassin-2.2.0-fix_10required_score.patch |
20 |
Patch8: smeserver-spamassassin-1.4.0-lognoise.patch |
Patch8: smeserver-spamassassin-2.2.0-okLanguages.patch |
|
Patch9: smeserver-spamassassin-1.4.0-sa_update-smefix.patch |
|
|
Patch10: smeserver-spamassassin-1.4.0-sa_update-smefix.patch2 |
|
|
Patch11: smeserver-spamassassin-1.4.0-sakeys.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 |
24 |
Requires: spamassassin >= 3.1.0 |
Requires: spamassassin >= 3.3.0 |
25 |
Requires: perl(Crypt::OpenSSL::Bignum) |
Requires: perl(Crypt::OpenSSL::Bignum) |
26 |
Requires: perl(IO::Socket::INET6) |
Requires: perl(IO::Socket::INET6) |
27 |
Requires: perl(IP::Country) |
Requires: perl(IP::Country) |
36 |
Requires: razor-agents >= 2.61-1 |
Requires: razor-agents >= 2.61-1 |
37 |
Requires: DCC |
Requires: DCC |
38 |
Requires: pyzor |
Requires: pyzor |
39 |
Requires: FuzzyOcr |
Obsoletes: FuzzyOcr |
40 |
Obsoletes: e-smith-spamassassin |
Obsoletes: e-smith-spamassassin |
41 |
Provides: e-smith-spamassassin |
Provides: e-smith-spamassassin |
42 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
47 |
SME Server - spamassassin anti-spam module |
SME Server - spamassassin anti-spam module |
48 |
|
|
49 |
%changelog |
%changelog |
50 |
|
* Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 2.2.0-11 |
51 |
|
- Load TextCat plugin if ok_languages is enabled [SME: 7048] |
52 |
|
|
53 |
|
* Sun May 19 2013 chris burnat <devlist@burnat.com> 2.2.0-10 |
54 |
|
- Fix how qpsmtpd tags spam email, codes by Charlie Brady [SME: 5603] |
55 |
|
|
56 |
|
* Sun Apr 8 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-9 |
57 |
|
- Add template fragment for pyzor timeout [SME: 6896] |
58 |
|
|
59 |
|
* Fri Jan 20 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-8 |
60 |
|
- Actually apply patch to remove spamd restart from bootstrap-console-save event [SME: 6717] |
61 |
|
|
62 |
|
* Fri Dec 23 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-7 |
63 |
|
- Remove spamd restart from bootstrap-console-save event [SME: 6717] |
64 |
|
|
65 |
|
* Sat Aug 7 2010 Ian Wells <esmith@wellsi.com> 2.2.0-6.sme |
66 |
|
- Work around how qpsmtpd tags spam email, by Michael McCarn [SME: 5603] |
67 |
|
|
68 |
|
* Mon Apr 19 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
69 |
|
- Remove cron.daily jobs that are no longer needed |
70 |
|
- Previous patch make spamassassin restart correctly [SME: 3304] |
71 |
|
- Newer spamassassin imports keys on install [SME: 5889] |
72 |
|
|
73 |
|
* Wed Feb 17 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4.sme |
74 |
|
- Requires SpamAssassin 3.3.0 [SME: 5741] |
75 |
|
- Remove FuzzyOcr [SME: 5771] |
76 |
|
- Use ATrpm package (partially remove previous patch) |
77 |
|
|
78 |
|
* Tue Feb 16 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-3.sme |
79 |
|
- Requires SpamAssassin 3.3.0 [SME: 5741] |
80 |
|
- Remove FuzzyOcr [SME: 5771] |
81 |
|
- Run sa-update every two hours and check restart every hour |
82 |
|
- Redirect cron job output to logfile to avoid mail noise |
83 |
|
|
84 |
|
* Tue Nov 25 2008 Giacomo Sanchietti <giacomo@nethesis.it> 2.2.0-2.sme |
85 |
|
- Fix invalid service name in sa-update [SME: 3304] |
86 |
|
|
87 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
88 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
89 |
|
|
90 |
|
* Sat Mar 9 2008 chris burnat <devlist@burnat.com> 1.4.0-18 |
91 |
|
- Edit and rename deprecated template fragment [SME: 3857] |
92 |
|
|
93 |
* Tue Dec 25 2007 Shad L. Lords <slords@mail.com> 1.4.0-17 |
* Tue Dec 25 2007 Shad L. Lords <slords@mail.com> 1.4.0-17 |
94 |
- Import all spamassassin keys correctly [SME: 3206] |
- Import all spamassassin keys correctly [SME: 3206] |
95 |
|
|
410 |
|
|
411 |
%prep |
%prep |
412 |
%setup |
%setup |
413 |
%patch1 -p 1 |
%patch1 -p1 |
414 |
%patch2 -p 1 |
%patch2 -p1 |
415 |
%patch3 -p 1 |
%patch3 -p1 |
416 |
%patch4 -p 1 |
%patch4 -p1 |
417 |
%patch5 -p 1 |
%patch5 -p1 |
418 |
%patch6 -p 1 |
%patch6 -p1 |
419 |
%patch7 -p 1 |
%patch7 -p1 |
420 |
%patch8 -p 1 |
%patch8 -p1 |
|
%patch9 -p 1 |
|
|
%patch10 -p 1 |
|
|
%patch11 -p 1 |
|
421 |
|
|
422 |
%build |
%build |
423 |
perl createlinks |
perl createlinks |
451 |
--dir /var/log/spamd 'attr(2750,smelog,smelog)' \ |
--dir /var/log/spamd 'attr(2750,smelog,smelog)' \ |
452 |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
453 |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
454 |
|
--file /etc/cron.hourly/sa-restart 'attr(0755,root,root)' \ |
455 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
456 |
|
|
457 |
%pre |
%pre |