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

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

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


Revision 1.2 - (hide annotations) (download)
Tue Jun 26 18:35:59 2007 UTC (16 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-spamassassin-1_4_0-14_el4_sme
Changes since 1.1: +6 -1 lines
Updates

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

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