1 |
# $Id$ |
# $Id: smeserver-qpsmtpd.spec,v 1.34 2010/10/04 16:39:27 slords 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.2.0 |
%define version 2.2.0 |
7 |
%define release 1 |
%define release 12 |
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 |
|
Patch1: smeserver-qpsmtpd-2.2.0-qpsmtpd83.patch |
14 |
|
Patch2: smeserver-qpsmtpd-2.2.0-spamsubject.patch |
15 |
|
Patch3: smeserver-qpsmtpd-2.2.0-expand-template.patch |
16 |
|
Patch4: smeserver-qpsmtpd-2.2.0-RequireResolvableFromHost-default-enabled.patch |
17 |
|
Patch5: smeserver-qpsmtpd-2.2.0-tls_before_auth.patch |
18 |
|
Patch6: smeserver-qpsmtpd-2.2.0-require_auth.patch |
19 |
|
Patch7: smeserver-qpsmtpd-2.2.0-ciphers.patch |
20 |
|
Patch8: smeserver-qpsmtpd-2.2.0-fix_relay_auth_for_local_net.patch |
21 |
|
Patch9: smeserver-qpsmtpd-2.2.0-allow_fetchmail.patch |
22 |
|
Patch10: smeserver-qpsmtpd-2.2.0-log_to_stdout.patch |
23 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
24 |
Requires: qpsmtpd >= 0.40 |
Requires: qpsmtpd >= 0.83 |
25 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
26 |
Requires: perl(Mail::DKIM::DkSignature) |
Requires: perl(Mail::DKIM::DkSignature) |
27 |
Requires: daemontools |
Requires: daemontools |
50 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
51 |
|
|
52 |
%changelog |
%changelog |
53 |
|
* Fri Oct 8 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-12 |
54 |
|
- Log all the run script to stdout [SME: 5831] |
55 |
|
|
56 |
|
* Mon Oct 4 2010 Shad L. Lords <slords@mail.com> 2.2.0-11.sme |
57 |
|
- Allow relay from all local 127.0.0.x addresses [SME: 5575] |
58 |
|
|
59 |
|
* Fri Oct 1 2010 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-10.sme |
60 |
|
- Fix RelayRequiresAuth for local network [SME: 5575] |
61 |
|
|
62 |
|
* Sun Sep 25 2010 Shad L. Lords <slords@mail.com> 2.2.0-9.sme |
63 |
|
- Make tls ciphers configurable [SME: 6141] |
64 |
|
|
65 |
|
* Sun Sep 25 2010 Shad L. Lords <slords@mail.com> 2.2.0-8.sme |
66 |
|
- Require auth for all relays (local too) [SME: 5575] |
67 |
|
|
68 |
|
* Sat Jun 5 2010 Ian Wells <esmith@wellsi.com> 2.2.0-7.sme |
69 |
|
- Add qpsmtpd template fragment for tls_before_auth [SME: 6004] |
70 |
|
|
71 |
|
* Sun Dec 27 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme |
72 |
|
- Enable qpsmtpd RequireResolvableFromHost plugin by default, remove |
73 |
|
database entry and the database default value [SME: 5617] |
74 |
|
|
75 |
|
* Sat Nov 7 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-5.sme |
76 |
|
- Tie template fragment into event system to have it expanded [SME: 5031] |
77 |
|
|
78 |
|
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-4.sme |
79 |
|
- Add qpsmtpd template fragment for custom SPAM subject prefix [SME: 5031] |
80 |
|
|
81 |
|
* Thu Oct 29 2009 Shad L. Lords <slords@mail.com> 2.0.0-3.sme |
82 |
|
- Add hooks cleanout back in in so auth works. |
83 |
|
|
84 |
|
* Thu Oct 29 2009 Shad L. Lords <slords@mail.com> 2.2.0-2.sme |
85 |
|
- Add compatibility with qpsmtpd 0.83 [SME: 5543] |
86 |
|
- Add tls to base config [SME: 1076] |
87 |
|
|
88 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme |
89 |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
90 |
|
|
677 |
|
|
678 |
%prep |
%prep |
679 |
%setup |
%setup |
680 |
|
%patch1 -p1 |
681 |
|
%patch2 -p1 |
682 |
|
%patch3 -p1 |
683 |
|
%patch4 -p1 |
684 |
|
%patch5 -p1 |
685 |
|
%patch6 -p1 |
686 |
|
%patch7 -p1 |
687 |
|
%patch8 -p1 |
688 |
|
%patch9 -p1 |
689 |
|
%patch10 -p1 |
690 |
|
|
691 |
%build |
%build |
692 |
perl createlinks |
perl createlinks |
710 |
done |
done |
711 |
|
|
712 |
ln -s ../qpsmtpd/config root/var/service/sqpsmtpd/config |
ln -s ../qpsmtpd/config root/var/service/sqpsmtpd/config |
713 |
|
ln -s ../qpsmtpd/ssl root/var/service/sqpsmtpd/ssl |
714 |
|
|
715 |
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} |
716 |
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 |