/[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.5 - (show annotations) (download)
Tue Dec 25 19:31:11 2007 UTC (16 years, 5 months ago) by bytegw
Branch: MAIN
CVS Tags: smeserver-spamassassin-1_4_0-17_el4_sme
Changes since 1.4: +6 -1 lines
Updates

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

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