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

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

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


Revision 1.5 - (show annotations) (download)
Fri Jan 3 05:07:43 2014 UTC (10 years, 10 months ago) by wellsi
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_4_0-4_el6_sme
Changes since 1.4: +8 -2 lines
* Thu Dec 2 2014 Ian Wells <esmith@wellsi.com> 2.4.0-4.sme
- Include /usr/bin/refreshclam [SME: 8108]

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

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