/[smecontribs]/rpms/smeserver-wbl/contribs10/smeserver-wbl.spec
ViewVC logotype

Contents of /rpms/smeserver-wbl/contribs10/smeserver-wbl.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.9 - (show annotations) (download)
Fri Mar 1 10:21:17 2024 UTC (8 months, 3 weeks ago) by brianr
Branch: MAIN
CVS Tags: smeserver-wbl-0_5_0-9_el7_sme, HEAD
Changes since 1.8: +12 -1 lines
* Fri Mar 01 2024 Brian Read <brianr@koozali.org> 0.5.0-9.sme
- Edit Menu entry to conform to new arrangements [SME: 12493]

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed