/[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.2 - (hide annotations) (download)
Fri Mar 18 06:33:41 2016 UTC (8 years, 7 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_6_0-2_el7_sme
Changes since 1.1: +6 -3 lines
* Fri Mar 18 2016 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-2.sme
- Change Requires DCC to dcc [SME: 9343]

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

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