/[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.9 - (show annotations) (download)
Fri Apr 25 19:27:19 2008 UTC (16 years, 7 months ago) by bytegw
Branch: MAIN
CVS Tags: smeserver-clamav-1_2_0-22_el5_sme
Changes since 1.8: +7 -1 lines
Updates

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

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