/[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.11 - (show annotations) (download)
Mon Apr 19 14:24:41 2010 UTC (14 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_2_0-5_el5_sme
Changes since 1.10: +12 -5 lines
Updates

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

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