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

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

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


Revision 1.2 - (hide annotations) (download)
Mon Jul 8 08:22:41 2013 UTC (10 years, 11 months ago) by burnat
Branch: MAIN
CVS Tags: smeserver-clamav-2_4_0-2_el6_sme
Changes since 1.1: +7 -2 lines
* Mon Jul 8 2013 Chris Burnat <devlist@burnat.com> 2.4.0-2.sme
-  Move clamscan scheduling to complete before 99-raid-check [SME: 7758]

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

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