1 |
|
# $Id: smeserver-spamassassin.spec,v 1.10 2010/02/17 17:18:12 filippocarletti 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 14 |
%define release 5 |
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 |
|
Patch4: smeserver-spamassassin-1.3.0-AWLToggle.patch2 |
|
|
Patch5: smeserver-spamassassin-1.4.0-SpamStatusAtStartOfLine.patch |
|
|
Patch6: smeserver-spamassassin-1.4.0-headermatch.patch |
|
|
Patch7: smeserver-spamassassin-1.4.0-runit17.patch |
|
|
Patch8: smeserver-spamassassin-1.4.0-lognoise.patch |
|
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
Requires: e-smith-email >= 4.13.0-38 |
Requires: e-smith-email >= 4.13.0-38 |
18 |
Requires: headermatch |
Requires: headermatch |
19 |
Requires: spamassassin >= 3.1.0 |
Requires: spamassassin >= 3.3.0 |
20 |
Requires: perl(Crypt::OpenSSL::Bignum) |
Requires: perl(Crypt::OpenSSL::Bignum) |
21 |
Requires: perl(IO::Socket::INET6) |
Requires: perl(IO::Socket::INET6) |
22 |
Requires: perl(IP::Country) |
Requires: perl(IP::Country) |
31 |
Requires: razor-agents >= 2.61-1 |
Requires: razor-agents >= 2.61-1 |
32 |
Requires: DCC |
Requires: DCC |
33 |
Requires: pyzor |
Requires: pyzor |
34 |
Requires: FuzzyOcr |
Obsoletes: FuzzyOcr |
35 |
Obsoletes: e-smith-spamassassin |
Obsoletes: e-smith-spamassassin |
36 |
Provides: e-smith-spamassassin |
Provides: e-smith-spamassassin |
37 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
42 |
SME Server - spamassassin anti-spam module |
SME Server - spamassassin anti-spam module |
43 |
|
|
44 |
%changelog |
%changelog |
45 |
|
* Mon Apr 19 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
46 |
|
- Remove cron.daily jobs that are no longer needed |
47 |
|
- Previous patch make spamassassin restart correctly [SME: 3304] |
48 |
|
- Newer spamassassin imports keys on install [SME: 5889] |
49 |
|
|
50 |
|
* Wed Feb 17 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4.sme |
51 |
|
- Requires SpamAssassin 3.3.0 [SME: 5741] |
52 |
|
- Remove FuzzyOcr [SME: 5771] |
53 |
|
- Use ATrpm package (partially remove previous patch) |
54 |
|
|
55 |
|
* Tue Feb 16 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-3.sme |
56 |
|
- Requires SpamAssassin 3.3.0 [SME: 5741] |
57 |
|
- Remove FuzzyOcr [SME: 5771] |
58 |
|
- Run sa-update every two hours and check restart every hour |
59 |
|
- Redirect cron job output to logfile to avoid mail noise |
60 |
|
|
61 |
|
* Tue Nov 25 2008 Giacomo Sanchietti <giacomo@nethesis.it> 2.2.0-2.sme |
62 |
|
- Fix invalid service name in sa-update [SME: 3304] |
63 |
|
|
64 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
65 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
66 |
|
|
67 |
|
* Sat Mar 9 2008 chris burnat <devlist@burnat.com> 1.4.0-18 |
68 |
|
- Edit and rename deprecated template fragment [SME: 3857] |
69 |
|
|
70 |
|
* Tue Dec 25 2007 Shad L. Lords <slords@mail.com> 1.4.0-17 |
71 |
|
- Import all spamassassin keys correctly [SME: 3206] |
72 |
|
|
73 |
|
* Sat Sep 8 2007 Shad L. Lords <slords@mail.com> 1.4.0-16 |
74 |
|
- Import spamassassin keys correctly [SME: 3206] |
75 |
|
|
76 |
|
* Thu Sep 6 2007 Shad L. Lords <slords@mail.com> 1.4.0-15 |
77 |
|
- Import spamassassin keys if sa_update is found [SME: 3206] |
78 |
|
- Restart spamassassin if update successful [SME: 3351] |
79 |
|
|
80 |
* Sun Jun 24 2007 Shad L. Lords <slords@mail.com> 1.4.0-14 |
* Sun Jun 24 2007 Shad L. Lords <slords@mail.com> 1.4.0-14 |
81 |
- Fix log (lint) noise [SME: 3100] |
- Fix log (lint) noise [SME: 3100] |
82 |
|
|
387 |
|
|
388 |
%prep |
%prep |
389 |
%setup |
%setup |
390 |
%patch1 -p 1 |
%patch1 -p1 |
391 |
%patch2 -p 1 |
%patch2 -p1 |
392 |
%patch3 -p 1 |
%patch3 -p1 |
|
%patch4 -p 1 |
|
|
%patch5 -p 1 |
|
|
%patch6 -p 1 |
|
|
%patch7 -p 1 |
|
|
%patch8 -p 1 |
|
393 |
|
|
394 |
%build |
%build |
395 |
perl createlinks |
perl createlinks |
423 |
--dir /var/log/spamd 'attr(2750,smelog,smelog)' \ |
--dir /var/log/spamd 'attr(2750,smelog,smelog)' \ |
424 |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
425 |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
426 |
|
--file /etc/cron.hourly/sa-restart 'attr(0755,root,root)' \ |
427 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
428 |
|
|
429 |
%pre |
%pre |