/[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.28 - (hide annotations) (download)
Sun Apr 18 17:22:57 2010 UTC (14 years, 7 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-clamav-2_2_0-10_el5_sme
Changes since 1.27: +7 -2 lines
* Sun Apr 18 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-10.sme
- Increase MemLimit to 600M for clamav-0.96 [SME: 5868]

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

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