/[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.7 - (show annotations) (download)
Tue Mar 18 17:06:05 2008 UTC (16 years, 2 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-clamav-1_2_0-19_el5_sme
Changes since 1.6: +6 -1 lines
* Tue Mar 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-19
- Fix clamav version string [SME: 4060]

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

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