1 |
# $Id: smeserver-spamassassin.spec,v 1.8 2008/11/27 09:10:25 filippocarletti Exp $ |
# $Id: smeserver-spamassassin.spec,v 1.19 2013/12/21 06:03:35 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 3 |
%define release 13 |
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 |
Patch1: smeserver-spamassassin-2.2.0-ServiceNameFix.patch |
14 |
Patch2: smeserver-spamassassin-2.2.0-SA330.patch |
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 |
|
Patch9: smeserver-spamassassin-2.2.0-refreshclam.patch |
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
Requires: e-smith-email >= 4.13.0-38 |
Requires: e-smith-email >= 4.13.0-38 |
22 |
Requires: headermatch |
Requires: headermatch |
46 |
SME Server - spamassassin anti-spam module |
SME Server - spamassassin anti-spam module |
47 |
|
|
48 |
%changelog |
%changelog |
49 |
* Tue Feb 16 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-3sme |
* Thu Jan 2 2014 Ian Wells <esmith@wellsi.com> 2.2.0-13.sme |
50 |
|
- Include /usr/bin/refreshclam [SME: 8107] |
51 |
|
|
52 |
|
* Fri Dec 20 2013 Ian Wells <esmith@wellsi.com> 2.2.0-12 |
53 |
|
- Remove workarounds for how qpsmtpd tags spam email [SME: 8014] |
54 |
|
|
55 |
|
* Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 2.2.0-11 |
56 |
|
- Load TextCat plugin if ok_languages is enabled [SME: 7048] |
57 |
|
|
58 |
|
* Sun May 19 2013 chris burnat <devlist@burnat.com> 2.2.0-10 |
59 |
|
- Fix how qpsmtpd tags spam email, codes by Charlie Brady [SME: 5603] |
60 |
|
|
61 |
|
* Sun Apr 8 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-9 |
62 |
|
- Add template fragment for pyzor timeout [SME: 6896] |
63 |
|
|
64 |
|
* Fri Jan 20 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-8 |
65 |
|
- Actually apply patch to remove spamd restart from bootstrap-console-save event [SME: 6717] |
66 |
|
|
67 |
|
* Fri Dec 23 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-7 |
68 |
|
- Remove spamd restart from bootstrap-console-save event [SME: 6717] |
69 |
|
|
70 |
|
* Sat Aug 7 2010 Ian Wells <esmith@wellsi.com> 2.2.0-6.sme |
71 |
|
- Work around how qpsmtpd tags spam email, by Michael McCarn [SME: 5603] |
72 |
|
|
73 |
|
* Mon Apr 19 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme |
74 |
|
- Remove cron.daily jobs that are no longer needed |
75 |
|
- Previous patch make spamassassin restart correctly [SME: 3304] |
76 |
|
- Newer spamassassin imports keys on install [SME: 5889] |
77 |
|
|
78 |
|
* Wed Feb 17 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4.sme |
79 |
|
- Requires SpamAssassin 3.3.0 [SME: 5741] |
80 |
|
- Remove FuzzyOcr [SME: 5771] |
81 |
|
- Use ATrpm package (partially remove previous patch) |
82 |
|
|
83 |
|
* Tue Feb 16 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-3.sme |
84 |
- Requires SpamAssassin 3.3.0 [SME: 5741] |
- Requires SpamAssassin 3.3.0 [SME: 5741] |
85 |
- Remove FuzzyOcr [SME: 5771] |
- Remove FuzzyOcr [SME: 5771] |
86 |
- Run sa-update every two hours and check restart every hour |
- Run sa-update every two hours and check restart every hour |
87 |
- Redirect cron job output to logfile to avoid mail noise |
- Redirect cron job output to logfile to avoid mail noise |
88 |
|
|
89 |
* Tue Nov 25 2008 Giacomo Sanchietti <giacomo@nethesis.it> 2.2.0-2sme |
* Tue Nov 25 2008 Giacomo Sanchietti <giacomo@nethesis.it> 2.2.0-2.sme |
90 |
- Fix invalid service name in sa-update [SME: 3304] |
- Fix invalid service name in sa-update [SME: 3304] |
91 |
|
|
92 |
* 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 |
417 |
%setup |
%setup |
418 |
%patch1 -p1 |
%patch1 -p1 |
419 |
%patch2 -p1 |
%patch2 -p1 |
420 |
|
%patch3 -p1 |
421 |
|
%patch5 -p1 |
422 |
|
%patch6 -p1 |
423 |
|
%patch8 -p1 |
424 |
|
%patch9 -p1 |
425 |
|
|
426 |
%build |
%build |
427 |
perl createlinks |
perl createlinks |
456 |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd 'attr(2750,spamd,spamd)' \ |
457 |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
--dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \ |
458 |
--file /etc/cron.hourly/sa-restart 'attr(0755,root,root)' \ |
--file /etc/cron.hourly/sa-restart 'attr(0755,root,root)' \ |
459 |
|
--file /usr/bin/refreshclam 'attr(0755,root,root)' \ |
460 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |
461 |
|
|
462 |
%pre |
%pre |