1 |
# $Id: smeserver-qpsmtpd.spec,v 1.22 2016/05/07 06:56:27 vip-ire Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.24 2016/05/24 08:23:38 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.6.0 |
%define version 2.6.0 |
7 |
%define release 22 |
%define release 24 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
36 |
Patch23: smeserver-qpsmtpd-2.6.0-spf_reject_policy.patch |
Patch23: smeserver-qpsmtpd-2.6.0-spf_reject_policy.patch |
37 |
Patch24: smeserver-qpsmtpd-2.6.0-fix_syntax_in_print_dns.patch |
Patch24: smeserver-qpsmtpd-2.6.0-fix_syntax_in_print_dns.patch |
38 |
Patch25: smeserver-qpsmtpd-2.6.0-set_dkim_option_after_key.patch |
Patch25: smeserver-qpsmtpd-2.6.0-set_dkim_option_after_key.patch |
39 |
|
Patch26: smeserver-qpsmtpd-2.6.0-remove_o_and_r_dkim_fields.patch |
40 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
41 |
Requires: qpsmtpd >= 0.96 |
Requires: qpsmtpd >= 0.96 |
42 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
70 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
71 |
|
|
72 |
%changelog |
%changelog |
73 |
|
* Fri May 27 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-24.sme |
74 |
|
- Create missing directories for DKIM keys [SME: 9496] |
75 |
|
- Create missing directory for the DMARC report database [SME: 9206] |
76 |
|
|
77 |
|
* Tue May 24 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-23.sme |
78 |
|
- Remove o and r DKIM fields as they are not standard [SME: 9496] |
79 |
|
|
80 |
* Mon May 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-22.sme |
* Mon May 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-22.sme |
81 |
- In qpsmtpd-print-dns set DKIM options after the public key so the string |
- In qpsmtpd-print-dns set DKIM options after the public key so the string |
82 |
will still be splitted correctly [SME: 9496] |
will still be splitted correctly [SME: 9496] |
861 |
%patch23 -p1 |
%patch23 -p1 |
862 |
%patch24 -p1 |
%patch24 -p1 |
863 |
%patch25 -p1 |
%patch25 -p1 |
864 |
|
%patch26 -p1 |
865 |
|
|
866 |
%build |
%build |
867 |
perl createlinks |
perl createlinks |
868 |
mkdir -p root/var/lib/qpsmtpd/karma |
mkdir -p root/var/lib/qpsmtpd/karma |
869 |
|
mkdir -p root/var/lib/qpsmtpd/dmarc |
870 |
|
mkdir -p root/home/e-smith/dkim_keys/default |
871 |
|
mkdir -p root/var/service/qpsmtpd/config/dkim |
872 |
|
|
873 |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
874 |
mkdir -p $PEERS_CONFIG/0 |
mkdir -p $PEERS_CONFIG/0 |