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

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

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


Revision 1.20 - (hide annotations) (download)
Tue Jun 2 16:21:31 2009 UTC (15 years, 6 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-clamav-2_0_0-4_el4_sme
Changes since 1.19: +7 -2 lines
Fix permissions on freshclam.conf file

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

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