Name: clamav Version: 0.104.0 Release: 093.gf330951%{?dist} Summary: ClamAV Custom Build (Static Curl) License: proprietary URL: https://github.com/cisco-talos/clamav/tarball/dev/0.104 Source0: Cisco-Talos-clamav-clamav-0.103.0-251-gf330951.tar.gz Source1: curl-curl-curl-7_77_0-0-g6b951a6.tar.gz Source2: main.cvd Source3: daily.cvd Source4: bytecode.cvd %{!?_rundir:%global _rundir /var/run} %{!?_unitdir:%global _unitdir /lib/systemd/system} %define _unpackaged_files_terminate_build 0 %define debug_package %{nil} %global freshclamlog %_var/log/freshclam.log %global homedir %_var/lib/clamav %global milterlog %_var/log/clamav-milter.log %global milterstatedir %_rundir/clamav-milter %global milteruser clamilt %global pkgdatadir %_datadir/%name %global quarantinedir %_var/spool/quarantine %global scanstatedir %_rundir/clamd.scan %global scanuser clamscan %global updateuser clamupdate AutoReqProv: no BuildRequires: bzip2-devel BuildRequires: cmake3 BuildRequires: gcc-c++ BuildRequires: glibc BuildRequires: json-c-devel BuildRequires: libgcc BuildRequires: libstdc++ BuildRequires: libxml2-devel BuildRequires: ncurses-devel BuildRequires: make BuildRequires: ninja-build BuildRequires: openssl-devel BuildRequires: pcre2-devel BuildRequires: python3 BuildRequires: systemd BuildRequires: xz-libs BuildRequires: zlib-devel Requires: clamav-filesystem = %version-%release Requires: clamav-lib = %version-%release Requires: clamav-data %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. %package -n clamd Summary: The Clam AntiVirus Daemon Requires: data(clamav) Requires: clamav-filesystem = %version-%release Requires: clamav-lib = %version-%release Requires: coreutils Requires(pre): shadow-utils %description -n clamd The Clam AntiVirus Daemon See the README file how this can be done with a minimum of effort. This package contains a generic system wide clamd service which is e.g. used by the clamav-milter package. %package data Summary: Virus signature data for the Clam Antivirus scanner Requires: clamav-filesystem = %version-%release Provides: data(clamav) = full BuildArch: noarch %description data This package contains the virus-database needed by clamav. This database should be updated regularly; the 'clamav-update' package ships a corresponding cron-job. Use this package when you want a working (but perhaps outdated) virus scanner immediately after package installation. %package filesystem Summary: Filesystem structure for clamav Requires(pre): shadow-utils BuildArch: noarch %description filesystem This package provides the filesystem structure and contains the user-creation scripts required by clamav. %package lib Summary: Dynamic libraries for the Clam Antivirus scanner Requires: data(clamav) Provides: bundled(libmspack) = 0.5-0.1.alpha.modified_by_clamav %description lib This package contains dynamic libraries shared between applications using the Clam Antivirus scanner. %package update Summary: Auto-updater for the Clam Antivirus scanner data-files Requires: clamav-filesystem = %version-%release Provides: data(clamav) = empty %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 this task. To activate it use, uncomment the entry in /etc/cron.d/clamav-update. Use this package when you go updating the virus database regulary and do not want to download a >160MB sized rpm-package with outdated virus definitions. %prep %setup -q -a1 -n Cisco-Talos-clamav-f330951 %build cd %{_builddir}/Cisco-Talos-clamav-f330951/curl-curl-735c6af mkdir build && cd build cmake3 .. \ -D CMAKE_BUILD_TYPE=Release \ -D CMAKE_USE_OPENSSL=ON \ -D BUILD_TESTING=OFF \ -D BUILD_SHARED_LIBS=OFF \ -D CMAKE_POSITION_INDEPENDENT_CODE=ON \ -D CMAKE_INSTALL_PREFIX="%{_builddir}/curl-compiled" \ && make -j8 \ && make install cd %{_builddir}/Cisco-Talos-clamav-f330951/ mkdir build && cd build cmake3 .. \ -G Ninja \ -D BUILD_SHARED_LIBS=OFF \ -D CMAKE_BUILD_TYPE="Release" \ -D CMAKE_INSTALL_PREFIX="/usr" \ -D APP_CONFIG_DIRECTORY=%_sysconfdir \ -D DATABASE_DIRECTORY=/var/lib/clamav \ -D CMAKE_PREFIX_PATH="%{_builddir}/curl-compiled" \ -D CMAKE_SKIP_RPATH=ON \ -D ENABLE_EXAMPLES=OFF \ -D ENABLE_MILTER=OFF \ -D ENABLE_STATIC_LIB=ON \ -D ENABLE_SYSTEMD=OFF \ -D ENABLE_TESTS=OFF \ -D OPTIMIZE=ON \ && ninja -v -j8 %install cd build DESTDIR=$RPM_BUILD_ROOT /usr/bin/ninja install -v -j8 install -d -m 0755 \ $RPM_BUILD_ROOT%_sysconfdir/{mail,clamd.d,logrotate.d} \ $RPM_BUILD_ROOT%_tmpfilesdir \ $RPM_BUILD_ROOT%_rundir \ $RPM_BUILD_ROOT%_var/log \ $RPM_BUILD_ROOT%_var/tmp/clamav-clamd \ $RPM_BUILD_ROOT%_var/tmp/clamav-clamscan \ $RPM_BUILD_ROOT%milterstatedir \ $RPM_BUILD_ROOT%homedir \ $RPM_BUILD_ROOT%quarantinedir \ $RPM_BUILD_ROOT%scanstatedir rm -f $RPM_BUILD_ROOT%_libdir/*.la touch $RPM_BUILD_ROOT%homedir/{daily,main,bytecode}.cld touch $RPM_BUILD_ROOT%homedir/mirrors.dat install -D -m 0644 -p %SOURCE2 $RPM_BUILD_ROOT%homedir/main.cvd install -D -m 0644 -p %SOURCE3 $RPM_BUILD_ROOT%homedir/daily.cvd install -D -m 0644 -p %SOURCE4 $RPM_BUILD_ROOT%homedir/bytecode.cvd ### The scanner stuff sed -ri \ -e 's!^Example!#Example!' \ -e 's!^#?(LogFile ).*!#\1/var/log/clamd.!g' \ -e 's!^#?(LocalSocket ).*!#\1%{_rundir}/clamd./clamd.sock!g' \ -e 's!^(#?PidFile ).*!\1%{_rundir}/clamd./clamd.pid!g' \ -e 's!^#?(User ).*!\1!g' \ -e 's!^#?(AllowSupplementaryGroups|LogSyslog).*!\1 yes!g' \ -e 's! /usr/local/share/clamav,! %homedir,!g' \ $RPM_BUILD_ROOT%_sysconfdir/clamd.conf.sample sed -e 's!!scan!g;s!!%scanuser!g' \ $RPM_BUILD_ROOT%_sysconfdir/clamd.conf.sample > $RPM_BUILD_ROOT%_sysconfdir/clamd.d/scan.conf mkdir _doc_server mv $RPM_BUILD_ROOT%_sysconfdir/clamd.conf.sample _doc_server/clamd.conf cat << EOF > $RPM_BUILD_ROOT%_tmpfilesdir/clamd.scan.conf d %scanstatedir 0710 %scanuser virusgroup EOF %pre filesystem 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 exit 0 %pre -n clamd getent group %{scanuser} >/dev/null || groupadd -r %{scanuser} getent passwd %{scanuser} >/dev/null || \ useradd -r -g %{scanuser} -d / -s /sbin/nologin \ -c "Clamav scanner user" %{scanuser} usermod %{scanuser} -a -G virusgroup exit 0 %files %license COPYING %doc NEWS.md README.md docs/html %_bindir/clambc %_bindir/clamconf %_bindir/clamdscan %_bindir/clamdtop %_bindir/clamscan %_bindir/clamsubmit %_bindir/sigtool %_sbindir/clamonacc %_mandir/man[15]/* %_mandir/man8/clamonacc.8* %exclude %_mandir/*/freshclam* %exclude %_mandir/man5/clamd.conf.5* %attr(0750,root,root) %dir /var/spool/quarantine %files -n clamd %ghost %scanstatedir/clamd.sock %_mandir/man5/clamd.conf.5* %_mandir/man8/clamd.8* %_sbindir/clamd %dir %attr(0710,%scanuser,virusgroup) %scanstatedir %dir %attr(0700,%scanuser,%scanuser) /var/tmp/clamav-clamd %files data %defattr(-,%updateuser,%updateuser,-) %config %homedir/*.cvd %files lib %_libdir/libclamav.so.9* %_libdir/libclammspack.so.0* %files filesystem %dir %attr(-,%updateuser,%updateuser) /var/lib/clamav %dir %attr(0700,root,root) /var/tmp/clamav-clamscan %dir %_sysconfdir/clamd.d %config(noreplace) %_sysconfdir/clamd.d/scan.conf %files update %_bindir/freshclam %_libdir/libfreshclam.so.2* %_mandir/*/freshclam* %ghost %attr(0664,%updateuser,%updateuser) %homedir/mirrors.dat %changelog * Mon Aug 02 2021 Hanspeter Gosteli - 0.104.0-092.fc50e2e7 - changed libmspack to libclammspack / adding patch * Fri Jul 30 2021 Hanspeter Gosteli - 0.104.0-091.fc50e2e7 - deduplicated some spec lines - changed /var/tmp/clamav-clamd virusgroup->scanuser for cis compliance * Wed Jul 28 2021 Hanspeter Gosteli - 0.104.0-09.fc50e2e7 - switched to gh-184 / fix segfault and socket fd leak * Tue Jul 27 2021 Hanspeter Gosteli - 0.104.0-08.c389dfa4 - no functional change, only moved from 0.104 to main upstream - changed package user clamd->clamscan reflecting upstream rpms * Mon Jul 26 2021 Hanspeter Gosteli - 0.104.0-07.c389dfa4 - changed packaging so we don't mistakinly include latest database * Sat Jul 24 2021 Hanspeter Gosteli - 0.104.0-06.c389dfa4 - changed many paths, variables - copied spec snippeds from upstream - added /var/tmp/clamav-clamd and /var/tmp/clamav-clamscan - hardened 0700 * Fri Jul 23 2021 Hanspeter Gosteli - 0.104.0-05.c389dfa4 - added clamupdate, clamscan user creation * Fri Jul 23 2021 Hanspeter Gosteli - 0.104.0-04.c389dfa4 - fixed spec dirnames removing usernames for SRPM * Thu Jul 22 2021 Hanspeter Gosteli - 0.104.0-03.c389dfa4 - switched to dev/0.104 - not installing clamav-data to extract database * Thu Jul 22 2021 Hanspeter Gosteli - 0.104.0-02.geb6c1a5 - wipe /var/lib/clamav before packaging to ensure database from epel * Wed Jul 21 2021 Hanspeter Gosteli - 0.104.0-01.geb6c1a5 - started work on curl 7.77 inclusion to enable fdpass on centos 7 * Wed Jul 21 2021 Fedora Release Engineering - 0.103.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Jul 10 2021 Björn Esser - 0.103.3-2 - Rebuild for versioned symbols in json-c * Tue Jun 22 2021 Sérgio Basto - 0.103.3-1 - Update to 0.103.3 (#1974601) * Mon Jun 14 2021 Sérgio Basto - 0.103.2-2 - Fix for rhbz #1969240, epel7 only, location of old freshclam update file is /etc/cron.d/clamav-update, not /etc/cron.d/clamav-freshclam * Wed Apr 07 2021 Sérgio Basto - 0.103.2-1 - Update to 0.103.2 * Sun Mar 07 2021 Sérgio Basto - 0.103.1-3 - clamav-freshclam.service: Standard output type syslog is obsolete (#1933977) - Quiet proxy on stdout (#1814698) * Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek - 0.103.1-2 - Rebuilt for updated systemd-rpm-macros See https://pagure.io/fesco/issue/2583. * Wed Feb 17 2021 Sérgio Basto - 0.103.1-1 - Update to 0.103.1 * Wed Jan 27 2021 Sérgio Basto - 0.103.0-3 - Add upstream patch clamonacc: Fix stack buffer overflow with old curl * Tue Jan 26 2021 Fedora Release Engineering - 0.103.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Sep 17 2020 Orion Poplawski - 0.103.0-1 - Update to 0.103.0 * Mon Jul 27 2020 Fedora Release Engineering - 0.102.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 17 2020 Orion Poplawski - 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 * Thu May 28 2020 Orion Poplawski - 0.102.3-2 - Update clamd README file (bz#1798369) * Thu May 14 2020 Orion Poplawski - 0.102.3-1 - Update to 0.102.3 (bz#1834910) - Security fixes CVE-2020-3327 CVE-2020-3341 * Sat May 02 2020 Orion Poplawski - 0.102.2-9 - Add upstream patch to fix "Attempt to allocate 0 bytes" errors while scanning certain PDFs * Thu Apr 30 2020 Orion Poplawski - 0.102.2-8 - Enable prelude support (bz#1829726) * Wed Apr 29 2020 Orion Poplawski - 0.102.2-7 - Move /etc/clamd.d/scan.conf to clamav-filesystem - Add patch to build with EL7 libcurl - re-enable on-access scanning (bz#1820395) - Add clamonacc.service * Tue Apr 21 2020 Björn Esser - 0.102.2-6 - Rebuild (json-c) * Wed Apr 8 2020 Orion Poplawski - 0.102.2-5 - Do not log freshclam output to syslog by default - creates double entries in the journal (bz#1822012) - (#1820069) add try-restart clamav-freshclam.service on logrotate * Mon Mar 16 2020 Orion Poplawski - 0.102.2-4 - Quiet freshclam-sleep when used with proxy * Sat Feb 29 2020 Orion Poplawski - 0.102.2-3 - Add missingok to clamav-update.logrotate (bz#1807701) * Mon Feb 10 2020 Orion Poplawski - 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) * Sun Feb 9 2020 Orion Poplawski - 0.102.2-1 - Update to 0.102.2 - Drop supporting deprecated options for F32+ and EL8+ - Drop old umask patch * Sun Feb 09 2020 Orion Poplawski - 0.101.5-10 - Re-add clamav-update.cron (bz#1800226) - Add conditional old_freshclam * Tue Feb 04 2020 Sérgio Basto - 0.101.5-9 - Add a message warning that We now provide clamav-freshclam.service systemd unit instead old scripts * Tue Jan 28 2020 Fedora Release Engineering - 0.101.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Jan 27 2020 Sérgio Basto - 0.101.5-7 - More cleanups - Remove llvm-glibc.patch (upstream already fixed it) - Comment "Example" in scan.conf to make clamd@scan.service works without editing - Improve description of clamav-update * Sun Jan 26 2020 Sérgio Basto - 0.101.5-6 - Fix clamd scriplets on update and add scriplets for clamav-freshclam.service * Fri Jan 24 2020 Sérgio Basto - 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 * Fri Jan 17 2020 Sérgio Basto - 0.101.5-4 - Fix scriplets (#1788338) * Tue Dec 17 2019 Sérgio Basto - 0.101.5-3 - Remove old init scripts and use systemd * Tue Dec 17 2019 Orion Poplawski - 0.101.5-2 - Allow building --with unrar again (bz#1782638) * Sat Nov 23 2019 Orion Poplawski - 0.101.5-1 - Update to 0.101.5 (CVE-2019-15961) (bz#1775550) * Mon Nov 18 2019 Orion Poplawski - 0.101.4-3 - Drop clamd@scan.service file (bz#1725810) - Change /var/run to /run * Mon Nov 18 2019 Orion Poplawski - 0.101.4-2 - Add TimeoutStartSec=420 to clamd@.service to match upstream (bz#1764835) * Thu Aug 22 2019 Orion Poplawski - 0.101.4-1 - Update to 0.101.4 * Wed Aug 7 2019 Orion Poplawski - 0.101.3-1 - Update to 0.101.3 - Fix permissions on freshclam.conf (bugz#1733112) * Wed Jul 24 2019 Fedora Release Engineering - 0.101.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jun 30 2019 Sérgio Basto - 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). * Thu Mar 28 2019 Sérgio Basto - 0.101.2-1 - Update to 0.101.2 * Thu Jan 31 2019 Fedora Release Engineering - 0.101.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jan 10 2019 Sérgio Basto - 0.101.1-1 - Update to 0.101.1 * Thu Jan 3 2019 Orion Poplawski - 0.101.0-3 - Actually apply patch * Thu Jan 3 2019 Orion Poplawski - 0.101.0-2 - Explicitly list sonames to catch soname bumps - Backport header fix (bug #1663011) * Thu Dec 13 2018 Orion Poplawski - 0.101.0-1 - Update to 0.101.0 - Add %%license - pdf docs replaced with html * Thu Oct 04 2018 Sérgio Basto - 0.100.2-2 - Revert unwanted committed parts of commit "clean whitespace" * Thu Oct 04 2018 Sérgio Basto - 0.100.2-1 - Update to 0.100.2 - Fix logrotate example (#1610735) - Improve clamd@.service (enter in commit "clean whitespace" by mistake sorry) * Mon Jul 30 2018 Sérgio Basto - 0.100.1-4 - Change the default location of configuration files in clamconf, binaries and man pages, replacing with our default packaging (#859339). * Sun Jul 29 2018 Sérgio Basto - 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 - Drop conditionalized build of noarch * Thu Jul 12 2018 Fedora Release Engineering - 0.100.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jul 11 2018 Sérgio Basto - 0.100.1-1 - Update to 0.100.1 * Mon Jul 02 2018 Sérgio Basto - 0.100.0-3 - Remove sub-package clamav-data-empty - Also remove conflicts between clamav-data and clamav-data-empty * Sun Jun 03 2018 Sérgio Basto - 0.100.0-2 - Try to mitigate bug #1583599 - Move comments one line (to read before starting the scriptlet) - clamav-milter could work without clamd and without sendmail (#1583599) - Get rid of provides/requires with updateuser, virusgroup, scanuser and milteruser and just simply require clamav-filesystem * Mon May 28 2018 Robert Scheck - 0.100.0-1 - Upgrade to 0.100.0 (#1565381) * Wed Mar 21 2018 Sérgio Basto - 0.99.4-3 - Fix data-empty sub-package (ghost the correct files) - Add Obsoletes systemd sub-packages * Mon Mar 12 2018 Sérgio Basto - 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. - 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. * Fri Mar 02 2018 Orion Poplawski - 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 * Tue Feb 13 2018 Sérgio Basto - 0.99.3-7 - Remove sub-packages sysvinit, upstart and systemd to be more compatible with el6 . - Remove provides/obsoletes for very old sub-packges clamav-milter-core, clamav-milter-sendmail and clamav-milter-core - Call server and scanner sub-packages as clamd (el6 compatible and as uppstream call it) - clamav-data provides clamav-db (el6 compatible) - Explicitly enable-id-check and enable-dns in configure (as in el6). - Add missing build-time requirement pcre2-devel (it misses in el6 at least) * Fri Feb 09 2018 Igor Gnatenko - 0.99.3-6 - Escape macros in %%changelog * Wed Feb 07 2018 Fedora Release Engineering - 0.99.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Feb 03 2018 Sérgio Basto - 0.99.3-4 - 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 * Wed Jan 31 2018 Sérgio Basto - 0.99.3-3 - Use systemctl daemon-reload because we change services and epel7 seems not reload services and break conditional restart. * Wed Jan 31 2018 Sérgio Basto - Fix and organize systemd scriptlets, clamd@.service missed systemd_preun macro and had a wrong systemd_postun_with_restart - Remove triggerin macros that aren't need it anymore - Fix scriplet - Organize startup scriptlets - Exclude one file listed twice * Fri Jan 26 2018 Orion Poplawski - 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) * Wed Jan 17 2018 Sérgio Basto - 0.99.2-18 - Fix type of clamd@ service - Fix packages name of Obsoletes directives - Also fix type of clamav-milter.service * Thu Jan 11 2018 Sérgio Basto - 0.99.2-17 - Security fixes CVE-2017-6420 (#1483910), CVE-2017-6418 (#1483908) * Tue Jan 09 2018 Sérgio Basto - 0.99.2-16 - Make sure that Obsoletes sysv and upstart for Epel upgrade and update * Mon Jan 08 2018 Sérgio Basto - 0.99.2-15 - Fix rundir path (#1126595) - 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 * Thu Jan 04 2018 Sérgio Basto - 0.99.2-14 - Use 4 spaces instead tabs - Fix rhbz #1530678 - Fix rhbz #1518016 - Simplify conditional builds reference: /usr/lib/rpm/macros - use make_build and make install macros * Sun Nov 26 2017 Robert Scheck - 0.99.2-13 - Backported upstream patch to unbreak e2guardian vs. temp files * Fri Sep 15 2017 Sérgio Basto - 0.99.2-12 - Try fix rhbz #1473642 * Wed Aug 02 2017 Fedora Release Engineering - 0.99.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.99.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jul 17 2017 Sérgio Basto - 0.99.2-9 - Add patch for openssl-1.1 * Mon Mar 27 2017 Orion Poplawski - 0.99.2-8 - Create virusgroup group and add the various clam* users to it * Sun Mar 26 2017 Orion Poplawski - 0.99.2-7 - Fix clamav-milter startup under selinux (bug #1434176) - Move /etc/clam.d to clamav-filesystem (bug #1275630) - Make clamav-milter own /etc/mail (bug #1175473) * Sun Mar 26 2017 Orion Poplawski - 0.99.2-6 - Start clamav-milter after clamd@scan (bug #1356507)) * Sun Mar 26 2017 Orion Poplawski - 0.99.2-5 - Allow freshclam to run automatically on install (bug #1408649) * Fri Feb 10 2017 Fedora Release Engineering - 0.99.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Nov 07 2016 Richard W.M. Jones - 0.99.2-3 - Rebuild for OCaml 4.04.0. * Tue Oct 18 2016 Orion Poplawski - 0.99.2-2 - Also send logrotate script stdout to /dev/null (bug #1376815) * Mon Jun 13 2016 Orion Poplawski - 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) * Tue Mar 29 2016 Robert Scheck - 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) * Tue Mar 29 2016 Robert Scheck - 0.99-4 - Link using %%{?__global_ldflags} for hardened builds (#1321173) - Build using -std=gnu++98 (#1307378, thanks to Yaakov Selkowitz) * Wed Feb 03 2016 Fedora Release Engineering - 0.99-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Dec 06 2015 Robert Scheck - 0.99-2 - Require openssl-devel for clamav-devel - Change clamav-milter unit for upstream changes (#1287795) * Wed Dec 02 2015 Robert Scheck - 0.99-1 - Upgrade to 0.99 and updated daily.cvd (#1287327) * Tue Jun 30 2015 Robert Scheck - 0.98.7-3 - Move /etc/tmpfiles.d/ to /usr/lib/tmpfiles.d/ (#1126595) * Wed Jun 17 2015 Fedora Release Engineering - 0.98.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Apr 29 2015 Robert Scheck - 0.98.7-1 - Upgrade to 0.98.7 and updated daily.cvd (#1217014) * Tue Mar 10 2015 Adam Jackson 0.98.6-2 - Drop sysvinit subpackages in F23+ * Thu Jan 29 2015 Robert Scheck - 0.98.6-1 - Upgrade to 0.98.6 and updated daily.cvd (#1187050) * Wed Nov 19 2014 Robert Scheck - 0.98.5-2 - Corrected summary of clamav-server-systemd package (#1165672) * Wed Nov 19 2014 Robert Scheck - 0.98.5-1 - Upgrade to 0.98.5 and updated daily.cvd (#1138101) * Sat Aug 16 2014 Fedora Release Engineering - 0.98.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 21 2014 Robert Scheck - 0.98.4-1 - Upgrade to 0.98.4 and updated daily.cvd (#1111811) - Add build requirement to libxml2 for DMG, OpenIOC and XAR * Sat Jun 07 2014 Fedora Release Engineering - 0.98.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat May 10 2014 Robert Scheck - 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 * Wed Jan 15 2014 Robert Scheck - 0.98.1-1 - Upgrade to 0.98.1 and updated daily.cvd (#1053400) * Wed Oct 09 2013 Dan Horák - 0.98-2 - Use fanotify from glibc instead of the limited hand-crafted version * Sun Oct 06 2013 Robert Scheck - 0.98-1 - Upgrade to 0.98 and updated main.cvd and daily.cvd (#1010168) * Wed Aug 07 2013 Pierre-Yves Chibon - 0.97.8-4 - Add a missing requirement on crontabs to spec file - Fix RHBZ#988605 * Sat Aug 03 2013 Fedora Release Engineering - 0.97.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu May 2 2013 Nick Bebout - 0.97.8-1 - Update to 0.97.8 * Wed Apr 10 2013 Jon Ciesla - 0.97.7-2 - Migrate from fedora-usermgmt to guideline scriptlets. * Sat Mar 23 2013 Nick Bebout - 0.97.7-1 - Update to 0.97.7 * Wed Feb 13 2013 Fedora Release Engineering - 0.97.6-1901 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Sep 22 2012 Enrico Scholz - 0.97.6-1900 - updated to 0.97.6 - use %%systemd macros * Tue Aug 14 2012 Enrico Scholz - 0.97.5-1900 - disabled upstart support * Wed Jul 18 2012 Fedora Release Engineering - 0.97.5-1801 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jun 16 2012 Enrico Scholz - 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 - ship local copy of virus database; it was removed by accident from 0.97.5 tarball - removed sysv compat stuff * Fri Apr 13 2012 Enrico Scholz - 0.97.4-1801 - build with -fPIE * Fri Mar 16 2012 Enrico Scholz - 0.97.4-1800 - updated to 0.97.4 * Sun Feb 5 2012 Enrico Scholz - 0.97.3-1703 - fixed SELinux restorecon invocation - added trigger to fix SELinux contexts of logfiles created by old packages - fixed build with recent gcc/glibc toolchain * Sat Jan 21 2012 Enrico Scholz - 0.97.3-1703 - rewrote clamav-notify-servers to be init system neutral - set PrivateTmp systemd option (#782488) * Sun Jan 8 2012 Enrico Scholz - 0.97.3-1702 - set correct SELinux context for logfiles generated in %%post (#754555) - create systemd tmpfiles in %%post - created -server-systemd subpackage providing a clamd@.service template - made script in -scanner-systemd an instance of clamd@.service * Tue Oct 18 2011 Nick Bebout - 0.97.3-1700 - updated to 0.97.3 - CVE-2011-3627 clamav: Recursion level crash fixed in v0.97.3 * Thu Aug 4 2011 Enrico Scholz - 0.97.2-1700 - moved sysv wrapper script into -sysv subpackage - start systemd services after network.target and nss-lookup.target * Tue Jul 26 2011 Enrico Scholz - 0.97.2-1600 - updated to 0.97.2 - CVE-2011-2721 Off-by-one error by scanning message hashes (#725694) - fixed systemd scripts and their installation * Thu Jun 9 2011 Enrico Scholz - 0.97.1-1600 - updated to 0.97.1 - fixed Requires(preun) vs. Requires(postun) inconsistency * Sat Apr 23 2011 Enrico Scholz - 0.97-1601 - fixed tmpfiles.d syntax (#696812) * Sun Feb 20 2011 Enrico Scholz - 0.97-1600 - updated to 0.97 - rediffed some patches * Tue Feb 08 2011 Fedora Release Engineering - 0.96.5-1503 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sat Jan 8 2011 Enrico Scholz - 0.96.5-1502 - fixed signal specifier in clamd-wrapper (#668131, James Ralston) * Fri Dec 24 2010 Enrico Scholz - 0.96.5-1501 - added systemd init scripts which obsolete to old sysvinit ones - added tmpfiles.d/ descriptions * Sat Dec 4 2010 Enrico Scholz - 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. * Sun Oct 31 2010 Enrico Scholz - 0.96.4-1500 - updated to 0.96.4 - execute 'make check' (#640347) but ignore errors for now because four checks are failing on f13 * Wed Sep 29 2010 Enrico Scholz - 0.96.3-1501 - lowered stop priority of sysv initscripts (#629435) * Wed Sep 22 2010 Enrico Scholz - 0.96.3-1500 - updated to 0.96.3 - fixes CVE-2010-0405 in shipped bzlib.c copy * Sun Aug 15 2010 Enrico Scholz - 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. * Wed Aug 11 2010 Enrico Scholz - removed old %%trigger which renamed the 'clamav' user- and groupnames to 'clamupdate' - 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 * Tue Jul 13 2010 Dan Horák - 0.96.1-1401 - ocaml not available (at least) on s390(x) * Tue Jun 1 2010 Enrico Scholz - 0.96.1-1400 - updated to 0.96.1 - rediffed patches * Sat May 29 2010 Rakesh Pandit - 0.96.1403 - CVE-2010-1639 Clam AntiVirus: Heap-based overflow, when processing malicious PDF file(s) * Wed Apr 21 2010 Enrico Scholz - 0.96-1402 - updated to final 0.96 - applied upstream patch which allows to disable JIT compiler (#573191) - build JIT compiler again - disabled JIT compiler by default - removed explicit 'pkgconfig' requirements in -devel (#533956) * Sat Mar 20 2010 Enrico Scholz - 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 - 0.96-1400.rc1 - updated to 0.96rc1 - added some BRs * Sun Dec 6 2009 Enrico Scholz - 0.95.3-1301 - updated -upstart to upstart 0.6.3 * Sat Nov 21 2009 Enrico Scholz - adjusted chkconfig positions for clamav-milter (#530101) - use %%apply instead of %%patch * Thu Oct 29 2009 Enrico Scholz - 0.95.3-1300 - updated to 0.95.3 * Sun Sep 13 2009 Enrico Scholz - conditionalized build of noarch subpackages to ease packaging under RHEL5 * Sun Aug 9 2009 Enrico Scholz - 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 * Sat Aug 8 2009 Enrico Scholz - 0.95.2-4 - renamed 'clamav' user/group to 'clamupdate' - add the '%%milteruser' user to the '%%scanuser' group when the -scanner subpackage is installed * Fri Jul 24 2009 Fedora Release Engineering - 0.95.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Jun 11 2009 Enrico Scholz - 0.95.2-1 - updated to 0.95.2 * Sun Apr 19 2009 Enrico Scholz - 0.95.1-3 - fixed '--without upstart' operation * Wed Apr 15 2009 Enrico Scholz - 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 * Fri Apr 10 2009 Robert Scheck - 0.95.1-1 - Upgrade to 0.95.1 (#495039) * Wed Mar 25 2009 Enrico Scholz - 0.95-1 - updated to final 0.95 - added ncurses-devel (-> clamdtop) BR - enforced IPv6 support * Sun Mar 8 2009 Enrico Scholz - 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 * Wed Feb 25 2009 Enrico Scholz - 0.94.2-3 - made some subpackages noarch - fixed typo in SysV initscript which removes 'touch' file (#473513) * Mon Feb 23 2009 Fedora Release Engineering - 0.94.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Dec 02 2008 Robert Scheck - 0.94.2-1 - Upgrade to 0.94.2 (#474002) * Wed Nov 05 2008 Robert Scheck - 0.94.1-1 - Upgrade to 0.94.1 * Sun Oct 26 2008 Robert Scheck - 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 * Sun Jul 13 2008 Enrico Scholz - 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) - rediffed patches * Tue Jun 17 2008 Enrico Scholz - 0.93.1-1 - updated to 0.93.1 - rediffed -path patch - CVE-2008-2713 Invalid Memory Access Denial Of Service Vulnerability * Mon Apr 14 2008 Enrico Scholz - 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 * Wed Mar 12 2008 Enrico Scholz - 0.93-0.1.rc1 - moved -milter scriptlets into -milter-core subpackage - added a requirement on the milteruser to the -milter-sendmail subpackage (reported by Bruce Jerrick) * Tue Mar 4 2008 Enrico Scholz - 0.93-0.0.rc1 - updated to 0.93rc1 - fixed rpath issues * Mon Feb 11 2008 Enrico Scholz - 0.92.1-1 - updated to 0.92.1 * Tue Jan 1 2008 Enrico Scholz - 0.92-6 - redisabled unrar stuff completely by using clean sources - splitted -milter subpackage into pieces to allow use without sendmail (#239037) * Tue Jan 1 2008 Enrico Scholz - 0.92-5 - use a better way to disable RPATH-generation (needed for '--with unrar' builds) * Mon Dec 31 2007 Enrico Scholz - 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 * Fri Dec 21 2007 Tom "spot" Callaway - 0.92-3 - updated to 0.92 (SECURITY): - CVE-2007-6335 MEW PE File Integer Overflow Vulnerability * Mon Oct 29 2007 Tom "spot" Callaway - 0.91.2-3 - remove RAR decompression code from source tarball because of legal problems (resolves 334371) - correct license tag * Mon Sep 24 2007 Jesse Keating - 0.91.2-2 - Bump release for upgrade path. * Sat Aug 25 2007 Enrico Scholz - 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 - fixed an open(2) issue * Tue Jul 17 2007 Enrico Scholz - 0.91.1-0 - updated to 0.91.1 * Thu Jul 12 2007 Enrico Scholz - 0.91-1 - updated to 0.91 * Thu May 31 2007 Enrico Scholz - 0.90.3-1 - updated to 0.90.3 - BR tcpd.h instead of tcp_wrappers(-devel) to make it build both in FC6- and F7+ * Fri Apr 13 2007 Enrico Scholz - 0.90.2-1 - [SECURITY] updated to 0.90.2; fixes CVE-2007-1745, CVE-2007-1997 * Fri Mar 2 2007 Enrico Scholz - 0.90.1-2 - BR 'tcp_wrappers-devel' instead of plain 'tcp_wrappers' * Fri Mar 2 2007 Enrico Scholz - 0.90.1-1 - updated to 0.90.1 - updated %%doc list * Sun Feb 18 2007 Enrico Scholz - 0.90-1 - updated to final 0.90 - removed -visibility patch since fixed upstream * Sun Feb 4 2007 Enrico Scholz - 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 * Sat Feb 3 2007 Enrico Scholz - 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