1 |
# $Id: smeserver-qpsmtpd.spec,v 1.11 2016/01/07 18:09:43 vip-ire Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.16 2016/05/06 20:49:32 vip-ire Exp $ |
2 |
|
|
3 |
Summary: SME Server qpsmtpd module |
Summary: SME Server qpsmtpd module |
4 |
%define name smeserver-qpsmtpd |
%define name smeserver-qpsmtpd |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.4.0 |
%define version 2.4.0 |
7 |
%define release 13 |
%define release 18 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
20 |
Patch8: smeserver-qpsmtpd-2.4.0-add_domain_to_bcc_user.patch |
Patch8: smeserver-qpsmtpd-2.4.0-add_domain_to_bcc_user.patch |
21 |
Patch9: smeserver-qpsmtpd-2.4.0-ssl_proto_from_db.patch |
Patch9: smeserver-qpsmtpd-2.4.0-ssl_proto_from_db.patch |
22 |
Patch10: smeserver-qpsmtpd-2.4.0-ssl_update.patch |
Patch10: smeserver-qpsmtpd-2.4.0-ssl_update.patch |
23 |
|
Patch11: smeserver-qpsmtpd-2.4.0-compat_with_0.96.patch |
24 |
|
Patch12: smeserver-qpsmtpd-2.4.0-helo_default_to_rfc.patch |
25 |
|
Patch13: smeserver-qpsmtpd-2.4.0-remove_obsolete_badrcptto_pattern_conf.patch |
26 |
|
Patch14: smeserver-qpsmtpd-2.4.0-dhparam.patch |
27 |
|
Patch15: smeserver-qpsmtpd-2.4.0-karma.patch |
28 |
|
Patch16: smeserver-qpsmtpd-2.4.0-loadcheck.patch |
29 |
|
Patch17: smeserver-qpsmtpd-2.4.0-use_clamdscan_plugin.patch |
30 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
31 |
Requires: qpsmtpd >= 0.83 |
Requires: qpsmtpd >= 0.96 |
32 |
|
Requires: perl(ClamAV::Client) |
33 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
34 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
35 |
Requires: daemontools |
Requires: daemontools |
59 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
60 |
|
|
61 |
%changelog |
%changelog |
62 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-18.sme |
63 |
|
- Switch to the clamdscan plugin [SME: 9497] |
64 |
|
|
65 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-17.sme |
66 |
|
- Enabe the loadcheck plugin [SME: 9508] |
67 |
|
|
68 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-16.sme |
69 |
|
- Add support for the karma plugin [SME: 9502] |
70 |
|
|
71 |
|
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-15.sme |
72 |
|
- Work with qpsmtpd 0.96 [SME: 8861] |
73 |
|
|
74 |
|
* Wed Jan 13 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-14.sme |
75 |
|
- Expand all ssl related conf in ssl-update [SME: 9152] |
76 |
|
|
77 |
* Tue Jan 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-13.sme |
* Tue Jan 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-13.sme |
78 |
- Hook into a new ssl-update event [SME: 9152] |
- Hook into a new ssl-update event [SME: 9152] |
79 |
|
|
763 |
%patch8 -p1 |
%patch8 -p1 |
764 |
%patch9 -p1 |
%patch9 -p1 |
765 |
%patch10 -p1 |
%patch10 -p1 |
766 |
|
%patch11 -p1 |
767 |
|
%patch12 -p1 |
768 |
|
%patch13 -p1 |
769 |
|
%patch14 -p1 |
770 |
|
%patch15 -p1 |
771 |
|
%patch16 -p1 |
772 |
|
%patch17 -p1 |
773 |
|
|
774 |
%build |
%build |
775 |
perl createlinks |
perl createlinks |
779 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |
780 |
|
|
781 |
DISABLE_LOCAL=" |
DISABLE_LOCAL=" |
782 |
10check_earlytalker |
09karma |
783 |
|
10earlytalker |
784 |
12count_unrecognized_commands |
12count_unrecognized_commands |
785 |
16require_resolvable_fromhost |
15helo |
786 |
|
16resolvable_fromhost |
787 |
|
19loadcheck |
788 |
20rhsbl |
20rhsbl |
789 |
22dnsbl |
22dnsbl |
790 |
70spamassassin |
70spamassassin |
845 |
\ |
\ |
846 |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
847 |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
848 |
|
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
849 |
\ |
\ |
850 |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
851 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |