/[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.31 - (hide annotations) (download)
Mon Jun 14 20:47:44 2010 UTC (14 years, 4 months ago) by wellsi
Branch: MAIN
Changes since 1.30: +2 -2 lines
Correct the version in last changelog entry, 2.0.0-12 to 2.2.0-12

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

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