diff --git a/security/py-yara-python-dex/Makefile b/security/py-yara-python-dex/Makefile new file mode 100644 index 000000000000..793abb8ef29b --- /dev/null +++ b/security/py-yara-python-dex/Makefile @@ -0,0 +1,31 @@ +# Created by: thierry@pompo.net + +PORTNAME= yara-python-dex +PORTVERSION= 1.0.1 +CATEGORIES= security python +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= thierry@FreeBSD.org +COMMENT= Prebuilt dex-enabled yara-python wheels + +LICENSE= APACHE20 + +USE_GITHUB= yes +GH_ACCOUNT= MobSF VirusTotal:yp VirusTotal:yp2 +GH_PROJECT= yara-python:yp yara:yp2 +GH_TAGNAME= 188cb6e85137f715fef563f61c6b4f21ad026562:yp \ + ed1a1a430c64cf908b61a5fadc3958866a840bc6:yp2 +GH_SUBDIR= yara-python:yp yara-python/yara:yp2 + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}yara + +USES= python:3.7+ ssl +USE_PYTHON= distutils + +.if !defined(WITH_DEBUG) +LDFLAGS+= -s +.endif + +PLIST_FILES= %%PYTHON_SITELIBDIR%%/yara%%PYTHON_EXT_SUFFIX%%.so + +.include diff --git a/security/py-yara-python-dex/distinfo b/security/py-yara-python-dex/distinfo new file mode 100644 index 000000000000..2aa15a092748 --- /dev/null +++ b/security/py-yara-python-dex/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1649780121 +SHA256 (MobSF-yara-python-dex-1.0.1_GH0.tar.gz) = c393b7f457f75d6e8ac7a3cca5676b89ba005491948051d3a23cb11f6c7f3018 +SIZE (MobSF-yara-python-dex-1.0.1_GH0.tar.gz) = 4423 +SHA256 (VirusTotal-yara-python-188cb6e85137f715fef563f61c6b4f21ad026562_GH0.tar.gz) = f685495d280ba2105fa4ca31e0ac8173f16c93c28514c2e66b25a57c7d2d45b8 +SIZE (VirusTotal-yara-python-188cb6e85137f715fef563f61c6b4f21ad026562_GH0.tar.gz) = 31860 +SHA256 (VirusTotal-yara-ed1a1a430c64cf908b61a5fadc3958866a840bc6_GH0.tar.gz) = 282b97f106076f389e8f74e8e957bdcefbe87cc34887a8be6b5efd64cc96f920 +SIZE (VirusTotal-yara-ed1a1a430c64cf908b61a5fadc3958866a840bc6_GH0.tar.gz) = 773459 diff --git a/security/py-yara-python-dex/pkg-descr b/security/py-yara-python-dex/pkg-descr new file mode 100644 index 000000000000..c13f5c1d5a77 --- /dev/null +++ b/security/py-yara-python-dex/pkg-descr @@ -0,0 +1,5 @@ +With this library you can use YARA from your Python programs. It covers all +YARA’s features, from compiling, saving and loading rules to scanning files, +strings and processes. + +WWW: https://github.com/MobSF/yara-python-dex diff --git a/security/py-yara/Makefile b/security/py-yara/Makefile index ee5b78d42496..430a692e99be 100644 --- a/security/py-yara/Makefile +++ b/security/py-yara/Makefile @@ -1,28 +1,30 @@ PORTNAME= yara PORTVERSION= 4.1.0 DISTVERSIONPREFIX= v CATEGORIES= security python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= antoine@FreeBSD.org COMMENT= Python bindings for yara LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}yara-python-dex + LIB_DEPENDS= libyara.so:security/yara USE_GITHUB= yes GH_ACCOUNT= VirusTotal GH_PROJECT= yara-python USES= cpe localbase python:3.6+ CPE_VENDOR= virustotal 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