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