/[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.10 - (hide annotations) (download)
Wed Feb 17 17:18:12 2010 UTC (14 years, 9 months ago) by filippocarletti
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_2_0-4_el5_sme
Changes since 1.9: +8 -3 lines
* Wed Feb 17 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-4sme
- Requires SpamAssassin 3.3.0 [SME: 5741]
- Remove FuzzyOcr [SME: 5771]
- Use ATrpm package (partially remove previous patch)

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

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