/[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.16 - (show annotations) (download)
Sun Apr 8 15:12:14 2012 UTC (12 years, 3 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_2_0-9_el5_sme
Changes since 1.15: +7 -2 lines
* Sun Apr 8 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-9
- Add template fragment for pyzor timeout [SME: 6896]

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

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