Skip to content

Commit

Permalink
security/clamav: sync with upstream
Browse files Browse the repository at this point in the history
Taken from: HardenedBSD
  • Loading branch information
fichtner committed Jan 26, 2018
1 parent 35dfedb commit 46134d2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 31 deletions.
7 changes: 3 additions & 4 deletions security/clamav/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# $FreeBSD$

PORTNAME= clamav
PORTVERSION= 0.99.2
PORTREVISION= 9
PORTVERSION= 0.99.3
CATEGORIES= security
MASTER_SITES= http://www.clamav.net/downloads/production/

Expand Down Expand Up @@ -51,9 +50,9 @@ IPV6_CONFIGURE_ENABLE= ipv6
DMG_XAR_CONFIGURE_ENABLE= xml
DMG_XAR_USE= GNOME=libxml2

USES= cpe gmake libtool ncurses pathfix ssl
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
USES= cpe gmake libtool ncurses pathfix
INSTALL_TARGET= install-strip
USE_RC_SUBR= clamav-clamd clamav-freshclam

Expand Down Expand Up @@ -177,7 +176,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|0x100000000|0x100000000ULL|g' \
${WRKSRC}/libclamunrar/unrar.c

.if ${PORT_OPTIONS:MLLVM} && ${PORT_OPTIONS:MTESTS}
.if ${PORT_OPTIONS:MTESTS}
pre-configure:
@if ! ${PYTHON_CMD} -c "import thread" >/dev/null 2>&1; then \
${ECHO_MSG} ""; \
Expand Down
5 changes: 3 additions & 2 deletions security/clamav/distinfo
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
SHA256 (clamav-0.99.2.tar.gz) = 167bd6a13e05ece326b968fdb539b05c2ffcfef6018a274a10aeda85c2c0027a
SIZE (clamav-0.99.2.tar.gz) = 16067497
TIMESTAMP = 1516919350
SHA256 (clamav-0.99.3.tar.gz) = 00fa5292a6e00a3a4035b826267748965d5d2c4943d8ff417d740238263e8e84
SIZE (clamav-0.99.3.tar.gz) = 16082645
23 changes: 0 additions & 23 deletions security/clamav/files/patch-configure

This file was deleted.

4 changes: 2 additions & 2 deletions security/clamav/files/patch-libclamav_regex_pcre.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- libclamav/regex_pcre.c~ 2017-11-28 14:40:56.484208243 +0100
+++ libclamav/regex_pcre.c 2017-11-28 14:41:07.301207800 +0100
--- libclamav/regex_pcre.c.orig 2018-01-23 21:04:06 UTC
+++ libclamav/regex_pcre.c
@@ -112,7 +112,8 @@ int cli_pcre_addoptions(struct cli_pcre_
#if USING_PCRE2
int cli_pcre_compile(struct cli_pcre_data *pd, long long unsigned match_limit, long long unsigned match_limit_recursion, unsigned int options, int opt_override)
Expand Down

0 comments on commit 46134d2

Please sign in to comment.