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