/[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.7 - (hide annotations) (download)
Wed Nov 27 03:47:26 2019 UTC (4 years, 6 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-clamav-2_4_0-6_el6_sme, HEAD
Changes since 1.6: +4 -1 lines
* Tue Nov 26 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-6.sme
- fix deprecated AllowSupplementaryGroups warning [SME: 10837]
- increase lower memory limit to 1GB  [SME: 10832]

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

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