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