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

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