SECURITY update to clamav 0.98.5 (crash fixes for various maliciously crafted
files, improved detection of malicious PE files, new file formats)
This commit is contained in:
parent
b99424c44d
commit
167593e9ae
@ -1,12 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.94 2014/09/17 09:13:13 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.95 2014/11/19 00:18:01 sthen Exp $
|
||||
|
||||
COMMENT= virus scanner
|
||||
DISTNAME= clamav-0.98.4
|
||||
REVISION= 2
|
||||
DISTNAME= clamav-0.98.5
|
||||
|
||||
CATEGORIES= security
|
||||
|
||||
SHARED_LIBS += clamav 22.0 # 7.22
|
||||
SHARED_LIBS += clamav 22.1 # 7.22
|
||||
SHARED_LIBS += clamunrar 3.0 # 7.22
|
||||
SHARED_LIBS += clamunrar_iface 3.0
|
||||
|
||||
@ -17,8 +16,8 @@ MAINTAINER= Stuart Henderson <sthen@openbsd.org>
|
||||
# GPLv2/LGPL, with OpenSSL exemption
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
WANTLIB += bz2 c crypto curl idn ltdl m milter ncurses pthread
|
||||
WANTLIB += ssl xml2 z
|
||||
WANTLIB += bz2 c crypto curl idn ltdl lzma m milter ncurses
|
||||
WANTLIB += pthread ssl xml2 z
|
||||
|
||||
BUILD_DEPENDS= devel/check \
|
||||
devel/libexecinfo
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (clamav-0.98.4.tar.gz) = 0wBnR6vPdQ85Wov6gmerMUx7YxlsS0HncXlIqqr6Phw=
|
||||
SIZE (clamav-0.98.4.tar.gz) = 15537593
|
||||
SHA256 (clamav-0.98.5.tar.gz) = nC831fqQM5NkaCN/b0spKJ8weRyqhHZe9RCstWyNqk0=
|
||||
SIZE (clamav-0.98.5.tar.gz) = 15146379
|
||||
|
@ -1,8 +1,8 @@
|
||||
$OpenBSD: patch-clamd_Makefile_in,v 1.16 2014/05/08 08:18:51 sthen Exp $
|
||||
--- clamd/Makefile.in.orig Tue May 6 19:59:42 2014
|
||||
+++ clamd/Makefile.in Thu May 8 00:45:57 2014
|
||||
@@ -271,7 +271,9 @@ INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
||||
$OpenBSD: patch-clamd_Makefile_in,v 1.17 2014/11/19 00:18:01 sthen Exp $
|
||||
--- clamd/Makefile.in.orig Thu Nov 13 22:31:30 2014
|
||||
+++ clamd/Makefile.in Tue Nov 18 23:40:53 2014
|
||||
@@ -329,7 +329,9 @@ JSON_LDFLAGS = @JSON_LDFLAGS@
|
||||
JSON_LIBS = @JSON_LIBS@
|
||||
LCOV = @LCOV@
|
||||
LD = @LD@
|
||||
-LDFLAGS = @LDFLAGS@
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-database_Makefile_in,v 1.13 2014/05/08 08:18:51 sthen Exp $
|
||||
--- database/Makefile.in.orig Tue May 6 19:59:43 2014
|
||||
+++ database/Makefile.in Thu May 8 00:45:57 2014
|
||||
@@ -541,6 +541,8 @@ uninstall-am:
|
||||
$OpenBSD: patch-database_Makefile_in,v 1.14 2014/11/19 00:18:01 sthen Exp $
|
||||
--- database/Makefile.in.orig Thu Nov 13 22:31:30 2014
|
||||
+++ database/Makefile.in Tue Nov 18 23:40:53 2014
|
||||
@@ -580,6 +580,8 @@ uninstall-am:
|
||||
|
||||
|
||||
install-data-local:
|
||||
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-libclamav_Makefile_in,v 1.22 2014/05/08 08:18:51 sthen Exp $
|
||||
--- libclamav/Makefile.in.orig Tue May 6 19:59:44 2014
|
||||
+++ libclamav/Makefile.in Thu May 8 00:45:57 2014
|
||||
@@ -3339,6 +3339,9 @@ version.h: version.h.tmp
|
||||
$OpenBSD: patch-libclamav_Makefile_in,v 1.23 2014/11/19 00:18:01 sthen Exp $
|
||||
--- libclamav/Makefile.in.orig Thu Nov 13 22:31:31 2014
|
||||
+++ libclamav/Makefile.in Tue Nov 18 23:40:53 2014
|
||||
@@ -3415,6 +3415,9 @@ version.h: version.h.tmp
|
||||
fi
|
||||
|
||||
version.h.tmp:
|
||||
|
@ -1,10 +1,10 @@
|
||||
$OpenBSD: patch-libclamav_ole2_extract_c,v 1.13 2014/06/17 09:12:45 sthen Exp $
|
||||
$OpenBSD: patch-libclamav_ole2_extract_c,v 1.14 2014/11/19 00:18:01 sthen Exp $
|
||||
|
||||
allow for machine arch where char is unsigned by default (e.g. arm, powerpc)
|
||||
|
||||
--- libclamav/ole2_extract.c.orig Tue May 6 19:42:41 2014
|
||||
+++ libclamav/ole2_extract.c Thu May 8 00:45:57 2014
|
||||
@@ -206,7 +206,7 @@ static unsigned char magic_id[] = {0xd0, 0xcf, 0x11, 0
|
||||
--- libclamav/ole2_extract.c.orig Thu Nov 13 22:30:43 2014
|
||||
+++ libclamav/ole2_extract.c Tue Nov 18 23:40:53 2014
|
||||
@@ -229,7 +229,7 @@ static unsigned char magic_id[] = {0xd0, 0xcf, 0x11, 0
|
||||
|
||||
|
||||
static char *
|
||||
|
@ -1,14 +0,0 @@
|
||||
$OpenBSD: patch-libclamav_others_c,v 1.1 2014/06/26 15:36:11 sthen Exp $
|
||||
|
||||
https://bugzilla.clamav.net/show_bug.cgi?id=11037
|
||||
|
||||
--- libclamav/others.c.orig Thu Jun 26 16:28:46 2014
|
||||
+++ libclamav/others.c Thu Jun 26 16:29:01 2014
|
||||
@@ -298,6 +298,7 @@ int cl_init(unsigned int initoptions)
|
||||
return CL_EARG;
|
||||
}
|
||||
}
|
||||
+ cl_initialize_crypto();
|
||||
/* put dlopen() stuff here, etc. */
|
||||
if (lt_init() == 0) {
|
||||
cli_rarload();
|
@ -1,10 +1,10 @@
|
||||
$OpenBSD: patch-libclamav_str_c,v 1.10 2014/06/17 09:12:45 sthen Exp $
|
||||
$OpenBSD: patch-libclamav_str_c,v 1.11 2014/11/19 00:18:01 sthen Exp $
|
||||
|
||||
allow for machine arch where char is unsigned by default (e.g. arm, powerpc)
|
||||
|
||||
--- libclamav/str.c.orig Tue May 6 19:39:56 2014
|
||||
+++ libclamav/str.c Thu May 8 00:45:57 2014
|
||||
@@ -170,9 +170,9 @@ int cli_hex2str_to(const char *hex, char *ptr, size_t
|
||||
--- libclamav/str.c.orig Tue Jul 8 15:50:23 2014
|
||||
+++ libclamav/str.c Wed Jul 9 00:58:02 2014
|
||||
@@ -166,9 +166,9 @@ int cli_hex2str_to(const char *hex, char *ptr, size_t
|
||||
|
||||
for(i = 0; i < len; i += 2) {
|
||||
if((c = cli_hex2int(hex[i])) >= 0) {
|
||||
|
@ -1,10 +1,10 @@
|
||||
$OpenBSD: patch-libclamav_vba_extract_c,v 1.9 2014/06/17 09:12:45 sthen Exp $
|
||||
$OpenBSD: patch-libclamav_vba_extract_c,v 1.10 2014/11/19 00:18:01 sthen Exp $
|
||||
|
||||
allow for machine arch where char is unsigned by default (e.g. arm, powerpc)
|
||||
|
||||
--- libclamav/vba_extract.c.orig Tue May 6 19:42:41 2014
|
||||
+++ libclamav/vba_extract.c Thu May 8 00:45:57 2014
|
||||
@@ -99,7 +99,7 @@ vba_endian_convert_32(uint32_t value, int big_endian)
|
||||
--- libclamav/vba_extract.c.orig Tue Jul 8 15:50:23 2014
|
||||
+++ libclamav/vba_extract.c Wed Jul 9 00:58:02 2014
|
||||
@@ -98,7 +98,7 @@ vba_endian_convert_32(uint32_t value, int big_endian)
|
||||
|
||||
|
||||
static char *
|
||||
|
@ -1,10 +1,10 @@
|
||||
$OpenBSD: patch-unit_tests_Makefile_in,v 1.3 2014/05/08 08:18:51 sthen Exp $
|
||||
$OpenBSD: patch-unit_tests_Makefile_in,v 1.4 2014/11/19 00:18:01 sthen Exp $
|
||||
|
||||
unnecessary gnu-ism
|
||||
|
||||
--- unit_tests/Makefile.in.orig Tue May 6 19:59:45 2014
|
||||
+++ unit_tests/Makefile.in Thu May 8 00:45:57 2014
|
||||
@@ -1224,7 +1224,7 @@ check_clamd.sh: $(top_builddir)/test/clam.exe check_cl
|
||||
--- unit_tests/Makefile.in.orig Thu Nov 13 22:31:31 2014
|
||||
+++ unit_tests/Makefile.in Tue Nov 18 23:40:53 2014
|
||||
@@ -1456,7 +1456,7 @@ check_clamd.sh: $(top_builddir)/test/clam.exe check_cl
|
||||
check_clamscan.sh: $(top_builddir)/test/clam.exe
|
||||
|
||||
clamav.hdb: input/clamav.hdb
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.23 2014/05/08 08:18:51 sthen Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.24 2014/11/19 00:18:01 sthen Exp $
|
||||
@newgroup _clamav:539
|
||||
@newuser _clamav:539:539:daemon:Clam AntiVirus:/nonexistent:/sbin/nologin
|
||||
@extraunexec rm -fr /var/db/clamav/*
|
||||
@ -41,7 +41,6 @@ lib/pkgconfig/libclamav.pc
|
||||
@bin sbin/clamav-milter
|
||||
@bin sbin/clamd
|
||||
share/doc/clamav/
|
||||
share/doc/clamav/clamav-mirror-howto.pdf
|
||||
share/doc/clamav/clamdoc.pdf
|
||||
share/doc/clamav/phishsigs_howto.pdf
|
||||
share/doc/clamav/signatures.pdf
|
||||
|
Loading…
x
Reference in New Issue
Block a user