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 |
brianr |
1.6 |
%define release 6 |
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 |
terryfage |
1.5 |
Patch3: smeserver-wbl-0.5.0-update-bz11687.patch |
15 |
brianr |
1.6 |
Patch4: smeserver-wbl-0.5.0-Add-in-class-for-overall-dic-in-ep-file.patch |
16 |
jpp |
1.3 |
|
17 |
michel |
1.1 |
BuildRoot: /var/tmp/%{name}-%{version} |
18 |
|
|
BuildArchitectures: noarch |
19 |
|
|
BuildRequires: e-smith-devtools |
20 |
michel |
1.2 |
#Requires: smeserver-manager => 0.1.0-23 |
21 |
michel |
1.1 |
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 |
brianr |
1.6 |
* 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 |
terryfage |
1.5 |
* 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 |
terryfage |
1.4 |
* Wed Aug 25 2021 Terry Fage <tfage@yahoo.com.au> 0.5.0-4.sme |
41 |
|
|
- apply locale 2021-08-25 patch |
42 |
|
|
|
43 |
jpp |
1.3 |
* 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 |
michel |
1.2 |
* 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 |
michel |
1.1 |
* 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 |
michel |
1.2 |
%patch0 -p1 |
56 |
jpp |
1.3 |
%patch1 -p1 |
57 |
terryfage |
1.4 |
%patch2 -p1 |
58 |
terryfage |
1.5 |
%patch3 -p1 |
59 |
brianr |
1.6 |
%patch4 -p1 |
60 |
michel |
1.1 |
|
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) |