2 |
%define name smeserver-qpsmtpd |
%define name smeserver-qpsmtpd |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 1.2.1 |
%define version 1.2.1 |
5 |
%define release 41 |
%define release 42 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
39 |
Patch28: smeserver-qpsmtpd-1.2.1-logterse.patch2 |
Patch28: smeserver-qpsmtpd-1.2.1-logterse.patch2 |
40 |
Patch29: smeserver-qpsmtpd-1.2.1-qpsmtpd40.patch |
Patch29: smeserver-qpsmtpd-1.2.1-qpsmtpd40.patch |
41 |
Patch30: smeserver-qpsmtpd-1.2.1-qpsmtpd40.patch2 |
Patch30: smeserver-qpsmtpd-1.2.1-qpsmtpd40.patch2 |
42 |
|
Patch31: smeserver-qpsmtpd-1.2.1-disclaimer.patch |
43 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
44 |
Requires: qpsmtpd >= 0.40 |
Requires: qpsmtpd >= 0.40 |
45 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
70 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
71 |
|
|
72 |
%changelog |
%changelog |
73 |
|
* Sat Jun 16 2007 Shad L. Lords <slords@mail.com> 1.2.1-42 |
74 |
|
- Add disclaimer plugin disabled by default [SME: 2648] |
75 |
|
|
76 |
* Thu Jun 14 2007 Shad L. Lords <slords@mail.com> 1.2.1-41 |
* Thu Jun 14 2007 Shad L. Lords <slords@mail.com> 1.2.1-41 |
77 |
- Update for new features in qpsmtpd v0.40 |
- Update for new features in qpsmtpd v0.40 |
78 |
|
|
638 |
%patch28 -p1 |
%patch28 -p1 |
639 |
%patch29 -p1 |
%patch29 -p1 |
640 |
%patch30 -p1 |
%patch30 -p1 |
641 |
|
%patch31 -p1 |
642 |
|
|
643 |
%build |
%build |
644 |
perl createlinks |
perl createlinks |
686 |
echo "# $file disabled for local connections" > $PEERS_CONFIG/local/$file |
echo "# $file disabled for local connections" > $PEERS_CONFIG/local/$file |
687 |
done |
done |
688 |
|
|
689 |
|
DISABLE_EXTERNAL=" |
690 |
|
65disclaimer |
691 |
|
" |
692 |
|
|
693 |
|
for file in $DISABLE_EXTERNAL |
694 |
|
do |
695 |
|
echo "# $file disabled for external connections" > $PEERS_CONFIG/0/$file |
696 |
|
done |
697 |
|
|
698 |
( |
( |
699 |
cd root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins |
cd root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins |
700 |
for file in * |
for file in * |