/[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.27 - (hide annotations) (download)
Wed Jul 5 14:03:17 2023 UTC (11 months, 2 weeks ago) by jcrisp
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_7_0-12_el7_sme, HEAD
Changes since 1.26: +6 -2 lines
* Wed Jul 05 2023 John Crisp <jcrisp@safeandsoundit.co.uk> 2.7.0-12.sme
- Add requires perl-Mail-DMARC for spamassassin 4

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

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