/[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.15 - (hide annotations) (download)
Fri Jan 20 10:18:09 2012 UTC (12 years, 10 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_2_0-8_el5_sme
Changes since 1.14: +2 -2 lines
Fix changelog date for last entry

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

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