update to clamav-0.101.1

This commit is contained in:
sthen 2019-01-07 22:49:14 +00:00
parent e27db3c51c
commit 6ce588ddcf
10 changed files with 19 additions and 29 deletions

View File

@ -1,8 +1,7 @@
# $OpenBSD: Makefile,v 1.124 2018/12/04 13:40:06 sthen Exp $ # $OpenBSD: Makefile,v 1.125 2019/01/07 22:49:14 sthen Exp $
COMMENT= virus scanner COMMENT= virus scanner
DISTNAME= clamav-0.101.0 DISTNAME= clamav-0.101.1
REVISION= 1
CATEGORIES= security CATEGORIES= security

View File

@ -1,2 +1,2 @@
SHA256 (clamav-0.101.0.tar.gz) = 8Spa2GvE4L3mytLTDEnH2qsYTLp85jGQlDS12VM6WtI= SHA256 (clamav-0.101.1.tar.gz) = +jaPqbL1djhpYVDH0QiwbewoTo2OO45wLHhJR8AfuAY=
SIZE (clamav-0.101.0.tar.gz) = 21686531 SIZE (clamav-0.101.1.tar.gz) = 21691396

View File

@ -1,8 +1,8 @@
$OpenBSD: patch-clamd_Makefile_in,v 1.25 2018/12/04 12:33:40 sthen Exp $ $OpenBSD: patch-clamd_Makefile_in,v 1.26 2019/01/07 22:49:14 sthen Exp $
Index: clamd/Makefile.in Index: clamd/Makefile.in
--- clamd/Makefile.in.orig --- clamd/Makefile.in.orig
+++ clamd/Makefile.in +++ clamd/Makefile.in
@@ -391,7 +391,9 @@ JSON_LDFLAGS = @JSON_LDFLAGS@ @@ -400,7 +400,9 @@ JSON_LDFLAGS = @JSON_LDFLAGS@
JSON_LIBS = @JSON_LIBS@ JSON_LIBS = @JSON_LIBS@
LCOV = @LCOV@ LCOV = @LCOV@
LD = @LD@ LD = @LD@

View File

@ -1,8 +1,8 @@
$OpenBSD: patch-database_Makefile_in,v 1.22 2018/12/04 12:33:40 sthen Exp $ $OpenBSD: patch-database_Makefile_in,v 1.23 2019/01/07 22:49:14 sthen Exp $
Index: database/Makefile.in Index: database/Makefile.in
--- database/Makefile.in.orig --- database/Makefile.in.orig
+++ database/Makefile.in +++ database/Makefile.in
@@ -625,6 +625,8 @@ uninstall-am: @@ -638,6 +638,8 @@ uninstall-am:
install-data-local: install-data-local:

View File

@ -1,8 +1,8 @@
$OpenBSD: patch-libclamav_Makefile_in,v 1.32 2018/12/04 12:33:40 sthen Exp $ $OpenBSD: patch-libclamav_Makefile_in,v 1.33 2019/01/07 22:49:14 sthen Exp $
Index: libclamav/Makefile.in Index: libclamav/Makefile.in
--- libclamav/Makefile.in.orig --- libclamav/Makefile.in.orig
+++ libclamav/Makefile.in +++ libclamav/Makefile.in
@@ -4567,6 +4567,9 @@ version.h: version.h.tmp @@ -4578,6 +4578,9 @@ version.h: version.h.tmp
fi fi
version.h.tmp: version.h.tmp:

View File

@ -1,4 +1,4 @@
$OpenBSD: patch-libclamav_clamav_h,v 1.3 2018/12/04 13:40:06 sthen Exp $ $OpenBSD: patch-libclamav_clamav_h,v 1.4 2019/01/07 22:49:14 sthen Exp $
Index: libclamav/clamav.h Index: libclamav/clamav.h
--- libclamav/clamav.h.orig --- libclamav/clamav.h.orig
@ -12,13 +12,3 @@ Index: libclamav/clamav.h
#include <unistd.h> #include <unistd.h>
@@ -64,8 +64,7 @@
#include <sys/types.h>
#include <sys/stat.h>
-
-#include "cltypes.h"
+#include <inttypes.h>
#ifdef __cplusplus
extern "C"

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-libclamav_ole2_extract_c,v 1.17 2018/04/11 21:35:58 sthen Exp $ $OpenBSD: patch-libclamav_ole2_extract_c,v 1.18 2019/01/07 22:49:14 sthen Exp $
allow for machine arch where char is unsigned by default (e.g. arm, powerpc) allow for machine arch where char is unsigned by default (e.g. arm, powerpc)
Index: libclamav/ole2_extract.c Index: libclamav/ole2_extract.c
--- libclamav/ole2_extract.c.orig --- libclamav/ole2_extract.c.orig
+++ libclamav/ole2_extract.c +++ libclamav/ole2_extract.c
@@ -236,7 +236,7 @@ static unsigned char magic_id[] = {0xd0, 0xcf, 0x11, 0 @@ -235,7 +235,7 @@ static unsigned char magic_id[] = {0xd0, 0xcf, 0x11, 0
static char * static char *

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-libclamav_str_c,v 1.15 2018/12/04 12:33:40 sthen Exp $ $OpenBSD: patch-libclamav_str_c,v 1.16 2019/01/07 22:49:14 sthen Exp $
allow for machine arch where char is unsigned by default (e.g. arm, powerpc) allow for machine arch where char is unsigned by default (e.g. arm, powerpc)
Index: libclamav/str.c Index: libclamav/str.c
--- libclamav/str.c.orig --- libclamav/str.c.orig
+++ libclamav/str.c +++ libclamav/str.c
@@ -172,9 +172,9 @@ int cli_hex2str_to(const char *hex, char *ptr, size_t @@ -171,9 +171,9 @@ int cli_hex2str_to(const char *hex, char *ptr, size_t
for(i = 0; i < len; i += 2) { for(i = 0; i < len; i += 2) {
if((c = cli_hex2int(hex[i])) >= 0) { if((c = cli_hex2int(hex[i])) >= 0) {

View File

@ -1,11 +1,11 @@
$OpenBSD: patch-unit_tests_Makefile_in,v 1.12 2018/12/04 12:33:40 sthen Exp $ $OpenBSD: patch-unit_tests_Makefile_in,v 1.13 2019/01/07 22:49:14 sthen Exp $
unnecessary gnu-ism unnecessary gnu-ism
Index: unit_tests/Makefile.in Index: unit_tests/Makefile.in
--- unit_tests/Makefile.in.orig --- unit_tests/Makefile.in.orig
+++ unit_tests/Makefile.in +++ unit_tests/Makefile.in
@@ -1501,7 +1501,7 @@ check_clamd.sh: $(top_builddir)/test/clam.exe check_cl @@ -1514,7 +1514,7 @@ check_clamd.sh: $(top_builddir)/test/clam.exe check_cl
check_clamscan.sh: $(top_builddir)/test/clam.exe check_clamscan.sh: $(top_builddir)/test/clam.exe
clamav.hdb: input/clamav.hdb clamav.hdb: input/clamav.hdb

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.29 2018/12/04 13:40:06 sthen Exp $ @comment $OpenBSD: PLIST,v 1.30 2019/01/07 22:49:14 sthen Exp $
@newgroup _clamav:539 @newgroup _clamav:539
@newuser _clamav:539:539:daemon:Clam AntiVirus:/nonexistent:/sbin/nologin @newuser _clamav:539:539:daemon:Clam AntiVirus:/nonexistent:/sbin/nologin
@extraunexec rm -fr /var/db/clamav/* @extraunexec rm -fr /var/db/clamav/*
@ -17,6 +17,7 @@ bin/clamav-config
@bin bin/clamsubmit @bin bin/clamsubmit
@bin bin/freshclam @bin bin/freshclam
@bin bin/sigtool @bin bin/sigtool
include/clamav-types.h
include/clamav.h include/clamav.h
lib/libclamav.a lib/libclamav.a
lib/libclamav.la lib/libclamav.la