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

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

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


Revision 1.2 - (hide annotations) (download)
Thu May 12 21:20:14 2016 UTC (8 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-clamav-2_6_0-2_el7_sme
Changes since 1.1: +5 -2 lines
* Thu May 12 2016 Daniel Berteaud <daniel@firewall-services.com> 2.6.0-2.sme
- Rebuild for [SME: 9393]

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

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