/[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.8 - (hide annotations) (download)
Wed Mar 8 14:29:38 2017 UTC (7 years, 2 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-spamassassin-2_6_0-7_el7_sme
Changes since 1.7: +7 -2 lines
* Wed Mar 8 2017 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-7.sme
- Rewrite spamd run script to add support for --allow-tell [SME: 10137]

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

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