/[smeserver]/rpms/smeserver-clamav/sme7/smeserver-clamav.spec
ViewVC logotype

Annotation of /rpms/smeserver-clamav/sme7/smeserver-clamav.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.8 - (hide annotations) (download)
Fri Apr 18 17:06:59 2008 UTC (16 years, 6 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-clamav-1_2_0-21_el4_sme
Changes since 1.7: +13 -3 lines
* Fri Apr 18 2008 Shad L. Lords <slords@mail.com> 1.2.0-21
- Update defaults for clamav 0.93 [SME: 4223]

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

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