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