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