/[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.9 - (hide annotations) (download)
Wed Jun 28 18:41:51 2017 UTC (7 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_6_0-8_el7_sme
Changes since 1.8: +8 -2 lines
* Wed Jun 28 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme
- disable auto_learn by default when enabling Bayes [SME: 8160]
- added properties UseBayesAutoLearn, BayesAutoLearnThresholdSpam and BayesAutoLearnThresholdNonSpam

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

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