/[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.13 - (show annotations) (download)
Wed Apr 30 18:21:50 2008 UTC (16 years, 6 months ago) by snetram
Branch: MAIN
Changes since 1.12: +2 -2 lines
Updated release number

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

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