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

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

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


Revision 1.9 - (show annotations) (download)
Mon Apr 19 14:24:41 2010 UTC (14 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_0_0-3_el4_sme, HEAD
Changes since 1.8: +11 -5 lines
Updates

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

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