/[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.25 - (hide annotations) (download)
Sun Apr 18 17:28:15 2010 UTC (14 years, 7 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-clamav-2_0_0-8_el4_sme
Changes since 1.24: +2 -2 lines
Fix bug reference

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

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