/[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.6 - (hide annotations) (download)
Wed Nov 27 03:40:58 2019 UTC (4 years, 11 months ago) by jpp
Branch: MAIN
Changes since 1.5: +7 -2 lines
* Tue Nov 26 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-6.sme
- fix deprecated AllowSupplementaryGroups warning [SME: 10837]

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

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