1 |
# $Id: smeserver-qpsmtpd.spec,v 1.23 2016/05/06 22:12:06 vip-ire Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.28 2016/05/07 06:47:21 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 25 |
%define release 27 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
40 |
Patch28: smeserver-qpsmtpd-2.4.0-dmarc_settings_bool.patch |
Patch28: smeserver-qpsmtpd-2.4.0-dmarc_settings_bool.patch |
41 |
Patch29: smeserver-qpsmtpd-2.4.0-dmarc_reporting.patch |
Patch29: smeserver-qpsmtpd-2.4.0-dmarc_reporting.patch |
42 |
Patch30: smeserver-qpsmtpd-2.4.0-spf_reject_policy.patch |
Patch30: smeserver-qpsmtpd-2.4.0-spf_reject_policy.patch |
43 |
|
Patch31: smeserver-qpsmtpd-2.4.0-PERMS.patch |
44 |
|
Patch32: smeserver-qpsmtpd-2.4.0-fix_syntax_in_print_dns.patch |
45 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
46 |
Requires: qpsmtpd >= 0.96 |
Requires: qpsmtpd >= 0.96 |
47 |
Requires: perl(ClamAV::Client) |
Requires: perl(ClamAV::Client) |
48 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
49 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
50 |
Requires: perl(Mail::DMARC) |
Requires: perl(Mail::DMARC) |
51 |
|
Requires: perl(DBD::SQLite) |
52 |
Requires: daemontools |
Requires: daemontools |
53 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
Requires: qpsmtpd-plugins >= 0.0.1-sme04 |
54 |
Requires: ipsvd |
Requires: ipsvd |
76 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
77 |
|
|
78 |
%changelog |
%changelog |
79 |
|
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-27.sme |
80 |
|
- Fix a syntax error in the qpsmtpd-print-dns script [SME: 9507] |
81 |
|
|
82 |
|
* Sat May 7 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-26.sme |
83 |
|
- Remove warning about spool dir permission on startup [SME: 9511] |
84 |
|
|
85 |
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-25.sme |
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-25.sme |
86 |
- Add missing patch for DKIM signing [SME: 9506] |
- Add missing patch for DKIM signing [SME: 9506] |
87 |
|
- Create needed directories [SME: 9507] |
88 |
|
- Add missing run time dependency on perl(DBD::SQLite) [SME: 9507] |
89 |
|
|
90 |
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-24.sme |
* Fri May 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-24.sme |
91 |
- Check SPF for inbound emails [SME: 9505] |
- Check SPF for inbound emails [SME: 9505] |
836 |
%patch28 -p1 |
%patch28 -p1 |
837 |
%patch29 -p1 |
%patch29 -p1 |
838 |
%patch30 -p1 |
%patch30 -p1 |
839 |
|
%patch31 -p1 |
840 |
|
%patch32 -p1 |
841 |
|
|
842 |
%build |
%build |
843 |
perl createlinks |
perl createlinks |
844 |
|
|
845 |
|
mkdir -p root/var/lib/qpsmtpd/karma |
846 |
|
mkdir -p root/var/lib/qpsmtpd/dmarc |
847 |
|
mkdir -p root/home/e-smith/dkim_keys/default |
848 |
|
mkdir -p root/var/service/qpsmtpd/config/dkim |
849 |
|
|
850 |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
851 |
mkdir -p $PEERS_CONFIG/0 |
mkdir -p $PEERS_CONFIG/0 |
852 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |