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

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

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


Revision 1.1 - (show annotations) (download)
Wed Feb 6 21:48:16 2013 UTC (11 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-clamav-2_4_0-1_el6_sme
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme
- Roll new stream for sme9

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

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