/[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.13 - (hide annotations) (download)
Fri Dec 23 21:40:11 2011 UTC (12 years, 6 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_2_0-7_el5_sme
Changes since 1.12: +7 -2 lines
* Fri Dec 23 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6
- Remove spamd restart from bootstrap-console-save event [SME: 6717]

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

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