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

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

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


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 20:57:51 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-clamav-1_2_0-14_el5_sme
Import on branch sme8 of package smeserver-clamav-1.2.0-14.el5.sme.src.rpm

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

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