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

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

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


Revision 1.26 - (show annotations) (download)
Sat Feb 6 06:42:29 2010 UTC (14 years, 9 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-clamav-2_2_0-8_el5_sme
Changes since 1.25: +7 -2 lines
* Sat Feb 6 2010 Stephen Noble <support@dungog.net> 2.2.0-8.sme
- Setup logrotate for /var/log/clamd/clamscan.log  [SME: 5570]

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

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