/[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.33 - (hide annotations) (download)
Thu Jul 3 23:00:46 2014 UTC (9 years, 11 months ago) by wellsi
Branch: MAIN
CVS Tags: smeserver-clamav-2_2_0-14_el5_sme
Changes since 1.32: +7 -2 lines
* Thu Jul 3 2014 Ian Wells <esmith@wellsi.com> 2.2.0-14.sme
- Increase MemLimit to 700M for clamav-0.98 [SME: 8478]

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

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