/[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.3 - (hide annotations) (download)
Fri Mar 18 11:16:05 2016 UTC (8 years, 7 months ago) by vip-ire
Branch: MAIN
Changes since 1.2: +5 -3 lines
* Fri Mar 18 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-3.sme
- Remove dependency on dcc as it's non free software [SME: 9331]

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

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