1 |
# $Id: qpsmtpd.spec,v 1.22 2016/07/05 20:22:39 vip-ire Exp $ |
# $Id: qpsmtpd.spec,v 1.31 2023/12/18 17:32:12 jpp Exp $ |
2 |
|
|
3 |
Name: qpsmtpd |
Name: qpsmtpd |
4 |
Version: 0.96 |
Version: 0.96 |
5 |
Release: 15%{?dist} |
Release: 22%{?dist} |
6 |
Summary: qpsmtpd + qpsmtpd-apache |
Summary: qpsmtpd + qpsmtpd-apache |
7 |
License: MIT |
License: MIT |
8 |
Group: System Environment/Daemons |
Group: System Environment/Daemons |
10 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
11 |
BuildRequires: perl >= 0:5.00503 |
BuildRequires: perl >= 0:5.00503 |
12 |
BuildRequires: perl(ExtUtils::MakeMaker) |
BuildRequires: perl(ExtUtils::MakeMaker) |
13 |
|
BuildRequires: perl(ExtUtils::Manifest) |
14 |
BuildArch: noarch |
BuildArch: noarch |
15 |
Requires: perl(Mail::Header), perl(Net::DNS) perl(Net::IP) |
Requires: perl(Mail::Header), perl(Net::DNS) perl(Net::IP) |
16 |
Requires: perl(IO::Socket::SSL) >= 1.70 |
Requires: perl(IO::Socket::SSL) >= 1.70 |
17 |
|
Requires: perl(Data::Validate::Domain) |
18 |
Requires(pre): coreutils, shadow-utils, perl |
Requires(pre): coreutils, shadow-utils, perl |
19 |
|
|
20 |
Source0: %{name}-%{version}.tar.gz |
Source0: %{name}-%{version}.tar.gz |
47 |
Patch20: qpsmtpd-0.96-check_rua_is_defined.patch |
Patch20: qpsmtpd-0.96-check_rua_is_defined.patch |
48 |
Patch21: qpsmtpd-0.96-remove_karma_rcpt_handler.patch |
Patch21: qpsmtpd-0.96-remove_karma_rcpt_handler.patch |
49 |
Patch22: qpsmtpd-0.96-eval_dkim_policies.patch |
Patch22: qpsmtpd-0.96-eval_dkim_policies.patch |
50 |
|
Patch23: qpsmtpd-0.96-uribl_validate_domains.patch |
51 |
|
Patch24: qpsmtpd-0.96-bz10112-whitelist.patch |
52 |
|
Patch25: qpsmtpd-0.96-SME10139-Message-Id.patch |
53 |
|
Patch26: qpsmtpd-0.96-bz10290-spamassassin-fetchmail.patch |
54 |
|
Patch27: qpsmtpd-0.96-bz10387-load_plugins-on-start.patch |
55 |
|
Patch28: qpsmtpd-0.96-bz12450-auth_imap-perport.patch |
56 |
|
|
57 |
%description |
%description |
58 |
qpsmtpd is a flexible smtpd daemon written in Perl. Apart from the core |
qpsmtpd is a flexible smtpd daemon written in Perl. Apart from the core |
97 |
%patch20 -p1 |
%patch20 -p1 |
98 |
%patch21 -p1 |
%patch21 -p1 |
99 |
%patch22 -p1 |
%patch22 -p1 |
100 |
|
%patch23 -p1 |
101 |
|
%patch24 -p1 |
102 |
|
%patch25 -p1 |
103 |
|
%patch26 -p1 |
104 |
|
%patch27 -p1 |
105 |
|
%patch28 -p1 |
106 |
|
|
107 |
%build |
%build |
108 |
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" |
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" |
175 |
|
|
176 |
|
|
177 |
%changelog |
%changelog |
178 |
|
* Mon Dec 18 2023 Jean-Philippe Pialasse <tests@pialasse.com> 0.96-22.sme |
179 |
|
- transpose auth_cvm behaviour to auth_imap [SME: 12450] |
180 |
|
ability to enable for ssmtp and not smtp |
181 |
|
|
182 |
|
* Tue Nov 16 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.96-21.sme |
183 |
|
- fix fetchmail patch to check local_ip [SME: 11763] |
184 |
|
|
185 |
|
* Mon Nov 15 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.96-20.sme |
186 |
|
- fix configuration not honoured on initial start [SME: 10387] |
187 |
|
commented out load_plugins see https://github.com/smtpd/qpsmtpd/issues/288. |
188 |
|
|
189 |
|
* Sun Mar 11 2018 Jean-Philippe Pialasse <tests@pialasse.com> 0.96-19.sme |
190 |
|
- add support to force spamcheck on specific IP for fetchmail [SME: 10290] |
191 |
|
|
192 |
|
* Tue Mar 07 2017 Jean-Philippe Pialasse <tests@pialasse.com> 0.96-18.sme |
193 |
|
- Removed Message-Id validation, as it rejects MS account validation email [SME: 10139] |
194 |
|
|
195 |
|
* Mon Feb 27 2017 Jean-Philippe Pialasse <tests@pialasse.com> 0.96-17.sme |
196 |
|
- fix whitelist plugin to support helo with naughty rejecting at mail stage [SME: 10112] |
197 |
|
|
198 |
|
* Mon Jul 11 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-16.sme |
199 |
|
- Validate domains found in uribl with Data::Validate::Domain [SME: 9467] |
200 |
|
|
201 |
* Tue Jul 5 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-15.sme |
* Tue Jul 5 2016 Daniel Berteaud <daniel@firewall-services.com> 0.96-15.sme |
202 |
- Use eval to fetch dkim policies, prevent fatal errors in case of DNS |
- Use eval to fetch dkim policies, prevent fatal errors in case of DNS |
203 |
timeout [SME: 9480] |
timeout [SME: 9480] |