/[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.22 - (hide annotations) (download)
Fri Nov 6 14:56:29 2009 UTC (14 years, 7 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-clamav-2_0_0-6_el4_sme
Changes since 1.21: +7 -2 lines
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-6.sme
- Remove create option from logrotate configuration [SME: 5287]

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

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