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