/[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.3 - (show annotations) (download)
Fri Sep 7 00:49:38 2007 UTC (17 years, 2 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-spamassassin-1_4_0-15_el4_sme
Changes since 1.2: +7 -1 lines
Update packages

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

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