1 |
# $Id: smeserver-qpsmtpd.spec,v 1.2 2016/03/30 02:16:21 unnilennium Exp $ |
# $Id: smeserver-qpsmtpd.spec,v 1.6 2016/04/16 11:55:20 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 3 |
%define release 7 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
13 |
Patch0: smeserver-qpsmtpd-2.6.0-PERMS.patch |
Patch0: smeserver-qpsmtpd-2.6.0-PERMS.patch |
14 |
Patch1: smeserver-qpsmtpd-2.6.0-compat_with_0.96.patch |
Patch1: smeserver-qpsmtpd-2.6.0-compat_with_0.96.patch |
15 |
Patch2: smeserver-qpsmtpd-2.6.0-remove_obsolete_badrcptto_pattern_conf.patch |
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 |
|
Patch6: smeserver-qpsmtpd-2.6.0-bogus_bounce.patch |
20 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
21 |
Requires: qpsmtpd >= 0.96 |
Requires: qpsmtpd >= 0.96 |
22 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
48 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
49 |
|
|
50 |
%changelog |
%changelog |
51 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-7.sme |
52 |
|
- Enable the bogus_bounce plugin [SME: 9464] |
53 |
|
|
54 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-6.sme |
55 |
|
- Enable the loadcheck plugin [SME: 9463] |
56 |
|
|
57 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-5.sme |
58 |
|
- Add support for the karma plugin, but keep it disabled by default |
59 |
|
[SME: 9462] |
60 |
|
|
61 |
|
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme |
62 |
|
- Create a dhparam for qpsmtpd [SME: 9461] |
63 |
|
|
64 |
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
* Sat Apr 16 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme |
65 |
- Adapt for qpsmtpd-0.96 (mainly plugin renamed) [SME: 9460] |
- Adapt for qpsmtpd-0.96 (mainly plugin renamed) [SME: 9460] |
66 |
|
|
756 |
%patch0 -p1 |
%patch0 -p1 |
757 |
%patch1 -p1 |
%patch1 -p1 |
758 |
%patch2 -p1 |
%patch2 -p1 |
759 |
|
%patch3 -p1 |
760 |
|
%patch4 -p1 |
761 |
|
%patch5 -p1 |
762 |
|
%patch6 -p1 |
763 |
|
|
764 |
%build |
%build |
765 |
perl createlinks |
perl createlinks |
766 |
|
mkdir -p root/var/lib/qpsmtpd/karma |
767 |
|
|
768 |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
PEERS_CONFIG=root/etc/e-smith/templates/var/service/qpsmtpd/config/peers |
769 |
mkdir -p $PEERS_CONFIG/0 |
mkdir -p $PEERS_CONFIG/0 |
773 |
10earlytalker |
10earlytalker |
774 |
12count_unrecognized_commands |
12count_unrecognized_commands |
775 |
16resolvable_fromhost |
16resolvable_fromhost |
776 |
|
18karma |
777 |
|
19loadcheck |
778 |
20rhsbl |
20rhsbl |
779 |
22dnsbl |
22dnsbl |
780 |
70spamassassin |
70spamassassin |
835 |
\ |
\ |
836 |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
--file /var/service/sqpsmtpd/sqpsmtpd "attr(0755,root,root)" \ |
837 |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
--dir /var/spool/qpsmtpd "attr(2750,qpsmtpd,clamav)" \ |
838 |
|
--dir /var/lib/qpsmtpd/karma "attr(2750,qpsmtpd,qpsmtpd)" \ |
839 |
\ |
\ |
840 |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
--file /usr/local/bin/qplogsumm.pl "attr(0755,root,root)" \ |
841 |
> %{name}-%{version}-%{release}-filelist |
> %{name}-%{version}-%{release}-filelist |