1 |
# $Id: smeserver-qpsmtpd.spec,v 1.13 2016/01/13 17:47:36 vip-ire Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.5 2016/04/16 11:50: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.6.0 |
%define version 2.6.0 |
7 |
%define release 1 |
%define release 6 |
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.xz |
Source: %{name}-%{version}.tar.xz |
13 |
|
Patch0: smeserver-qpsmtpd-2.6.0-PERMS.patch |
14 |
|
Patch1: smeserver-qpsmtpd-2.6.0-compat_with_0.96.patch |
15 |
|
Patch2: smeserver-qpsmtpd-2.6.0-remove_obsolete_badrcptto_pattern_conf.patch |
16 |
|
Patch3: smeserver-qpsmtpd-2.6.0-dhparam.patch |
17 |
|
Patch4: smeserver-qpsmtpd-2.6.0-karma.patch |
18 |
|
Patch5: smeserver-qpsmtpd-2.6.0-loadcheck.patch |
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
Requires: qpsmtpd >= 0.83 |
Requires: qpsmtpd >= 0.96 |
21 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
22 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
23 |
Requires: daemontools |
Requires: daemontools |
47 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
48 |
|
|
49 |
%changelog |
%changelog |
50 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-6.sme |
51 |
|
- Enable the loadcheck plugin [SME: 9463] |
52 |
|
|
53 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-5.sme |
54 |
|
- Add support for the karma plugin, but keep it disabled by default |
55 |
|
[SME: 9462] |
56 |
|
|
57 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme |
58 |
|
- Create a dhparam for qpsmtpd [SME: 9461] |
59 |
|
|
60 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
61 |
|
- Adapt for qpsmtpd-0.96 (mainly plugin renamed) [SME: 9460] |
62 |
|
|
63 |
|
* Tue Mar 29 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme |
64 |
|
- fix warning on spool_dir perms [SME: 9408] |
65 |
|
- smeserver-qpsmtpd-2.6.0-PERMS.patch |
66 |
|
|
67 |
* Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
* Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme |
68 |
- Initial release to sme10 |
- Initial release to sme10 |
69 |
|
|
749 |
|
|
750 |
%prep |
%prep |
751 |
%setup |
%setup |
752 |
|
%patch0 -p1 |
753 |
|
%patch1 -p1 |
754 |
|
%patch2 -p1 |
755 |
|
%patch3 -p1 |
756 |
|
%patch4 -p1 |
757 |
|
%patch5 -p1 |
758 |
|
|
759 |
%build |
%build |
760 |
perl createlinks |
perl createlinks |
761 |
|
mkdir -p root/var/lib/qpsmtpd/karma |
762 |
|
|
763 |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
764 |
mkdir -p $PEERS_CONFIG/0 |
mkdir -p $PEERS_CONFIG/0 |
765 |
mkdir -p $PEERS_CONFIG/local |
mkdir -p $PEERS_CONFIG/local |
766 |
|
|
767 |
DISABLE_LOCAL=" |
DISABLE_LOCAL=" |
768 |
10check_earlytalker |
10earlytalker |
769 |
12count_unrecognized_commands |
12count_unrecognized_commands |
770 |
16require_resolvable_fromhost |
16resolvable_fromhost |
771 |
|
18karma |
772 |
|
19loadcheck |
773 |
20rhsbl |
20rhsbl |
774 |
22dnsbl |
22dnsbl |
775 |
70spamassassin |
70spamassassin |
830 |
\ |
\ |
831 |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
832 |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
833 |
|
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
834 |
\ |
\ |
835 |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
836 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |