Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2019 17:22:56 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r493885 - in head/security: py-yara yara
Message-ID:  <201902251722.x1PHMurr086910@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Mon Feb 25 17:22:55 2019
New Revision: 493885
URL: https://svnweb.freebsd.org/changeset/ports/493885

Log:
  Update yara to 3.9.0

Modified:
  head/security/py-yara/Makefile
  head/security/py-yara/distinfo
  head/security/yara/Makefile
  head/security/yara/distinfo
  head/security/yara/pkg-plist

Modified: head/security/py-yara/Makefile
==============================================================================
--- head/security/py-yara/Makefile	Mon Feb 25 17:02:26 2019	(r493884)
+++ head/security/py-yara/Makefile	Mon Feb 25 17:22:55 2019	(r493885)
@@ -1,21 +1,29 @@
 # $FreeBSD$
 
 PORTNAME=	yara
-PORTVERSION=	3.8.1
+PORTVERSION=	3.9.0
+DISTVERSIONPREFIX=	v
 CATEGORIES=	security python
-MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
-DISTNAME=	${PORTNAME}-python-${PORTVERSION}
 
 MAINTAINER=	antoine@FreeBSD.org
 COMMENT=	Python bindings for yara
 
 LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libyara.so:security/yara
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	VirusTotal
+GH_PROJECT=	yara-python
+
 USES=		localbase python
 USE_PYTHON=	distutils autoplist
 PYDISTUTILS_BUILDARGS=	--dynamic-linking
+
+DO_MAKE_TEST=	${SETENV} ${TEST_ENV} ${PYTHON_CMD} tests.py
+TEST_ENV=	${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+TEST_TARGET=	# empty
 
 .include <bsd.port.mk>

Modified: head/security/py-yara/distinfo
==============================================================================
--- head/security/py-yara/distinfo	Mon Feb 25 17:02:26 2019	(r493884)
+++ head/security/py-yara/distinfo	Mon Feb 25 17:22:55 2019	(r493885)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1534456750
-SHA256 (yara-python-3.8.1.tar.gz) = 8c76531e89806c0309586dd4863a972d12f1d5d63261c6d4b9331a99859fd1d8
-SIZE (yara-python-3.8.1.tar.gz) = 355542
+TIMESTAMP = 1550914627
+SHA256 (VirusTotal-yara-python-v3.9.0_GH0.tar.gz) = 5f6f599aa0216966d47c2faaefd1418a42fcab0462c07298c3fa4a82805dd8f5
+SIZE (VirusTotal-yara-python-v3.9.0_GH0.tar.gz) = 31624

Modified: head/security/yara/Makefile
==============================================================================
--- head/security/yara/Makefile	Mon Feb 25 17:02:26 2019	(r493884)
+++ head/security/yara/Makefile	Mon Feb 25 17:22:55 2019	(r493885)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	yara
-PORTVERSION=	3.8.1
+PORTVERSION=	3.9.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	security
 
@@ -11,14 +11,16 @@ COMMENT=	Malware identification and classification too
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+LIB_DEPENDS=	libjansson.so:devel/jansson
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	VirusTotal
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS=	--enable-magic --enable-dotnet --enable-macho --enable-dex
+CONFIGURE_ARGS=	--enable-cuckoo --enable-dex --enable-dotnet --enable-macho --enable-magic
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check
-USES=		alias autoreconf libtool pathfix ssl
+USES=		alias autoreconf libtool localbase pathfix ssl
 USE_LDCONFIG=	yes
 CPPFLAGS+=	-isystem ${OPENSSLINC}
 LIBS+=		-L${OPENSSLLIB}

Modified: head/security/yara/distinfo
==============================================================================
--- head/security/yara/distinfo	Mon Feb 25 17:02:26 2019	(r493884)
+++ head/security/yara/distinfo	Mon Feb 25 17:22:55 2019	(r493885)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1534456766
-SHA256 (VirusTotal-yara-v3.8.1_GH0.tar.gz) = 283527711269354d3c60e2705f7f74b1f769d2d35ddba8f7f9ce97d0fd5cb1ca
-SIZE (VirusTotal-yara-v3.8.1_GH0.tar.gz) = 715968
+TIMESTAMP = 1550914197
+SHA256 (VirusTotal-yara-v3.9.0_GH0.tar.gz) = ebe7fab0abadb90449a62afbd24e196e18b177efe71ffd8bf22df95c5386f64d
+SIZE (VirusTotal-yara-v3.9.0_GH0.tar.gz) = 749159

Modified: head/security/yara/pkg-plist
==============================================================================
--- head/security/yara/pkg-plist	Mon Feb 25 17:02:26 2019	(r493884)
+++ head/security/yara/pkg-plist	Mon Feb 25 17:22:55 2019	(r493885)
@@ -24,6 +24,7 @@ include/yara/rules.h
 include/yara/scan.h
 include/yara/scanner.h
 include/yara/sizedstr.h
+include/yara/stack.h
 include/yara/stopwatch.h
 include/yara/stream.h
 include/yara/strutils.h
@@ -33,7 +34,7 @@ include/yara/utils.h
 lib/libyara.a
 lib/libyara.so
 lib/libyara.so.3
-lib/libyara.so.3.8.1
+lib/libyara.so.3.9.0
 libdata/pkgconfig/yara.pc
 man/man1/yara.1.gz
 man/man1/yarac.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902251722.x1PHMurr086910>