Putting this here in case anyone is interested in testing this while it's still in beta.
Index: Makefile =================================================================== RCS file: /cvs/ports/security/clamav/Makefile,v retrieving revision 1.99 diff -u -p -r1.99 Makefile --- Makefile 5 May 2015 15:03:21 -0000 1.99 +++ Makefile 10 Sep 2015 18:09:57 -0000 @@ -1,12 +1,13 @@ # $OpenBSD: Makefile,v 1.99 2015/05/05 15:03:21 sthen Exp $ COMMENT= virus scanner -DISTNAME= clamav-0.98.7 +DISTNAME= clamav-0.99-beta2 +PKGNAME= ${DISTNAME:S/-b/b/} CATEGORIES= security -SHARED_LIBS += clamav 22.1 # 7.26 -SHARED_LIBS += clamunrar 3.0 # 7.26 +SHARED_LIBS += clamav 22.2 # 7.27 +SHARED_LIBS += clamunrar 3.0 # 7.27 SHARED_LIBS += clamunrar_iface 3.0 HOMEPAGE= http://www.clamav.net/ @@ -17,13 +18,14 @@ MAINTAINER= Stuart Henderson <sthen@ope PERMIT_PACKAGE_CDROM= Yes WANTLIB += bz2 c crypto curl idn ltdl lzma m milter ncurses -WANTLIB += pthread ssl stdc++ xml2 z +WANTLIB += pcre pthread ssl stdc++ xml2 z BUILD_DEPENDS= devel/check \ devel/libexecinfo LIB_DEPENDS= archivers/bzip2 \ devel/libtool,-ltdl \ + devel/pcre \ mail/sendmail,-libmilter \ net/curl \ textproc/libxml Index: distinfo =================================================================== RCS file: /cvs/ports/security/clamav/distinfo,v retrieving revision 1.54 diff -u -p -r1.54 distinfo --- distinfo 29 Apr 2015 21:27:39 -0000 1.54 +++ distinfo 10 Sep 2015 18:09:57 -0000 @@ -1,2 +1,2 @@ -SHA256 (clamav-0.98.7.tar.gz) = KCQXtwd0DeE82PGNTLyp3dGBz5a0RNssrZiROlFT4nI= -SIZE (clamav-0.98.7.tar.gz) = 15118851 +SHA256 (clamav-0.99-beta2.tar.gz) = q2qv/EdW96Ujtzs0yn3M/GR5rAsEo2yb1qXv1AlHpnQ= +SIZE (clamav-0.99-beta2.tar.gz) = 16027708 Index: patches/patch-clamd_Makefile_in =================================================================== RCS file: /cvs/ports/security/clamav/patches/patch-clamd_Makefile_in,v retrieving revision 1.18 diff -u -p -r1.18 patch-clamd_Makefile_in --- patches/patch-clamd_Makefile_in 29 Apr 2015 21:27:39 -0000 1.18 +++ patches/patch-clamd_Makefile_in 10 Sep 2015 18:09:57 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-clamd_Makefile_in,v 1.18 2015/04/29 21:27:39 sthen Exp $ ---- clamd/Makefile.in.orig Thu Apr 23 17:02:34 2015 -+++ clamd/Makefile.in Wed Apr 29 14:49:54 2015 -@@ -253,7 +253,9 @@ JSON_LDFLAGS = @JSON_LDFLAGS@ +--- clamd/Makefile.in.orig Mon Aug 31 18:14:00 2015 ++++ clamd/Makefile.in Thu Sep 10 19:01:17 2015 +@@ -259,7 +259,9 @@ JSON_LDFLAGS = @JSON_LDFLAGS@ JSON_LIBS = @JSON_LIBS@ LCOV = @LCOV@ LD = @LD@ @@ -9,6 +9,6 @@ $OpenBSD: patch-clamd_Makefile_in,v 1.18 +# Do not generate "LDFLAGS = -L/usr/local/lib" to build on systems that have +# have an older libclamav installed. +# LDFLAGS = @LDFLAGS@ - LIBADD_DL = @LIBADD_DL@ - LIBADD_DLD_LINK = @LIBADD_DLD_LINK@ - LIBADD_DLOPEN = @LIBADD_DLOPEN@ + LEX = @LEX@ + LEXLIB = @LEXLIB@ + LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ Index: patches/patch-database_Makefile_in =================================================================== RCS file: /cvs/ports/security/clamav/patches/patch-database_Makefile_in,v retrieving revision 1.15 diff -u -p -r1.15 patch-database_Makefile_in --- patches/patch-database_Makefile_in 29 Apr 2015 21:27:39 -0000 1.15 +++ patches/patch-database_Makefile_in 10 Sep 2015 18:09:57 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-database_Makefile_in,v 1.15 2015/04/29 21:27:39 sthen Exp $ ---- database/Makefile.in.orig Thu Apr 23 17:02:34 2015 -+++ database/Makefile.in Wed Apr 29 14:49:54 2015 -@@ -523,6 +523,8 @@ uninstall-am: +--- database/Makefile.in.orig Mon Aug 31 18:14:01 2015 ++++ database/Makefile.in Thu Sep 10 19:00:20 2015 +@@ -533,6 +533,8 @@ uninstall-am: install-data-local: Index: patches/patch-libclamav_Makefile_in =================================================================== RCS file: /cvs/ports/security/clamav/patches/patch-libclamav_Makefile_in,v retrieving revision 1.24 diff -u -p -r1.24 patch-libclamav_Makefile_in --- patches/patch-libclamav_Makefile_in 29 Apr 2015 21:27:39 -0000 1.24 +++ patches/patch-libclamav_Makefile_in 10 Sep 2015 18:09:57 -0000 @@ -1,7 +1,7 @@ $OpenBSD: patch-libclamav_Makefile_in,v 1.24 2015/04/29 21:27:39 sthen Exp $ ---- libclamav/Makefile.in.orig Thu Apr 23 17:02:34 2015 -+++ libclamav/Makefile.in Wed Apr 29 14:49:54 2015 -@@ -3379,6 +3379,9 @@ version.h: version.h.tmp +--- libclamav/Makefile.in.orig Mon Aug 31 18:14:02 2015 ++++ libclamav/Makefile.in Thu Sep 10 19:00:20 2015 +@@ -3666,6 +3666,9 @@ version.h: version.h.tmp fi version.h.tmp: Index: patches/patch-libclamav_ole2_extract_c =================================================================== RCS file: /cvs/ports/security/clamav/patches/patch-libclamav_ole2_extract_c,v retrieving revision 1.14 diff -u -p -r1.14 patch-libclamav_ole2_extract_c --- patches/patch-libclamav_ole2_extract_c 19 Nov 2014 00:18:01 -0000 1.14 +++ patches/patch-libclamav_ole2_extract_c 10 Sep 2015 18:09:57 -0000 @@ -2,9 +2,9 @@ $OpenBSD: patch-libclamav_ole2_extract_c allow for machine arch where char is unsigned by default (e.g. arm, powerpc) ---- 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 +--- libclamav/ole2_extract.c.orig Mon Aug 31 18:10:14 2015 ++++ libclamav/ole2_extract.c Thu Sep 10 19:00:20 2015 +@@ -230,7 +230,7 @@ static unsigned char magic_id[] = {0xd0, 0xcf, 0x11, 0 static char * Index: patches/patch-unit_tests_Makefile_in =================================================================== RCS file: /cvs/ports/security/clamav/patches/patch-unit_tests_Makefile_in,v retrieving revision 1.5 diff -u -p -r1.5 patch-unit_tests_Makefile_in --- patches/patch-unit_tests_Makefile_in 29 Apr 2015 21:27:39 -0000 1.5 +++ patches/patch-unit_tests_Makefile_in 10 Sep 2015 18:09:57 -0000 @@ -2,9 +2,9 @@ $OpenBSD: patch-unit_tests_Makefile_in,v unnecessary gnu-ism ---- unit_tests/Makefile.in.orig Thu Apr 23 17:02:34 2015 -+++ unit_tests/Makefile.in Wed Apr 29 14:49:54 2015 -@@ -1212,7 +1212,7 @@ check_clamd.sh: $(top_builddir)/test/clam.exe check_cl +--- unit_tests/Makefile.in.orig Mon Aug 31 18:14:03 2015 ++++ unit_tests/Makefile.in Thu Sep 10 19:00:20 2015 +@@ -1222,7 +1222,7 @@ check_clamd.sh: $(top_builddir)/test/clam.exe check_cl check_clamscan.sh: $(top_builddir)/test/clam.exe clamav.hdb: input/clamav.hdb