/[smeserver]/rpms/smeserver-clamav/sme8/smeserver-clamav.spec
ViewVC logotype

Annotation of /rpms/smeserver-clamav/sme8/smeserver-clamav.spec

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


Revision 1.32 - (hide annotations) (download)
Sat Jul 6 05:39:42 2013 UTC (11 years, 4 months ago) by burnat
Branch: MAIN
CVS Tags: smeserver-clamav-2_2_0-13_el5_sme
Changes since 1.31: +7 -2 lines
* Sat Jul 6 2013 Chris Burnat <devlist@burnat.com> 2.2.0-13.sme
-  Move clamscan scheduling to complete before 99-raid-check [SME: 7656]

1 burnat 1.32 # $Id: smeserver-clamav.spec,v 1.31 2010/06/14 20:47:44 wellsi Exp $
2 slords 1.17
3 slords 1.1 Summary: SME Server module to configure clamav
4     %define name smeserver-clamav
5     Name: %{name}
6 slords 1.17 %define version 2.2.0
7 burnat 1.32 %define release 13
8 slords 1.1 Version: %{version}
9     Release: %{release}%{?dist}
10     License: GPL
11     Group: System Environment/Base
12     Source: %{name}-%{version}.tar.gz
13 snetram 1.20 Patch0: smeserver-clamav-2.2.0-HeuristicScanPrecedence.patch
14 slords 1.21 Patch1: smeserver-clamav-2.2.0-fixperm.patch
15 snetram 1.22 Patch2: smeserver-clamav-2.2.0-defaultHeuristicScanPrecedence2yes.patch
16 snetram 1.24 Patch3: smeserver-clamav-2.2.0-logrotate.patch
17 snetram 1.25 Patch4: smeserver-clamav-2.2.0-nocreate.patch
18 dungog 1.26 Patch5: smeserver-clamav-2.2.0-logrotate.patch2
19 filippocarletti 1.27 Patch6: smeserver-clamav-2.2.0-MemLimit-0.96.patch
20 snetram 1.28 Patch7: smeserver-clamav-2.2.0-MemLimit2.patch
21 wellsi 1.29 Patch8: smeserver-clamav-2.2.0-crondaily.patch
22 burnat 1.32 Patch9: smeserver-clamav-2.2.0-weekly_AV_scan_on_Saturday.patch
23 slords 1.1 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
24     BuildArchitectures: noarch
25     Requires: e-smith-lib
26 slords 1.15 Requires: e-smith-base
27 snetram 1.20 Requires: clamav >= 0.94
28     Requires: clamd >= 0.94
29 slords 1.1 Requires: clamav-db
30 snetram 1.11 Requires: e-smith-formmagick >= 1.4.0-12
31 slords 1.1 Provides: e-smith-clamav
32     Obsoletes: e-smith-clamav
33 dungog 1.18 Obsoletes: e-smith-antivirus
34 bytegw 1.9 Obsoletes: clamav-es
35     Obsoletes: clamav-es-libs
36 slords 1.1 BuildRequires: e-smith-devtools
37    
38     %description
39 dungog 1.16 SME Server enhancement to configure and run clamd and freshclam
40 slords 1.1
41     %changelog
42 burnat 1.32 * Sat Jul 6 2013 Chris Burnat <devlist@burnat.com> 2.2.0-13.sme
43     - Move clamscan scheduling to complete before 99-raid-check [SME: 7656]
44    
45 wellsi 1.31 * Mon Jun 14 2010 Ian Wells <esmith@wellsi.com> 2.2.0-12.sme
46 wellsi 1.30 - Re-work patch to improve and document template [SME: 6011]
47    
48 wellsi 1.29 * Sat Jun 5 2010 Ian Wells <esmith@wellsi.com> 2.2.0-11.sme
49     - template /etc/cron.daily/freshclam, and make it a NO-OP [SME: 6011]
50    
51 snetram 1.28 * Sun Apr 18 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-10.sme
52     - Increase MemLimit to 600M for clamav-0.96 [SME: 5868]
53    
54 filippocarletti 1.27 * Fri Apr 02 2010 Filippo Carletti <filippo.carletti@gmail.com> 2.2.0-9.sme
55     - Increase MemLimit to 300M for clamav-0.96 [SME: 5868]
56    
57 dungog 1.26 * Sat Feb 6 2010 Stephen Noble <support@dungog.net> 2.2.0-8.sme
58     - Setup logrotate for /var/log/clamd/clamscan.log [SME: 5570]
59    
60 snetram 1.25 * Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-7.sme
61     - Remove create option from logrotate configuration [SME: 5570]
62     - Fix version number in previous changelog entry
63    
64     * Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-6.sme
65 snetram 1.24 - Setup logrotate for /var/log/clamd/smeserver-clamscan.log [SME: 5570]
66     - Minor changelog fixes in version number
67    
68     * Wed Nov 4 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-5.sme
69 snetram 1.23 - Change default value for HeuristicScanPrecedence to yes [SME: 5204]
70 snetram 1.22
71 slords 1.21 * Tue Jun 2 2009 Shad L. Lords <slords@mail.com> 2.2.0-4.sme
72     - Fix permissions on freshclam.conf file [SME: 5319]
73    
74 snetram 1.24 * Mon Apr 13 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-3.sme
75 snetram 1.20 - Add HeuristicScanPrecedence option, default disabled [SME: 4598]
76    
77 snetram 1.24 * Thu Nov 27 2008 Stephen Noble <support@dungog.net> 2.2.0-2.sme
78 dungog 1.18 - Obsolete e-smith-antivirus [SME: 4786]
79    
80 slords 1.17 * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
81     - Roll new stream to separate sme7/sme8 trees [SME: 4633]
82    
83 dungog 1.16 * Mon Sep 22 2008 Stephen Noble <support@dungog.net> 1.2.0-26
84     - Remove obsolete locale tags [SME: 4235]
85    
86 slords 1.15 * Sun Aug 10 2008 Shad L. Lords <slords@mail.com> 1.2.0-25
87     - Remove links to crontab in all but clamav-update [SME: 4494]
88    
89 snetram 1.13 * Wed Apr 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-24
90 snetram 1.14 - Remove any /etc/cron.d/clamav file. We moved the content to /etc/crontab
91     [SME: 1047], but we need to remove any leftover file from earlier template
92     expansion, which, if present, could cause the nightly file scanning to be
93     run twice. [SME: 4266]
94 snetram 1.12
95 snetram 1.10 * Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-23
96 snetram 1.11 - Add common <base> tags to e-smith-formmagick's general [SME: 4288]
97 snetram 1.10
98 bytegw 1.9 * Fri Apr 25 2008 Charlie Brady <charlie_brady@mitel.com> 1.2.0-22
99     - Add Obsoletes headers to force removal of clamav-es and
100     clamav-es-libs. [SME 4167]
101    
102 slords 1.8 * Fri Apr 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-21
103     - Update defaults for clamav 0.93 [SME: 4223]
104    
105     * Fri Apr 18 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-20
106     - Move cron template from cron.d to crontab [SME: 1047]
107    
108 slords 1.7 * Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-19
109     - Fix clamav version string [SME: 4060]
110    
111 bytegw 1.6 * Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.2.0-18
112     - Remove <base> tags now in general [SME: 3915]
113    
114 bytegw 1.5 * Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.2.0-17
115     - Remove duplicate <base> entries [SME: 3890]
116    
117 bytegw 1.4 * Mon Jan 07 2008 Stephen Noble <support@dungog.net> 1.2.0-16
118 bytegw 1.3 - Cosmetic removal of word entire on panel [SME: 3483]
119    
120 slords 1.2 * Thu Sep 06 2007 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-15
121     - Fix freshclam.conf permissions [SME: 3375]
122    
123 slords 1.1 * Fri Jun 08 2007 Charlie Brady <charlie_brady@mitel.com> 1.2.0-14
124     - Use full paths in update-failed script - tai64nlocal was not
125     being found in $PATH. [SME: 1686]
126    
127     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
128     - Clean up spec so package can be built by koji/plague
129    
130     * Wed Apr 18 2007 Shad L. Lords <slords@mail.com> 1.2.0-13
131     - Up memory limit for clamd again [SME: 2743]
132    
133     * Wed Feb 21 2007 Shad L. Lords <slords@mail.com> 1.2.0-12
134     - Up memory limit for clamd [SME: 2528]
135    
136     * Wed Feb 14 2007 Shad L. Lords <slords@mail.com> 1.2.0-11
137     - Update for clamav v0.90 [SME: 2508]
138    
139     * Tue Feb 13 2007 Shad L. Lords <slords@mail.com> 1.2.0-10
140     - Improve algorithm for displaying errors [SME: 1686]
141    
142     * Mon Feb 12 2007 Shad L. Lords <slords@mail.com> 1.2.0-9
143     - Improve sed expression for freshclam failures [SME: 1686]
144    
145     * Mon Feb 12 2007 Shad L. Lords <slords@mail.com> 1.2.0-8
146     - Allow clamav to read freshclam update log [SME: 1686]
147    
148     * Fri Jan 26 2007 Shad L. Lords <slords@mail.com> 1.2.0-7
149     - Provide more feedback on freshclam events [SME: 1686]
150    
151     * Wed Dec 13 2006 Federico Simoncelli <federico.simoncelli@gmail.com> 1.2.0-6
152     - Added support for options: max-ratio, no-html, no-mail. [SME: 2024]
153     - Redirected the stderr output to /var/log/clamd/smeserver-clamscan.log.
154     [SME: 2004]
155    
156     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
157     - Update to new release naming. No functional changes.
158     - Make Packager generic
159    
160     * Wed Nov 29 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-04
161     - Restrict filesystem scan to /home/e-smith/files by default [SME: 2082]
162    
163     * Sun Aug 27 2006 Charlie Brady <charlieb@e-smith.com> 1.2.0-03
164     - Fix --exclude arg syntax. [SME: 1889]
165    
166     * Fri Jun 16 2006 Gordon Rowell <gordonr@gormand.com.au> 1.2.0-02
167     - Fix typo in ArchiveBlockEntrypted [SME: 1584]
168    
169     * Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-01
170     - Roll stable stream version. [SME: 1016]
171    
172     * Tue Mar 14 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-10
173     - Restart crond in clamav-update so cron notices cron.d/clamav [SME: 966]
174    
175     * Wed Feb 8 2006 Gavin Weight <gweight@gmail.com> 1.1.2-09
176     - Added migrate fragment for clamav DatabaseMirror. [SME: 83]
177    
178     * Fri Jan 27 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-08
179     - Bump release number to ensure patch is in CVS
180    
181     * Wed Jan 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-07
182     - Expand MEMLIMIT in bootstrap-console-save (and don't attempt to
183     restart the service there)
184    
185     * Wed Jan 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-06
186     - Change back to softlimit -a [SME: 426]
187    
188     * Wed Jan 18 2006 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-05
189     - Set db default for clamd{MemLimit}==80M and use it in the run script
190     - Expand templates in events rather than run file [SME: 426]
191    
192     * Mon Oct 17 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-04
193     - Fix typos in smeserver-clamscan [SF: 1304217]
194    
195     * Fri Oct 14 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-03
196     - Move all L10Ns to smeserver-locale [SF: 1309520]
197    
198     * Mon Sep 26 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-02
199     - Added Italian L10N - Thanks Filippo Carletti [SF: 1309266]
200    
201     * Mon Sep 26 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.2-01
202     - Roll patches to 1.1.1-06
203     - Add German L10N
204    
205     * Mon Sep 26 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.1-06
206     - Exclude /var and all of /usr/share (not just /usr/share/doc) from
207     filesystem scan [SF: 1304217]
208    
209     * Fri Sep 23 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.1-05
210     - French L10N fixes [SF: 1242586]
211    
212     * Sat Aug 20 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.1-04
213     - French L10N - Merci Didier Rambeau [SF: 1242586]
214    
215     * Sat Aug 20 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.1-03
216     - Don't scan quarantine area, even if quarantining is disabled [SF: 1245655]
217    
218     * Fri Aug 19 2005 Charlie Brady <charlieb@e-smith.com> 1.1.1-02
219     - Add Provides: header, to satisfy any package which requires defunct
220     e-smith-clamav.
221    
222     * Thu Aug 18 2005 Gordon Rowell <gordonr@gormand.com.au>
223     - [1.1.1-01]
224     - Package renamed to smeserver-clamav [SF: 1263460]
225    
226     * Thu Aug 18 2005 Gordon Rowell <gordonr@gormand.com.au>
227     - [1.1.0-08sme02]
228     - Rename /sbin/e-smith/clamscan to smeserver-clamscan [SF: 1263460]
229    
230     * Thu Aug 18 2005 Gordon Rowell <gordonr@gormand.com.au>
231     - [1.1.0-08sme01]
232     - Disable quarantining by default, add panel toggle [SF: 1245655]
233    
234     * Tue Aug 9 2005 Gordon Rowell <gordonr@gormand.com.au>
235     - [1.1.0-08]
236     - Add --move=$clamav{QuarantineDirectory} to clamscan,
237     exclude directory from being scanned, add database default
238     and set permissions in spec file [SF: 1245655]
239    
240     * Thu Aug 4 2005 Charlie Brady <charlieb@e-smith.com>
241     - [1.1.0-07]
242     - Remove freshclam runs from clamav crontab template - we
243     now run supervised freshclam instance. [SF: 1251944]
244    
245     * Thu Aug 4 2005 Shad Lords <slords@mail.com>
246     - [1.1.0-06]
247     - Include db entry to exclude /proc, /sys and
248     /usr/share/doc from scans [SF: 1243741, 1243831]
249    
250     * Wed Jul 27 2005 Gordon Rowell <gordonr@gormand.com.au>
251     - [1.1.0-05]
252     - Exclude /proc, /sys and /usr/share/doc from scans
253     [SF: 1243741, 1243831]
254     - Run freshclam with --quiet instead of --verbose [SF: 1245602]
255    
256     * Fri Jul 22 2005 Charlie Brady <charlieb@e-smith.com>
257     - [1.1.0-04]
258     - Fix typo in en-us lexicon. [SF: 1242585]
259    
260     * Mon May 30 2005 Charlie Brady <charlieb@e-smith.com>
261     - [1.1.0-03]
262     - Fix last-updated section and labels [Gordon: SF-1200428]
263    
264     * Tue May 17 2005 Charlie Brady <charlieb@e-smith.com>
265     - [1.1.0-02]
266     - Add clamav-update event directory.
267     - Modify some of the panel code to avoid logging of multiple db property
268     transactions.
269    
270     * Fri May 13 2005 Gordon Rowell <gordonr@gormand.com.au>
271     - [1.1.0-01gr06]
272     - Read the timestamp of the clamav database files in the panel
273     to show the last updated time [SF:1200428]
274     - Change /sbin/e-smith/freshclam-update-ok to /bin/sh, with no
275     content.
276     - TODO: make the update mails configurable
277    
278     * Fri May 6 2005 Gordon Rowell <gordonr@gormand.com.au>
279     - [1.1.0-01gr05]
280     - And hide the sections
281    
282     * Fri May 6 2005 Gordon Rowell <gordonr@gormand.com.au>
283     - [1.1.0-01gr04]
284     - Fix up section bars
285    
286     * Fri May 6 2005 Gordon Rowell <gordonr@gormand.com.au>
287     - [1.1.0-01gr03]
288     - Removed the qmailscan_integration part of the panel
289     - Removed the database mirror select box. Anyone who isn't
290     satisfied with using db.local.clamav.net can set the hostname
291     in the database directly.
292     - Hid the updates and proxy sections, based on
293     $clamav{ShowProxySection} and $clamav{ShowUpdatesSection}
294     - Panel looks rather bare now
295     - Read the last updated date from $clamav{SignaturesUpdated}
296     - Modified /sbin/e-smith/freshclam-update-ok to set the above value
297     - Morphed /etc/clamscan template into /sbin/e-smith/clamscan,
298     which can read the db directly.
299    
300     * Fri May 6 2005 Gordon Rowell <gordonr@gormand.com.au>
301     - [1.1.0-01gr02]
302     - Use db.local.clamav.net by default (rather than db.us).
303    
304     * Fri May 6 2005 Gordon Rowell <gordonr@gormand.com.au>
305     - [1.1.0-01gr01]
306     - Bump version to 1.1.0-01gr01 to upgrade over Shad's 1.0.0
307     - Roll new tarball after major merge of Shad's work.
308    
309     * Fri May 6 2005 Gordon Rowell <gordonr@gormand.com.au>
310     - [0.0.1-06gr02]
311     - Cleaned up patch and startup symlinks
312    
313     * Fri May 6 2005 Gordon Rowell <gordonr@gormand.com.au>
314     - [0.0.1-06gr01]
315     - Merge in Shad Lords' e-smith-spamassassin work (based in part
316     on work from Damien Curtain) and panel
317     - Moved freshclam run script options to database defaults
318     - Created /sbin/e-smith/freshclam-update-{failed,ok}
319    
320     * Tue Apr 19 2005 Charlie Brady <charlieb@e-smith.com>
321     - [0.0.1-06]
322     - Add missing log directories.
323    
324     * Tue Apr 19 2005 Charlie Brady <charlieb@e-smith.com>
325     - [0.0.1-05]
326     - Don't start freshclam or clamd until after bootstrap-console.
327     - Move all symlink creation into createlinks script.
328    
329     * Mon Mar 21 2005 Charlie Brady <charlieb@e-smith.com>
330     - [0.0.1-04]
331     - Fix data directory in freshclam configuration.
332    
333     * Fri Feb 18 2005 Charlie Brady <charlieb@e-smith.com> 0.0.1-03
334     - Config fixes for clamav-0.83
335    
336     * Wed Feb 09 2005 Charlie Brady <charlieb@e-smith.com>
337     - [0.0.1-02]
338     - Add Requires headers for clamd and clamav-db.
339    
340     * Wed Feb 09 2005 Charlie Brady <charlieb@e-smith.com>
341     - [0.0.1-01]
342     - Initial
343    
344     %prep
345     %setup
346 snetram 1.20 %patch0 -p1
347 slords 1.21 %patch1 -p1
348 snetram 1.22 %patch2 -p1
349 snetram 1.24 %patch3 -p1
350 snetram 1.25 %patch4 -p1
351 dungog 1.26 %patch5 -p1
352 filippocarletti 1.27 %patch6 -p1
353 snetram 1.28 %patch7 -p1
354 wellsi 1.29 %patch8 -p1
355 burnat 1.32 %patch9 -p1
356 slords 1.1
357     %build
358     perl createlinks
359     touch root/var/service/freshclam/down
360     touch root/var/service/clamd/down
361     mkdir -p root/var/service/clamd/env
362     mkdir -p root/var/log/clamd root/var/log/freshclam
363     mkdir -p root/var/spool/clamav/quarantine
364    
365     %pre
366    
367     %post
368 snetram 1.12 rm -f /etc/cron.d/clamav
369 slords 1.1
370     %install
371     rm -rf $RPM_BUILD_ROOT
372     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
373     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
374     --file /var/service/freshclam/run 'attr(0755,root,root)' \
375     --file /var/service/freshclam/log/run 'attr(0755,root,root)' \
376     --dir /var/log/freshclam 'attr(2750,smelog,clamav)' \
377     --file /var/service/clamd/run 'attr(0755,root,root)' \
378     --file /var/service/clamd/log/run 'attr(0755,root,root)' \
379     --dir /var/log/clamd 'attr(2750,smelog,smelog)' \
380     --dir /var/spool/clamav/quarantine 'attr(2750,clamav,clamav)' \
381     --file /sbin/e-smith/freshclam-update-failed 'attr(0755,root,root)' \
382     --file /sbin/e-smith/freshclam-update-ok 'attr(0755,root,root)' \
383     --file /sbin/e-smith/smeserver-clamscan 'attr(0755,root,root)' \
384     > %{name}-%{version}-%{release}-filelist
385    
386     %clean
387     rm -rf $RPM_BUILD_ROOT
388    
389     %files -f %{name}-%{version}-%{release}-filelist
390     %defattr(-,root,root)

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