- Update to version 0.101.1:
* more details will be added later - Add missing include for str.h to libclamav/others_common.c (clamav-str-h.patch) OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=180
This commit is contained in:
parent
b00c83a767
commit
72865bd263
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:4a2e4f0cd41e62adb5a713b4a1857c49145cd09a69957e6d946ecad575206dd6
|
|
||||||
size 15926420
|
|
@ -1,16 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQIcBAABAgAGBQJbq9rVAAoJEPE/nha8pb+tWtAQAIoac5u7/0ys8qxcVvE/e2R/
|
|
||||||
JCZOkCc1BoVonc8yV9z/cn9/CFMoWq/n/pDZyCDKHU5x4rU+FuC1YolaoAyrF1Qi
|
|
||||||
bx6byEg36+EPj/bz9Gp7C13oPAnNSN5vNU1Tpdgz57zxTZ+91aO9SWWiQuIRHZxa
|
|
||||||
uNgjvUt55bhIRl6RggrCl1nmvL9OOyA0Vco0BdPZMUj/+hHMfmFHCWLwVzg8LbGq
|
|
||||||
DJEKDkxoHXXg77zOAb49VozRKcfLtIPKwpu1JD6HxQwEhPvadc+PyVRbmfhhfrfx
|
|
||||||
uFX/HXXSTo23zlgPFXG5K/GPhss8yUbviDZfduxXJENJwuHYvflMPZ5PMyECpTIR
|
|
||||||
Kd3Kg6UkFyfUg1AsKx141cRyA8xI+pSCnjHee0rMDRifdCChwMFVrEG/YDmgxA3a
|
|
||||||
ehrljZylEaTiT71LwA3RIB8DvTvCfBtRU7HgWsY5+fytPmf3XvugzI/A6c1rPcWs
|
|
||||||
nmmvVwc6LInSqFqdEOOqxyOnKNgt+0qmLWHtM0g7Uqo/jfTZGMy1tdMfhSAtER7L
|
|
||||||
oqL/r8Ul+/UfbGvbIpS8tWE/KAzQyCJ4wUjyHEGmbWgn1OTyFB8M7EJVXRbrECAP
|
|
||||||
cMB6tpORPzNt4ReAsEHhHLE0d4GWuuG29HF8qH+wWspEWCSzXbGZ6zNrGkhFqDvN
|
|
||||||
ae/hne2V6DXACNdcQWpG
|
|
||||||
=ah8h
|
|
||||||
-----END PGP SIGNATURE-----
|
|
3
clamav-0.101.1.tar.gz
Normal file
3
clamav-0.101.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:fa368fa9b2f57638696150c7d108b06dec284e8d8e3b8e702c784947c01fb806
|
||||||
|
size 21691396
|
16
clamav-0.101.1.tar.gz.sig
Normal file
16
clamav-0.101.1.tar.gz.sig
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIcBAABAgAGBQJcG8GBAAoJEPE/nha8pb+tUBUQAMdAGB7BjCaDZks8vDOMv9oi
|
||||||
|
2kfVECXq3JDt/vRe5WT3VpqUSzUhSDhTkD9NUZ8f0/4Kz+IMNQYLHX3AOASgTpNP
|
||||||
|
thxHGeuF7pcQb3Nws13jUEYTX2e9KdPa3ELqsL0e2VMmWmZBbGZML0cHxCMMt9wo
|
||||||
|
VJFXG7Lm66/wlegaAhZKWogvWG1W0V3Tn/SgHxPx8tkEC7PYFJRehr2K7mszgJ9V
|
||||||
|
dtIZ4s8ZfON8hF6J+OwUPk/ue2L2XlbcaE/K96vqOTvUH2it25N2jIjkEcoX6A0u
|
||||||
|
jpVLBEJODT85fVuejYk1Hpx9VzKSwO5hVOV3uXp2yy5CNea63M/LZ3jDwpWwk2vF
|
||||||
|
m51GSvR9GZDs5dGuS1ENVbtLLj9UEzBo/mlhBXDuJ8Y142CAAVN0st8riV3n9e7M
|
||||||
|
oCBk7dpsjxFgbSU0deON/oNalTTlK0A1Z63YLvgR+AUCSbEjS1Tx4hJlFQkcETFP
|
||||||
|
+1aJprBNMMYheS+qt3BvRasqw34Slj7+gAnAwiQovAxGJsVCgqe62IK8sFNRib6A
|
||||||
|
EJq5+GoFvwW2wt12kXvf/OPsidnZMQh6OpFphd2sDXt+LMUJBgeLWsRA0Aiv5j2R
|
||||||
|
e6dUZuJf480bMKukvSqORPgA98frOxI354AtBkPI8JQs35tfwLcmJQglpr6HHSF/
|
||||||
|
6E/dEufsIz8WlF2KWtLv
|
||||||
|
=JBvc
|
||||||
|
-----END PGP SIGNATURE-----
|
@ -140,7 +140,7 @@
|
|||||||
|
|
||||||
# Stop daemon when libclamav reports out of memory condition.
|
# Stop daemon when libclamav reports out of memory condition.
|
||||||
#ExitOnOOM yes
|
#ExitOnOOM yes
|
||||||
@@ -598,6 +594,10 @@ Example
|
@@ -613,6 +609,10 @@ Example
|
||||||
##
|
##
|
||||||
## On-access Scan Settings
|
## On-access Scan Settings
|
||||||
##
|
##
|
||||||
@ -197,7 +197,7 @@
|
|||||||
|
|
||||||
# Use DNS to verify virus database version. Freshclam uses DNS TXT records
|
# Use DNS to verify virus database version. Freshclam uses DNS TXT records
|
||||||
# to verify database and software versions. With this directive you can change
|
# to verify database and software versions. With this directive you can change
|
||||||
@@ -132,7 +128,7 @@ DatabaseMirror database.clamav.net
|
@@ -127,7 +123,7 @@ DatabaseMirror database.clamav.net
|
||||||
|
|
||||||
# Send the RELOAD command to clamd.
|
# Send the RELOAD command to clamd.
|
||||||
# Default: no
|
# Default: no
|
||||||
|
@ -27,7 +27,7 @@
|
|||||||
strncat(buf, "WARNING: sizeof(fp_digit) == sizeof(fp_word), this build is likely to not work properly.\n",
|
strncat(buf, "WARNING: sizeof(fp_digit) == sizeof(fp_word), this build is likely to not work properly.\n",
|
||||||
--- configure.orig
|
--- configure.orig
|
||||||
+++ configure
|
+++ configure
|
||||||
@@ -801,6 +801,7 @@ FGREP
|
@@ -812,6 +812,7 @@ FGREP
|
||||||
SED
|
SED
|
||||||
LIBTOOL
|
LIBTOOL
|
||||||
LIBCLAMAV_VERSION
|
LIBCLAMAV_VERSION
|
||||||
@ -35,24 +35,24 @@
|
|||||||
EGREP
|
EGREP
|
||||||
GREP
|
GREP
|
||||||
CPP
|
CPP
|
||||||
@@ -903,6 +904,7 @@ ac_user_opts='
|
@@ -922,6 +923,7 @@ ac_user_opts='
|
||||||
enable_option_checking
|
enable_option_checking
|
||||||
enable_silent_rules
|
|
||||||
enable_dependency_tracking
|
enable_dependency_tracking
|
||||||
|
enable_silent_rules
|
||||||
+enable_timestamps
|
+enable_timestamps
|
||||||
enable_static
|
enable_static
|
||||||
enable_shared
|
enable_shared
|
||||||
with_pic
|
with_pic
|
||||||
@@ -1619,6 +1621,8 @@ Optional Features:
|
@@ -1641,6 +1643,8 @@ Optional Features:
|
||||||
--disable-dependency-tracking
|
--enable-silent-rules less verbose build output (undo: "make V=1")
|
||||||
speeds up one-time build
|
--disable-silent-rules verbose build output (undo: "make V=0")
|
||||||
--enable-static[=PKGS] build static libraries [default=no]
|
--enable-static[=PKGS] build static libraries [default=no]
|
||||||
+ --enable-timestamps Enable embedding timestamp information in build
|
+ --enable-timestamps Enable embedding timestamp information in build
|
||||||
+ (default is YES)
|
+ (default is YES)
|
||||||
--enable-shared[=PKGS] build shared libraries [default=yes]
|
--enable-shared[=PKGS] build shared libraries [default=yes]
|
||||||
--enable-fast-install[=PKGS]
|
--enable-fast-install[=PKGS]
|
||||||
optimize for fast installation [default=yes]
|
optimize for fast installation [default=yes]
|
||||||
@@ -5219,6 +5223,26 @@ $as_echo "$ac_cv_safe_to_define___extens
|
@@ -5923,6 +5927,26 @@ $as_echo "$ac_cv_safe_to_define___extens
|
||||||
|
|
||||||
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
|
$as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
|
||||||
|
|
||||||
@ -78,4 +78,4 @@
|
|||||||
+_ACEOF
|
+_ACEOF
|
||||||
|
|
||||||
|
|
||||||
VERSION="0.100.2"
|
VERSION="0.101.1"
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
# ----------- clamd tests --------------------------------------------------------
|
# ----------- clamd tests --------------------------------------------------------
|
||||||
--- configure.orig
|
--- configure.orig
|
||||||
+++ configure
|
+++ configure
|
||||||
@@ -24324,6 +24324,7 @@ if test "$enable_yara" = "yes"; then
|
@@ -28446,6 +28446,7 @@ if test "$enable_yara" = "yes"; then
|
||||||
|
|
||||||
$as_echo "#define HAVE_YARA 1" >>confdefs.h
|
$as_echo "#define HAVE_YARA 1" >>confdefs.h
|
||||||
|
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
--- freshclam/freshclam.c.orig
|
|
||||||
+++ freshclam/freshclam.c
|
|
||||||
@@ -714,6 +714,12 @@ main (int argc, char **argv)
|
|
||||||
execute ("OnErrorExecute", opt->strarg, opts);
|
|
||||||
}
|
|
||||||
|
|
||||||
+ if (ret == FC_UPTODATE)
|
|
||||||
+ {
|
|
||||||
+ /* Restore exit code compatibility with ClamAV < 0.100.0 */
|
|
||||||
+ ret = 0;
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
if (pidfile)
|
|
||||||
{
|
|
||||||
unlink (pidfile);
|
|
@ -1,6 +1,6 @@
|
|||||||
--- shared/optparser.c.orig
|
--- shared/optparser.c.orig
|
||||||
+++ shared/optparser.c
|
+++ shared/optparser.c
|
||||||
@@ -505,6 +505,13 @@ const struct clam_option __clam_options[
|
@@ -517,6 +517,13 @@ const struct clam_option __clam_options[
|
||||||
{ "ClamukoExcludeUID", NULL, 0, CLOPT_TYPE_NUMBER, MATCH_NUMBER, -1, NULL, FLAG_MULTIPLE, OPT_CLAMD | OPT_DEPRECATED, "", "" },
|
{ "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, "", "" },
|
{ "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" },
|
{ "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" },
|
||||||
|
10
clamav-str-h.patch
Normal file
10
clamav-str-h.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- libclamav/others_common.c.orig
|
||||||
|
+++ libclamav/others_common.c
|
||||||
|
@@ -54,6 +54,7 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#include "clamav.h"
|
||||||
|
+#include "str.h"
|
||||||
|
#include "others.h"
|
||||||
|
#include "regex/regex.h"
|
||||||
|
#include "ltdl.h"
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 21 17:30:15 UTC 2019 - Reinhard Max <max@suse.com>
|
||||||
|
|
||||||
|
- Update to version 0.101.1:
|
||||||
|
* more details will be added later
|
||||||
|
- Add missing include for str.h to libclamav/others_common.c
|
||||||
|
(clamav-str-h.patch)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 4 09:04:01 UTC 2018 - Reinhard Max <max@suse.com>
|
Thu Oct 4 09:04:01 UTC 2018 - Reinhard Max <max@suse.com>
|
||||||
|
|
||||||
|
43
clamav.spec
43
clamav.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package clamav
|
# spec file for package clamav
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,9 +16,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_with clammspack
|
||||||
|
|
||||||
%define clamav_check --enable-check
|
%define clamav_check --enable-check
|
||||||
Name: clamav
|
Name: clamav
|
||||||
Version: 0.100.2
|
Version: 0.101.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Antivirus Toolkit
|
Summary: Antivirus Toolkit
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
@ -36,14 +38,18 @@ Patch1: clamav-conf.patch
|
|||||||
Patch4: clamav-disable-timestamps.patch
|
Patch4: clamav-disable-timestamps.patch
|
||||||
Patch5: clamav-obsolete-config.patch
|
Patch5: clamav-obsolete-config.patch
|
||||||
Patch6: clamav-disable-yara.patch
|
Patch6: clamav-disable-yara.patch
|
||||||
Patch7: clamav-freshclam-exit.patch
|
Patch7: clamav-str-h.patch
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: automake
|
BuildRequires: automake
|
||||||
BuildRequires: bc
|
BuildRequires: bc
|
||||||
BuildRequires: check-devel
|
BuildRequires: check-devel
|
||||||
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: libbz2-devel
|
BuildRequires: libbz2-devel
|
||||||
BuildRequires: libcurl-devel
|
BuildRequires: libcurl-devel
|
||||||
BuildRequires: libjson-c-devel
|
BuildRequires: libjson-c-devel
|
||||||
|
%if %{without clammspack}
|
||||||
|
BuildRequires: libmspack-devel
|
||||||
|
%endif
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
@ -78,14 +84,15 @@ provides numerous file format detection mechanisms, file unpacking
|
|||||||
support, archive support, and multiple signature languages for
|
support, archive support, and multiple signature languages for
|
||||||
detecting threats.
|
detecting threats.
|
||||||
|
|
||||||
%package -n libclamav7
|
%package -n libclamav9
|
||||||
Summary: ClamAV antivirus engine runtime
|
Summary: ClamAV antivirus engine runtime
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n libclamav7
|
%description -n libclamav9
|
||||||
ClamAV is an antivirus engine designed for detecting trojans,
|
ClamAV is an antivirus engine designed for detecting trojans,
|
||||||
viruses, malware and other malicious threats.
|
viruses, malware and other malicious threats.
|
||||||
|
|
||||||
|
%if %{with clammspack}
|
||||||
%package -n libclammspack0
|
%package -n libclammspack0
|
||||||
Summary: ClamAV antivirus engine runtime
|
Summary: ClamAV antivirus engine runtime
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -93,11 +100,12 @@ Group: System/Libraries
|
|||||||
%description -n libclammspack0
|
%description -n libclammspack0
|
||||||
ClamAV is an antivirus engine designed for detecting trojans,
|
ClamAV is an antivirus engine designed for detecting trojans,
|
||||||
viruses, malware and other malicious threats.
|
viruses, malware and other malicious threats.
|
||||||
|
%endif
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for libclamav, an antivirus engine
|
Summary: Development files for libclamav, an antivirus engine
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libclamav7 = %version
|
Requires: libclamav9 = %version
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
ClamAV is an antivirus engine designed for detecting trojans,
|
ClamAV is an antivirus engine designed for detecting trojans,
|
||||||
@ -135,7 +143,10 @@ CFLAGS="$CFLAGS -DFP_64BIT"
|
|||||||
--enable-clamdtop \
|
--enable-clamdtop \
|
||||||
--disable-zlib-vcheck \
|
--disable-zlib-vcheck \
|
||||||
--disable-timestamps \
|
--disable-timestamps \
|
||||||
--disable-yara
|
--disable-yara \
|
||||||
|
%if %{without clammspack}
|
||||||
|
--with-system-libmspack
|
||||||
|
%endif
|
||||||
|
|
||||||
make V=1 %?_smp_mflags
|
make V=1 %?_smp_mflags
|
||||||
|
|
||||||
@ -150,8 +161,8 @@ find %buildroot -type f -name "*.la" -delete -print
|
|||||||
|
|
||||||
# libclammspack is not meant to be linked against by anything but
|
# libclammspack is not meant to be linked against by anything but
|
||||||
# libclamav
|
# libclamav
|
||||||
rm %buildroot%_libdir/pkgconfig/libclammspack.pc
|
rm -f %buildroot%_libdir/pkgconfig/libclammspack.pc
|
||||||
rm %buildroot%_libdir/libclammspack.so
|
rm -f %buildroot%_libdir/libclammspack.so
|
||||||
|
|
||||||
# fix the new config file names
|
# fix the new config file names
|
||||||
pushd %buildroot%_sysconfdir
|
pushd %buildroot%_sysconfdir
|
||||||
@ -181,10 +192,12 @@ done
|
|||||||
VALGRIND_GENSUP=1 make check
|
VALGRIND_GENSUP=1 make check
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%post -n libclamav7 -p /sbin/ldconfig
|
%post -n libclamav9 -p /sbin/ldconfig
|
||||||
%postun -n libclamav7 -p /sbin/ldconfig
|
%postun -n libclamav9 -p /sbin/ldconfig
|
||||||
|
%if %{with clammspack}
|
||||||
%post -n libclammspack0 -p /sbin/ldconfig
|
%post -n libclammspack0 -p /sbin/ldconfig
|
||||||
%postun -n libclammspack0 -p /sbin/ldconfig
|
%postun -n libclammspack0 -p /sbin/ldconfig
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%config(noreplace) %_sysconfdir/*.conf
|
%config(noreplace) %_sysconfdir/*.conf
|
||||||
@ -194,7 +207,7 @@ VALGRIND_GENSUP=1 make check
|
|||||||
%_unitdir/clamav-milter.service
|
%_unitdir/clamav-milter.service
|
||||||
%_tmpfilesdir
|
%_tmpfilesdir
|
||||||
%license COPYING*
|
%license COPYING*
|
||||||
%doc docs/*.pdf docs/html
|
%doc docs/html/*
|
||||||
%_mandir/*/*
|
%_mandir/*/*
|
||||||
%_bindir/*
|
%_bindir/*
|
||||||
%_sbindir/*
|
%_sbindir/*
|
||||||
@ -203,11 +216,13 @@ VALGRIND_GENSUP=1 make check
|
|||||||
%dir /var/lib/clamav
|
%dir /var/lib/clamav
|
||||||
%ghost %attr(755,vscan,vscan) /run/clamav
|
%ghost %attr(755,vscan,vscan) /run/clamav
|
||||||
|
|
||||||
%files -n libclamav7
|
%files -n libclamav9
|
||||||
%_libdir/libclam*.so.7*
|
%_libdir/libclam*.so.9*
|
||||||
|
|
||||||
|
%if %{with clammspack}
|
||||||
%files -n libclammspack0
|
%files -n libclammspack0
|
||||||
%_libdir/libclammspack.so.0*
|
%_libdir/libclammspack.so.0*
|
||||||
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%_libdir/pkgconfig/*
|
%_libdir/pkgconfig/*
|
||||||
|
Loading…
Reference in New Issue
Block a user