1 |
# $Id$ |
# $Id: smeserver-spamassassin.spec,v 1.15 2012/01/20 10:18:09 snetram 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.2.0 |
%define version 2.2.0 |
7 |
%define release 1 |
%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.gz |
Source: %{name}-%{version}.tar.gz |
13 |
|
Patch1: smeserver-spamassassin-2.2.0-ServiceNameFix.patch |
14 |
|
Patch2: smeserver-spamassassin-2.2.0-AWL.patch |
15 |
|
Patch3: smeserver-spamassassin-2.2.0-cronjobs.patch |
16 |
|
Patch4: smeserver-spamassassin-2.2.0-RequiredScore.patch |
17 |
|
Patch5: smeserver-spamassassin-2.2.0-bootstrap-console-save-removal.patch |
18 |
|
Patch6: smeserver-spamassassin-2.2.0-pyzor-timeout.patch |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
Requires: e-smith-email >= 4.13.0-38 |
Requires: e-smith-email >= 4.13.0-38 |
21 |
Requires: headermatch |
Requires: headermatch |
22 |
Requires: spamassassin >= 3.1.0 |
Requires: spamassassin >= 3.3.0 |
23 |
Requires: perl(Crypt::OpenSSL::Bignum) |
Requires: perl(Crypt::OpenSSL::Bignum) |
24 |
Requires: perl(IO::Socket::INET6) |
Requires: perl(IO::Socket::INET6) |
25 |
Requires: perl(IP::Country) |
Requires: perl(IP::Country) |
34 |
Requires: razor-agents >= 2.61-1 |
Requires: razor-agents >= 2.61-1 |
35 |
Requires: DCC |
Requires: DCC |
36 |
Requires: pyzor |
Requires: pyzor |
37 |
Requires: FuzzyOcr |
Obsoletes: FuzzyOcr |
38 |
Obsoletes: e-smith-spamassassin |
Obsoletes: e-smith-spamassassin |
39 |
Provides: e-smith-spamassassin |
Provides: e-smith-spamassassin |
40 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
45 |
SME Server - spamassassin anti-spam module |
SME Server - spamassassin anti-spam module |
46 |
|
|
47 |
%changelog |
%changelog |
48 |
|
* Sun Apr 8 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-9 |
49 |
|
- Add template fragment for pyzor timeout [SME: 6896] |
50 |
|
|
51 |
|
* Fri Jan 20 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-8 |
52 |
|
- Actually apply patch to remove spamd restart from bootstrap-console-save event [SME: 6717] |
53 |
|
|
54 |
|
* Fri Dec 23 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-7 |
55 |
|
- Remove spamd restart from bootstrap-console-save event [SME: 6717] |
56 |
|
|
57 |
|
* Sat Aug 7 2010 Ian Wells <esmith@wellsi.com> 2.2.0-6.sme |
58 |
|
- Work around how qpsmtpd tags spam email, by Michael McCarn [SME: 5603] |
59 |
|
|
60 |
|
* Mon Apr 19 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
61 |
|
- Remove cron.daily jobs that are no longer needed |
62 |
|
- Previous patch make spamassassin restart correctly [SME: 3304] |
63 |
|
- Newer spamassassin imports keys on install [SME: 5889] |
64 |
|
|
65 |
|
* Wed Feb 17 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4.sme |
66 |
|
- Requires SpamAssassin 3.3.0 [SME: 5741] |
67 |
|
- Remove FuzzyOcr [SME: 5771] |
68 |
|
- Use ATrpm package (partially remove previous patch) |
69 |
|
|
70 |
|
* Tue Feb 16 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-3.sme |
71 |
|
- Requires SpamAssassin 3.3.0 [SME: 5741] |
72 |
|
- Remove FuzzyOcr [SME: 5771] |
73 |
|
- Run sa-update every two hours and check restart every hour |
74 |
|
- Redirect cron job output to logfile to avoid mail noise |
75 |
|
|
76 |
|
* Tue Nov 25 2008 Giacomo Sanchietti <giacomo@nethesis.it> 2.2.0-2.sme |
77 |
|
- Fix invalid service name in sa-update [SME: 3304] |
78 |
|
|
79 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
80 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
81 |
|
|
402 |
|
|
403 |
%prep |
%prep |
404 |
%setup |
%setup |
405 |
|
%patch1 -p1 |
406 |
|
%patch2 -p1 |
407 |
|
%patch3 -p1 |
408 |
|
%patch4 -p1 |
409 |
|
%patch5 -p1 |
410 |
|
%patch6 -p1 |
411 |
|
|
412 |
%build |
%build |
413 |
perl createlinks |
perl createlinks |
441 |
--dir /var/log/spamd 'attr(2750,smelog,smelog)' \ |
--dir /var/log/spamd 'attr(2750,smelog,smelog)' \ |
442 |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
443 |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
444 |
|
--file /etc/cron.hourly/sa-restart 'attr(0755,root,root)' \ |
445 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
446 |
|
|
447 |
%pre |
%pre |