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

Annotation of /rpms/smeserver-spamassassin/sme8/smeserver-spamassassin.spec

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


Revision 1.12 - (hide annotations) (download)
Sat Aug 7 22:03:06 2010 UTC (13 years, 10 months ago) by wellsi
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_2_0-6_el5_sme
Changes since 1.11: +7 -2 lines
Work around how qpsmtpd tags spam email, by Michael McCarn [SME: 5603]

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

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