/[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.15 - (hide annotations) (download)
Sun Aug 10 15:51:21 2008 UTC (15 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-clamav-1_2_0-25_el4_sme
Changes since 1.14: +7 -1 lines
Updates

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

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