#2 Upgrade to 0.100.0 (#1565381)
Merged 5 years ago by robert. Opened 5 years ago by robert.
Unknown source el6  into  el6

@@ -0,0 +1,18 @@

+ https://bugzilla.clamav.net/show_bug.cgi?id=12097

+ 

+ --- shared/optparser.c	

+ +++ shared/optparser.c	

+ @@ -505,6 +505,13 @@ const struct clam_option __clam_options[

+      { "ClamukoExcludeUID", NULL, 0, CLOPT_TYPE_NUMBER, MATCH_NUMBER, -1, NULL, FLAG_MULTIPLE, OPT_CLAMD | OPT_DEPRECATED, "", "" },

+      { "ClamukoMaxFileSize", NULL, 0, CLOPT_TYPE_SIZE, MATCH_SIZE, 5242880, NULL, 0, OPT_CLAMD | OPT_DEPRECATED, "", "" },

+      { "AllowSupplementaryGroups", NULL, 0, CLOPT_TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMD | OPT_FRESHCLAM | OPT_MILTER | OPT_DEPRECATED, "Initialize a supplementary group access (the process must be started by root).", "no" },

+ +    { "StatsHostID", "stats-host-id", 0, CLOPT_TYPE_STRING, NULL, -1, NULL, 0, OPT_FRESHCLAM | OPT_CLAMD | OPT_CLAMSCAN | OPT_DEPRECATED, "", "" },

+ +    { "StatsEnabled", "enable-stats", 0, CLOPT_TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMD | OPT_FRESHCLAM | OPT_CLAMSCAN | OPT_DEPRECATED, "", "" },

+ +    { "StatsPEDisabled", "disable-pe-stats", 0, CLOPT_TYPE_BOOL, MATCH_BOOL, 0, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN | OPT_DEPRECATED, "", "" },

+ +    { "StatsTimeout", "stats-timeout", 0, CLOPT_TYPE_NUMBER, MATCH_NUMBER, -1, NULL, 0, OPT_CLAMD | OPT_CLAMSCAN | OPT_FRESHCLAM | OPT_DEPRECATED, "", "" },

+ +    { "SubmitDetectionStats", NULL, 0, CLOPT_TYPE_STRING, NULL, -1, NULL, 0, OPT_FRESHCLAM | OPT_DEPRECATED, "", "" },

+ +    { "DetectionStatsCountry", NULL, 0, CLOPT_TYPE_STRING, NULL, -1, NULL, 0, OPT_FRESHCLAM | OPT_DEPRECATED, "", "" },

+ +    { "DetectionStatsHostID", NULL, 0, CLOPT_TYPE_STRING, NULL, -1, NULL, 0, OPT_FRESHCLAM | OPT_DEPRECATED, "", "" },

+  

+      /* Milter specific options */

+  

file modified
+18 -9
@@ -4,17 +4,17 @@

  

  Summary: Anti-virus software

  Name: clamav

- Version: 0.99.4

+ Version: 0.100.0

  Release: 1%{?dist}

  License: GPLv2

  Group: Applications/System

- URL: http://www.clamav.net/

+ URL: https://www.clamav.net/

  

  # Unfortunately, clamav includes support for RAR v3, derived from GPL

  # incompatible unrar from RARlabs. We have to pull this code out. This

  # tarball was created by

  #  make clean-sources NAME=clamav VERSION=<version> TARBALL=clamav-<version>.tar.gz TARBALL_CLEAN=clamav-<version>-norar.tar.xz

- # Upstream: http://downloads.sourceforge.net/clamav/clamav-%{version}.tar.gz

+ # Upstream: https://www.clamav.net/downloads/production/clamav-%{version}.tar.gz

  Source0: clamav-%{version}-norar.tar.xz

  Source1: clamav.init

  Source2: clamav-milter.init
@@ -25,24 +25,27 @@

  Source9: clamd.logrotate

  Source10: clamav-milter.sysconfig

  

- # To download the *.cvd, go to http://www.clamav.net and use the links

+ # To download the *.cvd, go to https://www.clamav.net and use the links

  # there (I renamed the files to add the -version suffix for verifying).

  # Check the first line of the file for version, file is not working

  # see https://bugzilla.redhat.com/show_bug.cgi?id=1539107

  Source11:   http://db.local.clamav.net/main-58.cvd

- Source12:   http://db.local.clamav.net/daily-24356.cvd

+ Source12:   http://db.local.clamav.net/daily-24611.cvd

  Source13:   http://db.local.clamav.net/bytecode-319.cvd

  

+ Patch0:        clamav-0.100.0-stats-deprecation.patch

  Patch31:       clamav-0.99.1-setsebool.patch

  

  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

  

- BuildRequires: bzip2-devel, zlib-devel, gmp-devel, curl-devel, xz, ncurses-devel, openssl-devel, libxml2-devel, pcre-devel

+ BuildRequires: bzip2-devel, zlib-devel, gmp-devel, curl-devel, xz, ncurses-devel, openssl-devel, libxml2-devel, pcre-devel, json-c-devel

  %{!?_without_milter:BuildRequires: sendmail-devel >= 8.12}

  

  Requires: clamav-db = %{version}-%{release}

  Requires(pre): shadow-utils

  

+ Provides: bundled(libmspack) = 0.5-0.1.alpha.modified_by_clamav

+ 

  ### Fedora Extras introduced them differently :(

  Provides: libclamav

  Obsoletes: libclamav < %{version}-%{release}
@@ -131,7 +134,8 @@

  %prep

  # Handle that rpmbuild in RHEL < 6 doesn't handle xz archives automatically.

  %setup -q -T -c

- xz -dc %{SOURCE0} | (cd .. ; tar xvvf -)

+ xz -dc %{SOURCE0} | (cd .. ; tar xf -)

+ %patch0 -p0 -b .stats-deprecation

  %patch31 -p1 -b .setsebool

  

  %{__perl} -pi.orig -e 's|/lib\b|/%{_lib}|g;' configure
@@ -336,7 +340,6 @@

  

  %files

  %defattr(-, root, root, 0755)

- %doc AUTHORS BUGS ChangeLog COPYING FAQ INSTALL NEWS README

  %doc docs/*.pdf etc/freshclam.conf

  %doc %{_mandir}/man1/sigtool.1*

  %doc %{_mandir}/man1/clamscan.1*
@@ -350,6 +353,7 @@

  %{_bindir}/clambc

  %{_bindir}/clamsubmit

  %{_libdir}/libclamav.so.*

+ %{_libdir}/libclammspack.so.*

  

  %files -n clamd

  %defattr(-, root, root, 0755)
@@ -407,11 +411,16 @@

  %{_bindir}/clamav-config

  %{_includedir}/clamav.h

  %{_libdir}/libclamav.so

+ %{_libdir}/libclammspack.so

  %{_libdir}/pkgconfig/libclamav.pc

- #%{_libdir}/libclamav.a

+ %{_libdir}/pkgconfig/libclammspack.pc

  %exclude %{_libdir}/libclamav.la

+ %exclude %{_libdir}/libclammspack.la

  

  %changelog

+ * Mon May 28 2018 Robert Scheck <robert@fedoraproject.org> - 0.100.0-1

+ - Upgrade to 0.100.0 (#1565381)

+ 

  * Fri Mar 02 2018 Orion Poplawski <orion@nwra.com> - 0.99.4-1

  - Update to 0.99.4

  - Security fixes CVE-2012-6706 CVE-2017-6419 CVE-2017-11423 CVE-2018-1000085

file modified
+2 -2
@@ -1,5 +1,5 @@

- SHA512 (clamav-0.99.4-norar.tar.xz) = c947d4626b210fe92bf6b287b038c4af26346f5e392d4a5b6c5e535fa805c0f72b38875fe87960539d4b859bf9fd478ce798fc6b33f44b94ee23ee7c430932a9

+ SHA512 (clamav-0.100.0-norar.tar.xz) = ecb6602f746f570481cf8df396fe60853be73b0b01adff17a6ef50a1db285f1f26947a9d63981631b6f809188e4752632fba148ef77c46be6a7d4480b12a2649

  SHA512 (bytecode-319.cvd) = 1b2785fde078e0dae5a4b8a5161a0da55b26b010deda9fd9dc5edb7113d46d6eb45f644c16b4cb3882e7192d0b389d7b1826fbb718377aa40e1bac3485829acc

- SHA512 (daily-24356.cvd) = 0550e4d136189dfd6fd78e027fb81713530abeaee47d48a678ed4a521114cae87fc0500a0f8eaa7e4ba1f8ed8ecd5159f96cd0b62eac92491acfcc01f9277973

+ SHA512 (daily-24611.cvd) = 109bca93329b5be740f4e3916dcf5c2f01b99593711a55ed9502e764d3b7aefab8735d05864749ae5a133b32f2f9112f56dfdea4fbadc6cfd945c7f3fd2bd2da

  SHA512 (main-58.cvd) = 71309a7ea26f0fbfe329252c728173c895b107b7ea2e0bd613b12475db1d0270a496d707c4d80c842bf8b6f21680e86edfa7fa3b8aea075e93d67c91d696603a

  SHA512 (clamd-wrapper.tar.bz2) = a67f15197ebc92c0e9387e32da944d6815b1ce106ae0dd0c00e9001b6224f4f11119dd1df675bb1a7f8ac15ad2a3aaab67ae39d6257d0de6967b1f7cf1527ef9

no initial comment

Pull-Request has been merged by robert

5 years ago