/[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.14 - (hide annotations) (download)
Wed Apr 30 18:57:46 2008 UTC (16 years, 6 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-clamav-1_2_0-24_el4_sme
Changes since 1.13: +4 -2 lines
Clarify changelog message.

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

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