/[smeserver]/rpms/smeserver-spamassassin/sme9/smeserver-spamassassin.spec
ViewVC logotype

Annotation of /rpms/smeserver-spamassassin/sme9/smeserver-spamassassin.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.11 - (hide annotations) (download)
Wed Jun 28 18:47:49 2017 UTC (7 years, 5 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_4_0-9_el6_sme, HEAD
Changes since 1.10: +9 -2 lines
* Wed Jun 28 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-9.sme
- disable auto_learn by default when enabling Bayes [SME: 10360]
- added properties UseBayesAutoLearn, BayesAutoLearnThresholdSpam and
BayesAutoLearnThresholdNonSpam

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

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