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