/[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.21 - (show annotations) (download)
Fri Nov 6 10:26:47 2009 UTC (14 years, 6 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-clamav-2_0_0-5_el4_sme
Changes since 1.20: +10 -4 lines
* Fri Nov 6 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-5.sme
- Setup logrotate for /var/log/clamd/smeserver-clamscan.log [SME: 5287]
- Minor changelog fixes in version number

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

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