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 43 |
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 |
|
Patch32: smeserver-qpsmtpd-1.2.1-disclaimer.patch2 |
44 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
45 |
Requires: qpsmtpd >= 0.40 |
Requires: qpsmtpd >= 0.40 |
46 |
Requires: perl(Mail::DKIM) |
Requires: perl(Mail::DKIM) |
71 |
SME Server qpsmtpd smtpd module |
SME Server qpsmtpd smtpd module |
72 |
|
|
73 |
%changelog |
%changelog |
74 |
|
* Sun Jun 17 2007 Shad L. Lords <slords@mail.com> 1.2.1-43 |
75 |
|
- Updates for disclaimer plugin [SME: 2648] |
76 |
|
|
77 |
|
* Sat Jun 16 2007 Shad L. Lords <slords@mail.com> 1.2.1-42 |
78 |
|
- Add disclaimer plugin disabled by default [SME: 2648] |
79 |
|
|
80 |
* 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 |
81 |
- Update for new features in qpsmtpd v0.40 |
- Update for new features in qpsmtpd v0.40 |
82 |
|
|
642 |
%patch28 -p1 |
%patch28 -p1 |
643 |
%patch29 -p1 |
%patch29 -p1 |
644 |
%patch30 -p1 |
%patch30 -p1 |
645 |
|
%patch31 -p1 |
646 |
|
%patch32 -p1 |
647 |
|
|
648 |
%build |
%build |
649 |
perl createlinks |
perl createlinks |
691 |
echo "# $file disabled for local connections" > $PEERS_CONFIG/local/$file |
echo "# $file disabled for local connections" > $PEERS_CONFIG/local/$file |
692 |
done |
done |
693 |
|
|
694 |
|
DISABLE_EXTERNAL=" |
695 |
|
65disclaimer |
696 |
|
" |
697 |
|
|
698 |
|
for file in $DISABLE_EXTERNAL |
699 |
|
do |
700 |
|
echo "# $file disabled for external connections" > $PEERS_CONFIG/0/$file |
701 |
|
done |
702 |
|
|
703 |
( |
( |
704 |
cd root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins |
cd root/etc/e-smith/templates/var/service/qpsmtpd/config/plugins |
705 |
for file in * |
for file in * |