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

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

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


Revision 1.3 - (show annotations) (download)
Fri Oct 25 03:14:56 2019 UTC (5 years ago) by jpp
Branch: MAIN
CVS Tags: smeserver-clamav-2_6_0-3_el7_sme
Changes since 1.2: +8 -2 lines
* Thu Oct 24 2019 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
- fix for AllowSupplementaryGroups warning [SME: 10813]
  thanks to  bunkobugsy

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

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