/[smeserver]/rpms/clamav/sme9/clamav.spec
ViewVC logotype

Annotation of /rpms/clamav/sme9/clamav.spec

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


Revision 1.26 - (hide annotations) (download)
Thu Mar 7 03:51:29 2019 UTC (5 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: clamav-0_100_2-5_el6_sme
Changes since 1.25: +14 -3 lines
* Wed Mar 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.100.2-5.sme
- Update clamav-db as per epel last spec file [SME: ]
  to add clamav-update as provides

1 slords 1.1 # $Id$
2     # Authority: dag
3     # Upstream: <clamav-devel$lists,sf,net>
4    
5     ### FIXME: Sysv script does not have condrestart option (redo sysv script)
6     ### FIXME: amavisd-new requires clamd to run as user vscan, solution needed
7     ### REMINDER: Look and sync with Petr Kristof's work
8    
9     %{?el3:%define _without_milter 1}
10     %{?rh9:%define _without_milter 1}
11     %{?rh7:%define _without_milter 1}
12     %{?el2:%define _without_milter 1}
13    
14 jcrisp 1.23 # Work around https://bugzilla.clamav.net/show_bug.cgi?id=12162 by bundling
15     # newer zlib version from RHEL/CentOS 7 (#1600458)
16     %global zlibversion 1.2.7
17     %global zlibrelease 17%{?dist}
18    
19    
20 slords 1.1 Summary: Anti-virus software
21     Name: clamav
22 dani 1.22 Version: 0.100.2
23 jpp 1.26 Release: 5%{?dist}
24 jcrisp 1.23 # ClamAV is GPLv2, zlib is zlib, /contrib/dotzlib/ has Boost license
25     %if 0%{?zlibversion:1} && 0%{?zlibrelease:1}
26     License: GPLv2 and zlib and Boost
27     %else
28     License: GPLv2
29     %endif
30    
31    
32 slords 1.1 Group: Applications/System
33     URL: http://www.clamav.net/
34    
35 wellsi 1.6 Source: http://downloads.sourceforge.net/project/clamav/clamav/%{version}/clamav-%{version}.tar.gz
36 slords 1.1 Source1: clamav.init
37     Source2: clamav-milter.init
38 wellsi 1.6 Source10: http://db.local.clamav.net/main.cvd
39     Source11: http://db.local.clamav.net/daily.cvd
40 jcrisp 1.23
41     %if 0%{?zlibversion:1} && 0%{?zlibrelease:1}
42     # Cheerfully borrowed from zlib.spec in RHEL/CentOS 7
43     Source90: http://www.zlib.net/zlib-%{zlibversion}.tar.bz2
44     #Source90: zlib-1.2.7.tar.bz2
45     %endif
46    
47     %if 0%{?zlibversion:1} && 0%{?zlibrelease:1}
48     # Cheerfully borrowed from zlib.spec in RHEL/CentOS 7, see
49     # also https://git.centos.org/tree/rpms!zlib.git/c7/SOURCES
50     Patch90: zlib-1.2.5-minizip-fixuncrypt.patch
51     # resolves: #805113
52     Patch91: zlib-1.2.7-optimized-s390.patch
53     # resolves: #844791
54     Patch92: zlib-1.2.7-z-block-flush.patch
55     # resolves: #1127330
56     Patch93: zlib-1.2.7-fix-serious-but-very-rare-decompression-bug-in-inftr.patch
57     # resolves: #1337441
58     Patch94: zlib-1.2.7-Fix-bug-where-gzopen-gzclose-would-write-an-empty-fi.patch
59     %endif
60    
61 slords 1.1 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
62    
63     BuildRequires: bzip2-devel
64     BuildRequires: curl-devel
65     BuildRequires: gmp-devel
66     BuildRequires: ncurses-devel
67     %{!?_without_milter:BuildRequires: sendmail-devel >= 8.12}
68     BuildRequires: check-devel
69 wellsi 1.12 BuildRequires: openssl-devel
70     BuildRequires: libxml2-devel
71 vip-ire 1.17 BuildRequires: pcre-devel
72 jcrisp 1.23 BuildRequires: xz
73 slords 1.1
74     ### Do not require the latest release of clamav-db specifically (people may use freshclam onward)
75     #Requires: clamav-db = %{version}-%{release}
76     Requires: clamav-db
77    
78 jcrisp 1.23 Provides: bundled(libmspack) = 0.5-0.1.alpha.modified_by_clamav
79     %if 0%{?zlibversion:1} && 0%{?zlibrelease:1}
80     Provides: bundled(zlib) = %{zlibversion}-%{zlibrelease}
81     %else
82     Requires: zlib-devel
83     %endif
84    
85 slords 1.1 ### Fedora Extras introduced them differently :(
86     Obsoletes: libclamav <= %{version}-%{release}
87     Obsoletes: clamav-lib <= %{version}-%{release}
88     Provides: libclamav
89    
90     %description
91     Clam AntiVirus is a GPL anti-virus toolkit for UNIX. The main purpose of
92     this software is the integration with mail servers (attachment scanning).
93     The package provides a flexible and scalable multi-threaded daemon, a
94     command line scanner, and a tool for automatic updating via Internet.
95    
96     The programs are based on a shared library distributed with the Clam
97     AntiVirus package, which you can use with your own software. Most
98     importantly, the virus database is kept up to date
99    
100     %package -n clamd
101     Summary: The Clam AntiVirus Daemon
102     Group: System Environment/Daemons
103     Requires: clamav = %{version}-%{release}
104     Requires(pre): /usr/sbin/groupadd
105     Requires(pre): /usr/sbin/useradd
106    
107     ### Fedora Extras introduced them differently :(
108     Obsoletes: clamav-server <= %{version}-%{release}
109    
110     %description -n clamd
111     The Clam AntiVirus Daemon
112    
113     %package milter
114     Summary: The Clam AntiVirus sendmail-milter Daemon
115     Group: Applications/System
116     Requires: clamd = %{version}-%{release}
117     Requires: smtpdaemon
118    
119     %description milter
120     The Clam AntiVirus sendmail-milter Daemon
121    
122     %package db
123     Summary: Virus database for %{name}
124     Group: Applications/Databases
125     ### Remove circular dependency
126     #Requires: clamav = %{version}-%{release}
127     Requires(pre): /usr/sbin/groupadd
128     Requires(pre): /usr/sbin/useradd
129    
130     ### Fedora Extras introduced them differently :(
131 jpp 1.26 Provides: clamav-update = %{version}-%{release}
132     Obsoletes: clamav-update < %{version}-%{release}
133     Provides: clamav-data = %{version}-%{release}
134     Obsoletes: clamav-data < %{version}-%{release}
135     Obsoletes: clamav-data-empty <= %{version}-%{release}
136     # Ugly to put these in the db-package, but needed
137     # here to handle upgrades on EL5.
138     Provides: clamav-filesystem = %{version}-%{release}
139     Obsoletes: clamav-filesystem < %{version}-%{release}
140 slords 1.1
141     %description db
142     The actual virus database for %{name}
143    
144     %package devel
145     Summary: Header files, libraries and development documentation for %{name}
146     Group: Development/Libraries
147     Requires: clamav = %{version}-%{release}
148    
149     ### Fedora Extras introduced them differently :(
150     Obsoletes: libclamav-static-devel <= %{version}-%{release}
151     Obsoletes: libclamav-devel <= %{version}-%{release}
152     Provides: libclamav-static-devel, libclamav-devel
153    
154     %description devel
155     This package contains the header files, static libraries and development
156     documentation for %{name}. If you like to develop programs using %{name},
157     you will need to install %{name}-devel.
158    
159     %prep
160     %setup
161    
162     %{__perl} -pi.orig -e 's|/lib\b|/%{_lib}|g;' libtool configure
163    
164     %{__perl} -pi.orig -e '
165     s|\@DBDIR\@|\$(localstatedir)/clamav|g;
166     s|\@DBINST\@|\$(localstatedir)/clamav|g;
167     s|\@CFGDIR\@|\$(sysconfdir)|g;
168     s|\@CFGINST\@|\$(sysconfdir)|g;
169     s|^\@INSTALL_CLAMAV_CONF_TRUE\@|\t|g;
170     s|^\@INSTALL_FRESHCLAM_CONF_TRUE\@|\t|g;
171     ' database/Makefile.in etc/Makefile.in
172    
173 wellsi 1.4 %{__perl} -pi -e '
174 slords 1.1 s|^(Example)|#$1|;
175     s|^#(LogFile) .+$|$1 %{_localstatedir}/log/clamav/clamd.log|;
176     s|^#(LogFileMaxSize) .*|$1 0|;
177     s|^#(LogTime)|$1|;
178     s|^#(LogSyslog)|$1|;
179     s|^#(PidFile) .+$|$1 %{_localstatedir}/run/clamav/clamd.pid|;
180     s|^#(TemporaryDirectory) .+$|$1 %{_localstatedir}/tmp|;
181     s|^#(DatabaseDirectory) .+$|$1 %{_localstatedir}/clamav|;
182     s|^#(LocalSocket) .+$|$1 %{_localstatedir}/run/clamav/clamd.sock|;
183     s|^#(FixStaleSocket)|$1|;
184     s|^#(TCPSocket) .+$|$1 3310|;
185     s|^#(TCPAddr) .+$|$1 127.0.0.1|;
186     s|^#(MaxConnectionQueueLength) .+$|$1 30|;
187     s|^#(StreamSaveToDisk)|$1|;
188     s|^#(MaxThreads) .+$|$1 50|;
189     s|^#(ReadTimeout) .+$|$1 300|;
190     s|^#(User) .+$|$1 clamav|;
191     s|^#(AllowSupplementaryGroups).*$|$1 yes|;
192     s|^#(ScanPE) .+$|$1 yes|;
193     s|^#(ScanELF) .+$|$1 yes|;
194     s|^#(DetectBrokenExecutables)|$1|;
195     s|^#(ScanOLE2) .+$|$1 yes|;
196     s|^#(ScanMail)|$1|;
197     s|^#(ScanArchive) .+$|$1 yes|;
198     s|^#(ArchiveMaxCompressionRatio) .+|$1 300|;
199     s|^#(ArchiveBlockEncrypted)|$1|;
200     s|^#(ArchiveBlockMax)|$1|;
201 wellsi 1.4 ' etc/clamd.conf.sample >etc/clamd.conf
202 slords 1.1
203 wellsi 1.4 %{__perl} -pi -e '
204 slords 1.1 s|^(Example)|#$1|;
205     s|^#(AllowSupplementaryGroups) .+$|$1 yes|;
206     s|^#(ClamdSocket) .+$|$1 unix:%{_localstatedir}/run/clamav/clamd.sock|;
207     s|^#(LogFile) .+$|$1 %{_localstatedir}/log/clamav/clamav-milter.log|;
208     s|^#(LogFileMaxSize) .*|$1 0|;
209     s|^#(LogSyslog)|$1|;
210     s|^#(LogTime)|$1|;
211     s|^#(MilterSocket) /.*$|$1 unix:%{_localstatedir}/clamav/clmilter.socket|;
212     s|^#(User) .+$|$1 clamav|;
213 wellsi 1.4 ' etc/clamav-milter.conf.sample >etc/clamav-milter.conf
214 slords 1.1
215 jcrisp 1.23 %if 0%{?zlibversion:1} && 0%{?zlibrelease:1}
216     # Cheerfully borrowed from zlib.spec in RHEL/CentOS 7, see
217     # https://git.centos.org/blob/rpms!zlib.git/c7/SPECS!zlib.spec
218     tar xfj %{SOURCE90}
219     pushd zlib-%{zlibversion}
220     %patch90 -p1 -b .fixuncrypt
221     %ifarch s390 s390x
222     %patch91 -p1 -b .optimized-deflate
223     %endif
224     %patch92 -p1 -b .z-flush
225     %patch93 -p1
226     %patch94 -p1
227     popd
228     %endif
229    
230 wellsi 1.4 %{__perl} -p -e '
231 slords 1.1 s|^(Checks) .+$|$1 24|;
232     s|^(Example)|#$1|;
233     s|^#(DatabaseDirectory) .+$|$1 %{_localstatedir}/clamav|;
234     s|^#(DatabaseOwner) .+$|$1 clamav|;
235     s|^#(LogSyslog)|$1|;
236     s|^#(NotifyClamd) .+$|$1 %{_sysconfdir}/clamd.conf|;
237     s|^#(UpdateLogFile) .+$|$1 %{_localstatedir}/log/clamav/freshclam.log|;
238 wellsi 1.4 ' etc/freshclam.conf.sample >etc/freshclam.conf
239 slords 1.1
240     %{__cat} <<EOF >clamd.logrotate
241     %{_localstatedir}/log/clamav/clamd.log {
242     missingok
243     notifempty
244     create 644 clamav clamav
245     postrotate
246     killall -HUP clamd 2>/dev/null || :
247     endscript
248     }
249     EOF
250    
251     %{__cat} <<EOF >freshclam.logrotate
252     %{_localstatedir}/log/clamav/freshclam.log {
253     missingok
254     notifempty
255     create 644 clamav clamav
256     }
257     EOF
258    
259     %{__cat} <<'EOF' >freshclam.cron
260     #!/bin/sh
261    
262     ### A simple update script for the clamav virus database.
263     ### This could as well be replaced by a SysV script.
264    
265     %{_bindir}/freshclam --quiet
266     EOF
267    
268     %{__cat} <<EOF >clamav-milter.sysconfig
269     ### Simple config file for clamav-milter, you should
270     ### read the documentation and tweak it as you wish.
271    
272     CLAMAV_FLAGS="--config-file=%{_sysconfdir}/clamav-milter.conf"
273     EOF
274    
275     %build
276 jcrisp 1.23 %if 0%{?zlibversion:1} && 0%{?zlibrelease:1}
277     # Cheerfully borrowed from zlib.spec in RHEL/CentOS 7, see
278     # https://git.centos.org/blob/rpms!zlib.git/c7/SPECS!zlib.spec
279     pushd zlib-%{zlibversion}
280     %ifarch ppc64 ppc64le
281     export CFLAGS="$RPM_OPT_FLAGS -fPIC -O3"
282     %else
283     export CFLAGS="$RPM_OPT_FLAGS -fPIC"
284     %endif
285    
286     export LDFLAGS="$LDFLAGS -Wl,-z,relro"
287    
288     ./configure --libdir=%{_libdir} --includedir=%{_includedir} --prefix=%{_prefix} --static
289     make %{?_smp_mflags}
290     make install DESTDIR=%{_builddir}/%{name}-%{version}/zlib-%{zlibversion}-%{zlibrelease}
291     popd
292     %endif
293    
294    
295 slords 1.1 %configure \
296     --program-prefix="%{?_program_prefix}" \
297     --disable-clamav \
298     --disable-llvm \
299     --disable-static \
300     --disable-zlib-vcheck \
301     --enable-check \
302     --enable-clamdtop \
303     --enable-dns \
304     --enable-id-check \
305     %{!?_without_milter:--enable-milter} \
306     --with-dbdir="%{_localstatedir}/clamav" \
307     --with-group="clamav" \
308 vip-ire 1.13 --with-libcurl=%{_prefix} \
309 jpp 1.24 --with-user="clamav" \
310 jcrisp 1.23 %if 0%{?zlibversion:1} && 0%{?zlibrelease:1}
311     --with-zlib=%{_builddir}/%{name}-%{version}/zlib-%{zlibversion}-%{zlibrelease}%{_prefix} \
312     %endif
313    
314 slords 1.1 ### Disable JIT until it is implemented securely (RHbz #573191)
315     # --enable-llvm \
316     %{__make} %{?_smp_mflags}
317    
318     %install
319     %{__rm} -rf %{buildroot}
320     %{__make} install DESTDIR="%{buildroot}"
321    
322     %{__install} -Dp -m0755 %{SOURCE1} %{buildroot}%{_initrddir}/clamd
323 wellsi 1.4 %{__install} -Dp -m0644 etc/freshclam.conf %{buildroot}%{_sysconfdir}/freshclam.conf
324 slords 1.1 %{__install} -Dp -m0755 freshclam.cron %{buildroot}%{_sysconfdir}/cron.daily/freshclam
325     %{__install} -Dp -m0644 freshclam.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/freshclam
326 wellsi 1.4 %{__install} -Dp -m0644 etc/clamd.conf %{buildroot}%{_sysconfdir}/clamd.conf
327 slords 1.1 %{__install} -Dp -m0644 clamd.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/clamav
328    
329     %if %{!?_without_milter:1}0
330 wellsi 1.4 %{__install} -Dp -m0644 etc/clamav-milter.conf %{buildroot}%{_sysconfdir}/clamav-milter.conf
331 slords 1.1 %{__install} -Dp -m0755 %{SOURCE2} %{buildroot}%{_initrddir}/clamav-milter
332     %{__install} -Dp -m0644 clamav-milter.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/clamav-milter
333     %else
334     %{__rm} %{buildroot}%{_mandir}/man8/clamav-milter.8*
335     %endif
336    
337     %{__install} -d -m0755 %{buildroot}%{_localstatedir}/log/clamav/
338     touch %{buildroot}%{_localstatedir}/log/clamav/freshclam.log
339     touch %{buildroot}%{_localstatedir}/log/clamav/clamd.log
340    
341     %{__install} -d -m0755 %{buildroot}%{_localstatedir}/clamav/
342     %{__install} -d -m0755 %{buildroot}%{_localstatedir}/run/clamav/
343    
344     #touch %{buildroot}%{_localstatedir}/clamav/daily.cld
345     #touch %{buildroot}%{_localstatedir}/clamav/main.cld
346    
347     %{__install} -Dp -m0644 %SOURCE10 %{buildroot}%{_localstatedir}/clamav/main.cvd
348     %{__install} -Dp -m0644 %SOURCE11 %{buildroot}%{_localstatedir}/clamav/daily.cvd
349    
350     %post
351     /sbin/ldconfig
352    
353     ZONES="/usr/share/zoneinfo/zone.tab"
354     CONFIG="/etc/sysconfig/clock"
355    
356     if [ -r "$CONFIG" -a -r "$ZONES" ]; then
357     source "$CONFIG"
358     export CODE="$(grep -E "\b$ZONE\b" "$ZONES" | head -1 | cut -f1 | tr '[A-Z]' '[a-z]')"
359     fi
360    
361     if [ -z "$CODE" ]; then
362     export CODE="local"
363     fi
364    
365     %{__perl} -pi -e '
366     s|^(DatabaseMirror) database\.clamav\.net$|$1 db.$ENV{"CODE"}.clamav.net\n$1 db.local.clamav.net|;
367     s|^(DatabaseMirror) db\.\.clamav\.net$|$1 db.$ENV{"CODE"}.clamav.net\n$1 db.local.clamav.net|;
368     ' %{_sysconfdir}/freshclam.conf{,.rpmnew} &>/dev/null || :
369    
370     %postun -p /sbin/ldconfig
371    
372     %pre -n clamd
373     /usr/sbin/groupadd -r clamav 2>/dev/null || :
374     /usr/sbin/useradd -r -d /var/clamav -s /sbin/nologin -c "Clam Anti Virus Checker" -g clamav clamav 2>/dev/null || :
375    
376     %post -n clamd
377     /sbin/chkconfig --add clamd
378    
379     %preun -n clamd
380     if [ $1 -eq 0 ]; then
381     /sbin/service clamd stop &>/dev/null || :
382     /sbin/chkconfig --del clamd
383     fi
384    
385     %postun -n clamd
386     /sbin/service clamd condrestart &>/dev/null || :
387    
388     %post milter
389     /sbin/chkconfig --add clamav-milter
390    
391     %preun milter
392     if [ $1 -eq 0 ]; then
393     /sbin/service clamav-milter stop &>/dev/null || :
394     /sbin/chkconfig --del clamav-milter
395     fi
396    
397     %postun milter
398     /sbin/service clamav-milter condrestart &>/dev/null || :
399    
400     %pre db
401     /usr/sbin/groupadd -r clamav 2>/dev/null || :
402     /usr/sbin/useradd -r -d /var/clamav -s /sbin/nologin -c "Clam Anti Virus Checker" -g clamav clamav 2>/dev/null || :
403    
404     %clean
405     %{__rm} -rf %{buildroot}
406    
407     %files
408     %defattr(-, root, root, 0755)
409 dani 1.22 %doc ChangeLog.md COPYING* INSTALL.md NEWS.md README.md
410 wellsi 1.4 %doc etc/freshclam.conf.sample
411     %doc docs/*.pdf
412 slords 1.1 ### Remove test virus documents as they trigger clamav
413     #%doc test/
414     %doc %{_mandir}/man1/sigtool.1*
415     %doc %{_mandir}/man1/clambc.1*
416     %doc %{_mandir}/man1/clamscan.1*
417     %doc %{_mandir}/man1/freshclam.1*
418     %doc %{_mandir}/man5/freshclam.conf.5*
419     %config(noreplace) %{_sysconfdir}/freshclam.conf
420     %{_bindir}/clambc
421     %{_bindir}/clamscan
422     %{_bindir}/freshclam
423     %{_bindir}/sigtool
424     %{_libdir}/libclamav.so.*
425     %{_libdir}/libclamunrar.so.*
426     %{_libdir}/libclamunrar_iface.so.*
427 dani 1.22 %{_libdir}/libclammspack.so.*
428 slords 1.1 # moved from -devel to here so clamd can work with rars when clamav-devel is not installed.
429     %{_libdir}/libclamav.so
430     %{_libdir}/libclamunrar.so
431     %{_libdir}/libclamunrar_iface.so
432 dani 1.22 %{_libdir}/libclammspack.so
433 wellsi 1.4 %exclude %{_sysconfdir}/freshclam.conf.sample
434 slords 1.1
435     %files -n clamd
436     %defattr(-, root, root, 0755)
437 wellsi 1.4 %doc etc/clamd.conf.sample
438 slords 1.1 %doc %{_mandir}/man1/clambc.1*
439     %doc %{_mandir}/man1/clamconf.1*
440     %doc %{_mandir}/man1/clamdscan.1*
441     %doc %{_mandir}/man1/clamdtop.1*
442     %doc %{_mandir}/man5/clamd.conf.5*
443     %doc %{_mandir}/man8/clamd.8*
444     %config(noreplace) %{_sysconfdir}/clamd.conf
445     %config(noreplace) %{_sysconfdir}/logrotate.d/clamav
446     %config %{_initrddir}/clamd
447     %{_sbindir}/clamd
448     %{_bindir}/clamconf
449     %{_bindir}/clamdscan
450     %{_bindir}/clamdtop
451    
452     %defattr(0644, clamav, clamav, 0755)
453     %{_localstatedir}/run/clamav/
454     %dir %{_localstatedir}/clamav/
455     %dir %{_localstatedir}/log/clamav/
456     %ghost %{_localstatedir}/log/clamav/clamd.log
457 wellsi 1.4
458 slords 1.1 %exclude %{_localstatedir}/clamav/*
459 wellsi 1.4 %exclude %{_sysconfdir}/clamd.conf.sample
460 slords 1.1
461     %if %{!?_without_milter:1}0
462     %files milter
463     %defattr(-, root, root, 0755)
464 wellsi 1.4 %doc etc/clamav-milter.conf.sample
465 slords 1.1 %doc %{_mandir}/man5/clamav-milter.conf.5*
466     %doc %{_mandir}/man8/clamav-milter.8*
467     %config(noreplace) %{_sysconfdir}/clamav-milter.conf
468     %config(noreplace) %{_sysconfdir}/sysconfig/clamav-milter
469     %config %{_initrddir}/clamav-milter
470     %{_sbindir}/clamav-milter
471     %else
472     %exclude %{_mandir}/man5/clamav-milter.conf.5*
473     %endif
474 wellsi 1.4 %exclude %{_sysconfdir}/clamav-milter.conf.sample
475 slords 1.1
476     %files db
477     %defattr(-, root, root, 0755)
478     %config(noreplace) %{_sysconfdir}/cron.daily/freshclam
479     %config(noreplace) %{_sysconfdir}/logrotate.d/freshclam
480    
481     %defattr(0644, clamav, clamav, 0755)
482     %config(noreplace) %verify(user group mode) %{_localstatedir}/clamav/
483     %dir %{_localstatedir}/log/clamav/
484     %ghost %{_localstatedir}/log/clamav/freshclam.log
485    
486     %files devel
487     %defattr(-, root, root, 0755)
488     %{_bindir}/clamav-config
489     %{_includedir}/clamav.h
490     %{_libdir}/pkgconfig/libclamav.pc
491 dani 1.22 %{_libdir}/pkgconfig/libclammspack.pc
492 slords 1.1 %exclude %{_libdir}/libclamav.la
493     %exclude %{_libdir}/libclamunrar.la
494     %exclude %{_libdir}/libclamunrar_iface.la
495 dani 1.22 %exclude %{_libdir}/libclammspack.la
496 slords 1.1
497     %changelog
498 jpp 1.26 * Wed Mar 06 2019 Jean-Philipe Pialasse <tests@pialasse.com> 0.100.2-5.sme
499     - Update clamav-db as per epel last spec file [SME: ]
500     to add clamav-update as provides
501    
502 jcrisp 1.25 * Tue Nov 13 2018 John Crisp <jcrisp@safeandsoundit.co.uk> - 0.100.2-4
503     - Fix incorrect version number in the previoius changelog entry
504    
505 jcrisp 1.23 * Mon Nov 12 2018 John Crisp <jcrisp@safeandsoundit.co.uk> - 0.100.3-1
506     - Bundle zlib 1.2.7-17.el7 to avoid malformed database errors (#1600458)
507     - [SME: 10645]
508    
509 dani 1.22 * Wed Oct 24 2018 Daniel Berteaud <daniel@firewall-services.com> - 0.100.2-1.sme
510     - Update to 0.100.2 [SME: 10579]
511    
512 dani 1.21 * Wed Mar 14 2018 Daniel Berteaud <daniel@firewall-services.com> - 0.99.4-1.sme
513     - Update to release 0.99.4 [SME: 10529]
514    
515 dani 1.20 * Sat Jan 27 2018 Daniel Berteaud <daniel@firewall-services.com> - 0.99.3-1.sme
516     - Update to release 0.99.3 [SME: 10499]
517    
518 vip-ire 1.19 * Tue May 3 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.99.2-1.sme
519     - Update to release 0.99.2 [SME: 9489]
520    
521 vip-ire 1.18 * Thu Mar 3 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.99.1-1.sme
522     - Update to release 0.99.1 [SME: 9267]
523    
524 vip-ire 1.17 * Tue Jan 12 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.99-2.sme
525     - Add pcre-devel to BuildRequires [SME: 9151]
526    
527 vip-ire 1.16 * Wed Jan 6 2016 Daniel Berteaud <daniel@firewall-services.com> - 0.99-1.sme
528     - Update to release 0.99 [SME: 9151]
529    
530 vip-ire 1.15 * Wed May 13 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.98.7-1.sme
531     - Updated to release 0.98.7 [SME: 8922]
532    
533     * Thu Jan 29 2015 Daniel Berteaud <daniel@firewall-services.com> - 0.98.6-1.sme
534 vip-ire 1.14 - Updated to release 0.98.6 [SME: 8822]
535    
536 vip-ire 1.13 * Tue Dec 16 2014 Daniel Berteaud <daniel@firewall-services.com> - 0.98.5-1.sme
537     - Updated to release 0.98.5 [SME: 8729]
538    
539 wellsi 1.12 * Sat Jun 21 2014 Ian Wells <esmith@wellsi.com> - 0.98.4-2.sme
540     - Add BuildRequires for openssl-devel and libxml2-devel [SME: 8457]
541     - Remove Packager and Vendor from spec file.
542    
543 wellsi 1.11 * Thu Jun 17 2014 David Beveridge <dave@bevhost.com> - 0.98.4-1
544     - Updates to release 0.98.4.
545    
546 wellsi 1.8 * Thu May 8 2014 David Beveridge <dave@bevhost.com> - 0.98.3-1
547 wellsi 1.12 - Updated to release 0.98.3.
548 wellsi 1.5
549 wellsi 1.12 * Sun Jan 26 2014 David Beveridge <dave@bevhost.com> - 0.98.1-1
550 wellsi 1.8 - Updates to release 0.98.1.
551 wellsi 1.4
552     * Tue Sep 24 2013 Dag Wieers <dag@wieers.com> - 0.98-1
553     - Updated to release 0.98.
554    
555 wellsi 1.8 * Tue May 07 2013 David Hrbáč <david@hrbac.cz> - 0.97.8-1
556 wellsi 1.2 - Updated to release 0.97.8.
557    
558 slords 1.1 * Wed Mar 20 2013 Dag Wieers <dag@wieers.com> - 0.97.7-1
559     - Updated to release 0.97.7.
560    
561     * Sun Sep 23 2012 Dag Wieers <dag@wieers.com> - 0.97.6-1
562     - Updated to release 0.97.6.
563    
564 wellsi 1.8 * Mon Jun 25 2012 David Hrbáč <david@hrbac.cz> - 0.97.5-2
565 slords 1.1 - removed missing *.cld files (#183)
566    
567 wellsi 1.8 * Thu Jun 21 2012 David Hrbáč <david@hrbac.cz> - 0.97.5-1
568 slords 1.1 - corrected missing DBs
569     - new upstream release
570    
571     * Sat Jun 16 2012 Dag Wieers <dag@wieers.com> - 0.97.5-1
572     - Updated to release 0.97.5.
573    
574     * Thu Mar 15 2012 Dag Wieers <dag@wieers.com> - 0.97.4-1
575     - Updated to release 0.97.4.
576    
577     * Sat Dec 13 2011 Philip J Perry <phil@elrepo.org> - 0.97.3-2
578     - Fix Requires for clamav-milter to also allow use with Postfix.
579    
580     * Mon Oct 17 2011 Dag Wieers <dag@wieers.com> - 0.97.3-1
581     - Updated to release 0.97.3.
582    
583     * Mon Jul 25 2011 Dag Wieers <dag@wieers.com> - 0.97.2-1
584     - Updated to release 0.97.2.
585    
586     * Thu Jun 09 2011 Dag Wieers <dag@wieers.com> - 0.97.1-1
587     - Updated to release 0.97.1.
588    
589     * Tue Feb 08 2011 Dag Wieers <dag@wieers.com> - 0.97-1
590     - Updated to release 0.97.
591    
592     * Tue Nov 30 2010 Dag Wieers <dag@wieers.com> - 0.96.5-1
593     - Updated to release 0.96.5.
594    
595     * Mon Oct 25 2010 Dag Wieers <dag@wieers.com> - 0.96.4-1
596     - Updated to release 0.96.4.
597    
598 wellsi 1.8 * Tue Sep 21 2010 David Hrbáč <david@hrbac.cz> - 0.96.3-2
599 slords 1.1 - Added buildrequires check-devel.
600    
601     * Tue Sep 21 2010 Dag Wieers <dag@wieers.com> - 0.96.3-1
602     - Updated to release 0.96.3.
603    
604     * Tue Aug 17 2010 Dag Wieers <dag@wieers.com> - 0.96.2-2
605     - Added patch that fixes segfault when using SELinux. (Beat Siegenthaler)
606    
607     * Thu Aug 12 2010 Dag Wieers <dag@wieers.com> - 0.96.2-1
608     - Updated to release 0.96.2.
609    
610     * Wed May 19 2010 Dag Wieers <dag@wieers.com> - 0.96.1-1
611     - Updated to release 0.96.1.
612    
613     * Mon May 03 2010 Dag Wieers <dag@wieers.com> - 0.96-3
614     - Restored the LocalSocket configuration option to what it used to be. (Chris Butler)
615    
616     * Wed Apr 07 2010 Dag Wieers <dag@wieers.com> - 0.96-2
617     - Removed test virus documents to prevent triggering clamav itself. (Patrick Mulvany)
618    
619     * Wed Mar 31 2010 Dag Wieers <dag@wieers.com> - 0.96-1
620     - Updated to release 0.96.
621    
622     * Thu Oct 29 2009 Dag Wieers <dag@wieers.com> - 0.95.3-1
623     - Updated to release 0.95.3.
624    
625     * Fri Jun 12 2009 Christoph Maser <cmr@financial.com> - 0.95.2-1
626     - Updated to release 0.95.2.
627    
628     * Mon May 04 2009 Dag Wieers <dag@wieers.com> - 0.95.1-4
629     - Fix the inconsistency between LocalSocket in clamd.conf and clamav-milter.conf. (Gerald Teschl)
630    
631     * Sat May 02 2009 Dag Wieers <dag@wieers.com> - 0.95.1-3
632     - Fix the LocalSocket in clamd.conf. (Gerald Teschl)
633    
634     * Wed Apr 15 2009 Fabian Arrotin <fabian.arrotin@arrfab.net> - 0.95.1-2
635     - Added a missing BuildRequires: ncurses-devel to build clamdtop.
636    
637     * Fri Apr 10 2009 Dag Wieers <dag@wieers.com> - 0.95.1-2
638     - Corrected LogFile definition. (Vadim Druzhin)
639    
640     * Wed Apr 8 2009 Dag Wieers <dag@wieers.com> - 0.95.1-1
641     - Updated to release 0.95.1.
642    
643     * Tue Apr 7 2009 Dries Verachtert <dries@ulyssis.org> - 0.95-3
644     - Ugly fix for clamd which needs the .so files.
645    
646     * Tue Mar 24 2009 Dag Wieers <dag@wieers.com> - 0.95-1
647     - Updated to release 0.95.
648    
649     * Thu Nov 27 2008 Dag Wieers <dag@wieers.com> - 0.94.2-1
650     - Updated to release 0.94.2.
651    
652     * Mon Nov 03 2008 Dag Wieers <dag@wieers.com> - 0.94.1-1
653     - Updated to release 0.94.1.
654    
655     * Tue Sep 02 2008 Dag Wieers <dag@wieers.com> - 0.94-1
656     - Updated to release 0.94.
657    
658     * Wed Jul 09 2008 Dag Wieers <dag@wieers.com> - 0.93.3-1
659     - Updated to release 0.93.3.
660    
661     * Mon Jul 07 2008 Dag Wieers <dag@wieers.com> - 0.93.2-1
662     - Updated to release 0.93.2.
663    
664     * Mon Jun 09 2008 Dag Wieers <dag@wieers.com> - 0.93.1-1
665     - Updated to release 0.93.1.
666    
667     * Wed Apr 16 2008 Dag Wieers <dag@wieers.com> - 0.93-2
668     - Normal build causes linkage against installed library.
669    
670     * Mon Apr 14 2008 Dag Wieers <dag@wieers.com> - 0.93-1
671     - Updated to release 0.93.
672    
673     * Wed Feb 27 2008 Dag Wieers <dag@wieers.com> - queued
674     - Do not require the latest release of clamav-db. (Federico Simoncelli)
675    
676     * Mon Feb 11 2008 Dag Wieers <dag@wieers.com> - 0.92.1-1
677     - Updated to release 0.92.1.
678    
679     * Thu Dec 13 2007 Dag Wieers <dag@wieers.com> - 0.92-1
680     - Updated to release 0.92.
681    
682     * Tue Aug 21 2007 Dag Wieers <dag@wieers.com> - 0.91.2-1
683     - Updated to release 0.91.2.
684    
685     * Tue Jul 17 2007 Dag Wieers <dag@wieers.com> - 0.91.1-1
686     - Updated to release 0.91.1.
687    
688     * Wed Jul 11 2007 Dag Wieers <dag@wieers.com> - 0.91-1
689     - Updated to release 0.91.
690    
691     * Thu May 31 2007 Dag Wieers <dag@wieers.com> - 0.90.3-1
692     - Updated to release 0.90.3.
693    
694     * Fri Apr 27 2007 Dag Wieers <dag@wieers.com> - 0.90.2-2
695     - Added clamav-milter support for EL2.1 now that it comes with a newer sendmail. (Tom G. Christensen)
696    
697     * Sun Apr 15 2007 Dag Wieers <dag@wieers.com> - 0.90.2-1
698     - Updated to release 0.90.2.
699    
700     * Fri Mar 09 2007 Dag Wieers <dag@wieers.com> - 0.90.1-4
701     - Removed circular dependency.
702    
703     * Thu Mar 08 2007 Dag Wieers <dag@wieers.com> - 0.90.1-3
704     - Cleaned up default options to clamav-milter. (Adam T. Bowen)
705     - Removed -b/--bounce as it is no longer recognized. (Gerald Teschl)
706    
707     * Mon Mar 05 2007 Dag Wieers <dag@wieers.com> - 0.90.1-2
708     - Removed the erroneous --dont-clean-log from the clamav-milter sysconfig. (Gerald Teschl)
709    
710     * Fri Mar 02 2007 Dag Wieers <dag@wieers.com> - 0.90.1-1
711     - Updated to release 0.90.1.
712    
713     * Tue Feb 20 2007 Dag Wieers <dag@wieers.com> - 0.90-3
714     - Do the right thing...
715    
716     * Mon Feb 19 2007 Dag Wieers <dag@wieers.com> - 0.90-2
717     - The tarball was re-rolled before public release. Sigh.
718    
719     * Tue Feb 13 2007 Dag Wieers <dag@wieers.com> - 0.90-1
720     - Updated to release 0.90.
721    
722     * Tue Dec 12 2006 Dag Wieers <dag@wieers.com> - 0.88.7-1
723     - Updated to release 0.88.7.
724    
725     * Sun Nov 05 2006 Dag Wieers <dag@wieers.com> - 0.88.6-1
726     - Updated to release 0.88.6.
727     - Added condrestart to sysv scripts. (Tsai Li Ming)
728    
729     * Sat Oct 28 2006 Dag Wieers <dag@wieers.com> - 0.88.5-2
730     - Added missing clamav dependency to clamav-db.
731    
732     * Sun Oct 15 2006 Dag Wieers <dag@wieers.com> - 0.88.5-1
733     - Updated to release 0.88.5.
734    
735     * Mon Aug 07 2006 Dag Wieers <dag@wieers.com> - 0.88.4-1
736     - Updated to release 0.88.4.
737    
738     * Mon Aug 07 2006 Dag Wieers <dag@wieers.com> - 0.88.3-2
739     - Incorporated UPX heap overflow fix.
740    
741     * Sat Jul 01 2006 Dag Wieers <dag@wieers.com> - 0.88.3-1
742     - Updated to release 0.88.3.
743    
744     * Sun Apr 30 2006 Dag Wieers <dag@wieers.com> - 0.88.2-1
745     - Updated to release 0.88.2.
746    
747     * Tue Apr 04 2006 Dag Wieers <dag@wieers.com> - 0.88.1-1
748     - Updated to release 0.88.1.
749    
750     * Mon Jan 09 2006 Dag Wieers <dag@wieers.com> - 0.88-1
751     - Updated to release 0.88.
752    
753     * Sun Nov 13 2005 Dries Verachtert <dries@ulyssis.org> - 0.87.1-1
754     - Updated to release 0.87.1.
755    
756     * Sat Sep 17 2005 Dag Wieers <dag@wieers.com> - 0.87-1
757     - Updated to release 0.87.
758    
759     * Mon Jul 25 2005 Dag Wieers <dag@wieers.com> - 0.86.2-1
760     - Updated to release 0.86.2.
761    
762     * Mon Jul 11 2005 Dag Wieers <dag@wieers.com> - 0.86.1-1
763     - Updated to release 0.86.1.
764    
765     * Mon May 16 2005 Dag Wieers <dag@wieers.com> - 0.85.1-1
766     - Updated to release 0.85.1.
767    
768     * Fri Apr 29 2005 Dag Wieers <dag@wieers.com> - 0.84-1
769     - Updated to release 0.84.
770    
771     * Mon Feb 14 2005 Dag Wieers <dag@wieers.com> - 0.83-1
772     - Updated to release 0.83.
773    
774     * Thu Feb 10 2005 Dag Wieers <dag@wieers.com> - 0.82-2
775     - Fix for false positive on RIFF files. (Roger Jochem)
776    
777     * Mon Feb 07 2005 Dag Wieers <dag@wieers.com> - 0.82-1
778     - Updated to release 0.82.
779    
780     * Thu Jan 27 2005 Dag Wieers <dag@wieers.com> - 0.81-1
781     - Improved logrotate scripts. (Filippo Grassilli)
782     - Updated to release 0.81.
783    
784     * Wed Dec 01 2004 Dag Wieers <dag@wieers.com> - 0.80-2
785     - Added %dir /var/clamav/log. (Adam Bowns)
786     - Changed logrotate script to use clamd.log. (Stuart Schneider)
787     - Added curl dependency. (Petr Kristof)
788     - Synchronized some options from Petr. (Petr Kristof)
789     - Fixed another clamav.conf reference. (Michael Best)
790    
791     * Mon Nov 01 2004 Dag Wieers <dag@wieers.com> - 0.80-1
792     - Updated package description. (Arvin Troels)
793     - Incorporated fixes from Jima. (Jima)
794     - Config clamav.conf renamed to clamd.conf.
795     - Removed obsolete patch.
796     - Added macros for building without milter.
797     - Updated to release 0.80.
798    
799     * Fri Jul 30 2004 Dag Wieers <dag@wieers.com> - 0.75.1-1
800     - Added obsoletes for fedora.us.
801     - Updated to release 0.75.1.
802    
803     * Mon Jul 26 2004 Dag Wieers <dag@wieers.com> - 0.75-2
804     - Fixed a problem where $CODE was empty.
805    
806     * Fri Jul 23 2004 Dag Wieers <dag@wieers.com> - 0.75-1
807     - Updated to release 0.75.
808    
809     * Wed Jun 30 2004 Dag Wieers <dag@wieers.com> - 0.74-1
810     - Updated to release 0.74.
811    
812     * Tue Jun 15 2004 Dag Wieers <dag@wieers.com> - 0.73-1
813     - Updated to release 0.73.
814    
815     * Thu Jun 03 2004 Dag Wieers <dag@wieers.com> - 0.72-1
816     - Updated to release 0.72.
817    
818     * Thu May 20 2004 Dag Wieers <dag@wieers.com> - 0.71-1
819     - Updated to release 0.71.
820    
821     * Sun May 02 2004 Dag Wieers <dag@wieers.com> - 0.70-2
822     - Fixed the installation check for conf files. (Richard Soderberg, Udo Ruecker)
823     - Changed the init-order of the sysv scripts. (Will McCutcheon)
824     - Changes to the default configuration files.
825    
826     * Sat Mar 17 2004 Dag Wieers <dag@wieers.com> - 0.70-1
827     - Updated to release 0.70.
828    
829     * Tue Mar 16 2004 Dag Wieers <dag@wieers.com> - 0.68-1
830     - Updated to release 0.68.
831    
832     * Fri Mar 12 2004 Dag Wieers <dag@wieers.com> - 0.67.1-1
833     - Updated to release 0.67-1.
834     - Added clamdwatch and trashcan to clamd.
835    
836     * Mon Mar 08 2004 Dag Wieers <dag@wieers.com> - 0.67-1
837     - Personalized SPEC file.
838    
839     * Mon Aug 22 2003 Matthias Saou/Che
840     - Added "--without milter" build option. (Matthias Saou)
841     - Fixed freshclam cron (Matthias Saou)
842     - Built the new package. (Che)
843    
844     * Tue Jun 24 2003 Che
845     - clamav-milter introduced.
846     - a few more smaller fixes.
847    
848     * Sun Jun 22 2003 Che
849     - version upgrade
850    
851     * Mon Jun 16 2003 Che
852     - rh9 build
853     - various fixes
854     - got rid of rpm-helper prereq
855    
856     * Fri Mar 24 2003 Che
857     - some cleanups and fixes
858     - new patch added
859    
860     * Fri Nov 22 2002 Che
861     - fixed a config patch issue
862    
863     * Fri Nov 22 2002 Che
864     - version upgrade and some fixes
865    
866     * Sat Nov 02 2002 Che
867     - version upgrade
868    
869     * Wed Oct 24 2002 Che
870     - some important changes for lsb compliance
871    
872     * Wed Oct 23 2002 Che
873     - initial rpm release

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