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 |
terryfage |
1.4 |
%define release 4 |
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 |
jpp |
1.3 |
Patch1: smeserver-wbl-0.5.0-bz10948-bis.patch |
13 |
terryfage |
1.4 |
Patch2: smeserver-wbl-0.5.0-locale-2021-08-25.patch |
14 |
jpp |
1.3 |
|
15 |
michel |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version} |
16 |
|
|
BuildArchitectures: noarch |
17 |
|
|
BuildRequires: e-smith-devtools |
18 |
michel |
1.2 |
#Requires: smeserver-manager => 0.1.0-23 |
19 |
michel |
1.1 |
Requires: smeserver-release => 10.0 |
20 |
|
|
Requires: qpsmtpd >= 0.96-19 |
21 |
|
|
AutoReqProv: no |
22 |
|
|
#Patch0: smeserver-wbl-0.5.0-init.patch |
23 |
|
|
|
24 |
|
|
%description |
25 |
|
|
%name is an addon for SME Server that provides the following WBLs: |
26 |
|
|
qpsmtpd check_badmailfrom /var/qmail/control/badmailfrom |
27 |
|
|
qpsmtpd check_spamhelo /var/service/qpsmtpd/config/badhelo |
28 |
|
|
qpsmtpd whitelist_soft /var/service/qpsmtpd/config/whitelisthosts whitelisthelo whitelistsenders |
29 |
|
|
spamassassin /etc/mail/spammassassin/local.cf whitelist_from |
30 |
|
|
|
31 |
|
|
%changelog |
32 |
terryfage |
1.4 |
* Wed Aug 25 2021 Terry Fage <tfage@yahoo.com.au> 0.5.0-4.sme |
33 |
|
|
- apply locale 2021-08-25 patch |
34 |
|
|
|
35 |
jpp |
1.3 |
* Mon Mar 15 2021 Jean-Philippe Pialasse <tests@pialasse.com> 0.5.0-3.sme |
36 |
|
|
- fix reference to spamd and panel link [SME: 10948] |
37 |
|
|
|
38 |
michel |
1.2 |
* Sat Nov 28 2020 Michel Begue <mab974@gmail.com> 0.5.0-02.sme |
39 |
|
|
- Back to compatibility with e-smith-manager [SME: 10948] |
40 |
|
|
|
41 |
michel |
1.1 |
* Mon Jun 08 2020 Michel Begue <mab974@gmail.com> 0.5.0-01.sme |
42 |
|
|
- initial release for smeserver-manager (sme10) |
43 |
|
|
- [0.3.0-19.sme9] |
44 |
|
|
|
45 |
|
|
%prep |
46 |
|
|
%setup |
47 |
michel |
1.2 |
%patch0 -p1 |
48 |
jpp |
1.3 |
%patch1 -p1 |
49 |
terryfage |
1.4 |
%patch2 -p1 |
50 |
michel |
1.1 |
|
51 |
|
|
%build |
52 |
|
|
perl createlinks |
53 |
|
|
|
54 |
|
|
%install |
55 |
|
|
rm -rf $RPM_BUILD_ROOT |
56 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
57 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
58 |
|
|
echo "%doc " >> %{name}-%{version}-filelist |
59 |
|
|
|
60 |
|
|
%clean |
61 |
|
|
cd .. |
62 |
|
|
rm -rf %{name}-%{version} |
63 |
|
|
|
64 |
|
|
%files -f %{name}-%{version}-filelist |
65 |
|
|
%defattr(-,root,root) |
66 |
|
|
|