| |
@@ -4,17 +4,17 @@
|
| |
|
| |
Summary: Anti-virus software
|
| |
Name: clamav
|
| |
- Version: 0.99.4
|
| |
+ Version: 0.100.0
|
| |
Release: 1%{?dist}
|
| |
License: GPLv2
|
| |
Group: Applications/System
|
| |
- URL: http://www.clamav.net/
|
| |
+ URL: https://www.clamav.net/
|
| |
|
| |
# Unfortunately, clamav includes support for RAR v3, derived from GPL
|
| |
# incompatible unrar from RARlabs. We have to pull this code out. This
|
| |
# tarball was created by
|
| |
# make clean-sources NAME=clamav VERSION=<version> TARBALL=clamav-<version>.tar.gz TARBALL_CLEAN=clamav-<version>-norar.tar.xz
|
| |
- # Upstream: http://downloads.sourceforge.net/clamav/clamav-%{version}.tar.gz
|
| |
+ # Upstream: https://www.clamav.net/downloads/production/clamav-%{version}.tar.gz
|
| |
Source0: clamav-%{version}-norar.tar.xz
|
| |
Source1: clamav.init
|
| |
Source2: clamav-milter.init
|
| |
@@ -25,24 +25,27 @@
|
| |
Source9: clamd.logrotate
|
| |
Source10: clamav-milter.sysconfig
|
| |
|
| |
- # To download the *.cvd, go to http://www.clamav.net and use the links
|
| |
+ # To download the *.cvd, go to https://www.clamav.net and use the links
|
| |
# there (I renamed the files to add the -version suffix for verifying).
|
| |
# Check the first line of the file for version, file is not working
|
| |
# see https://bugzilla.redhat.com/show_bug.cgi?id=1539107
|
| |
Source11: http://db.local.clamav.net/main-58.cvd
|
| |
- Source12: http://db.local.clamav.net/daily-24356.cvd
|
| |
+ Source12: http://db.local.clamav.net/daily-24611.cvd
|
| |
Source13: http://db.local.clamav.net/bytecode-319.cvd
|
| |
|
| |
+ Patch0: clamav-0.100.0-stats-deprecation.patch
|
| |
Patch31: clamav-0.99.1-setsebool.patch
|
| |
|
| |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| |
|
| |
- BuildRequires: bzip2-devel, zlib-devel, gmp-devel, curl-devel, xz, ncurses-devel, openssl-devel, libxml2-devel, pcre-devel
|
| |
+ BuildRequires: bzip2-devel, zlib-devel, gmp-devel, curl-devel, xz, ncurses-devel, openssl-devel, libxml2-devel, pcre-devel, json-c-devel
|
| |
%{!?_without_milter:BuildRequires: sendmail-devel >= 8.12}
|
| |
|
| |
Requires: clamav-db = %{version}-%{release}
|
| |
Requires(pre): shadow-utils
|
| |
|
| |
+ Provides: bundled(libmspack) = 0.5-0.1.alpha.modified_by_clamav
|
| |
+
|
| |
### Fedora Extras introduced them differently :(
|
| |
Provides: libclamav
|
| |
Obsoletes: libclamav < %{version}-%{release}
|
| |
@@ -131,7 +134,8 @@
|
| |
%prep
|
| |
# Handle that rpmbuild in RHEL < 6 doesn't handle xz archives automatically.
|
| |
%setup -q -T -c
|
| |
- xz -dc %{SOURCE0} | (cd .. ; tar xvvf -)
|
| |
+ xz -dc %{SOURCE0} | (cd .. ; tar xf -)
|
| |
+ %patch0 -p0 -b .stats-deprecation
|
| |
%patch31 -p1 -b .setsebool
|
| |
|
| |
%{__perl} -pi.orig -e 's|/lib\b|/%{_lib}|g;' configure
|
| |
@@ -336,7 +340,6 @@
|
| |
|
| |
%files
|
| |
%defattr(-, root, root, 0755)
|
| |
- %doc AUTHORS BUGS ChangeLog COPYING FAQ INSTALL NEWS README
|
| |
%doc docs/*.pdf etc/freshclam.conf
|
| |
%doc %{_mandir}/man1/sigtool.1*
|
| |
%doc %{_mandir}/man1/clamscan.1*
|
| |
@@ -350,6 +353,7 @@
|
| |
%{_bindir}/clambc
|
| |
%{_bindir}/clamsubmit
|
| |
%{_libdir}/libclamav.so.*
|
| |
+ %{_libdir}/libclammspack.so.*
|
| |
|
| |
%files -n clamd
|
| |
%defattr(-, root, root, 0755)
|
| |
@@ -407,11 +411,16 @@
|
| |
%{_bindir}/clamav-config
|
| |
%{_includedir}/clamav.h
|
| |
%{_libdir}/libclamav.so
|
| |
+ %{_libdir}/libclammspack.so
|
| |
%{_libdir}/pkgconfig/libclamav.pc
|
| |
- #%{_libdir}/libclamav.a
|
| |
+ %{_libdir}/pkgconfig/libclammspack.pc
|
| |
%exclude %{_libdir}/libclamav.la
|
| |
+ %exclude %{_libdir}/libclammspack.la
|
| |
|
| |
%changelog
|
| |
+ * Mon May 28 2018 Robert Scheck <robert@fedoraproject.org> - 0.100.0-1
|
| |
+ - Upgrade to 0.100.0 (#1565381)
|
| |
+
|
| |
* Fri Mar 02 2018 Orion Poplawski <orion@nwra.com> - 0.99.4-1
|
| |
- Update to 0.99.4
|
| |
- Security fixes CVE-2012-6706 CVE-2017-6419 CVE-2017-11423 CVE-2018-1000085
|
| |