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

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

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


Revision 1.29 - (hide annotations) (download)
Sat Jun 5 19:21:41 2010 UTC (14 years, 5 months ago) by wellsi
Branch: MAIN
CVS Tags: smeserver-clamav-2_0_0-11_el4_sme
Changes since 1.28: +5 -2 lines
correct createlinks for /etc/cron.daily/freshclam - again [SME: 4297].

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

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