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

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

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


Revision 1.18 - (show annotations) (download)
Sat Jul 6 04:53:11 2013 UTC (11 years, 4 months ago) by wellsi
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_2_0-11_el5_sme
Changes since 1.17: +8 -3 lines
* Fri Jul 5 2013 Ian Wells <esmith@wellsi.com> 2.2.0-11
- Load TextCat plugin if ok_languages is enabled [SME: 7048]

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

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