/[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.5 - (hide annotations) (download)
Sun Feb 10 12:17:48 2008 UTC (16 years, 8 months ago) by bytegw
Branch: MAIN
CVS Tags: smeserver-clamav-1_2_0-17_el5_sme
Changes since 1.4: +6 -1 lines
Updates

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

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