1 |
Summary: E-mail white/black lists for SME Server |
2 |
%define name smeserver-wbl |
3 |
Name: %{name} |
4 |
%define version 0.5.0 |
5 |
%define release 3 |
6 |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
8 |
License: GPL |
9 |
Group: SME Server/addon |
10 |
Source: %{name}-%{version}.tar.gz |
11 |
Patch0: %{name}-%{version}-bz10948_manager.patch |
12 |
Patch1: smeserver-wbl-0.5.0-bz10948-bis.patch |
13 |
|
14 |
BuildRoot: /var/tmp/%{name}-%{version} |
15 |
BuildArchitectures: noarch |
16 |
BuildRequires: e-smith-devtools |
17 |
#Requires: smeserver-manager => 0.1.0-23 |
18 |
Requires: smeserver-release => 10.0 |
19 |
Requires: qpsmtpd >= 0.96-19 |
20 |
AutoReqProv: no |
21 |
#Patch0: smeserver-wbl-0.5.0-init.patch |
22 |
|
23 |
%description |
24 |
%name is an addon for SME Server that provides the following WBLs: |
25 |
qpsmtpd check_badmailfrom /var/qmail/control/badmailfrom |
26 |
qpsmtpd check_spamhelo /var/service/qpsmtpd/config/badhelo |
27 |
qpsmtpd whitelist_soft /var/service/qpsmtpd/config/whitelisthosts whitelisthelo whitelistsenders |
28 |
spamassassin /etc/mail/spammassassin/local.cf whitelist_from |
29 |
|
30 |
%changelog |
31 |
* Mon Mar 15 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.5.0-3.sme |
32 |
- fix reference to spamd and panel link [SME: 10948] |
33 |
|
34 |
* Sat Nov 28 2020 Michel Begue <mab974@gmail.com> 0.5.0-02.sme |
35 |
- Back to compatibility with e-smith-manager [SME: 10948] |
36 |
|
37 |
* Mon Jun 08 2020 Michel Begue <mab974@gmail.com> 0.5.0-01.sme |
38 |
- initial release for smeserver-manager (sme10) |
39 |
- [0.3.0-19.sme9] |
40 |
|
41 |
%prep |
42 |
%setup |
43 |
%patch0 -p1 |
44 |
%patch1 -p1 |
45 |
|
46 |
%build |
47 |
perl createlinks |
48 |
|
49 |
%install |
50 |
rm -rf $RPM_BUILD_ROOT |
51 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
52 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
53 |
echo "%doc " >> %{name}-%{version}-filelist |
54 |
|
55 |
%clean |
56 |
cd .. |
57 |
rm -rf %{name}-%{version} |
58 |
|
59 |
%files -f %{name}-%{version}-filelist |
60 |
%defattr(-,root,root) |
61 |
|