/[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.1 - (hide annotations) (download)
Fri Feb 5 23:26:20 2016 UTC (8 years, 3 months ago) by stephdl
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_6_0-1_el7_sme
* Sat Feb 06 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme - Initial release to sme10

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

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