2018-01-04 15:49:54 +00:00
|
|
|
#global prerelease rc1
|
2005-02-03 08:40:44 +00:00
|
|
|
|
2020-02-09 22:03:38 +00:00
|
|
|
%global _hardened_build 1
|
|
|
|
|
2020-04-30 03:57:51 +00:00
|
|
|
## Fedora specific customization below...
|
2020-02-09 22:39:30 +00:00
|
|
|
%bcond_without clamonacc
|
2018-01-08 21:50:29 +00:00
|
|
|
%bcond_without tmpfiles
|
2018-01-04 15:49:54 +00:00
|
|
|
%bcond_with unrar
|
2018-03-12 05:11:28 +00:00
|
|
|
%ifnarch ppc64
|
|
|
|
%bcond_without llvm
|
|
|
|
%else
|
|
|
|
%bcond_with llvm
|
|
|
|
%endif
|
|
|
|
|
2020-02-10 18:20:00 +00:00
|
|
|
%if 0%{?fedora} || 0%{?rhel} >= 8
|
2020-02-09 22:03:38 +00:00
|
|
|
%bcond_with old_freshclam
|
|
|
|
%else
|
|
|
|
%bcond_without old_freshclam
|
|
|
|
%endif
|
2012-04-13 08:49:30 +00:00
|
|
|
|
2010-08-11 09:13:09 +00:00
|
|
|
%ifnarch s390 s390x
|
2018-01-04 15:49:54 +00:00
|
|
|
%global have_ocaml 1
|
2010-08-11 09:13:09 +00:00
|
|
|
%else
|
2018-01-04 15:49:54 +00:00
|
|
|
%global have_ocaml 0
|
2010-08-11 09:13:09 +00:00
|
|
|
%endif
|
|
|
|
|
2018-01-08 17:51:13 +00:00
|
|
|
%{!?_rundir:%global _rundir /var/run}
|
2018-07-29 06:44:54 +00:00
|
|
|
%{!?_unitdir:%global _unitdir /lib/systemd/system}
|
2018-01-08 17:51:13 +00:00
|
|
|
|
2018-01-04 15:49:54 +00:00
|
|
|
%global updateuser clamupdate
|
|
|
|
%global homedir %_var/lib/clamav
|
2020-02-09 20:59:59 +00:00
|
|
|
%global freshclamlog %_var/log/freshclam.log
|
2018-01-04 15:49:54 +00:00
|
|
|
%global milteruser clamilt
|
|
|
|
%global milterlog %_var/log/clamav-milter.log
|
2018-01-08 17:51:13 +00:00
|
|
|
%global milterstatedir %_rundir/clamav-milter
|
2020-02-09 20:59:59 +00:00
|
|
|
%global pkgdatadir %_datadir/%name
|
2018-01-04 15:49:54 +00:00
|
|
|
%global scanuser clamscan
|
2018-01-08 17:51:13 +00:00
|
|
|
%global scanstatedir %_rundir/clamd.scan
|
2005-02-08 23:00:37 +00:00
|
|
|
|
|
|
|
|
2018-01-04 15:49:54 +00:00
|
|
|
Summary: End-user tools for the Clam Antivirus scanner
|
|
|
|
Name: clamav
|
2020-07-17 15:56:44 +00:00
|
|
|
Version: 0.102.4
|
|
|
|
Release: 1%{?dist}
|
2018-01-04 15:49:54 +00:00
|
|
|
License: %{?with_unrar:proprietary}%{!?with_unrar:GPLv2}
|
2018-05-29 00:43:26 +00:00
|
|
|
URL: https://www.clamav.net/
|
2018-01-04 17:49:09 +00:00
|
|
|
%if %{with unrar}
|
2018-05-29 00:43:26 +00:00
|
|
|
Source0: https://www.clamav.net/downloads/production/%name-%version%{?prerelease}.tar.gz
|
|
|
|
Source999: https://www.clamav.net/downloads/production/%name-%version%{?prerelease}.tar.gz.sig
|
2008-01-01 17:10:12 +00:00
|
|
|
%else
|
2009-09-13 13:43:34 +00:00
|
|
|
# Unfortunately, clamav includes support for RAR v3, derived from GPL
|
2008-01-01 17:10:12 +00:00
|
|
|
# incompatible unrar from RARlabs. We have to pull this code out.
|
2008-02-11 22:30:35 +00:00
|
|
|
# tarball was created by
|
2014-05-10 21:17:17 +00:00
|
|
|
# make clean-sources NAME=clamav VERSION=<version> TARBALL=clamav-<version>.tar.gz TARBALL_CLEAN=clamav-<version>-norar.tar.xz
|
2018-01-04 15:49:54 +00:00
|
|
|
Source0: %name-%version%{?prerelease}-norar.tar.xz
|
2008-01-01 17:10:12 +00:00
|
|
|
%endif
|
2018-01-08 23:31:59 +00:00
|
|
|
#for server
|
|
|
|
Source3: clamd.logrotate
|
|
|
|
Source5: clamd-README
|
2018-05-29 00:43:26 +00:00
|
|
|
# To download the *.cvd, go to https://www.clamav.net and use the links
|
2013-10-06 20:07:29 +00:00
|
|
|
# there (I renamed the files to add the -version suffix for verifying).
|
2018-10-04 17:14:52 +00:00
|
|
|
# Check the first line of the file for version or run file *cvd
|
|
|
|
# Attention file < 5.33-7 have bugs see https://bugzilla.redhat.com/show_bug.cgi?id=1539107
|
2019-01-10 05:15:39 +00:00
|
|
|
#http://database.clamav.net/main.cvd
|
2020-02-10 02:48:27 +00:00
|
|
|
Source10: main-59.cvd
|
2019-01-10 05:15:39 +00:00
|
|
|
#http://database.clamav.net/daily.cvd
|
2020-07-17 16:10:31 +00:00
|
|
|
Source11: daily-25876.cvd
|
2019-01-10 05:15:39 +00:00
|
|
|
#http://database.clamav.net/bytecode.cvd
|
2019-11-24 02:25:15 +00:00
|
|
|
Source12: bytecode-331.cvd
|
2020-04-30 23:05:30 +00:00
|
|
|
#for clamonacc
|
|
|
|
Source100: clamonacc.service
|
2020-02-09 20:59:59 +00:00
|
|
|
#for update
|
|
|
|
Source200: freshclam-sleep
|
|
|
|
Source201: freshclam.sysconfig
|
|
|
|
Source202: clamav-update.crond
|
|
|
|
Source203: clamav-update.logrotate
|
2018-01-08 23:31:59 +00:00
|
|
|
#for milter
|
|
|
|
Source300: README.fedora
|
|
|
|
#for clamav-milter.systemd
|
|
|
|
Source330: clamav-milter.systemd
|
2019-12-17 05:07:55 +00:00
|
|
|
#for scanner-systemd/server-systemd
|
2018-01-08 23:31:59 +00:00
|
|
|
Source530: clamd@.service
|
2012-06-16 10:22:58 +00:00
|
|
|
|
2020-02-09 22:39:30 +00:00
|
|
|
# Restore some options removed in 0.100 as deprecated
|
|
|
|
# Could be dropped in F32 with a note
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1565381#c1
|
|
|
|
Patch0: clamav-stats-deprecation.patch
|
|
|
|
# Change default config locations for Fedora
|
|
|
|
Patch1: clamav-default_confs.patch
|
|
|
|
# Fix pkg-config flags for static linking, multilib
|
|
|
|
Patch2: clamav-0.99-private.patch
|
2020-04-30 03:57:51 +00:00
|
|
|
# Patch to use EL7 libcurl
|
|
|
|
Patch3: clamav-curl.patch
|
2018-01-11 03:18:45 +00:00
|
|
|
|
2018-01-04 15:49:54 +00:00
|
|
|
BuildRequires: autoconf automake gettext-devel libtool libtool-ltdl-devel
|
2018-12-13 17:59:37 +00:00
|
|
|
BuildRequires: gcc-c++
|
2020-02-09 22:39:30 +00:00
|
|
|
BuildRequires: bzip2-devel
|
|
|
|
BuildRequires: curl-devel
|
|
|
|
BuildRequires: gmp-devel
|
|
|
|
BuildRequires: json-c-devel
|
2020-04-30 23:29:15 +00:00
|
|
|
BuildRequires: libprelude-devel
|
2020-05-02 04:40:02 +00:00
|
|
|
# libprelude-config --libs brings in gnutls
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1830473
|
|
|
|
BuildRequires: gnutls-devel
|
2020-02-09 22:39:30 +00:00
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: ncurses-devel
|
|
|
|
BuildRequires: openssl-devel
|
2018-02-14 04:17:47 +00:00
|
|
|
BuildRequires: pcre2-devel
|
2020-02-09 22:39:30 +00:00
|
|
|
BuildRequires: zlib-devel
|
2018-05-29 23:42:35 +00:00
|
|
|
#BuildRequires: %%_includedir/tcpd.h
|
2020-03-01 03:40:06 +00:00
|
|
|
BuildRequires: bc
|
|
|
|
BuildRequires: tcl
|
|
|
|
BuildRequires: groff
|
|
|
|
BuildRequires: graphviz
|
2018-03-12 05:11:28 +00:00
|
|
|
%{?have_ocaml:BuildRequires: ocaml}
|
2018-05-29 23:42:35 +00:00
|
|
|
# nc required for tests
|
2020-03-01 03:40:06 +00:00
|
|
|
BuildRequires: nc
|
2018-01-31 10:16:48 +00:00
|
|
|
%{?systemd_requires}
|
2020-03-01 03:40:06 +00:00
|
|
|
BuildRequires: systemd-devel
|
2018-01-08 23:31:59 +00:00
|
|
|
#for milter
|
|
|
|
BuildRequires: sendmail-devel
|
2004-11-08 04:10:52 +00:00
|
|
|
|
2020-04-30 23:05:30 +00:00
|
|
|
Requires: clamav-filesystem = %version-%release
|
2018-01-04 15:49:54 +00:00
|
|
|
Requires: clamav-lib = %version-%release
|
|
|
|
Requires: data(clamav)
|
2017-07-17 14:54:01 +00:00
|
|
|
|
2018-01-08 21:50:29 +00:00
|
|
|
%description
|
|
|
|
Clam AntiVirus is an anti-virus toolkit for UNIX. The main purpose of this
|
|
|
|
software is the integration with mail servers (attachment scanning). The
|
|
|
|
package provides a flexible and scalable multi-threaded daemon, a command
|
|
|
|
line scanner, and a tool for automatic updating via Internet. The programs
|
|
|
|
are based on a shared library distributed with the Clam AntiVirus package,
|
|
|
|
which you can use with your own software. The virus database is based on
|
|
|
|
the virus database from OpenAntiVirus, but contains additional signatures
|
|
|
|
(including signatures for popular polymorphic viruses, too) and is KEPT UP
|
|
|
|
TO DATE.
|
|
|
|
|
2007-02-03 15:16:08 +00:00
|
|
|
%package filesystem
|
2018-01-04 15:49:54 +00:00
|
|
|
Summary: Filesystem structure for clamav
|
2007-02-03 15:16:08 +00:00
|
|
|
# Prevent version mix
|
2018-01-04 15:49:54 +00:00
|
|
|
Conflicts: %name < %version-%release
|
|
|
|
Conflicts: %name > %version-%release
|
|
|
|
Requires(pre): shadow-utils
|
2018-07-29 06:41:46 +00:00
|
|
|
BuildArch: noarch
|
2007-02-03 15:16:08 +00:00
|
|
|
|
2018-01-08 21:50:29 +00:00
|
|
|
%description filesystem
|
|
|
|
This package provides the filesystem structure and contains the
|
|
|
|
user-creation scripts required by clamav.
|
|
|
|
|
|
|
|
|
2004-11-08 04:10:52 +00:00
|
|
|
%package lib
|
2018-01-04 15:49:54 +00:00
|
|
|
Summary: Dynamic libraries for the Clam Antivirus scanner
|
|
|
|
Requires: data(clamav)
|
2018-05-29 00:43:26 +00:00
|
|
|
Provides: bundled(libmspack) = 0.5-0.1.alpha.modified_by_clamav
|
2004-11-08 04:10:52 +00:00
|
|
|
|
2018-01-08 21:50:29 +00:00
|
|
|
%description lib
|
|
|
|
This package contains dynamic libraries shared between applications
|
|
|
|
using the Clam Antivirus scanner.
|
|
|
|
|
|
|
|
|
2004-11-08 04:10:52 +00:00
|
|
|
%package devel
|
2018-01-04 15:49:54 +00:00
|
|
|
Summary: Header files and libraries for the Clam Antivirus scanner
|
|
|
|
Requires: clamav-lib = %version-%release
|
|
|
|
Requires: clamav-filesystem = %version-%release
|
|
|
|
Requires: openssl-devel
|
2004-11-08 04:10:52 +00:00
|
|
|
|
2018-01-08 21:50:29 +00:00
|
|
|
%description devel
|
|
|
|
This package contains headerfiles and libraries which are needed to
|
|
|
|
build applications using clamav.
|
|
|
|
|
|
|
|
|
2004-11-08 04:10:52 +00:00
|
|
|
%package data
|
2018-01-04 15:49:54 +00:00
|
|
|
Summary: Virus signature data for the Clam Antivirus scanner
|
|
|
|
Requires: clamav-filesystem = %version-%release
|
2018-07-02 06:59:55 +00:00
|
|
|
Provides: data(clamav) = full
|
|
|
|
Provides: clamav-db = %{version}-%{release}
|
|
|
|
Obsoletes: clamav-db < %{version}-%{release}
|
2018-07-29 06:41:46 +00:00
|
|
|
BuildArch: noarch
|
2007-02-03 15:16:08 +00:00
|
|
|
|
2018-01-08 21:50:29 +00:00
|
|
|
%description data
|
|
|
|
This package contains the virus-database needed by clamav. This
|
|
|
|
database should be updated regularly; the 'clamav-update' package
|
2020-02-09 20:59:59 +00:00
|
|
|
ships a corresponding cron-job. Use this package when you want a
|
2018-07-02 06:59:55 +00:00
|
|
|
working (but perhaps outdated) virus scanner immediately after package
|
|
|
|
installation.
|
2018-01-08 21:50:29 +00:00
|
|
|
|
|
|
|
|
2004-11-08 04:10:52 +00:00
|
|
|
%package update
|
2018-01-04 15:49:54 +00:00
|
|
|
Summary: Auto-updater for the Clam Antivirus scanner data-files
|
|
|
|
Requires: clamav-filesystem = %version-%release
|
2020-02-09 22:03:38 +00:00
|
|
|
%if %{with old_freshclam}
|
2020-02-09 20:59:59 +00:00
|
|
|
Requires: crontabs
|
|
|
|
Requires: /etc/cron.d
|
2020-02-09 22:03:38 +00:00
|
|
|
%endif
|
2018-07-02 06:59:55 +00:00
|
|
|
Provides: data(clamav) = empty
|
|
|
|
Provides: clamav-data-empty = %{version}-%{release}
|
|
|
|
Obsoletes: clamav-data-empty < %{version}-%{release}
|
2004-11-08 04:10:52 +00:00
|
|
|
|
2018-01-08 21:50:29 +00:00
|
|
|
%description update
|
|
|
|
This package contains programs which can be used to update the clamav
|
|
|
|
anti-virus database automatically. It uses the freshclam(1) utility for
|
2020-02-09 20:59:59 +00:00
|
|
|
this task. To activate it use, uncomment the entry in /etc/cron.d/clamav-update.
|
2018-07-02 06:59:55 +00:00
|
|
|
Use this package when you go updating the virus database regulary and
|
2020-01-24 06:21:35 +00:00
|
|
|
do not want to download a >160MB sized rpm-package with outdated virus
|
2018-07-02 06:59:55 +00:00
|
|
|
definitions.
|
2018-01-08 21:50:29 +00:00
|
|
|
|
|
|
|
|
2018-02-14 03:26:03 +00:00
|
|
|
%package -n clamd
|
|
|
|
Summary: The Clam AntiVirus Daemon
|
2018-01-04 15:49:54 +00:00
|
|
|
Requires: data(clamav)
|
|
|
|
Requires: clamav-filesystem = %version-%release
|
|
|
|
Requires: clamav-lib = %version-%release
|
2018-01-04 16:01:27 +00:00
|
|
|
Requires: coreutils
|
2018-05-30 00:20:24 +00:00
|
|
|
Requires(pre): shadow-utils
|
2020-02-10 18:20:00 +00:00
|
|
|
# This is still used by clamsmtp and exim-clamav
|
|
|
|
Provides: clamav-server = %{version}-%{release}
|
2020-01-24 05:55:45 +00:00
|
|
|
Provides: clamav-scanner-systemd = %{version}-%{release}
|
|
|
|
Provides: clamav-server-systemd = %{version}-%{release}
|
2019-06-30 01:44:45 +00:00
|
|
|
Obsoletes: clamav-scanner-systemd < %{version}-%{release}
|
|
|
|
Obsoletes: clamav-server-systemd < %{version}-%{release}
|
2010-12-24 12:00:02 +00:00
|
|
|
|
2018-02-14 03:26:03 +00:00
|
|
|
%description -n clamd
|
|
|
|
The Clam AntiVirus Daemon
|
|
|
|
See the README file how this can be done with a minimum of effort.
|
2018-02-13 04:24:05 +00:00
|
|
|
This package contains a generic system wide clamd service which is
|
|
|
|
e.g. used by the clamav-milter package.
|
2018-01-08 21:50:29 +00:00
|
|
|
|
2018-06-03 01:45:21 +00:00
|
|
|
|
2009-03-08 11:38:36 +00:00
|
|
|
%package milter
|
2018-01-04 15:49:54 +00:00
|
|
|
Summary: Milter module for the Clam Antivirus scanner
|
2018-05-29 23:49:03 +00:00
|
|
|
# clamav-milter could work without clamd and without sendmail
|
2018-06-03 00:57:40 +00:00
|
|
|
#Requires: clamd = %%{version}-%%{release}
|
2018-05-29 23:49:03 +00:00
|
|
|
#Requires: /usr/sbin/sendmail
|
2018-05-30 00:20:24 +00:00
|
|
|
Requires: clamav-filesystem = %version-%release
|
2018-01-04 15:49:54 +00:00
|
|
|
Requires(post): coreutils
|
|
|
|
Requires(pre): shadow-utils
|
2020-01-28 01:33:28 +00:00
|
|
|
Requires(post): %__chown %__chmod
|
|
|
|
Provides: clamav-milter-systemd = %{version}-%{release}
|
2019-06-30 01:44:45 +00:00
|
|
|
Obsoletes: clamav-milter-systemd < %{version}-%{release}
|
2018-02-13 04:24:05 +00:00
|
|
|
|
|
|
|
%description milter
|
|
|
|
This package contains files which are needed to run the clamav-milter.
|
2010-12-24 12:00:02 +00:00
|
|
|
|
2004-11-08 04:10:52 +00:00
|
|
|
|
|
|
|
%prep
|
2010-08-11 09:13:09 +00:00
|
|
|
%setup -q -n %{name}-%{version}%{?prerelease}
|
2006-04-24 22:05:45 +00:00
|
|
|
|
2020-02-09 22:39:30 +00:00
|
|
|
# No longer support deprecated options in F32+ and EL8+
|
|
|
|
%if (0%{?fedora} && 0%{?fedora} < 32) || (0%{?rhel} && 0%{?rhel} < 8)
|
|
|
|
%patch0 -p1 -b .stats-deprecation
|
|
|
|
%endif
|
2018-07-31 02:41:33 +00:00
|
|
|
%patch1 -p1 -b .default_confs
|
2020-02-09 22:39:30 +00:00
|
|
|
%patch2 -p1 -b .private
|
2020-04-30 03:57:51 +00:00
|
|
|
# Patch to use older libcurl
|
|
|
|
%{?el7:%patch3 -p1 -b .curl}
|
2008-01-01 13:19:16 +00:00
|
|
|
|
|
|
|
install -p -m0644 %SOURCE300 clamav-milter/
|
|
|
|
|
2008-01-01 17:10:12 +00:00
|
|
|
mkdir -p libclamunrar{,_iface}
|
2008-02-11 22:30:35 +00:00
|
|
|
%{!?with_unrar:touch libclamunrar/{Makefile.in,all,install}}
|
2004-11-08 04:10:52 +00:00
|
|
|
|
2005-07-29 16:29:09 +00:00
|
|
|
|
2004-11-08 04:10:52 +00:00
|
|
|
%build
|
2019-12-17 05:07:55 +00:00
|
|
|
# add -Wl,--as-needed if not exist
|
|
|
|
echo %{?__global_ldflags} | sed '/-Wl,--as-needed/!s/$/ -Wl,--as-needed/'
|
|
|
|
export LDFLAGS=$(echo %{?__global_ldflags} | sed '/-Wl,--as-needed/!s/$/ -Wl,--as-needed/')
|
2009-03-25 22:03:44 +00:00
|
|
|
# IPv6 check is buggy and does not work when there are no IPv6 interface on build machine
|
|
|
|
export have_cv_ipv6=yes
|
2017-07-17 14:54:01 +00:00
|
|
|
|
2018-01-09 01:51:03 +00:00
|
|
|
rm -rf libltdl autom4te.cache Makefile.in
|
|
|
|
autoreconf -i
|
2010-03-20 11:36:31 +00:00
|
|
|
%configure \
|
2018-02-14 03:26:03 +00:00
|
|
|
--enable-milter \
|
2018-01-04 15:49:54 +00:00
|
|
|
--disable-clamav \
|
2018-02-14 03:26:03 +00:00
|
|
|
--disable-static \
|
|
|
|
--disable-zlib-vcheck \
|
|
|
|
%{!?with_unrar:--disable-unrar} \
|
2018-02-14 04:28:06 +00:00
|
|
|
--enable-id-check \
|
|
|
|
--enable-dns \
|
2018-02-14 03:26:03 +00:00
|
|
|
--with-dbdir=%homedir \
|
2018-01-04 15:49:54 +00:00
|
|
|
--with-group=%updateuser \
|
2018-02-14 03:26:03 +00:00
|
|
|
--with-user=%updateuser \
|
|
|
|
--disable-rpath \
|
|
|
|
--disable-silent-rules \
|
2018-01-04 15:49:54 +00:00
|
|
|
--enable-clamdtop \
|
2020-04-30 23:29:15 +00:00
|
|
|
--enable-prelude \
|
2020-02-09 22:39:30 +00:00
|
|
|
%{!?with_clamonacc:--disable-clamonacc} \
|
2018-03-12 05:11:28 +00:00
|
|
|
%{!?with_llvm:--disable-llvm}
|
2008-01-01 13:19:16 +00:00
|
|
|
|
2009-08-08 13:33:12 +00:00
|
|
|
# TODO: check periodically that CLAMAVUSER is used for freshclam only
|
|
|
|
|
2020-01-28 01:33:28 +00:00
|
|
|
# disable rpath
|
2008-01-01 13:19:16 +00:00
|
|
|
sed -i \
|
2018-01-04 15:49:54 +00:00
|
|
|
-e '/sys_lib_dlsearch_path_spec=\"\/lib \/usr\/lib /s!\"\/lib \/usr\/lib !/\"/%_lib /usr/%_lib !g' \
|
|
|
|
libtool
|
2007-12-21 18:06:29 +00:00
|
|
|
|
2018-01-04 17:49:09 +00:00
|
|
|
%make_build
|
2004-11-08 04:10:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
2018-12-13 19:03:45 +00:00
|
|
|
rm -rf _doc*
|
2018-01-04 17:49:09 +00:00
|
|
|
%make_install
|
2004-11-08 04:10:52 +00:00
|
|
|
|
2010-12-24 12:00:02 +00:00
|
|
|
install -d -m 0755 \
|
2020-02-09 20:59:59 +00:00
|
|
|
$RPM_BUILD_ROOT%_sysconfdir/{mail,clamd.d,logrotate.d} \
|
2018-01-04 15:49:54 +00:00
|
|
|
$RPM_BUILD_ROOT%_tmpfilesdir \
|
2018-01-08 17:51:13 +00:00
|
|
|
$RPM_BUILD_ROOT%_rundir \
|
|
|
|
$RPM_BUILD_ROOT%_var/log \
|
2018-01-04 15:49:54 +00:00
|
|
|
$RPM_BUILD_ROOT%milterstatedir \
|
|
|
|
$RPM_BUILD_ROOT%homedir \
|
|
|
|
$RPM_BUILD_ROOT%scanstatedir
|
2004-11-08 04:10:52 +00:00
|
|
|
|
2020-01-28 01:33:28 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%_libdir/*.la
|
2005-02-03 08:40:44 +00:00
|
|
|
|
2018-03-12 05:11:28 +00:00
|
|
|
touch $RPM_BUILD_ROOT%homedir/{daily,main,bytecode}.cld
|
2016-06-13 17:36:38 +00:00
|
|
|
touch $RPM_BUILD_ROOT%homedir/mirrors.dat
|
2008-01-01 13:19:16 +00:00
|
|
|
|
2018-01-04 15:49:54 +00:00
|
|
|
install -D -m 0644 -p %SOURCE10 $RPM_BUILD_ROOT%homedir/main.cvd
|
|
|
|
install -D -m 0644 -p %SOURCE11 $RPM_BUILD_ROOT%homedir/daily.cvd
|
2018-03-12 05:11:28 +00:00
|
|
|
install -D -m 0644 -p %SOURCE12 $RPM_BUILD_ROOT%homedir/bytecode.cvd
|
2004-11-08 04:10:52 +00:00
|
|
|
|
2020-01-28 01:33:28 +00:00
|
|
|
## prepare the clamd-files
|
2018-01-04 15:49:54 +00:00
|
|
|
install -D -m 0644 -p %SOURCE3 _doc_server/clamd.logrotate
|
|
|
|
install -D -m 0644 -p %SOURCE5 _doc_server/README
|
2020-05-29 02:46:56 +00:00
|
|
|
## Fixup URL for EPEL
|
|
|
|
%{?epel:sed -i -e s/product=Fedora/product=Fedora%20EPEL/ _doc_server/README}
|
2010-12-24 12:00:02 +00:00
|
|
|
|
2020-04-30 23:05:30 +00:00
|
|
|
install -D -p -m 0644 %SOURCE100 $RPM_BUILD_ROOT%_unitdir/clamonacc.service
|
|
|
|
|
2012-01-08 10:54:01 +00:00
|
|
|
install -D -p -m 0644 %SOURCE530 $RPM_BUILD_ROOT%_unitdir/clamd@.service
|
2005-02-03 08:40:44 +00:00
|
|
|
|
2020-02-09 20:59:59 +00:00
|
|
|
## prepare the update-files
|
|
|
|
install -D -m 0644 -p %SOURCE203 $RPM_BUILD_ROOT%_sysconfdir/logrotate.d/clamav-update
|
|
|
|
touch $RPM_BUILD_ROOT%freshclamlog
|
|
|
|
|
2020-02-10 18:44:21 +00:00
|
|
|
%if %{with old_freshclam}
|
2020-02-09 20:59:59 +00:00
|
|
|
install -D -p -m 0755 %SOURCE200 $RPM_BUILD_ROOT%pkgdatadir/freshclam-sleep
|
|
|
|
install -D -p -m 0644 %SOURCE201 $RPM_BUILD_ROOT%_sysconfdir/sysconfig/freshclam
|
|
|
|
install -D -p -m 0600 %SOURCE202 $RPM_BUILD_ROOT%_sysconfdir/cron.d/clamav-update
|
2020-02-09 22:03:38 +00:00
|
|
|
%endif
|
2020-02-09 20:59:59 +00:00
|
|
|
|
2020-01-28 01:33:28 +00:00
|
|
|
### The freshclam stuff
|
|
|
|
sed -ri \
|
|
|
|
-e 's!^Example!#Example!' \
|
|
|
|
-e 's!^#?(UpdateLogFile )!#\1!g;' \
|
|
|
|
-e 's!(DatabaseOwner *)clamav$!\1%updateuser!g' $RPM_BUILD_ROOT%_sysconfdir/freshclam.conf.sample
|
2004-11-08 04:10:52 +00:00
|
|
|
|
2020-01-28 01:33:28 +00:00
|
|
|
mv $RPM_BUILD_ROOT%_sysconfdir/freshclam.conf{.sample,}
|
2019-08-07 15:06:05 +00:00
|
|
|
# Can contain HTTPProxyPassword (bugz#1733112)
|
|
|
|
chmod 600 $RPM_BUILD_ROOT%_sysconfdir/freshclam.conf
|
2005-02-03 08:40:44 +00:00
|
|
|
|
2020-02-09 22:03:38 +00:00
|
|
|
%if %{with old_freshclam}
|
|
|
|
function smartsubst() {
|
|
|
|
local tmp
|
|
|
|
local regexp=$1
|
|
|
|
shift
|
|
|
|
|
|
|
|
tmp=$(mktemp /tmp/%name-subst.XXXXXX)
|
|
|
|
for i; do
|
|
|
|
sed -e "$regexp" "$i" >$tmp
|
|
|
|
cmp -s $tmp "$i" || cat $tmp >"$i"
|
|
|
|
rm -f $tmp
|
|
|
|
done
|
|
|
|
}
|
|
|
|
smartsubst 's!webmaster,clamav!webmaster,%updateuser!g;
|
|
|
|
s!/usr/share/clamav!%pkgdatadir!g;
|
|
|
|
s!/usr/bin!%_bindir!g;
|
|
|
|
s!/usr/sbin!%_sbindir!g;' \
|
|
|
|
$RPM_BUILD_ROOT%_sysconfdir/cron.d/clamav-update \
|
|
|
|
$RPM_BUILD_ROOT%pkgdatadir/freshclam-sleep
|
|
|
|
%endif
|
|
|
|
|
2009-03-08 11:38:36 +00:00
|
|
|
### The scanner stuff
|
2020-01-28 01:33:28 +00:00
|
|
|
sed -ri \
|
2020-01-28 02:30:13 +00:00
|
|
|
-e 's!^Example!#Example!' \
|
2020-01-28 01:33:28 +00:00
|
|
|
-e 's!^#?(LogFile ).*!#\1/var/log/clamd.<SERVICE>!g' \
|
|
|
|
-e 's!^#?(LocalSocket ).*!#\1%{_rundir}/clamd.<SERVICE>/clamd.sock!g' \
|
|
|
|
-e 's!^(#?PidFile ).*!\1%{_rundir}/clamd.<SERVICE>/clamd.pid!g' \
|
|
|
|
-e 's!^#?(User ).*!\1<USER>!g' \
|
|
|
|
-e 's!^#?(AllowSupplementaryGroups|LogSyslog).*!\1 yes!g' \
|
|
|
|
-e 's! /usr/local/share/clamav,! %homedir,!g' \
|
|
|
|
$RPM_BUILD_ROOT%_sysconfdir/clamd.conf.sample
|
|
|
|
|
2009-03-08 11:38:36 +00:00
|
|
|
sed -e 's!<SERVICE>!scan!g;s!<USER>!%scanuser!g' \
|
2020-01-28 01:33:28 +00:00
|
|
|
$RPM_BUILD_ROOT%_sysconfdir/clamd.conf.sample > $RPM_BUILD_ROOT%_sysconfdir/clamd.d/scan.conf
|
|
|
|
|
|
|
|
mv $RPM_BUILD_ROOT%_sysconfdir/clamd.conf.sample _doc_server/clamd.conf
|
2009-03-08 11:38:36 +00:00
|
|
|
|
2015-06-30 00:46:50 +00:00
|
|
|
cat << EOF > $RPM_BUILD_ROOT%_tmpfilesdir/clamd.scan.conf
|
2018-07-29 06:01:58 +00:00
|
|
|
d %scanstatedir 0710 %scanuser virusgroup
|
2010-12-24 12:00:02 +00:00
|
|
|
EOF
|
|
|
|
|
2009-03-08 11:38:36 +00:00
|
|
|
### The milter stuff
|
2020-01-28 01:33:28 +00:00
|
|
|
sed -ri \
|
2009-03-08 11:38:36 +00:00
|
|
|
-e 's!^#?(User).*!\1 %milteruser!g' \
|
|
|
|
-e 's!^#?(AllowSupplementaryGroups|LogSyslog) .*!\1 yes!g' \
|
|
|
|
-e 's! /tmp/clamav-milter.socket! %milterstatedir/clamav-milter.socket!g' \
|
|
|
|
-e 's! /var/run/clamav-milter.pid! %milterstatedir/clamav-milter.pid!g' \
|
2017-03-27 18:03:28 +00:00
|
|
|
-e 's! /var/run/clamd/clamd.socket! %scanstatedir/clamd.sock!g' \
|
2009-03-08 11:38:36 +00:00
|
|
|
-e 's! /tmp/clamav-milter.log! %milterlog!g' \
|
2020-01-28 01:33:28 +00:00
|
|
|
$RPM_BUILD_ROOT%_sysconfdir/clamav-milter.conf.sample
|
|
|
|
|
|
|
|
mv $RPM_BUILD_ROOT%_sysconfdir/clamav-milter.conf.sample $RPM_BUILD_ROOT%_sysconfdir/mail/clamav-milter.conf
|
2004-11-08 04:10:52 +00:00
|
|
|
|
2010-12-24 12:00:02 +00:00
|
|
|
install -D -p -m 0644 %SOURCE330 $RPM_BUILD_ROOT%_unitdir/clamav-milter.service
|
2004-11-08 04:10:52 +00:00
|
|
|
|
2015-06-30 00:46:50 +00:00
|
|
|
cat << EOF > $RPM_BUILD_ROOT%_tmpfilesdir/clamav-milter.conf
|
2011-04-23 09:41:08 +00:00
|
|
|
d %milterstatedir 0710 %milteruser %milteruser
|
2010-12-24 12:00:02 +00:00
|
|
|
EOF
|
2004-11-08 04:10:52 +00:00
|
|
|
|
2015-06-30 00:46:50 +00:00
|
|
|
%{!?with_tmpfiles: rm -rf $RPM_BUILD_ROOT%_tmpfilesdir}
|
2005-02-03 08:40:44 +00:00
|
|
|
|
2020-01-24 06:21:35 +00:00
|
|
|
# TODO: Evaluate using upstream's unit with clamav-daemon.socket
|
|
|
|
rm $RPM_BUILD_ROOT%_unitdir/clamav-daemon.*
|
2004-11-08 04:10:52 +00:00
|
|
|
|
|
|
|
|
2010-11-07 10:27:39 +00:00
|
|
|
%check
|
2010-12-24 12:00:02 +00:00
|
|
|
make check
|
2010-11-07 10:27:39 +00:00
|
|
|
|
|
|
|
|
2020-04-30 23:05:30 +00:00
|
|
|
%post
|
|
|
|
%systemd_post clamonacc.service
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun clamonacc.service
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun_with_restart clamonacc.service
|
|
|
|
|
|
|
|
|
2007-02-03 15:16:08 +00:00
|
|
|
%pre filesystem
|
2017-03-27 18:03:28 +00:00
|
|
|
getent group %{updateuser} >/dev/null || groupadd -r %{updateuser}
|
|
|
|
getent passwd %{updateuser} >/dev/null || \
|
|
|
|
useradd -r -g %{updateuser} -d %{homedir} -s /sbin/nologin \
|
|
|
|
-c "Clamav database update user" %{updateuser}
|
|
|
|
getent group virusgroup >/dev/null || groupadd -r virusgroup
|
|
|
|
usermod %{updateuser} -a -G virusgroup
|
2013-04-11 11:28:01 +00:00
|
|
|
exit 0
|
2007-02-03 15:16:08 +00:00
|
|
|
|
|
|
|
|
2018-02-14 03:26:03 +00:00
|
|
|
%pre -n clamd
|
2013-06-13 20:28:54 +00:00
|
|
|
getent group %{scanuser} >/dev/null || groupadd -r %{scanuser}
|
2013-04-11 11:28:01 +00:00
|
|
|
getent passwd %{scanuser} >/dev/null || \
|
2013-06-13 20:28:54 +00:00
|
|
|
useradd -r -g %{scanuser} -d / -s /sbin/nologin \
|
2013-04-11 11:28:01 +00:00
|
|
|
-c "Clamav scanner user" %{scanuser}
|
2017-03-27 18:03:28 +00:00
|
|
|
usermod %{scanuser} -a -G virusgroup
|
2013-04-11 11:28:01 +00:00
|
|
|
exit 0
|
|
|
|
|
2018-02-14 03:26:03 +00:00
|
|
|
%post -n clamd
|
2019-11-01 04:10:47 +00:00
|
|
|
# Point to the new service unit
|
|
|
|
[ -L /etc/systemd/system/multi-user.target.wants/clamd@scan.service ] &&
|
|
|
|
ln -sf /usr/lib/systemd/system/clamd@.service /etc/systemd/system/multi-user.target.wants/clamd@scan.service || :
|
2020-01-26 17:23:15 +00:00
|
|
|
%systemd_post clamd@scan.service
|
2018-02-13 04:24:05 +00:00
|
|
|
%{?with_tmpfiles:/bin/systemd-tmpfiles --create %_tmpfilesdir/clamd.scan.conf || :}
|
|
|
|
|
2018-02-14 03:26:03 +00:00
|
|
|
%preun -n clamd
|
2020-01-26 17:23:15 +00:00
|
|
|
%systemd_preun clamd@scan.service
|
2018-02-13 04:24:05 +00:00
|
|
|
|
2018-02-14 03:26:03 +00:00
|
|
|
%postun -n clamd
|
2020-01-26 17:23:15 +00:00
|
|
|
%systemd_postun_with_restart clamd@scan.service
|
2012-01-08 10:42:38 +00:00
|
|
|
|
2009-03-08 11:38:36 +00:00
|
|
|
|
2009-08-08 13:33:12 +00:00
|
|
|
%triggerin milter -- clamav-scanner
|
|
|
|
# Add the milteruser to the scanuser group; this is required when
|
|
|
|
# milter and clamd communicate through local sockets
|
2010-08-11 11:12:59 +00:00
|
|
|
/usr/sbin/groupmems -g %scanuser -a %milteruser &>/dev/null || :
|
2009-08-08 13:33:12 +00:00
|
|
|
|
2009-03-08 11:38:36 +00:00
|
|
|
%pre milter
|
2013-06-13 20:28:54 +00:00
|
|
|
getent group %{milteruser} >/dev/null || groupadd -r %{milteruser}
|
2013-04-11 11:28:01 +00:00
|
|
|
getent passwd %{milteruser} >/dev/null || \
|
2013-06-13 20:28:54 +00:00
|
|
|
useradd -r -g %{milteruser} -d %{milterstatedir} -s /sbin/nologin \
|
2013-04-11 11:28:01 +00:00
|
|
|
-c "Clamav Milter user" %{milteruser}
|
2017-03-27 18:03:28 +00:00
|
|
|
usermod %{milteruser} -a -G virusgroup
|
2013-04-11 11:28:01 +00:00
|
|
|
exit 0
|
|
|
|
|
2009-03-08 11:38:36 +00:00
|
|
|
%post milter
|
2005-07-29 16:29:09 +00:00
|
|
|
test -e %milterlog || {
|
2018-01-04 15:49:54 +00:00
|
|
|
touch %milterlog
|
|
|
|
chmod 0620 %milterlog
|
|
|
|
chown root:%milteruser %milterlog
|
|
|
|
! test -x /sbin/restorecon || /sbin/restorecon %milterlog
|
2005-07-29 16:29:09 +00:00
|
|
|
}
|
2019-06-30 01:44:45 +00:00
|
|
|
%systemd_post clamav-milter.service
|
2018-02-13 04:24:05 +00:00
|
|
|
%{?with_tmpfiles:/bin/systemd-tmpfiles --create %_tmpfilesdir/clamav-milter.conf || :}
|
|
|
|
|
|
|
|
%preun milter
|
|
|
|
%systemd_preun clamav-milter.service
|
2004-11-08 04:10:52 +00:00
|
|
|
|
2018-02-13 04:24:05 +00:00
|
|
|
%postun milter
|
|
|
|
%systemd_postun_with_restart clamav-milter.service
|
2006-09-21 18:27:43 +00:00
|
|
|
|
2020-01-26 17:23:15 +00:00
|
|
|
%post update
|
2020-02-09 22:03:38 +00:00
|
|
|
%if %{with old_freshclam}
|
2020-02-09 20:59:59 +00:00
|
|
|
test -e %freshclamlog || {
|
|
|
|
touch %freshclamlog
|
|
|
|
%__chmod 0664 %freshclamlog
|
|
|
|
%__chown root:%updateuser %freshclamlog
|
|
|
|
! test -x /sbin/restorecon || /sbin/restorecon %freshclamlog
|
|
|
|
}
|
2020-02-09 22:03:38 +00:00
|
|
|
%else
|
|
|
|
if [ $1 -eq 2 ] ; then
|
|
|
|
echo "Warning: clamav-update package changed"
|
|
|
|
echo "Now we provide clamav-freshclam.service systemd unit instead old scripts and the cron.d entry."
|
|
|
|
echo "Unfortunately this may break existing unattended installations."
|
|
|
|
echo "Please run 'systemctl enable clamav-freshclam --now' to enable freshclam updates again."
|
|
|
|
fi
|
|
|
|
%endif
|
|
|
|
%systemd_post clamav-freshclam.service
|
2020-01-26 17:23:15 +00:00
|
|
|
|
|
|
|
%preun update
|
|
|
|
%systemd_preun clamav-freshclam.service
|
|
|
|
|
|
|
|
%postun update
|
2020-01-28 02:51:32 +00:00
|
|
|
%systemd_postun_with_restart clamav-freshclam.service
|
2020-01-26 17:23:15 +00:00
|
|
|
|
2019-01-22 17:38:38 +00:00
|
|
|
%ldconfig_scriptlets lib
|
2004-11-08 04:10:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
2018-12-13 19:03:45 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc NEWS.md README.md docs/html
|
|
|
|
%_bindir/clambc
|
|
|
|
%_bindir/clamconf
|
2018-12-13 19:24:29 +00:00
|
|
|
%_bindir/clamdscan
|
|
|
|
%_bindir/clamdtop
|
2020-02-09 22:39:30 +00:00
|
|
|
%if %{with clamonacc}
|
|
|
|
%_bindir/clamonacc
|
|
|
|
%endif
|
2018-12-13 19:03:45 +00:00
|
|
|
%_bindir/clamscan
|
|
|
|
%_bindir/clamsubmit
|
|
|
|
%_bindir/sigtool
|
2006-08-09 06:30:01 +00:00
|
|
|
%_mandir/man[15]/*
|
2006-01-09 23:27:46 +00:00
|
|
|
%exclude %_mandir/*/freshclam*
|
2018-01-31 10:25:07 +00:00
|
|
|
%exclude %_mandir/man5/clamd.conf.5*
|
2020-04-30 23:05:30 +00:00
|
|
|
%_unitdir/clamonacc.service
|
2004-11-08 04:10:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files lib
|
2019-01-03 23:54:25 +00:00
|
|
|
%_libdir/libclamav.so.9*
|
|
|
|
%_libdir/libclammspack.so.0*
|
2019-12-17 04:49:01 +00:00
|
|
|
%if %{with unrar}
|
|
|
|
%_libdir/libclamunrar*.so.9*
|
|
|
|
%endif
|
2004-11-08 04:10:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
2006-07-08 13:17:12 +00:00
|
|
|
%_includedir/*
|
|
|
|
%_libdir/*.so
|
2005-02-03 08:40:44 +00:00
|
|
|
%_libdir/pkgconfig/*
|
|
|
|
%_bindir/clamav-config
|
2004-11-08 04:10:52 +00:00
|
|
|
|
|
|
|
|
2007-02-03 15:16:08 +00:00
|
|
|
%files filesystem
|
2017-03-27 18:03:28 +00:00
|
|
|
%attr(-,%updateuser,%updateuser) %dir %homedir
|
2017-03-26 22:25:21 +00:00
|
|
|
%dir %_sysconfdir/clamd.d
|
2020-04-30 23:05:30 +00:00
|
|
|
# Used by both clamd, clamdscan, and clamonacc
|
|
|
|
%config(noreplace) %_sysconfdir/clamd.d/scan.conf
|
2007-02-03 15:16:08 +00:00
|
|
|
|
|
|
|
|
2004-11-08 04:10:52 +00:00
|
|
|
%files data
|
2017-03-27 18:03:28 +00:00
|
|
|
%defattr(-,%updateuser,%updateuser,-)
|
2005-02-03 08:40:44 +00:00
|
|
|
# use %%config to keep files which were updated by 'freshclam'
|
|
|
|
# already. Without this tag, they would be overridden with older
|
|
|
|
# versions whenever a new -data package is installed.
|
2006-07-08 13:17:12 +00:00
|
|
|
%config %verify(not size md5 mtime) %homedir/*.cvd
|
2004-11-08 04:10:52 +00:00
|
|
|
|
2007-02-03 15:16:08 +00:00
|
|
|
|
2004-11-08 04:10:52 +00:00
|
|
|
%files update
|
|
|
|
%_bindir/freshclam
|
2020-02-09 22:39:30 +00:00
|
|
|
%_libdir/libfreshclam.so.2*
|
2006-01-09 23:27:46 +00:00
|
|
|
%_mandir/*/freshclam*
|
2020-01-24 06:21:35 +00:00
|
|
|
%_unitdir/clamav-freshclam.service
|
2005-07-25 17:19:21 +00:00
|
|
|
%config(noreplace) %verify(not mtime) %_sysconfdir/freshclam.conf
|
2020-02-09 22:03:38 +00:00
|
|
|
%if %{with old_freshclam}
|
|
|
|
%pkgdatadir/freshclam-sleep
|
2020-02-09 20:59:59 +00:00
|
|
|
%config(noreplace) %_sysconfdir/cron.d/clamav-update
|
|
|
|
%config(noreplace) %_sysconfdir/sysconfig/freshclam
|
2020-02-09 22:03:38 +00:00
|
|
|
%endif
|
2020-02-10 18:20:00 +00:00
|
|
|
%config(noreplace) %verify(not mtime) %_sysconfdir/logrotate.d/*
|
|
|
|
%ghost %attr(0664,root,%updateuser) %verify(not size md5 mtime) %freshclamlog
|
2017-03-27 18:03:28 +00:00
|
|
|
%ghost %attr(0664,%updateuser,%updateuser) %homedir/*.cld
|
|
|
|
%ghost %attr(0664,%updateuser,%updateuser) %homedir/mirrors.dat
|
2007-02-03 15:16:08 +00:00
|
|
|
|
|
|
|
|
2018-02-14 03:26:03 +00:00
|
|
|
%files -n clamd
|
2004-11-08 04:10:52 +00:00
|
|
|
%doc _doc_server/*
|
2018-01-26 18:29:37 +00:00
|
|
|
%_mandir/man5/clamd.conf.5*
|
|
|
|
%_mandir/man8/clamd.8*
|
|
|
|
%_sbindir/clamd
|
2018-02-13 04:24:05 +00:00
|
|
|
%_unitdir/clamd@.service
|
2006-09-21 18:27:43 +00:00
|
|
|
|
2009-03-08 11:38:36 +00:00
|
|
|
%ghost %scanstatedir/clamd.sock
|
2018-01-04 17:49:09 +00:00
|
|
|
%if %{with tmpfiles}
|
2015-06-30 00:46:50 +00:00
|
|
|
%_tmpfilesdir/clamd.scan.conf
|
2018-07-29 06:01:58 +00:00
|
|
|
%ghost %dir %attr(0710,%scanuser,virusgroup) %scanstatedir
|
2010-12-24 12:00:02 +00:00
|
|
|
%else
|
2018-07-29 06:01:58 +00:00
|
|
|
%dir %attr(0710,%scanuser,virusgroup) %scanstatedir
|
2010-12-24 12:00:02 +00:00
|
|
|
%endif
|
2009-03-08 11:38:36 +00:00
|
|
|
|
2004-11-08 04:10:52 +00:00
|
|
|
|
2009-03-08 11:38:36 +00:00
|
|
|
%files milter
|
2008-01-01 17:10:12 +00:00
|
|
|
%doc clamav-milter/README.fedora
|
2009-03-08 11:38:36 +00:00
|
|
|
%_sbindir/*milter*
|
|
|
|
%_mandir/man8/clamav-milter*
|
2017-03-26 22:27:34 +00:00
|
|
|
%dir %_sysconfdir/mail
|
2009-03-08 11:38:36 +00:00
|
|
|
%config(noreplace) %_sysconfdir/mail/clamav-milter.conf
|
|
|
|
%ghost %attr(0620,root,%milteruser) %verify(not size md5 mtime) %milterlog
|
2010-12-24 12:00:02 +00:00
|
|
|
%ghost %milterstatedir/clamav-milter.socket
|
|
|
|
|
2018-01-04 17:49:09 +00:00
|
|
|
%if %{with tmpfiles}
|
2015-06-30 00:46:50 +00:00
|
|
|
%_tmpfilesdir/clamav-milter.conf
|
2010-12-24 12:00:02 +00:00
|
|
|
%ghost %dir %attr(0710,%milteruser,%milteruser) %milterstatedir
|
|
|
|
%else
|
|
|
|
%dir %attr(0710,%milteruser,%milteruser) %milterstatedir
|
|
|
|
%endif
|
2019-12-17 05:07:55 +00:00
|
|
|
%_unitdir/clamav-milter.service
|
2006-09-21 18:27:43 +00:00
|
|
|
|
|
|
|
|
2004-11-08 04:10:52 +00:00
|
|
|
%changelog
|
2020-07-17 15:56:44 +00:00
|
|
|
* Fri Jul 17 2020 Orion Poplawski <orion@nwra.com> - 0.102.4-1
|
|
|
|
- Update to 0.102.4 (bz#1857867,1858262,1858263,1858265,1858266)
|
|
|
|
- Security fixes CVE-2020-3327 CVE-2020-3350 CVE-2020-3481
|
|
|
|
|
2020-05-29 02:46:56 +00:00
|
|
|
* Thu May 28 2020 Orion Poplawski <orion@nwra.com> - 0.102.3-2
|
|
|
|
- Update clamd README file (bz#1798369)
|
|
|
|
|
2020-05-14 00:34:25 +00:00
|
|
|
* Thu May 14 2020 Orion Poplawski <orion@nwra.com> - 0.102.3-1
|
|
|
|
- Update to 0.102.3 (bz#1834910)
|
2020-05-14 00:42:18 +00:00
|
|
|
- Security fixes CVE-2020-3327 CVE-2020-3341
|
2020-05-14 00:34:25 +00:00
|
|
|
|
2020-05-02 13:33:48 +00:00
|
|
|
* Sat May 02 2020 Orion Poplawski <orion@nwra.com> - 0.102.2-9
|
|
|
|
- Add upstream patch to fix "Attempt to allocate 0 bytes" errors while scanning
|
|
|
|
certain PDFs
|
|
|
|
|
2020-04-30 23:29:15 +00:00
|
|
|
* Thu Apr 30 2020 Orion Poplawski <orion@nwra.com> - 0.102.2-8
|
|
|
|
- Enable prelude support (bz#1829726)
|
|
|
|
|
2020-04-30 03:57:51 +00:00
|
|
|
* Wed Apr 29 2020 Orion Poplawski <orion@nwra.com> - 0.102.2-7
|
2020-04-30 23:05:30 +00:00
|
|
|
- Move /etc/clamd.d/scan.conf to clamav-filesystem
|
2020-04-30 03:57:51 +00:00
|
|
|
- Add patch to build with EL7 libcurl - re-enable on-access scanning
|
|
|
|
(bz#1820395)
|
2020-04-30 23:05:30 +00:00
|
|
|
- Add clamonacc.service
|
2020-04-30 03:57:51 +00:00
|
|
|
|
2020-04-21 22:02:52 +00:00
|
|
|
* Tue Apr 21 2020 Björn Esser <besser82@fedoraproject.org> - 0.102.2-6
|
|
|
|
- Rebuild (json-c)
|
|
|
|
|
2020-04-09 01:09:18 +00:00
|
|
|
* Wed Apr 8 2020 Orion Poplawski <orion@nwra.com> - 0.102.2-5
|
|
|
|
- Do not log freshclam output to syslog by default - creates double entries
|
|
|
|
in the journal (bz#1822012)
|
2020-04-09 02:33:32 +00:00
|
|
|
- (#1820069) add try-restart clamav-freshclam.service on logrotate
|
2020-04-09 01:09:18 +00:00
|
|
|
|
|
|
|
* Mon Mar 16 2020 Orion Poplawski <orion@nwra.com> - 0.102.2-4
|
2020-03-16 14:45:58 +00:00
|
|
|
- Quiet freshclam-sleep when used with proxy
|
|
|
|
|
2020-02-29 17:12:20 +00:00
|
|
|
* Sat Feb 29 2020 Orion Poplawski <orion@nwra.com> - 0.102.2-3
|
|
|
|
- Add missingok to clamav-update.logrotate (bz#1807701)
|
|
|
|
|
2020-02-10 18:20:00 +00:00
|
|
|
* Mon Feb 10 2020 Orion Poplawski <orion@nwra.com> - 0.102.2-2
|
|
|
|
- Keep /var/log/freshclam.log handling - can still be used
|
|
|
|
- Restore clamav-server provides (bz#1801329)
|
|
|
|
- Fix old_freshclam cron conditional (bz#1801199)
|
|
|
|
|
2020-02-09 22:39:30 +00:00
|
|
|
* Sun Feb 9 2020 Orion Poplawski <orion@nwra.com> - 0.102.2-1
|
|
|
|
- Update to 0.102.2
|
|
|
|
- Drop supporting deprecated options for F32+ and EL8+
|
|
|
|
- Drop old umask patch
|
|
|
|
|
2020-02-09 20:59:59 +00:00
|
|
|
* Sun Feb 09 2020 Orion Poplawski <orion@nwra.com> - 0.101.5-10
|
|
|
|
- Re-add clamav-update.cron (bz#1800226)
|
2020-02-09 22:03:38 +00:00
|
|
|
- Add conditional old_freshclam
|
2020-02-09 20:59:59 +00:00
|
|
|
|
2020-02-05 06:56:52 +00:00
|
|
|
* Tue Feb 04 2020 Sérgio Basto <sergio@serjux.com> - 0.101.5-9
|
|
|
|
- Add a message warning that We now provide clamav-freshclam.service systemd
|
|
|
|
unit instead old scripts
|
|
|
|
|
2020-01-28 14:06:47 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.101.5-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2020-01-28 01:33:28 +00:00
|
|
|
* Mon Jan 27 2020 Sérgio Basto <sergio@serjux.com> - 0.101.5-7
|
|
|
|
- More cleanups
|
2020-01-28 02:21:52 +00:00
|
|
|
- Remove llvm-glibc.patch (upstream already fixed it)
|
2020-01-28 02:30:13 +00:00
|
|
|
- Comment "Example" in scan.conf to make clamd@scan.service works without editing
|
|
|
|
- Improve description of clamav-update
|
2020-01-28 01:33:28 +00:00
|
|
|
|
2020-01-26 17:23:15 +00:00
|
|
|
* Sun Jan 26 2020 Sérgio Basto <sergio@serjux.com> - 0.101.5-6
|
|
|
|
- Fix clamd scriplets on update and add scriplets for clamav-freshclam.service
|
|
|
|
|
2020-01-24 06:21:35 +00:00
|
|
|
* Fri Jan 24 2020 Sérgio Basto <sergio@serjux.com> - 0.101.5-5
|
|
|
|
- Improve upgrade path
|
|
|
|
- Get rid of pkgdatadir variable
|
|
|
|
- Use upstream freshclam systemd unit file, remove freshclam-sleep
|
|
|
|
- Get rid of %freshclamlog variable
|
|
|
|
- Get rid of smartsubst function
|
|
|
|
|
2020-01-17 03:45:41 +00:00
|
|
|
* Fri Jan 17 2020 Sérgio Basto <sergio@serjux.com> - 0.101.5-4
|
|
|
|
- Fix scriplets (#1788338)
|
|
|
|
|
2019-12-17 05:07:55 +00:00
|
|
|
* Tue Dec 17 2019 Sérgio Basto <sergio@serjux.com> - 0.101.5-3
|
|
|
|
- Remove old init scripts and use systemd
|
|
|
|
|
2019-12-17 04:49:01 +00:00
|
|
|
* Tue Dec 17 2019 Orion Poplawski <orion@nwra.com> - 0.101.5-2
|
|
|
|
- Allow building --with unrar again (bz#1782638)
|
|
|
|
|
2019-11-24 02:16:00 +00:00
|
|
|
* Sat Nov 23 2019 Orion Poplawski <orion@nwra.com> - 0.101.5-1
|
|
|
|
- Update to 0.101.5 (CVE-2019-15961) (bz#1775550)
|
|
|
|
|
2019-11-01 04:10:47 +00:00
|
|
|
* Mon Nov 18 2019 Orion Poplawski <orion@nwra.com> - 0.101.4-3
|
|
|
|
- Drop clamd@scan.service file (bz#1725810)
|
|
|
|
- Change /var/run to /run
|
|
|
|
|
2019-11-19 03:41:21 +00:00
|
|
|
* Mon Nov 18 2019 Orion Poplawski <orion@nwra.com> - 0.101.4-2
|
|
|
|
- Add TimeoutStartSec=420 to clamd@.service to match upstream (bz#1764835)
|
|
|
|
|
2019-08-22 16:33:08 +00:00
|
|
|
* Thu Aug 22 2019 Orion Poplawski <orion@nwra.com> - 0.101.4-1
|
|
|
|
- Update to 0.101.4
|
|
|
|
|
2019-08-07 15:06:05 +00:00
|
|
|
* Wed Aug 7 2019 Orion Poplawski <orion@nwra.com> - 0.101.3-1
|
|
|
|
- Update to 0.101.3
|
|
|
|
- Fix permissions on freshclam.conf (bugz#1733112)
|
|
|
|
|
2019-07-24 20:19:26 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.101.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-06-30 01:44:45 +00:00
|
|
|
* Sun Jun 30 2019 Sérgio Basto <sergio@serjux.com> - 0.101.2-2
|
|
|
|
- One year later we may remove pakages workaround of clamav-milter-systemd,
|
|
|
|
clamav-scanner-systemd and clamav-server-systemd, before I forget it was one
|
|
|
|
workaround to allow migration of service without stop it and disable it
|
|
|
|
(#1583599).
|
|
|
|
|
2019-03-28 01:15:19 +00:00
|
|
|
* Thu Mar 28 2019 Sérgio Basto <sergio@serjux.com> - 0.101.2-1
|
|
|
|
- Update to 0.101.2
|
|
|
|
|
2019-01-31 15:39:28 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.101.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2019-01-10 05:15:39 +00:00
|
|
|
* Thu Jan 10 2019 Sérgio Basto <sergio@serjux.com> - 0.101.1-1
|
|
|
|
- Update to 0.101.1
|
|
|
|
|
2019-01-04 00:47:10 +00:00
|
|
|
* Thu Jan 3 2019 Orion Poplawski <orion@nwra.com> - 0.101.0-3
|
|
|
|
- Actually apply patch
|
|
|
|
|
2019-01-03 23:54:25 +00:00
|
|
|
* Thu Jan 3 2019 Orion Poplawski <orion@nwra.com> - 0.101.0-2
|
|
|
|
- Explicitly list sonames to catch soname bumps
|
|
|
|
- Backport header fix (bug #1663011)
|
|
|
|
|
2018-12-13 17:06:04 +00:00
|
|
|
* Thu Dec 13 2018 Orion Poplawski <orion@nwra.com> - 0.101.0-1
|
|
|
|
- Update to 0.101.0
|
2018-12-13 19:03:45 +00:00
|
|
|
- Add %%license
|
|
|
|
- pdf docs replaced with html
|
2018-12-13 17:06:04 +00:00
|
|
|
|
2018-10-04 11:11:10 +00:00
|
|
|
* Thu Oct 04 2018 Sérgio Basto <sergio@serjux.com> - 0.100.2-2
|
|
|
|
- Revert unwanted committed parts of commit "clean whitespace"
|
|
|
|
|
2018-10-04 05:58:44 +00:00
|
|
|
* Thu Oct 04 2018 Sérgio Basto <sergio@serjux.com> - 0.100.2-1
|
|
|
|
- Update to 0.100.2
|
2018-10-04 11:11:10 +00:00
|
|
|
- Fix logrotate example (#1610735)
|
|
|
|
- Improve clamd@.service (enter in commit "clean whitespace" by mistake sorry)
|
2018-10-04 05:58:44 +00:00
|
|
|
|
2018-07-31 02:41:33 +00:00
|
|
|
* Mon Jul 30 2018 Sérgio Basto <sergio@serjux.com> - 0.100.1-4
|
|
|
|
- Change the default location of configuration files in clamconf, binaries and
|
|
|
|
man pages, replacing with our default packaging (#859339).
|
|
|
|
|
2018-07-29 06:36:33 +00:00
|
|
|
* Sun Jul 29 2018 Sérgio Basto <sergio@serjux.com> - 0.100.1-3
|
|
|
|
- Modify group of /var/run/clamd.scan to virusgroup
|
|
|
|
- Add some SELinux notes from (#787434)
|
|
|
|
- Drop pointless clamav-0.99.1-setsebool.patch
|
2018-07-29 06:41:46 +00:00
|
|
|
- Drop conditionalized build of noarch
|
2018-07-29 06:36:33 +00:00
|
|
|
|
2018-07-12 21:49:44 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.100.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-07-11 01:40:19 +00:00
|
|
|
* Wed Jul 11 2018 Sérgio Basto <sergio@serjux.com> - 0.100.1-1
|
|
|
|
- Update to 0.100.1
|
|
|
|
|
2018-07-02 06:59:55 +00:00
|
|
|
* Mon Jul 02 2018 Sérgio Basto <sergio@serjux.com> - 0.100.0-3
|
|
|
|
- Remove sub-package clamav-data-empty
|
|
|
|
- Also remove conflicts between clamav-data and clamav-data-empty
|
|
|
|
|
2018-06-03 00:57:40 +00:00
|
|
|
* Sun Jun 03 2018 Sérgio Basto <sergio@serjux.com> - 0.100.0-2
|
|
|
|
- Try to mitigate bug #1583599
|
2018-05-29 23:42:35 +00:00
|
|
|
- Move comments one line (to read before starting the scriptlet)
|
2018-05-29 23:49:03 +00:00
|
|
|
- clamav-milter could work without clamd and without sendmail (#1583599)
|
2018-05-30 00:20:24 +00:00
|
|
|
- Get rid of provides/requires with updateuser, virusgroup, scanuser and
|
|
|
|
milteruser and just simply require clamav-filesystem
|
2018-05-29 23:42:35 +00:00
|
|
|
|
2018-05-29 00:43:26 +00:00
|
|
|
* Mon May 28 2018 Robert Scheck <robert@fedoraproject.org> - 0.100.0-1
|
|
|
|
- Upgrade to 0.100.0 (#1565381)
|
|
|
|
|
2018-03-21 03:43:31 +00:00
|
|
|
* Wed Mar 21 2018 Sérgio Basto <sergio@serjux.com> - 0.99.4-3
|
|
|
|
- Fix data-empty sub-package (ghost the correct files)
|
2018-03-21 04:55:29 +00:00
|
|
|
- Add Obsoletes systemd sub-packages
|
2018-03-21 03:43:31 +00:00
|
|
|
|
2018-03-12 04:32:01 +00:00
|
|
|
* Mon Mar 12 2018 Sérgio Basto <sergio@serjux.com> - 0.99.4-2
|
|
|
|
- Revert fix for llvm, build using -std=gnu++98 (#1307378)
|
|
|
|
- Revert CFLAG assignment in commmit a4a6d252 (made in 2006)
|
|
|
|
- BR systemd-devel to fix detection in configure.
|
2018-03-12 05:11:28 +00:00
|
|
|
- Disable llvm in ppc64 (#1534071)
|
|
|
|
- "Disable llvm will use the internal bytecode interpreter rather than the llvm
|
|
|
|
jit", so drop bytecode build condition and use condional on enable or disable
|
|
|
|
llvm.
|
2018-03-12 04:32:01 +00:00
|
|
|
|
2018-03-02 16:45:24 +00:00
|
|
|
* 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
|
|
|
|
CVE-2018-0202
|
|
|
|
|
2018-02-13 04:24:05 +00:00
|
|
|
* Tue Feb 13 2018 Sérgio Basto <sergio@serjux.com> - 0.99.3-7
|
2018-03-12 04:32:01 +00:00
|
|
|
- Remove sub-packages sysvinit, upstart and systemd to be more compatible with
|
2018-02-13 04:24:05 +00:00
|
|
|
el6 .
|
|
|
|
- Remove provides/obsoletes for very old sub-packges clamav-milter-core,
|
|
|
|
clamav-milter-sendmail and clamav-milter-core
|
2018-02-14 03:26:03 +00:00
|
|
|
- Call server and scanner sub-packages as clamd (el6 compatible and as uppstream
|
|
|
|
call it)
|
|
|
|
- clamav-data provides clamav-db (el6 compatible)
|
2018-02-14 04:28:06 +00:00
|
|
|
- Explicitly enable-id-check and enable-dns in configure (as in el6).
|
2018-02-14 04:17:47 +00:00
|
|
|
- Add missing build-time requirement pcre2-devel (it misses in el6 at least)
|
2018-02-13 04:24:05 +00:00
|
|
|
|
2018-02-09 08:04:14 +00:00
|
|
|
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.99.3-6
|
|
|
|
- Escape macros in %%changelog
|
|
|
|
|
2018-02-07 05:01:15 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.3-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-02-03 04:43:55 +00:00
|
|
|
* Sat Feb 03 2018 Sérgio Basto <sergio@serjux.com> - 0.99.3-4
|
2018-02-03 05:33:54 +00:00
|
|
|
- Last Epel 7 macro already have systemctl daemon-reload, reverting 0.99.3-3 release
|
|
|
|
- Remove BR _includedir/tcpd.h due:
|
|
|
|
https://fedoraproject.org/wiki/Changes/Deprecate_TCP_wrappers
|
2018-02-03 04:43:55 +00:00
|
|
|
|
2018-01-31 16:03:37 +00:00
|
|
|
* Wed Jan 31 2018 Sérgio Basto <sergio@serjux.com> - 0.99.3-3
|
|
|
|
- Use systemctl daemon-reload because we change services and epel7 seems not
|
2018-01-31 16:20:26 +00:00
|
|
|
reload services and break conditional restart.
|
2018-01-31 16:03:37 +00:00
|
|
|
|
2018-01-31 10:16:48 +00:00
|
|
|
* Wed Jan 31 2018 Sérgio Basto <sergio@serjux.com>
|
|
|
|
- Fix and organize systemd scriptlets, clamd@.service missed systemd_preun macro
|
|
|
|
and had a wrong systemd_postun_with_restart
|
2018-01-31 12:21:34 +00:00
|
|
|
- Remove triggerin macros that aren't need it anymore
|
|
|
|
- Fix scriplet
|
|
|
|
- Organize startup scriptlets
|
|
|
|
- Exclude one file listed twice
|
2018-01-31 10:16:48 +00:00
|
|
|
|
2018-01-26 18:29:37 +00:00
|
|
|
* Fri Jan 26 2018 Orion Poplawski <orion@nwra.com> - 0.99.3-1
|
|
|
|
- Update to 0.99.3
|
|
|
|
- Security fixes CVE-2017-12374 CVE-2017-12375 CVE-2017-12376 CVE-2017-12377
|
|
|
|
CVE-2017-12378 CVE-2017-12379 CVE-2017-12380 (bug #1539030)
|
|
|
|
- Drop clamav-notify-servers and it's dependency on ncat (bug #1530678)
|
|
|
|
|
2018-01-17 20:49:23 +00:00
|
|
|
* Wed Jan 17 2018 Sérgio Basto <sergio@serjux.com> - 0.99.2-18
|
2018-01-16 16:11:29 +00:00
|
|
|
- Fix type of clamd@ service
|
2018-01-17 04:22:43 +00:00
|
|
|
- Fix packages name of Obsoletes directives
|
2018-01-17 20:49:23 +00:00
|
|
|
- Also fix type of clamav-milter.service
|
2018-01-16 16:11:29 +00:00
|
|
|
|
2018-01-11 03:18:45 +00:00
|
|
|
* Thu Jan 11 2018 Sérgio Basto <sergio@serjux.com> - 0.99.2-17
|
2018-01-11 04:10:54 +00:00
|
|
|
- Security fixes CVE-2017-6420 (#1483910), CVE-2017-6418 (#1483908)
|
2018-01-11 03:18:45 +00:00
|
|
|
|
2018-01-09 23:46:49 +00:00
|
|
|
* Tue Jan 09 2018 Sérgio Basto <sergio@serjux.com> - 0.99.2-16
|
|
|
|
- Make sure that Obsoletes sysv and upstart for Epel upgrade and update
|
|
|
|
|
2018-01-08 17:51:13 +00:00
|
|
|
* Mon Jan 08 2018 Sérgio Basto <sergio@serjux.com> - 0.99.2-15
|
|
|
|
- Fix rundir path (#1126595)
|
2018-01-09 01:51:03 +00:00
|
|
|
- Update main.cvd, daily.cvd and bytecode.cvd
|
|
|
|
- Fixes for rhbz 1464269 and rhbz 1126625
|
|
|
|
- Move Sources and BuildRequires to the beginning
|
|
|
|
- Build systemd for F22+ and el7+
|
|
|
|
- Build sysv and upstart for el6 else build only sysv
|
|
|
|
- Only enable tmpfiles with systemd enabled
|
|
|
|
- Move descritions to near the package macro and remove his build
|
|
|
|
conditionals, this also fix the generation of src.rpm
|
|
|
|
- Remove hack from 2010 (git show e1a9be60)
|
|
|
|
- Use autoreconf without --force
|
2018-01-08 17:51:13 +00:00
|
|
|
|
2018-01-04 17:29:15 +00:00
|
|
|
* Thu Jan 04 2018 Sérgio Basto <sergio@serjux.com> - 0.99.2-14
|
2018-01-04 17:49:09 +00:00
|
|
|
- Use 4 spaces instead tabs
|
2018-01-04 17:29:15 +00:00
|
|
|
- Fix rhbz #1530678
|
|
|
|
- Fix rhbz #1518016
|
2018-01-04 17:49:09 +00:00
|
|
|
- Simplify conditional builds reference: /usr/lib/rpm/macros
|
|
|
|
- use make_build and make install macros
|
2018-01-04 17:29:15 +00:00
|
|
|
|
2017-11-26 02:46:38 +00:00
|
|
|
* Sun Nov 26 2017 Robert Scheck <robert@fedoraproject.org> - 0.99.2-13
|
|
|
|
- Backported upstream patch to unbreak e2guardian vs. temp files
|
|
|
|
|
2017-09-15 18:25:16 +00:00
|
|
|
* Fri Sep 15 2017 Sérgio Basto <sergio@serjux.com> - 0.99.2-12
|
|
|
|
- Try fix rhbz #1473642
|
|
|
|
|
2017-08-02 18:50:07 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.2-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 04:53:26 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.2-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-07-17 14:54:01 +00:00
|
|
|
* Mon Jul 17 2017 Sérgio Basto <sergio@serjux.com> - 0.99.2-9
|
|
|
|
- Add patch for openssl-1.1
|
|
|
|
|
2017-03-27 18:03:28 +00:00
|
|
|
* Mon Mar 27 2017 Orion Poplawski <orion@cora.nwra.com> - 0.99.2-8
|
|
|
|
- Create virusgroup group and add the various clam* users to it
|
|
|
|
|
2017-03-26 22:10:55 +00:00
|
|
|
* Sun Mar 26 2017 Orion Poplawski <orion@cora.nwra.com> - 0.99.2-7
|
|
|
|
- Fix clamav-milter startup under selinux (bug #1434176)
|
2017-03-26 22:25:21 +00:00
|
|
|
- Move /etc/clam.d to clamav-filesystem (bug #1275630)
|
2017-03-26 22:27:34 +00:00
|
|
|
- Make clamav-milter own /etc/mail (bug #1175473)
|
2017-03-26 22:10:55 +00:00
|
|
|
|
2017-03-26 22:08:26 +00:00
|
|
|
* Sun Mar 26 2017 Orion Poplawski <orion@cora.nwra.com> - 0.99.2-6
|
|
|
|
- Start clamav-milter after clamd@scan (bug #1356507))
|
|
|
|
|
2017-03-26 21:55:01 +00:00
|
|
|
* Sun Mar 26 2017 Orion Poplawski <orion@cora.nwra.com> - 0.99.2-5
|
|
|
|
- Allow freshclam to run automatically on install (bug #1408649)
|
|
|
|
|
2017-02-10 07:32:16 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.99.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-11-07 21:47:12 +00:00
|
|
|
* Mon Nov 07 2016 Richard W.M. Jones <rjones@redhat.com> - 0.99.2-3
|
|
|
|
- Rebuild for OCaml 4.04.0.
|
|
|
|
|
2016-10-18 20:20:42 +00:00
|
|
|
* Tue Oct 18 2016 Orion Poplawski <orion@cora.nwra.com> - 0.99.2-2
|
|
|
|
- Also send logrotate script stdout to /dev/null (bug #1376815)
|
|
|
|
|
2016-06-13 17:36:38 +00:00
|
|
|
* Mon Jun 13 2016 Orion Poplawski <orion@cora.nwra.com> - 0.99.2-1
|
|
|
|
- Update to 0.99.2
|
|
|
|
- Drop cliopts patch fixed upstream, use upstream's "--forground" option name
|
|
|
|
- Fix main.cvd (fedora #1325482, epel #1325717)
|
|
|
|
- Own bytecode.cld (#1176252) and mirrors.dat, ship bytecode.cvd
|
|
|
|
- Update daily.cvd
|
|
|
|
- Fixup Requires(pre) usage (#1319151)
|
|
|
|
|
2016-03-29 21:41:07 +00:00
|
|
|
* Tue Mar 29 2016 Robert Scheck <robert@fedoraproject.org> - 0.99.1-1
|
|
|
|
- Upgrade to 0.99.1 and updated main.cvd and daily.cvd (#1314115)
|
|
|
|
- Complain about antivirus_use_jit rather clamd_use_jit (#1295473)
|
|
|
|
|
2016-03-29 19:30:26 +00:00
|
|
|
* Tue Mar 29 2016 Robert Scheck <robert@fedoraproject.org> - 0.99-4
|
2016-03-29 21:04:03 +00:00
|
|
|
- Link using %%{?__global_ldflags} for hardened builds (#1321173)
|
2016-03-29 19:30:26 +00:00
|
|
|
- Build using -std=gnu++98 (#1307378, thanks to Yaakov Selkowitz)
|
|
|
|
|
2016-02-03 17:42:37 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.99-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-12-06 17:04:49 +00:00
|
|
|
* Sun Dec 06 2015 Robert Scheck <robert@fedoraproject.org> - 0.99-2
|
|
|
|
- Require openssl-devel for clamav-devel
|
|
|
|
- Change clamav-milter unit for upstream changes (#1287795)
|
|
|
|
|
2015-12-02 00:46:49 +00:00
|
|
|
* Wed Dec 02 2015 Robert Scheck <robert@fedoraproject.org> - 0.99-1
|
|
|
|
- Upgrade to 0.99 and updated daily.cvd (#1287327)
|
|
|
|
|
2015-06-30 00:46:50 +00:00
|
|
|
* Tue Jun 30 2015 Robert Scheck <robert@fedoraproject.org> - 0.98.7-3
|
|
|
|
- Move /etc/tmpfiles.d/ to /usr/lib/tmpfiles.d/ (#1126595)
|
|
|
|
|
2015-06-17 02:42:27 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98.7-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-04-29 18:35:48 +00:00
|
|
|
* Wed Apr 29 2015 Robert Scheck <robert@fedoraproject.org> - 0.98.7-1
|
2015-04-29 18:25:58 +00:00
|
|
|
- Upgrade to 0.98.7 and updated daily.cvd (#1217014)
|
|
|
|
|
2015-03-10 19:02:00 +00:00
|
|
|
* Tue Mar 10 2015 Adam Jackson <ajax@redhat.com> 0.98.6-2
|
|
|
|
- Drop sysvinit subpackages in F23+
|
|
|
|
|
2015-01-29 21:21:58 +00:00
|
|
|
* Thu Jan 29 2015 Robert Scheck <robert@fedoraproject.org> - 0.98.6-1
|
|
|
|
- Upgrade to 0.98.6 and updated daily.cvd (#1187050)
|
|
|
|
|
2014-11-19 20:03:46 +00:00
|
|
|
* Wed Nov 19 2014 Robert Scheck <robert@fedoraproject.org> - 0.98.5-2
|
|
|
|
- Corrected summary of clamav-server-systemd package (#1165672)
|
|
|
|
|
2014-11-19 11:59:13 +00:00
|
|
|
* Wed Nov 19 2014 Robert Scheck <robert@fedoraproject.org> - 0.98.5-1
|
|
|
|
- Upgrade to 0.98.5 and updated daily.cvd (#1138101)
|
|
|
|
|
2014-08-16 00:19:09 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-21 17:40:03 +00:00
|
|
|
* Sat Jun 21 2014 Robert Scheck <robert@fedoraproject.org> - 0.98.4-1
|
|
|
|
- Upgrade to 0.98.4 and updated daily.cvd (#1111811)
|
|
|
|
- Add build requirement to libxml2 for DMG, OpenIOC and XAR
|
|
|
|
|
2014-06-07 04:50:22 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-10 21:17:17 +00:00
|
|
|
* Sat May 10 2014 Robert Scheck <robert@fedoraproject.org> - 0.98.3-1
|
|
|
|
- Upgrade to 0.98.3 and updated daily.cvd (#1095614)
|
|
|
|
- Avoid automatic path detection breakage regarding curl
|
|
|
|
- Added build requirement to openssl-devel for hasing code
|
|
|
|
- Added clamsubmit to main package
|
|
|
|
|
2014-01-15 10:40:02 +00:00
|
|
|
* Wed Jan 15 2014 Robert Scheck <robert@fedoraproject.org> - 0.98.1-1
|
|
|
|
- Upgrade to 0.98.1 and updated daily.cvd (#1053400)
|
|
|
|
|
2013-10-09 11:10:55 +00:00
|
|
|
* Wed Oct 09 2013 Dan Horák <dan[at]danny.cz> - 0.98-2
|
|
|
|
- Use fanotify from glibc instead of the limited hand-crafted version
|
|
|
|
|
2013-10-06 20:07:29 +00:00
|
|
|
* Sun Oct 06 2013 Robert Scheck <robert@fedoraproject.org> - 0.98-1
|
|
|
|
- Upgrade to 0.98 and updated main.cvd and daily.cvd (#1010168)
|
|
|
|
|
2013-08-07 21:02:16 +00:00
|
|
|
* Wed Aug 07 2013 Pierre-Yves Chibon <pingou@pingoured.fr> - 0.97.8-4
|
|
|
|
- Add a missing requirement on crontabs to spec file
|
|
|
|
- Fix RHBZ#988605
|
|
|
|
|
2013-08-03 04:59:06 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.97.8-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-05-05 00:50:36 +00:00
|
|
|
* Thu May 2 2013 Nick Bebout <nb@fedoraproject.org> - 0.97.8-1
|
|
|
|
- Update to 0.97.8
|
|
|
|
|
2013-04-11 11:28:01 +00:00
|
|
|
* Wed Apr 10 2013 Jon Ciesla <limburgher@gmail.com> - 0.97.7-2
|
|
|
|
- Migrate from fedora-usermgmt to guideline scriptlets.
|
|
|
|
|
2013-03-23 22:25:05 +00:00
|
|
|
* Sat Mar 23 2013 Nick Bebout <nb@fedoraproject.org> - 0.97.7-1
|
|
|
|
- Update to 0.97.7
|
|
|
|
|
2013-02-13 18:32:38 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.97.6-1901
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-09-22 10:30:15 +00:00
|
|
|
* Sat Sep 22 2012 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.97.6-1900
|
|
|
|
- updated to 0.97.6
|
2012-09-22 10:44:58 +00:00
|
|
|
- use %%systemd macros
|
2012-09-22 10:30:15 +00:00
|
|
|
|
2012-08-14 16:07:58 +00:00
|
|
|
* Tue Aug 14 2012 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.97.5-1900
|
|
|
|
- disabled upstart support
|
|
|
|
|
2012-07-18 19:03:24 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.97.5-1801
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-16 10:19:48 +00:00
|
|
|
* Sat Jun 16 2012 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.97.5-1800
|
|
|
|
- updated to 0.97.5
|
|
|
|
- CVE-2012-1457: allows to bypass malware detection via a TAR archive
|
|
|
|
entry with a length field that exceeds the total TAR file size
|
|
|
|
- CVE-2012-1458: allows to bypass malware detection via a crafted
|
|
|
|
reset interval in the LZXC header of a CHM file
|
|
|
|
- CVE-2012-1459: allows to bypass malware detection via a TAR archive
|
|
|
|
entry with a length field corresponding to that entire entry, plus
|
|
|
|
part of the header of the next entry
|
2012-06-16 10:22:58 +00:00
|
|
|
- ship local copy of virus database; it was removed by accident from
|
|
|
|
0.97.5 tarball
|
2012-06-16 10:24:00 +00:00
|
|
|
- removed sysv compat stuff
|
2012-06-16 10:19:48 +00:00
|
|
|
|
2012-04-13 08:49:30 +00:00
|
|
|
* Fri Apr 13 2012 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.97.4-1801
|
|
|
|
- build with -fPIE
|
|
|
|
|
2012-03-16 08:42:55 +00:00
|
|
|
* Fri Mar 16 2012 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.97.4-1800
|
|
|
|
- updated to 0.97.4
|
|
|
|
|
2012-02-05 12:33:59 +00:00
|
|
|
* Sun Feb 5 2012 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.97.3-1703
|
2012-01-25 23:08:11 +00:00
|
|
|
- fixed SELinux restorecon invocation
|
2012-01-29 10:23:44 +00:00
|
|
|
- added trigger to fix SELinux contexts of logfiles created by old
|
|
|
|
packages
|
2012-02-05 12:02:29 +00:00
|
|
|
- fixed build with recent gcc/glibc toolchain
|
2012-01-25 23:08:11 +00:00
|
|
|
|
2012-01-21 12:45:32 +00:00
|
|
|
* Sat Jan 21 2012 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.97.3-1703
|
2012-01-21 12:23:21 +00:00
|
|
|
- rewrote clamav-notify-servers to be init system neutral
|
2012-01-21 12:30:21 +00:00
|
|
|
- set PrivateTmp systemd option (#782488)
|
2012-01-21 12:23:21 +00:00
|
|
|
|
2012-01-08 10:58:16 +00:00
|
|
|
* Sun Jan 8 2012 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.97.3-1702
|
2012-01-08 10:40:25 +00:00
|
|
|
- set correct SELinux context for logfiles generated in %%post (#754555)
|
2012-01-08 10:42:38 +00:00
|
|
|
- create systemd tmpfiles in %%post
|
2012-01-08 10:54:01 +00:00
|
|
|
- created -server-systemd subpackage providing a clamd@.service template
|
2012-01-08 10:56:49 +00:00
|
|
|
- made script in -scanner-systemd an instance of clamd@.service
|
2012-01-08 10:40:25 +00:00
|
|
|
|
2011-10-27 22:15:23 +00:00
|
|
|
* Tue Oct 18 2011 Nick Bebout <nb@fedoraproject.org> - 0.97.3-1700
|
|
|
|
- updated to 0.97.3
|
|
|
|
- CVE-2011-3627 clamav: Recursion level crash fixed in v0.97.3
|
|
|
|
|
2011-08-04 18:33:45 +00:00
|
|
|
* Thu Aug 4 2011 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.97.2-1700
|
2012-01-08 10:38:23 +00:00
|
|
|
- moved sysv wrapper script into -sysv subpackage
|
2011-08-04 18:33:45 +00:00
|
|
|
- start systemd services after network.target and nss-lookup.target
|
|
|
|
|
2011-07-26 20:19:04 +00:00
|
|
|
* Tue Jul 26 2011 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.97.2-1600
|
|
|
|
- updated to 0.97.2
|
2011-07-26 21:10:09 +00:00
|
|
|
- CVE-2011-2721 Off-by-one error by scanning message hashes (#725694)
|
2011-07-26 20:59:40 +00:00
|
|
|
- fixed systemd scripts and their installation
|
2011-07-26 20:19:04 +00:00
|
|
|
|
2011-06-09 18:26:55 +00:00
|
|
|
* Thu Jun 9 2011 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.97.1-1600
|
|
|
|
- updated to 0.97.1
|
2011-06-09 18:41:45 +00:00
|
|
|
- fixed Requires(preun) vs. Requires(postun) inconsistency
|
2011-06-09 18:26:55 +00:00
|
|
|
|
2011-04-23 09:41:08 +00:00
|
|
|
* Sat Apr 23 2011 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.97-1601
|
|
|
|
- fixed tmpfiles.d syntax (#696812)
|
|
|
|
|
2011-02-20 16:39:15 +00:00
|
|
|
* Sun Feb 20 2011 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.97-1600
|
|
|
|
- updated to 0.97
|
|
|
|
- rediffed some patches
|
|
|
|
|
2011-02-08 08:51:48 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.96.5-1503
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-08 09:47:53 +00:00
|
|
|
* Sat Jan 8 2011 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.96.5-1502
|
|
|
|
- fixed signal specifier in clamd-wrapper (#668131, James Ralston)
|
|
|
|
|
2010-12-24 12:00:02 +00:00
|
|
|
* Fri Dec 24 2010 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.96.5-1501
|
|
|
|
- added systemd init scripts which obsolete to old sysvinit ones
|
|
|
|
- added tmpfiles.d/ descriptions
|
|
|
|
|
2010-12-04 10:12:53 +00:00
|
|
|
* Sat Dec 4 2010 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.96.5-1500
|
|
|
|
- updated to 0.96.5
|
|
|
|
- CVE-2010-4260 Multiple errors within the processing of PDF files can
|
|
|
|
be exploited to e.g. cause a crash.
|
|
|
|
- CVE-2010-4261 An off-by-one error within the "icon_cb()" function
|
|
|
|
can be exploited to cause a memory corruption.
|
|
|
|
|
2010-10-31 10:06:04 +00:00
|
|
|
* Sun Oct 31 2010 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.96.4-1500
|
|
|
|
- updated to 0.96.4
|
2010-11-07 10:27:39 +00:00
|
|
|
- execute 'make check' (#640347) but ignore errors for now because
|
|
|
|
four checks are failing on f13
|
2010-10-31 10:06:04 +00:00
|
|
|
|
2010-09-29 07:49:53 +00:00
|
|
|
* Wed Sep 29 2010 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.96.3-1501
|
|
|
|
- lowered stop priority of sysv initscripts (#629435)
|
|
|
|
|
2010-09-22 19:51:34 +00:00
|
|
|
* Wed Sep 22 2010 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.96.3-1500
|
|
|
|
- updated to 0.96.3
|
|
|
|
- fixes CVE-2010-0405 in shipped bzlib.c copy
|
|
|
|
|
2010-08-15 20:37:41 +00:00
|
|
|
* Sun Aug 15 2010 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.96.2-1500
|
|
|
|
- updated to 0.96.2
|
|
|
|
- rediffed patches
|
|
|
|
- removed the -jit-disable patch which is replaced upstream by a more
|
|
|
|
detailed configuration option.
|
|
|
|
|
2010-08-11 11:10:23 +00:00
|
|
|
* Wed Aug 11 2010 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
|
|
|
|
- removed old %%trigger which renamed the 'clamav' user- and groupnames
|
|
|
|
to 'clamupdate'
|
2010-08-11 11:12:59 +00:00
|
|
|
- use 'groupmems', not 'usermod' to add a user to a group because
|
|
|
|
'usermod' does not work when user does not exist in local /etc/passwd
|
2010-08-11 11:10:23 +00:00
|
|
|
|
2010-08-11 09:13:09 +00:00
|
|
|
* Tue Jul 13 2010 Dan Horák <dan[at]danny.cz> - 0.96.1-1401
|
|
|
|
- ocaml not available (at least) on s390(x)
|
|
|
|
|
|
|
|
* Tue Jun 1 2010 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.96.1-1400
|
2010-06-01 19:22:07 +00:00
|
|
|
- updated to 0.96.1
|
2010-08-11 09:13:09 +00:00
|
|
|
- rediffed patches
|
|
|
|
|
2013-10-06 20:07:29 +00:00
|
|
|
* Sat May 29 2010 Rakesh Pandit <rakesh@fedoraproject.org> - 0.96.1403
|
2010-08-11 09:13:09 +00:00
|
|
|
- CVE-2010-1639 Clam AntiVirus: Heap-based overflow, when processing malicious PDF file(s)
|
|
|
|
|
|
|
|
* Wed Apr 21 2010 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.96-1402
|
|
|
|
- updated to final 0.96
|
2010-04-21 08:08:22 +00:00
|
|
|
- applied upstream patch which allows to disable JIT compiler (#573191)
|
2010-08-11 09:13:09 +00:00
|
|
|
- build JIT compiler again
|
2010-04-21 08:08:22 +00:00
|
|
|
- disabled JIT compiler by default
|
|
|
|
- removed explicit 'pkgconfig' requirements in -devel (#533956)
|
2010-08-11 09:13:09 +00:00
|
|
|
|
|
|
|
* Sat Mar 20 2010 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.96-0.1401.rc1
|
|
|
|
- do not build the bytecode JIT compiler for now until it can be disabled
|
|
|
|
at runtime (#573191)
|
|
|
|
|
|
|
|
* Thu Mar 11 2010 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.96-1400.rc1
|
|
|
|
- updated to 0.96rc1
|
2010-03-11 12:11:02 +00:00
|
|
|
- added some BRs
|
2010-08-11 09:13:09 +00:00
|
|
|
|
|
|
|
* Sun Dec 6 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.95.3-1301
|
|
|
|
- updated -upstart to upstart 0.6.3
|
2009-12-06 11:18:53 +00:00
|
|
|
|
2009-11-21 20:18:22 +00:00
|
|
|
* Sat Nov 21 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
|
|
|
|
- adjusted chkconfig positions for clamav-milter (#530101)
|
2010-08-11 09:13:09 +00:00
|
|
|
- use %%apply instead of %%patch
|
2009-11-21 20:18:22 +00:00
|
|
|
|
2010-08-11 09:13:09 +00:00
|
|
|
* Thu Oct 29 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.95.3-1300
|
2009-10-29 09:03:06 +00:00
|
|
|
- updated to 0.95.3
|
|
|
|
|
2009-09-13 13:43:34 +00:00
|
|
|
* Sun Sep 13 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
|
|
|
|
- conditionalized build of noarch subpackages to ease packaging under RHEL5
|
|
|
|
|
2009-08-09 11:25:35 +00:00
|
|
|
* Sun Aug 9 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.95.2-5
|
|
|
|
- modified freshclam configuration to log by syslog by default
|
|
|
|
- disabled LocalSocket option in sample configuration
|
|
|
|
- fixed clamav-milter sysv initscript to use bash interpreter and to
|
|
|
|
be disabled by default
|
|
|
|
|
2009-08-08 13:33:12 +00:00
|
|
|
* Sat Aug 8 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.95.2-4
|
|
|
|
- renamed 'clamav' user/group to 'clamupdate'
|
2018-02-09 08:04:14 +00:00
|
|
|
- add the '%%milteruser' user to the '%%scanuser' group when the -scanner
|
2009-08-08 13:33:12 +00:00
|
|
|
subpackage is installed
|
|
|
|
|
2009-07-24 19:00:16 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.95.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-06-11 07:27:31 +00:00
|
|
|
* Thu Jun 11 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.95.2-1
|
|
|
|
- updated to 0.95.2
|
|
|
|
|
2009-04-19 10:31:25 +00:00
|
|
|
* Sun Apr 19 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.95.1-3
|
|
|
|
- fixed '--without upstart' operation
|
|
|
|
|
2009-04-15 14:14:27 +00:00
|
|
|
* Wed Apr 15 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.95.1-2
|
|
|
|
- added '%%bcond_without upstart' conditional to ease skipping of
|
|
|
|
-upstart subpackage creation e.g. on EL5 systems
|
|
|
|
- fixed Provides/Obsoletes: typo in -milter-sysvinit subpackage which
|
|
|
|
broke update path
|
|
|
|
|
2009-04-10 20:17:31 +00:00
|
|
|
* Fri Apr 10 2009 Robert Scheck <robert@fedoraproject.org> - 0.95.1-1
|
|
|
|
- Upgrade to 0.95.1 (#495039)
|
|
|
|
|
2009-03-25 22:03:44 +00:00
|
|
|
* Wed Mar 25 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.95-1
|
|
|
|
- updated to final 0.95
|
|
|
|
- added ncurses-devel (-> clamdtop) BR
|
|
|
|
- enforced IPv6 support
|
|
|
|
|
2009-03-08 11:38:36 +00:00
|
|
|
* Sun Mar 8 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.95-0.1.rc1
|
|
|
|
- updated to 0.95rc1
|
|
|
|
- added -upstart subpackages
|
|
|
|
- renamed -sysv to -sysvinit to make -upstart win the default dep resolving
|
|
|
|
- reworked complete milter stuff
|
|
|
|
- added -scanner subpackage which contains a preconfigured daemon
|
|
|
|
(e.g. for use by -milter)
|
|
|
|
- moved %%changelog entries from 2006 and before into ChangeLog-rpm.old
|
|
|
|
|
2009-02-25 08:58:23 +00:00
|
|
|
* Wed Feb 25 2009 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.94.2-3
|
|
|
|
- made some subpackages noarch
|
|
|
|
- fixed typo in SysV initscript which removes 'touch' file (#473513)
|
|
|
|
|
2009-02-24 07:37:58 +00:00
|
|
|
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.94.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-12-02 22:26:31 +00:00
|
|
|
* Tue Dec 02 2008 Robert Scheck <robert@fedoraproject.org> - 0.94.2-1
|
|
|
|
- Upgrade to 0.94.2 (#474002)
|
|
|
|
|
2008-11-05 19:50:09 +00:00
|
|
|
* Wed Nov 05 2008 Robert Scheck <robert@fedoraproject.org> - 0.94.1-1
|
|
|
|
- Upgrade to 0.94.1
|
|
|
|
|
2008-10-26 17:48:00 +00:00
|
|
|
* Sun Oct 26 2008 Robert Scheck <robert@fedoraproject.org> - 0.94-1
|
|
|
|
- Upgrade to 0.94 (SECURITY), fixes #461461:
|
|
|
|
- CVE-2008-1389 Invalid memory access in the CHM unpacker
|
|
|
|
- CVE-2008-3912 Out-of-memory NULL pointer dereference in mbox/msg
|
|
|
|
- CVE-2008-3913 Memory leak in code path in freshclam's manager.c
|
|
|
|
- CVE-2008-3914 Multiple file descriptor leaks on the code paths
|
|
|
|
|
2008-07-13 19:20:40 +00:00
|
|
|
* Sun Jul 13 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.93.3-1
|
|
|
|
- updated to 0.93.3; another fix for CVE-2008-2713 (out-of-bounds read
|
|
|
|
on petite files)
|
|
|
|
- put pid instead of pgrp into pidfile of clamav-milter (bz #452359)
|
2008-07-13 19:36:07 +00:00
|
|
|
- rediffed patches
|
2008-07-13 19:20:40 +00:00
|
|
|
|
2008-06-17 20:03:53 +00:00
|
|
|
* Tue Jun 17 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.93.1-1
|
|
|
|
- updated to 0.93.1
|
|
|
|
- rediffed -path patch
|
|
|
|
- CVE-2008-2713 Invalid Memory Access Denial Of Service Vulnerability
|
|
|
|
|
2008-04-14 18:36:29 +00:00
|
|
|
* Mon Apr 14 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.93-1
|
|
|
|
- updated to final 0.93
|
|
|
|
- removed daily.inc + main.inc directories; they are now replaced by
|
|
|
|
*.cld containers
|
|
|
|
- trimmed down MAILTO list of cronjob to 'root' again; every well
|
|
|
|
configured system has an alias for this recipient
|
|
|
|
|
2008-03-12 08:40:04 +00:00
|
|
|
* Wed Mar 12 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.93-0.1.rc1
|
2008-03-12 08:38:02 +00:00
|
|
|
- moved -milter scriptlets into -milter-core subpackage
|
|
|
|
- added a requirement on the milteruser to the -milter-sendmail
|
|
|
|
subpackage (reported by Bruce Jerrick)
|
|
|
|
|
2008-03-05 07:30:58 +00:00
|
|
|
* Tue Mar 4 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.93-0.0.rc1
|
|
|
|
- updated to 0.93rc1
|
|
|
|
- fixed rpath issues
|
|
|
|
|
2008-02-11 22:30:35 +00:00
|
|
|
* Mon Feb 11 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.92.1-1
|
|
|
|
- updated to 0.92.1
|
|
|
|
|
2008-01-01 17:10:12 +00:00
|
|
|
* Tue Jan 1 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.92-6
|
|
|
|
- redisabled unrar stuff completely by using clean sources
|
|
|
|
- splitted -milter subpackage into pieces to allow use without sendmail
|
|
|
|
(#239037)
|
|
|
|
|
2008-01-01 14:59:15 +00:00
|
|
|
* Tue Jan 1 2008 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.92-5
|
|
|
|
- use a better way to disable RPATH-generation (needed for '--with
|
|
|
|
unrar' builds)
|
|
|
|
|
2008-01-01 13:19:16 +00:00
|
|
|
* Mon Dec 31 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.92-4
|
|
|
|
- added a README.fedora to the milter package (#240610)
|
|
|
|
- ship original sources again; unrar is now licensed correctly (no more
|
|
|
|
stolen code put under GPL). Nevertheless, this license is not GPL
|
|
|
|
compatible, and to allow libclamav to be used by GPL applications,
|
|
|
|
unrar is disabled by a ./configure switch.
|
|
|
|
- use pkg-config in clamav-config to emulate --cflags and --libs
|
|
|
|
operations (fixes partly multilib issues)
|
|
|
|
- registered some more auto-updated files and marked them as %%ghost
|
|
|
|
|
2007-12-21 18:11:32 +00:00
|
|
|
* Fri Dec 21 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.92-3
|
2007-12-21 18:06:29 +00:00
|
|
|
- updated to 0.92 (SECURITY):
|
|
|
|
- CVE-2007-6335 MEW PE File Integer Overflow Vulnerability
|
|
|
|
|
2007-10-29 14:25:28 +00:00
|
|
|
* Mon Oct 29 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.91.2-3
|
2009-09-13 13:43:34 +00:00
|
|
|
- remove RAR decompression code from source tarball because of
|
2007-10-29 14:25:28 +00:00
|
|
|
legal problems (resolves 334371)
|
|
|
|
- correct license tag
|
|
|
|
|
2007-09-24 18:17:46 +00:00
|
|
|
* Mon Sep 24 2007 Jesse Keating <jkeating@redhat.com> - 0.91.2-2
|
|
|
|
- Bump release for upgrade path.
|
|
|
|
|
2007-08-25 10:12:31 +00:00
|
|
|
* Sat Aug 25 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.91.2-1
|
|
|
|
- updated to 0.91.2 (SECURITY):
|
|
|
|
- CVE-2007-4510 DOS in RTF parser
|
|
|
|
- DOS in html normalizer
|
|
|
|
- arbitrary command execution by special crafted recipients in
|
|
|
|
clamav-milter's black-hole mode
|
2007-08-25 10:40:56 +00:00
|
|
|
- fixed an open(2) issue
|
2007-08-25 10:12:31 +00:00
|
|
|
|
2007-07-17 07:27:38 +00:00
|
|
|
* Tue Jul 17 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.91.1-0
|
|
|
|
- updated to 0.91.1
|
|
|
|
|
2007-07-12 07:31:31 +00:00
|
|
|
* Thu Jul 12 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.91-1
|
|
|
|
- updated to 0.91
|
|
|
|
|
2007-05-31 07:40:24 +00:00
|
|
|
* Thu May 31 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90.3-1
|
|
|
|
- updated to 0.90.3
|
2007-05-31 19:37:44 +00:00
|
|
|
- BR tcpd.h instead of tcp_wrappers(-devel) to make it build both
|
2007-05-31 07:40:24 +00:00
|
|
|
in FC6- and F7+
|
|
|
|
|
2007-04-13 07:37:40 +00:00
|
|
|
* Fri Apr 13 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90.2-1
|
2009-09-13 13:43:34 +00:00
|
|
|
- [SECURITY] updated to 0.90.2; fixes CVE-2007-1745, CVE-2007-1997
|
2007-04-13 07:37:40 +00:00
|
|
|
|
2007-03-02 17:59:09 +00:00
|
|
|
* Fri Mar 2 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90.1-2
|
|
|
|
- BR 'tcp_wrappers-devel' instead of plain 'tcp_wrappers'
|
|
|
|
|
2007-03-02 17:17:37 +00:00
|
|
|
* Fri Mar 2 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90.1-1
|
|
|
|
- updated to 0.90.1
|
|
|
|
- updated %%doc list
|
|
|
|
|
2007-02-18 21:19:28 +00:00
|
|
|
* Sun Feb 18 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90-1
|
|
|
|
- updated to final 0.90
|
|
|
|
- removed -visibility patch since fixed upstream
|
|
|
|
|
2007-02-04 11:57:35 +00:00
|
|
|
* Sun Feb 4 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90-0.3.rc3
|
|
|
|
- build with -Wl,-as-needed and cleaned up pkgconfig file
|
|
|
|
- removed old hack which forced installation of freshclam.conf; related
|
|
|
|
check was removed upstream
|
|
|
|
- removed static library
|
|
|
|
- removed %%changelog entries from before 2004
|
|
|
|
|
2007-02-03 15:16:08 +00:00
|
|
|
* Sat Feb 3 2007 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de> - 0.90-0.2.rc3
|
|
|
|
- updated to 0.90rc3
|
|
|
|
- splitted mandatory parts from the data-file into a separate -filesystem
|
|
|
|
subpackage
|
|
|
|
- added a -data-empty subpackage to allow a setup where database is
|
|
|
|
updated per cron-job and user does not want to download the large
|
|
|
|
-data package with outdated virus definitations (#214949)
|
|
|
|
- %%ghost'ed the files downloaded by freshclam
|