1 |
|
2 |
# $Id: smeserver-wbl.spec,v 1.17 2017/05/06 04:40:56 unnilennium Exp $ |
3 |
# Authority: gzartman |
4 |
# Name: Greg Zartman |
5 |
|
6 |
Summary: E-mail white/black lists for SME Server |
7 |
%define name smeserver-wbl |
8 |
Name: %{name} |
9 |
%define version 0.3.0 |
10 |
%define release 17 |
11 |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
13 |
License: GPL |
14 |
Group: SME Server/addon |
15 |
Source: %{name}-%{version}.tar.gz |
16 |
BuildRoot: /var/tmp/%{name}-%{version} |
17 |
BuildArchitectures: noarch |
18 |
BuildRequires: e-smith-devtools |
19 |
Requires: smeserver-release => 9.0 |
20 |
Requires: qpsmtpd >= 0.96 |
21 |
AutoReqProv: no |
22 |
Patch0: smeserver-wbl-0.3.0.bz807.blacklistfrom.patch |
23 |
Patch1: smeserver-wbl-0.3.0.bz5219.LocaleBugCorrection.patch |
24 |
Patch2: smeserver-wbl-0.3.0-locale-2015-09-12.patch |
25 |
Patch3: smeserver-wbl-0.3.0-locale-2015-09-15.patch |
26 |
Patch4: smeserver-wbl-0.3.0-locale-2015-09-17.patch |
27 |
Patch5: smeserver-wbl-0.3.0.bz9092.RBL_Menu.patch |
28 |
Patch6: smeserver-wbl-0.3.0-locale-2015-10-16.patch |
29 |
Patch7: smeserver-wbl-0.3.0-locale-2016-03-09.patch |
30 |
Patch8: smeserver-wbl-0.3.0-locale-2017-02-02.patch |
31 |
Patch9: smeserver-wbl-0.3.0.bz10091.changePlugin.patch |
32 |
Patch10: smeserver-wbl-0.3.0.bz10116.changingseparator.patch |
33 |
Patch11: smeserver-wbl-0.3.0.bz10124-event-to-avoid-unecessary-service-restart.patch |
34 |
Patch12: smeserver-wbl-0.3.0.bz10287-allowSpacesInRBL.patch |
35 |
|
36 |
%description |
37 |
%name is an addon for SME Server that provides the following WBLs: |
38 |
qpsmtpd check_badmailfrom /var/qmail/control/badmailfrom |
39 |
qpsmtpd check_spamhelo /var/service/qpsmtpd/config/badhelo |
40 |
qpsmtpd whitelist_soft /var/service/qpsmtpd/config/whitelisthosts whitelisthelo whitelistsenders |
41 |
spamassassin /etc/mail/spammassassin/local.cf whitelist_from |
42 |
|
43 |
%changelog |
44 |
* Wed May 10 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.3.0-17.sme |
45 |
- allow embedded spaces when entering new DNSBL zones [SME: 10287] |
46 |
|
47 |
* Sat May 06 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.3.0-16.sme |
48 |
- avoid unecessary service restart on modifcation [SME: 10124] |
49 |
|
50 |
* Thu Feb 23 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.3.0-14.sme |
51 |
- changing separator for RBLList, SBLList [SME: 10116] |
52 |
|
53 |
* Wed Feb 22 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.3.0-13.sme |
54 |
- move to new plugin whitelist provided by newer qpsmtpd [SME: 10091] |
55 |
|
56 |
* Wed Feb 01 2017 Jean-Philipe Pialasse <tests@pialasse.com> 0.3.0-12.sme |
57 |
- apply locale 2017-02-02.patch |
58 |
|
59 |
* Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 0.3.0-11.sme |
60 |
- apply locale 2016-03-09 patch |
61 |
|
62 |
* Fri Oct 16 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.3.0-10.sme |
63 |
- Added Translations smeserver-wbl-0.3.0-locale-2015-10-16.patch |
64 |
|
65 |
* Thu Oct 15 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.3.0-9.sme |
66 |
- The html strings of the main page has been removed of translations |
67 |
|
68 |
* Tue Oct 14 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.3.0-8.sme |
69 |
- Added a RBL's list Menu |
70 |
|
71 |
* Thu Sep 17 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.3.0-6.sme |
72 |
- smeserver-wbl-0.3.0-locale-2015-09-17.patch |
73 |
|
74 |
* Tue Sep 15 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.3.0-5.sme |
75 |
- added smeserver-wbl-0.3.0-locale-2015-09-15.patch |
76 |
|
77 |
* Sat Sep 12 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.3.0-4.sme |
78 |
- added smeserver-wbl-0.3.0-locale-2015-09-12.patch |
79 |
|
80 |
* Fri Sep 11 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.3.0-3.sme |
81 |
- Correction of a locale Bug [SME: 5219] |
82 |
- Added smeserver-wbl-0.3.0.bz5219.LocaleBugCorrection.patch |
83 |
|
84 |
* Sat Sep 05 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.3.0-2.sme |
85 |
- added spamassassin blacklist_from field [SME: 807] |
86 |
- smeserver-wbl-0.3.0.bz807.blacklistfrom.patch |
87 |
|
88 |
* Sat Sep 05 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 0.3.0-1.sme |
89 |
- Initial release to contribs9 |
90 |
|
91 |
* Thu Dec 25 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.1.0-21.sme |
92 |
- Added Translations smeserver-wbl-0.1.0-locale-2014-12-25.patch |
93 |
|
94 |
* Tue Apr 8 2014 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.1.0-20.sme |
95 |
- patch to rename variables which have earlier declarations in the same scope. [SME: 8319] |
96 |
- add a new usage legend for whitelistsenders by john crisp [SME: 8321] |
97 |
|
98 |
* Mon Jul 15 2013 JP Pialasse <tests@pialasse.com> 0.1.0-19.sme |
99 |
- apply locale 2013-07-15 patch |
100 |
- fix for SME8 [SME: 7007] |
101 |
- fix badmailfrom ignored by qpsmtpd, but without regex support [SME: 5085] |
102 |
|
103 |
* Sun Mar 06 2011 SME Translation Server <translations@contribs.org> 0.1.0-18.sme |
104 |
- apply locale 2011-03-06 patch |
105 |
|
106 |
* Sun May 23 2010 SME Translation Server <translations@contribs.org> 0.1.0-17.sme |
107 |
- apply locale 2010-05-23 patch |
108 |
|
109 |
* Tue Mar 02 2010 SME Translation Server <translations@contribs.org> 0.1.0-16.sme |
110 |
- apply locale 2010-03-02 patch |
111 |
|
112 |
* Tue Oct 27 2009 SME Translation Server <translations@contribs.org> 0.1.0-15.sme |
113 |
- apply locale 2009-10-27 patch |
114 |
|
115 |
* Mon Aug 24 2009 SME Translation Server <translations@contribs.org> 0.1.0-14.sme |
116 |
- apply locale 2009-08-24 patch |
117 |
|
118 |
* Wed May 20 2009 SME Translation Server <translations@contribs.org> 0.1.0-13.sme |
119 |
- apply locale 2009-05-20 patch |
120 |
|
121 |
* Mon Apr 27 2009 SME Translation Server <translations@contribs.org> 0.1.0-12.sme |
122 |
- apply locale 2009-04-27 patch |
123 |
|
124 |
* Tue Mar 03 2009 SME Translation Server |
125 |
- apply locale 2009-03-03 patch |
126 |
|
127 |
* Sun Mar 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-10 |
128 |
- Apply 1 Mar 2009 locale patch [SME: 5018] |
129 |
|
130 |
* Thu Jan 1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-9 |
131 |
- Apply 1 Jan 2009 locale patch [SME: 4900] |
132 |
|
133 |
* Wed Nov 19 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-8 |
134 |
- Apply 19 Nov 2008 locale patch |
135 |
|
136 |
* Mon Nov 10 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-7 |
137 |
- Apply 10 Nov 2008 locale patch |
138 |
|
139 |
* Fri Nov 7 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-6 |
140 |
- Apply 7 Nov 2008 locale patch |
141 |
|
142 |
* Thu Nov 6 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-5 |
143 |
- Apply 6 Nov 2008 locale patch |
144 |
|
145 |
* Fri Oct 17 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-4 |
146 |
- Apply 17 Oct 2008 locale patch |
147 |
|
148 |
* Thu Oct 16 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-3 |
149 |
- Apply 16 Oct 2008 locale patch |
150 |
|
151 |
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.1.0-2 |
152 |
- Apply 14 Oct 2008 locale patch |
153 |
|
154 |
* Mon Oct 13 2008 Shad L. Lords <slords@mail.com> 0.1.0-1.sme |
155 |
- Roll new stream to import into buildsys |
156 |
|
157 |
* Fri Oct 10 2008 Greg J. Zartman <greg@leiinc.com> 0.0.1-9 |
158 |
- Add whitelist_soft qpsmtpd plugin template fragment for external connections. |
159 |
- Simplify server-manager panel. |
160 |
|
161 |
* Fri Jan 05 2007 Darrell May <dmay@myezserver.com> |
162 |
- added spamassassin whitelist_from to accept panel |
163 |
- reworked all code to use spamassassin db format |
164 |
- [0.0.1-a8.dmay] |
165 |
|
166 |
* Thu Jan 04 2007 Darrell May <dmay@myezserver.com> |
167 |
- edited panels, added Update panel |
168 |
- [0.0.1-a7.dmay] |
169 |
|
170 |
* Thu Jan 04 2007 Darrell May <dmay@myezserver.com> |
171 |
- edited templates to use new db |
172 |
- added templates for spamassassin local.cf whitelist_from |
173 |
- [0.0.1-a6.dmay] |
174 |
|
175 |
* Wed Jan 03 2007 Darrell May <dmay@myezserver.com> |
176 |
- changed db to use /home/e-smith/db/wbl |
177 |
- [0.0.1-a5.dmay] |
178 |
|
179 |
* Sun Dec 17 2006 Darrell May <dmay@myezserver.com> |
180 |
- initial public alpha release |
181 |
- [0.0.1-a4.dmay] |
182 |
|
183 |
* Sat Dec 16 2006 Darrell May <dmay@myezserver.com> |
184 |
- more panel enhancements |
185 |
- [0.0.1-a3.dmay] |
186 |
|
187 |
* Fri Dec 15 2006 Darrell May <dmay@myezserver.com> |
188 |
- continued panel enhancements |
189 |
- [0.0.1-a2.dmay] |
190 |
|
191 |
* Fri Dec 15 2006 Darrell May <dmay@myezserver.com> |
192 |
- server-manager panel added |
193 |
- [0.0.1-a1.dmay] |
194 |
|
195 |
* Fri Dec 15 2006 Darrell May <dmay@myezserver.com> |
196 |
- initial alpha release |
197 |
- [0.0.1-a0.dmay] |
198 |
|
199 |
%prep |
200 |
%setup |
201 |
%patch0 -p1 |
202 |
%patch1 -p1 |
203 |
%patch2 -p1 |
204 |
%patch3 -p1 |
205 |
%patch4 -p1 |
206 |
%patch5 -p1 |
207 |
%patch6 -p1 |
208 |
%patch7 -p1 |
209 |
%patch8 -p1 |
210 |
%patch9 -p1 |
211 |
%patch10 -p1 |
212 |
%patch11 -p1 |
213 |
%patch12 -p1 |
214 |
|
215 |
%build |
216 |
perl createlinks |
217 |
|
218 |
%install |
219 |
rm -rf $RPM_BUILD_ROOT |
220 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
221 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
222 |
echo "%doc " >> %{name}-%{version}-filelist |
223 |
|
224 |
%clean |
225 |
cd .. |
226 |
rm -rf %{name}-%{version} |
227 |
|
228 |
%files -f %{name}-%{version}-filelist |
229 |
%defattr(-,root,root) |
230 |
|