/[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.9 - (hide annotations) (download)
Wed Feb 17 11:53:42 2010 UTC (14 years, 3 months ago) by filippocarletti
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_2_0-3_el5_sme
Changes since 1.8: +13 -4 lines
* Tue Feb 16 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-3sme
- Requires SpamAssassin 3.3.0 [SME: 5741]
- Remove FuzzyOcr [SME: 5771]
- Run sa-update every two hours and check restart every hour
- Redirect cron job output to logfile to avoid mail noise

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