/[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.17 - (show annotations) (download)
Sun May 19 05:45:09 2013 UTC (11 years, 1 month ago) by burnat
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_2_0-10_el5_sme
Changes since 1.16: +7 -2 lines
* Sun May 19 2013 chris burnat <devlist@burnat.com> 2.2.0-10
- Reverse changes in 2.2.0-6 and fix how qpsmtpd tags spam email, codes by Charlie Brady [SME: 5603]

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

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