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

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

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


Revision 1.5 - (hide annotations) (download)
Fri Mar 18 11:20:02 2016 UTC (8 years, 7 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_6_0-4_el7_sme
Changes since 1.4: +2 -2 lines
Bump release

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

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