/[smeserver]/rpms/smeserver-clamav/sme7/smeserver-clamav.spec
ViewVC logotype

Contents of /rpms/smeserver-clamav/sme7/smeserver-clamav.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.19 - (show annotations) (download)
Mon Apr 13 15:18:12 2009 UTC (15 years, 7 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-clamav-2_0_0-3_el4_sme
Changes since 1.18: +9 -4 lines
* Mon Apr 13 2009 Jonathan Martens <smeserver-contribs@snetram.nl>
- Add HeuristicScanPrecedence option, default disabled [SME: 4598]

1 # $Id: smeserver-clamav.spec,v 1.18 2008/11/26 21:14:35 dungog Exp $
2
3 Summary: SME Server module to configure clamav
4 %define name smeserver-clamav
5 Name: %{name}
6 %define version 2.0.0
7 %define release 3
8 Version: %{version}
9 Release: %{release}%{?dist}
10 License: GPL
11 Group: System Environment/Base
12 Source: %{name}-%{version}.tar.gz
13 Patch0: smeserver-clamav-2.0.0-HeuristicScanPrecedence.patch
14 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
15 BuildArchitectures: noarch
16 Requires: e-smith-lib
17 Requires: e-smith-base
18 Requires: clamav >= 0.94
19 Requires: clamd >= 0.94
20 Requires: clamav-db
21 Requires: e-smith-formmagick >= 1.4.0-12
22 Provides: e-smith-clamav
23 Obsoletes: e-smith-clamav
24 Obsoletes: e-smith-antivirus
25 Obsoletes: clamav-es
26 Obsoletes: clamav-es-libs
27 BuildRequires: e-smith-devtools
28
29 %description
30 SME Server enhancement to configure and run clamd and freshclam
31
32 %changelog
33 * Mon Apr 13 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-3
34 - Add HeuristicScanPrecedence option, default disabled [SME: 4598]
35
36 * Thu Nov 27 2008 Stephen Noble <support@dungog.net> 2.0.0-2
37 - Obsolete e-smith-antivirus [SME: 4786]
38
39 * Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme
40 - Roll new stream to separate sme7/sme8 trees [SME: 4633]
41
42 * Mon Sep 22 2008 Stephen Noble <support@dungog.net> 1.2.0-26
43 - Remove obsolete locale tags [SME: 4235]
44
45 * Sun Aug 10 2008 Shad L. Lords <slords@mail.com> 1.2.0-25
46 - Remove links to crontab in all but clamav-update [SME: 4494]
47
48 * Wed Apr 30 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-24
49 - 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
54 * Sun Apr 27 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.2.0-23
55 - Add common <base> tags to e-smith-formmagick's general [SME: 4288]
56
57 * 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 * 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 * Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-19
68 - Fix clamav version string [SME: 4060]
69
70 * Wed Feb 13 2008 Stephen Noble <support@dungog.net> 1.2.0-18
71 - Remove <base> tags now in general [SME: 3915]
72
73 * Sun Feb 10 2008 Stephen Noble <support@dungog.net> 1.2.0-17
74 - Remove duplicate <base> entries [SME: 3890]
75
76 * Mon Jan 07 2008 Stephen Noble <support@dungog.net> 1.2.0-16
77 - Cosmetic removal of word entire on panel [SME: 3483]
78
79 * Thu Sep 06 2007 Filippo Carletti <filippo.carletti@gmail.com> 1.2.0-15
80 - Fix freshclam.conf permissions [SME: 3375]
81
82 * 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
307 %build
308 perl createlinks
309 touch root/var/service/freshclam/down
310 touch root/var/service/clamd/down
311 mkdir -p root/var/service/clamd/env
312 mkdir -p root/var/log/clamd root/var/log/freshclam
313 mkdir -p root/var/spool/clamav/quarantine
314
315 %pre
316
317 %post
318 rm -f /etc/cron.d/clamav
319
320 %install
321 rm -rf $RPM_BUILD_ROOT
322 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
323 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
324 --file /var/service/freshclam/run 'attr(0755,root,root)' \
325 --file /var/service/freshclam/log/run 'attr(0755,root,root)' \
326 --dir /var/log/freshclam 'attr(2750,smelog,clamav)' \
327 --file /var/service/clamd/run 'attr(0755,root,root)' \
328 --file /var/service/clamd/log/run 'attr(0755,root,root)' \
329 --dir /var/log/clamd 'attr(2750,smelog,smelog)' \
330 --dir /var/spool/clamav/quarantine 'attr(2750,clamav,clamav)' \
331 --file /sbin/e-smith/freshclam-update-failed 'attr(0755,root,root)' \
332 --file /sbin/e-smith/freshclam-update-ok 'attr(0755,root,root)' \
333 --file /sbin/e-smith/smeserver-clamscan 'attr(0755,root,root)' \
334 > %{name}-%{version}-%{release}-filelist
335
336 %clean
337 rm -rf $RPM_BUILD_ROOT
338
339 %files -f %{name}-%{version}-%{release}-filelist
340 %defattr(-,root,root)

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