/[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.23 - (hide annotations) (download)
Sat Feb 6 06:51:17 2010 UTC (14 years, 9 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-clamav-2_0_0-7_el4_sme
Changes since 1.22: +7 -2 lines
* Sat Feb 6 2010 Stephen Noble <support@dungog.net> 2.0.0-7.sme
- Setup logrotate for /var/log/clamd/clamscan.log  [SME: 5287]

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

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