/[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.3 - (hide annotations) (download)
Thu Jul 3 22:53:28 2014 UTC (9 years, 11 months ago) by wellsi
Branch: MAIN
CVS Tags: smeserver-clamav-2_4_0-3_el6_sme
Changes since 1.2: +7 -2 lines
* Thu Jul 3 2014 Ian Wells <esmith@wellsi.com> 2.4.0-3.sme
- Increase MemLimit to 700M for clamav-0.98 [SME: 8483]

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

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