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

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

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


Revision 1.7 - (hide annotations) (download)
Thu Jan 30 04:06:11 2014 UTC (10 years, 9 months ago) by wellsi
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_4_0-5_el6_sme
Changes since 1.6: +10 -4 lines
* Wed Jan 29 2014 Ian Wells <esmith@wellsi.com> 2.4.0-5.sme
- Remove workarounds for how qpsmtpd tags spam email [SME: 8109]
- Fix whitespace in 10required_score

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

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