/[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.18 - (hide annotations) (download)
Wed Nov 26 21:14:35 2008 UTC (15 years, 11 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-clamav-2_0_0-2_el4_sme
Changes since 1.17: +6 -2 lines
* Thu Nov 27 2008 Stephen Noble <support@dungog.net> 2.0.0-2
- Obsolete e-smith-antivirus [SME: 4786]

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

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