/[smeserver]/rpms/smeserver-spamassassin/sme10/smeserver-spamassassin.spec
ViewVC logotype

Contents of /rpms/smeserver-spamassassin/sme10/smeserver-spamassassin.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (show annotations) (download)
Fri Mar 18 13:41:18 2016 UTC (8 years, 3 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_6_0-5_el7_sme
Changes since 1.5: +6 -2 lines
* Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme
- fix claim to own /usr/bin [SME: 9348]
-  rebuild for Bug [SME: 9347]

1 # $Id: smeserver-spamassassin.spec,v 1.5 2016/03/18 11:20:02 vip-ire Exp $
2
3 Summary: SME Server - spamassassin anti-spam module
4 %define name smeserver-spamassassin
5 Name: %{name}
6 %define version 2.6.0
7 %define release 5
8 Version: %{version}
9 Release: %{release}%{?dist}
10 License: GPL
11 Group: Networking/Daemons
12 Source: %{name}-%{version}.tar.xz
13 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
14 Requires: e-smith-email >= 4.13.0-38
15 Requires: headermatch
16 Requires: spamassassin >= 3.3.0
17 Requires: perl(Crypt::OpenSSL::Bignum)
18 Requires: perl(IO::Socket::INET6)
19 Requires: perl(IP::Country)
20 Requires: perl(Net::DNS) >= 0.34-1
21 Requires: perl(Net::Ident)
22 Requires: perl(Compress::Zlib)
23 Requires: perl(Mail::DKIM)
24 Requires: ucspi-tcp daemontools
25 Requires: e-smith-lib >= 1.13.1-90
26 Requires: e-smith-base >= 4.13.16
27 Requires: e-smith-qmail >= 1.9.0-09sme02
28 Requires: perl-Razor-Agent
29 Requires: pyzor
30 Obsoletes: FuzzyOcr
31 Obsoletes: e-smith-spamassassin
32 Provides: e-smith-spamassassin
33 BuildArchitectures: noarch
34 BuildRequires: e-smith-devtools >= 1.11.0-12
35 AutoReqProv: no
36
37 %description
38 SME Server - spamassassin anti-spam module
39
40 %changelog
41 * Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme
42 - fix claim to own /usr/bin [SME: 9348]
43 - rebuild for Bug [SME: 9347]
44
45 * Fri Mar 18 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-4.sme
46 - Update dependency for perl-Razor-Agent [SME: 9336]
47
48 * Fri Mar 18 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme
49 - Remove dependency on dcc as it's non free software [SME: 9331]
50
51 * Fri Mar 18 2016 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-2.sme
52 - Change Requires DCC to dcc [SME: 9343]
53
54 * Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme
55 - Initial release to sme10
56
57 * Thu Jan 07 2016 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-6.sme
58 - Disable ipv6 support to prevent a warning during startup [SME: 9153]
59
60 * Wed Jan 29 2014 Ian Wells <esmith@wellsi.com> 2.4.0-5.sme
61 - Remove workarounds for how qpsmtpd tags spam email [SME: 8109]
62 - Fix whitespace in 10required_score
63
64 * Thu Jan 2 2014 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme
65 - Include /usr/bin/refreshclam [SME: 8108]
66
67 * Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 2.4.0-3.sme
68 - Load TextCat plugin if ok_languages is enabled [SME: 7757]
69
70 * Sun May 19 2013 chris burnat <devlist@burnat.com> 2.4.0-2.sme
71 - Fix how qpsmtpd tags spam email, codes by Charlie Brady [SME: 7604]
72
73 * Wed Feb 6 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme
74 - Roll new stream for sme9
75
76 * Sun Apr 8 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-9
77 - Add template fragment for pyzor timeout [SME: 6896]
78
79 * Fri Jan 20 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-8
80 - Actually apply patch to remove spamd restart from bootstrap-console-save event [SME: 6717]
81
82 * Fri Dec 23 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-7
83 - Remove spamd restart from bootstrap-console-save event [SME: 6717]
84
85 * Sat Aug 7 2010 Ian Wells <esmith@wellsi.com> 2.2.0-6.sme
86 - Work around how qpsmtpd tags spam email, by Michael McCarn [SME: 5603]
87
88 * Mon Apr 19 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme
89 - Remove cron.daily jobs that are no longer needed
90 - Previous patch make spamassassin restart correctly [SME: 3304]
91 - Newer spamassassin imports keys on install [SME: 5889]
92
93 * Wed Feb 17 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4.sme
94 - Requires SpamAssassin 3.3.0 [SME: 5741]
95 - Remove FuzzyOcr [SME: 5771]
96 - Use ATrpm package (partially remove previous patch)
97
98 * Tue Feb 16 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-3.sme
99 - Requires SpamAssassin 3.3.0 [SME: 5741]
100 - Remove FuzzyOcr [SME: 5771]
101 - Run sa-update every two hours and check restart every hour
102 - Redirect cron job output to logfile to avoid mail noise
103
104 * Tue Nov 25 2008 Giacomo Sanchietti <giacomo@nethesis.it> 2.2.0-2.sme
105 - Fix invalid service name in sa-update [SME: 3304]
106
107 * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
108 - Roll new stream to separate sme7/sme8 trees [SME: 4633]
109
110 * Sat Mar 9 2008 chris burnat <devlist@burnat.com> 1.4.0-18
111 - Edit and rename deprecated template fragment [SME: 3857]
112
113 * Tue Dec 25 2007 Shad L. Lords <slords@mail.com> 1.4.0-17
114 - Import all spamassassin keys correctly [SME: 3206]
115
116 * Sat Sep 8 2007 Shad L. Lords <slords@mail.com> 1.4.0-16
117 - Import spamassassin keys correctly [SME: 3206]
118
119 * Thu Sep 6 2007 Shad L. Lords <slords@mail.com> 1.4.0-15
120 - Import spamassassin keys if sa_update is found [SME: 3206]
121 - Restart spamassassin if update successful [SME: 3351]
122
123 * Sun Jun 24 2007 Shad L. Lords <slords@mail.com> 1.4.0-14
124 - Fix log (lint) noise [SME: 3100]
125
126 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
127 - Clean up spec so package can be built by koji/plague
128
129 * Sun Feb 18 2007 Shad L. Lords <slords@mail.com> 1.4.0-13
130 - Add FuzzyOcr to spamassassin to detect graphic spam [SME: 1985]
131
132 * Fri Feb 16 2007 Shad L. Lords <slords@mail.com> 1.4.0-12
133 - Change runsvctrl to sv to support runit v1.7.x [SME: 2486]
134
135 * Wed Jan 24 2007 Shad L. Lords <slords@mail.com> 1.4.0-11
136 - Add requires for new spamassassin modules
137
138 * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
139 - Update to new release naming. No functional changes.
140 - Make Packager generic
141
142 * Fri Nov 10 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-09
143 - Only match X-Spam-Status in headers, via headermatch [SME: 1924]
144
145 * Thu Jul 13 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-08
146 - Anchor X-Spam-Status check to start of line [SME: 1712]
147
148 * Wed Jun 14 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-07
149 - Missing space in last change [SME: 1571]
150
151 * Wed Jun 14 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-06
152 - Add check for spamassassin{UseAutoWhitelist}, defaulting to 0 (off)
153 [SME: 1571]
154
155 * Fri Jun 9 2006 Shad L. Lords <slords@mail.com> 1.4.0-05
156 - Add path/perm for auto_whitelist [SME: 1571]
157
158 * Fri Jun 9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-04
159 - Adjust perl dependencies to perl module rather than RPM [SME: 1548]
160
161 * Fri Jun 9 2006 Gordon Rowell <gordonr@gormand.com.au> 1.4.0-03
162 - Correct previous changelog and rebuild [SME: 1548]
163
164 * Wed Jun 7 2006 Shad L. Lords <slords@mail.com> 1.4.0-02
165 - Update config for spamassassin 3.10+ [SME: 1548]
166
167 * Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.4.0-01
168 - Roll stable stream version. [SME: 1016]
169
170 * Wed Feb 22 2006 Gavin Weight <gweight@gmail.com> 1.3.0-07
171 - Renamed 40customScore_BAYES_90 to 40customScore_BAYES_95,
172 Edited 40customScore_BAYES_95 to change 90 to 95. [SME: 836]
173
174 * Tue Feb 7 2006 Shad L. Lords <slords@mail.com> 1.3.0-06
175 - Add db default for wbl.global_to|type [SME: 693]
176
177 * Sat Jan 28 2006 Shad L. Lords <slords@mail.com> 1.3.0-05
178 - Add global white/black lists for to addresses [SME: 594]
179
180 * Thu Nov 03 2005 Filippo Carletti <carletti@mobilia.it> 1.3.0-04
181 - Avoid runit spinning if spamd is disabled [SF: 1312897]
182
183 * Wed Nov 02 2005 Filippo Carletti <carletti@mobilia.it> 1.3.0-03sme01
184 - Start spamd only if spam filter is enabled [SF: 1312897]
185
186 * Mon Oct 10 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-03
187 - Migrate SortSpam property from 0/1 to disabled/enabled [SF: 1321319]
188
189 * Fri Oct 7 2005 Gordon Rowell <gordonr@gormand.com.au> 1.3.0-02
190 - Clear qmail{DeliveryInstruction} and qmail{DeliveryType} if
191 they were set for the obsoleted sortspam [SF: 1315596]
192
193 * Fri Sep 23 2005 Gordon Rowell <gordonr@gormand.com.au>
194 - [1.3.0]
195 - Package renamed to smeserver-spamassassin
196
197 * Fri Sep 23 2005 Gordon Rowell <gordonr@gormand.com.au>
198 - [1.1.0-08sme01]
199 - Simplify .qmail template fragment and add Requires header
200 for recent e-smith-qmail since we need 00setup from it [SF: 1252336]
201
202 * Tue Aug 2 2005 Shad Lords <slords@email.com>
203 - [1.1.0-08]
204 - Prepare for change of default database location. [SF: 1216546]
205
206 * Tue May 31 2005 Charlie Brady <charlieb@e-smith.com>
207 - [1.1.0-07]
208 - Default spamassassin{RejectLevel}==0 [Gordon SF:1202399]
209
210 * Fri May 13 2005 Charlie Brady <charlieb@e-smith.com>
211 - [1.1.0-06]
212 - Another update from Gordon.
213 - Use condredirect (redirecting to $USERNAME-junkmail)
214 instead of sortspam [SF:1200336]
215 - Provide template for .qmail-junkmail
216 - Remove db defaults for qmail{DeliveryType,DeliveryInstruction}.
217 We don't want one delivery instruction, we want as many as the
218 user has requested. Each instruction should be enabled/disabled
219 on a global and per-user basis, as per SortSpam
220 - TODO: Simplify e-smithForward20 in e-smith-email
221
222 * Fri May 13 2005 Charlie Brady <charlieb@e-smith.com>
223 - [1.1.0-05]
224 - Really add the new files in last patch from Shad/Gordon.
225
226 * Thu May 5 2005 Charlie Brady <charlieb@e-smith.com>
227 - [1.1.0-04]
228 - Various contributions from Shad Lords and Gordon Rowell, as follows
229 - Add sortspam from Shad Lords' e-smith-spamassassin
230 - Add lots of config entries and local.cf templates, also from Shad
231 - Modified templates to match new config db names
232 - Add migrate fragments
233
234 * Wed Apr 27 2005 Charlie Brady <charlieb@e-smith.com>
235 - [1.1.0-03]
236 - Change Requires header to "razor-agents".
237
238 * Mon Mar 21 2005 Charlie Brady <charlieb@e-smith.com>
239 - [1.1.0-02]
240 - Update config for SpamAssassin 3.0.2
241
242 * Wed Feb 4 2004 Michael Soulier <msoulier@e-smith.com>
243 - [1.1.0-01]
244 - rolling to dev - 1.1.0
245
246 * Wed Feb 4 2004 Michael Soulier <msoulier@e-smith.com>
247 - [1.0.0-01]
248 - rolling to stable - 1.0.0
249
250 * Thu Aug 28 2003 Michael Soulier <msoulier@e-smith.com>
251 - [0.0.8-02]
252 - Added K* init symlinks to runlevels 0, 1 and 6. [msoulier 9761]
253
254 * Thu Jun 26 2003 Gordon Rowell <gordonr@e-smith.com>
255 - [0.0.8-01]
256 - Enable spamd by default [gordonr 9183]
257 - Simplify spamassassin-update script [gordonr 9183]
258 - Resolve spamd/spamassassing directory confusion [gordonr 9183]
259 - Change spamd use home directory to /var/spool/spamd [gordonr 9183]
260 - Log as smelog user in /var/log/spamd [gordonr 9183]
261 - Update SPEC file with new genfilelist [gordonr 9183]
262
263 * Fri Jun 20 2003 Gordon Rowell <gordonr@e-smith.com>
264 - [0.0.7-23]
265 - Add path to /service/spamd so restart works [gordonr 9095]
266
267 * Mon Jun 9 2003 Gordon Rowell <gordonr@e-smith.com>
268 - [0.0.7-22]
269 - Put back skip_rbl_checks|0 default [gordonr 8952]
270
271 * Mon Jun 9 2003 Gordon Rowell <gordonr@e-smith.com>
272 - [0.0.7-21]
273 - Generate the correct config lines, and make each fragment
274 valid perl [gordonr 8960]
275
276 * Mon Jun 9 2003 Gordon Rowell <gordonr@e-smith.com>
277 - [0.0.7-20]
278 - Move spamassassin configuration parameters into main configdb
279 as properties of the spamassassing service [gordonr 8960]
280
281 * Mon Jun 9 2003 Charlie Brady <charlieb@e-smith.com>
282 - [0.0.7-19]
283 - Change config to use RBLs by default. [charlieb 8952]
284
285 * Wed Jun 4 2003 Charlie Brady <charlieb@e-smith.com>
286 - [0.0.7-18]
287 - Use create-system-user to create spamd user. [charlieb 6033]
288
289 * Tue Apr 22 2003 Gordon Rowell <gordonr@e-smith.com>
290 - [0.0.7-17]
291 - Removed %post call - already done in various events [gordonr 2600]
292
293 * Tue Apr 22 2003 Gordon Rowell <gordonr@e-smith.com>
294 - [0.0.7-16]
295 - Changed spamd uid (1003 already taken) - [gordonr 8368]
296
297 * Mon Apr 21 2003 Gordon Rowell <gordonr@e-smith.com>
298 - [0.0.7-15]
299 - Let useradd add the group in %pre. Don't fail %pre if the uid is not
300 unique [gordonr 8368]
301
302 * Wed Apr 9 2003 Charlie Brady <charlieb@e-smith.com>
303 - [0.0.7-14]
304 - Replace serviceControl() calls with "svc-stop" or "svc -t" as required,
305 so that messages don't leak to console when spamd is restarted.
306 [charlieb 7883]
307
308 * Thu Apr 3 2003 Gordon Rowell <gordonr@e-smith.com>
309 - [0.0.7-13]
310 - Removed dangling panel link [gordonr 7787]
311
312 * Wed Apr 2 2003 Charlie Brady <charlieb@e-smith.com>
313 - [0.0.7-12]
314 - Add default DeliveryInstruction andi DeliveryType default
315 properties for qmail, so that "sortspam" is used for local delivery.
316 Update e-smith-email "requires" version to suit. [charlieb 2600]
317 - Change Copyright header to License. [charlieb]
318
319 * Wed Apr 2 2003 Charlie Brady <charlieb@e-smith.com>
320 - [0.0.7-11]
321 - Remove panel code. Greg's panel code can now be found in
322 e-smith-spamassassin-panel. [charlieb 7787]
323 - Split action into spamassassin config/restart and procmail
324 configure sections. Latter is not yet liked into any
325 actions. [charlieb 2600]
326 - Remove db initialization parts of action script - init done by
327 'defaults' fragments. [charlieb 7526]
328 - Do stop/restart of 'spamd', not 'spamassassin'. [charlieb 2600]
329
330 * Fri Mar 28 2003 Gordon Rowell <gordonr@e-smith.com>
331 - [0.0.7-10]
332 - Change panel Spam Control -> Spam filtering [gordonr 2600]
333
334 * Fri Mar 28 2003 Charlie Brady <charlieb@e-smith.com>
335 - [0.0.7-09]
336 - Fix problem with sorting of sensitivity labels in panel [charlieb 7910]
337
338 * Tue Mar 25 2003 Charlie Brady <charlieb@e-smith.com>
339 - [0.0.7-08]
340 - Remove -c from run file which starts spamd - we don't want to try
341 to create missing user config files. [charlieb 2600]
342 - Create user spamd and run spamd as that userid. [charlieb 2600]
343
344 * Mon Mar 17 2003 Charlie Brady <charlieb@e-smith.com>
345 - [0.0.7-07]
346 - Add conf.global and wbl.global default configuration data. [charlieb 2600]
347
348 * Fri Mar 14 2003 Charlie Brady <charlieb@e-smith.com>
349 - [0.0.7-06]
350 - Various fixes to spamassassin db initialization templates - mostly CVS
351 repository issues. [charlieb 2600]
352
353 * Fri Mar 14 2003 Charlie Brady <charlieb@e-smith.com>
354 - [0.0.7-05]
355 - Add the panel link for the new panel. Configure spamd to be paranoid
356 and to create no use config files. [charlieb 2600]
357
358 * Fri Mar 14 2003 Charlie Brady <charlieb@e-smith.com>
359 - [0.0.7-04]
360 - Remove Greg's full-featured spamassassin panel. Consult CVS if you want
361 to resurrect any of the code. [charlieb 2600]
362
363 * Fri Mar 14 2003 Charlie Brady <charlieb@e-smith.com>
364 - [0.0.7-03]
365 - Fix the minimal FM panel so that it runs. [charlieb 2600]
366 - Fix compile problems in spamassassin-update script. [charlieb 2600]
367
368 * Fri Mar 14 2003 Charlie Brady <charlieb@e-smith.com>
369 - [0.0.7-02]
370 - Add starter en-us lexicon for FM version of the panel. [charlieb 2600]
371
372 * Fri Mar 14 2003 Charlie Brady <charlieb@e-smith.com>
373 - [0.0.7-01]
374 - Use new defaults directory structure to initialize db entries.
375 Add minimal Fm web panel. Add spamassassin-update to email-update
376 and bootstrap-console-save events. [charlieb 2600]
377
378 * Tue Feb 4 2003 Gordon Rowell <gordonr@e-smith.com>
379 - [0.0.6-01]
380 - Roll new source tarball after the merge [gordonr 2600]
381
382 * Tue Feb 4 2003 Gordon Rowell <gordonr@e-smith.com>
383 - [0.0.5-04]
384 - Merged in Greg Zartman's <greg@leiinc.com> contrib
385
386 * Wed Jan 29 2003 Greg Zartman <greg@leiinc.com>
387 - Fixed a small typo in spamassassin server-manager
388 panel that caused a menu label to not show correctly
389
390 * Wed Jan 29 2003 Greg Zartman <greg@leiinc.com>
391 - [0.0.1-1]
392 - initial Alpha release
393
394 * Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com>
395 - [0.0.5-03]
396 - And rename /service/spamd as well [gordonr 2600]
397
398 * Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com>
399 - [0.0.5-02]
400 - Renamed spamassassin -> spamd to avoid conflict with spamassassin's
401 init script [gordonr 2600]
402
403 * Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com>
404 - [0.0.5-01]
405 - Removed stray /etc/tcprules directory [gordonr 2600]
406
407 * Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com>
408 - [0.0.4-01]
409 - Deleted some detritus [gordonr 2600]
410
411 * Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com>
412 - [0.0.3-01]
413 - And an -as-source run to build the initial version [gordonr 2600]
414
415 * Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com>
416 - [0.0.2-02]
417 - Missed some files on initial import [gordonr 2600]
418
419 * Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com>
420 - [0.0.2-01]
421 - Initial import to 0.0.2
422
423 * Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com>
424 - [0.0.1-02]
425 - Initial SRPM from CVS [gordonr 2600]
426
427 * Sun Dec 29 2002 Gordon Rowell <gordonr@e-smith.com>
428 - [0.0.1-1]
429 - Initial
430
431 %prep
432 %setup
433
434 %build
435 perl createlinks
436
437 %install
438 rm -rf $RPM_BUILD_ROOT
439 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
440 rm -f %{name}-%{version}-%{release}-filelist
441 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
442 --dir /var/service/spamd 'attr(01755,root,root)' \
443 --file /var/service/spamd/down 'attr(0644,root,root)' \
444 --file /var/service/spamd/run 'attr(0755,root,root)' \
445 --dir /var/service/spamd/log 'attr(0755,root,root)' \
446 --dir /var/service/spamd/log/supervise 'attr(0700,root,root)' \
447 --dir /var/service/spamd/supervise 'attr(0700,root,root)' \
448 --file /var/service/spamd/log/run 'attr(0755,root,root)' \
449 --dir /var/log/spamd 'attr(2750,smelog,smelog)' \
450 --dir /var/spool/spamd 'attr(2750,spamd,spamd)' \
451 --dir /var/spool/spamd/.spamassassin 'attr(2750,spamd,spamd)' \
452 --file /etc/cron.hourly/sa-restart 'attr(0755,root,root)' \
453 --file /usr/bin/refreshclam 'attr(0755,root,root)' \
454 > %{name}-%{version}-%{release}-filelist
455
456 %pre
457 /sbin/e-smith/create-system-user spamd 1005 \
458 'spamassassin daemon user' /var/spool/spamd /bin/false
459
460 %clean
461 rm -rf $RPM_BUILD_ROOT
462
463 %post
464
465 %files -f %{name}-%{version}-%{release}-filelist
466 %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed