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