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

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

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


Revision 1.25 - (hide annotations) (download)
Fri Nov 6 14:57:47 2009 UTC (14 years, 11 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-clamav-2_2_0-7_el5_sme
Changes since 1.24: +9 -3 lines
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-7.sme
- Remove create option from logrotate configuration [SME: 5570]
- Fix version number in previous changelog entry

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

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