1 |
# $Id$ |
# $Id: smeserver-spamassassin.spec,v 1.18 2013/07/06 04:53: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.2.0 |
%define version 2.2.0 |
7 |
%define release 1 |
%define release 12 |
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 |
|
Patch5: smeserver-spamassassin-2.2.0-bootstrap-console-save-removal.patch |
17 |
|
Patch6: smeserver-spamassassin-2.2.0-pyzor-timeout.patch |
18 |
|
Patch8: smeserver-spamassassin-2.2.0-okLanguages.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 |
|
* Fri Dec 20 2013 Ian Wells <esmith@wellsi.com> 2.2.0-12 |
49 |
|
- Remove workarounds for how qpsmtpd tags spam email [SME: 8014] |
50 |
|
|
51 |
|
* Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 2.2.0-11 |
52 |
|
- Load TextCat plugin if ok_languages is enabled [SME: 7048] |
53 |
|
|
54 |
|
* Sun May 19 2013 chris burnat <devlist@burnat.com> 2.2.0-10 |
55 |
|
- Fix how qpsmtpd tags spam email, codes by Charlie Brady [SME: 5603] |
56 |
|
|
57 |
|
* Sun Apr 8 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-9 |
58 |
|
- Add template fragment for pyzor timeout [SME: 6896] |
59 |
|
|
60 |
|
* Fri Jan 20 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-8 |
61 |
|
- Actually apply patch to remove spamd restart from bootstrap-console-save event [SME: 6717] |
62 |
|
|
63 |
|
* Fri Dec 23 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-7 |
64 |
|
- Remove spamd restart from bootstrap-console-save event [SME: 6717] |
65 |
|
|
66 |
|
* Sat Aug 7 2010 Ian Wells <esmith@wellsi.com> 2.2.0-6.sme |
67 |
|
- Work around how qpsmtpd tags spam email, by Michael McCarn [SME: 5603] |
68 |
|
|
69 |
|
* Mon Apr 19 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
70 |
|
- Remove cron.daily jobs that are no longer needed |
71 |
|
- Previous patch make spamassassin restart correctly [SME: 3304] |
72 |
|
- Newer spamassassin imports keys on install [SME: 5889] |
73 |
|
|
74 |
|
* Wed Feb 17 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4.sme |
75 |
|
- Requires SpamAssassin 3.3.0 [SME: 5741] |
76 |
|
- Remove FuzzyOcr [SME: 5771] |
77 |
|
- Use ATrpm package (partially remove previous patch) |
78 |
|
|
79 |
|
* Tue Feb 16 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-3.sme |
80 |
|
- Requires SpamAssassin 3.3.0 [SME: 5741] |
81 |
|
- Remove FuzzyOcr [SME: 5771] |
82 |
|
- Run sa-update every two hours and check restart every hour |
83 |
|
- Redirect cron job output to logfile to avoid mail noise |
84 |
|
|
85 |
|
* Tue Nov 25 2008 Giacomo Sanchietti <giacomo@nethesis.it> 2.2.0-2.sme |
86 |
|
- Fix invalid service name in sa-update [SME: 3304] |
87 |
|
|
88 |
* 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 |
89 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
90 |
|
|
411 |
|
|
412 |
%prep |
%prep |
413 |
%setup |
%setup |
414 |
|
%patch1 -p1 |
415 |
|
%patch2 -p1 |
416 |
|
%patch3 -p1 |
417 |
|
%patch5 -p1 |
418 |
|
%patch6 -p1 |
419 |
|
%patch8 -p1 |
420 |
|
|
421 |
%build |
%build |
422 |
perl createlinks |
perl createlinks |
450 |
--dir /var/log/spamd 'attr(2750,smelog,smelog)' \ |
--dir /var/log/spamd 'attr(2750,smelog,smelog)' \ |
451 |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
452 |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
453 |
|
--file /etc/cron.hourly/sa-restart 'attr(0755,root,root)' \ |
454 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
455 |
|
|
456 |
%pre |
%pre |