/[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.2 - (show annotations) (download)
Thu Sep 6 16:14:59 2007 UTC (16 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-clamav-1_2_0-15_el5_sme
Changes since 1.1: +6 -1 lines
Update packages

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

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