/[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.1 - (show annotations) (download)
Wed Feb 6 21:44:27 2013 UTC (11 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_4_0-1_el6_sme
* Wed Feb  6 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme
- Roll new stream for sme9

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

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