/[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.16 - (hide annotations) (download)
Mon Sep 22 11:16:36 2008 UTC (16 years, 2 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-clamav-1_2_0-26_el4_sme
Changes since 1.15: +7 -3 lines
* Mon Sep 22 2008 Stephen Noble <support@dungog.net> 1.2.0-26
- Remove obsolete locale tags [SME: 4235]

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

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