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