1 |
|
# $Id: smeserver-qpsmtpd.spec,v 1.29 2009/12/27 12:02:13 snetram 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 1.2.1 |
%define version 2.2.0 |
7 |
%define release 56 |
%define release 7 |
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.gz |
Source: %{name}-%{version}.tar.gz |
13 |
Patch0: smeserver-qpsmtpd-1.2.1-LiteralIP.patch |
Patch1: smeserver-qpsmtpd-2.2.0-qpsmtpd83.patch |
14 |
Patch1: smeserver-qpsmtpd-1.2.1-badrcptto-hosts.patch |
Patch2: smeserver-qpsmtpd-2.2.0-spamsubject.patch |
15 |
Patch2: smeserver-qpsmtpd-1.2.1-check_smtp_forward.patch |
Patch3: smeserver-qpsmtpd-2.2.0-expand-template.patch |
16 |
Patch3: smeserver-qpsmtpd-1.2.1-enable_check_smtp_forward.patch |
Patch4: smeserver-qpsmtpd-2.2.0-RequireResolvableFromHost-default-enabled.patch |
17 |
Patch4: smeserver-qpsmtpd-1.2.1-bcc_mode.patch |
Patch5: smeserver-qpsmtpd-2.2.0-tls_before_auth.patch |
|
Patch5: smeserver-qpsmtpd-1.2.1-peers_plugin.patch |
|
|
Patch6: smeserver-qpsmtpd-1.2.1-peers_plugin.patch2 |
|
|
Patch7: smeserver-qpsmtpd-1.2.1-usepeers.patch |
|
|
Patch8: smeserver-qpsmtpd-1.2.1-usepeers.patch2 |
|
|
Patch9: smeserver-qpsmtpd-1.2.1-rcpthosts_regenerated.patch |
|
|
Patch10: smeserver-qpsmtpd-1.2.1-mergetnef2mime.patch |
|
|
Patch11: smeserver-qpsmtpd-1.2.1-usepeers.patch3 |
|
|
Patch12: smeserver-qpsmtpd-1.2.1-usepeers.patch4 |
|
|
Patch13: smeserver-qpsmtpd-1.2.1-control1.patch |
|
|
Patch14: smeserver-qpsmtpd-1.2.1-control1.patch3 |
|
|
Patch15: smeserver-qpsmtpd-1.2.1-peersinit.patch |
|
|
Patch16: smeserver-qpsmtpd-1.2.1-rblsbl.patch |
|
|
Patch17: smeserver-qpsmtpd-1.2.1-peersauth.patch |
|
|
Patch18: smeserver-qpsmtpd-1.2.1-peersauth.patch2 |
|
|
Patch19: smeserver-qpsmtpd-1.2.1-badmailfrom.patch |
|
|
Patch20: smeserver-qpsmtpd-1.2.1-nowhitelist.patch |
|
|
Patch21: smeserver-qpsmtpd-1.2.1-dkim.patch |
|
|
Patch22: smeserver-qpsmtpd-1.2.1-keeptnef.patch |
|
|
Patch23: smeserver-qpsmtpd-1.2.1-softlimit.patch |
|
|
Patch24: smeserver-qpsmtpd-1.2.1-rcpthost.patch |
|
|
Patch25: smeserver-qpsmtpd-1.2.1-logterse.patch |
|
|
Patch26: smeserver-qpsmtpd-1.2.1-logterse_stats.patch |
|
|
Patch27: smeserver-qpsmtpd-1.2.1-qplogsumm.patch |
|
|
Patch28: smeserver-qpsmtpd-1.2.1-logterse.patch2 |
|
|
Patch29: smeserver-qpsmtpd-1.2.1-qpsmtpd40.patch |
|
|
Patch30: smeserver-qpsmtpd-1.2.1-qpsmtpd40.patch2 |
|
|
Patch31: smeserver-qpsmtpd-1.2.1-disclaimer.patch |
|
|
Patch32: smeserver-qpsmtpd-1.2.1-disclaimer.patch2 |
|
|
Patch33: smeserver-qpsmtpd-1.2.1-rblsbl.patch2 |
|
|
Patch34: smeserver-qpsmtpd-1.2.1-hosts_allow.patch |
|
|
Patch35: smeserver-qpsmtpd-1.2.1-dnsbl_disconnect.patch |
|
|
Patch36: smeserver-qpsmtpd-1.2.1-timeouts.patch |
|
|
Patch37: smeserver-qpsmtpd-1.2.1-badrcptto_empty_local.patch |
|
|
Patch38: smeserver-qpsmtpd-1.2.1-templatebegin.patch |
|
|
Patch39: smeserver-qpsmtpd-1.2.1-qplogsummStatus.patch |
|
|
Patch40: smeserver-qpsmtpd-1.2.1-logdebug.patch |
|
|
Patch41: smeserver-qpsmtpd-1.2.1-dividezerofix.patch |
|
|
Patch42: smeserver-qpsmtpd-1.2.1-rblsbl.patch3 |
|
|
Patch43: smeserver-qpsmtpd-1.2.1-FixDisclaimerEmptyLines.patch |
|
|
Patch44: smeserver-qpsmtpd-1.2.1-spamhaus.patch |
|
|
Patch45: smeserver-qpsmtpd-1.2.1-securitysage.patch |
|
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
Requires: qpsmtpd >= 0.40 |
Requires: qpsmtpd >= 0.83 |
20 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
21 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
22 |
Requires: daemontools |
Requires: daemontools |
45 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
46 |
|
|
47 |
%changelog |
%changelog |
48 |
|
* Sat Jun 5 2010 Ian Wells <esmith@wellsi.com> 2.2.0-7.sme |
49 |
|
- Add qpsmtpd template fragment for tls_before_auth [SME: 6004] |
50 |
|
|
51 |
|
* Sun Dec 27 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme |
52 |
|
- Enable qpsmtpd RequireResolvableFromHost plugin by default, remove |
53 |
|
database entry and the database default value [SME: 5617] |
54 |
|
|
55 |
|
* Sat Nov 7 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-5.sme |
56 |
|
- Tie template fragment into event system to have it expanded [SME: 5031] |
57 |
|
|
58 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-4.sme |
59 |
|
- Add qpsmtpd template fragment for custom SPAM subject prefix [SME: 5031] |
60 |
|
|
61 |
|
* Thu Oct 29 2009 Shad L. Lords <slords@mail.com> 2.0.0-3.sme |
62 |
|
- Add hooks cleanout back in in so auth works. |
63 |
|
|
64 |
|
* Thu Oct 29 2009 Shad L. Lords <slords@mail.com> 2.2.0-2.sme |
65 |
|
- Add compatibility with qpsmtpd 0.83 [SME: 5543] |
66 |
|
- Add tls to base config [SME: 1076] |
67 |
|
|
68 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
69 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
70 |
|
|
71 |
|
* Sun Oct 5 2008 Shad L. Lords <slords@mail.com> 1.2.1-57 |
72 |
|
- Fix migrate fragment for zen.spamhaus.org [SME: 2116] |
73 |
|
|
74 |
* Sun Oct 5 2008 Shad L. Lords <slords@mail.com> 1.2.1-56 |
* Sun Oct 5 2008 Shad L. Lords <slords@mail.com> 1.2.1-56 |
75 |
- Migrate sbl-xbl.spamhaus.org to zen.spamhaus.org [SME: 2116] |
- Migrate sbl-xbl.spamhaus.org to zen.spamhaus.org [SME: 2116] |
76 |
- Remove blackhole.securitysage.com [SME: 4623] |
- Remove blackhole.securitysage.com [SME: 4623] |
657 |
|
|
658 |
%prep |
%prep |
659 |
%setup |
%setup |
|
%patch0 -p1 |
|
660 |
%patch1 -p1 |
%patch1 -p1 |
661 |
%patch2 -p1 |
%patch2 -p1 |
662 |
%patch3 -p1 |
%patch3 -p1 |
663 |
%patch4 -p1 |
%patch4 -p1 |
664 |
%patch5 -p1 |
%patch5 -p1 |
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch9 -p1 |
|
|
%patch10 -p1 |
|
|
%patch11 -p1 |
|
|
%patch12 -p1 |
|
|
%patch13 -p1 |
|
|
%patch14 -p1 |
|
|
%patch15 -p1 |
|
|
%patch16 -p1 |
|
|
%patch17 -p1 |
|
|
%patch18 -p1 |
|
|
%patch19 -p1 |
|
|
%patch20 -p1 |
|
|
%patch21 -p1 |
|
|
%patch22 -p1 |
|
|
%patch23 -p1 |
|
|
%patch24 -p1 |
|
|
%patch25 -p1 |
|
|
%patch26 -p1 |
|
|
%patch27 -p1 |
|
|
%patch28 -p1 |
|
|
%patch29 -p1 |
|
|
%patch30 -p1 |
|
|
%patch31 -p1 |
|
|
%patch32 -p1 |
|
|
%patch33 -p1 |
|
|
%patch34 -p1 |
|
|
%patch35 -p1 |
|
|
%patch36 -p1 |
|
|
%patch37 -p1 |
|
|
%patch38 -p1 |
|
|
%patch39 -p1 |
|
|
%patch40 -p1 |
|
|
%patch41 -p1 |
|
|
%patch42 -p1 |
|
|
%patch43 -p1 |
|
|
%patch44 -p1 |
|
|
%patch45 -p1 |
|
665 |
|
|
666 |
%build |
%build |
667 |
perl createlinks |
perl createlinks |
685 |
done |
done |
686 |
|
|
687 |
ln -s ../qpsmtpd/config root/var/service/sqpsmtpd/config |
ln -s ../qpsmtpd/config root/var/service/sqpsmtpd/config |
688 |
|
ln -s ../qpsmtpd/ssl root/var/service/sqpsmtpd/ssl |
689 |
|
|
690 |
mkdir -p root/etc/e-smith/templates/var/service/qpsmtpd/peers/{0,local} |
mkdir -p root/etc/e-smith/templates/var/service/qpsmtpd/peers/{0,local} |
691 |
touch root/etc/e-smith/templates/var/service/qpsmtpd/peers/{0,local}/template-begin |
touch root/etc/e-smith/templates/var/service/qpsmtpd/peers/{0,local}/template-begin |