1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

security/py-yara-python-dex: adding prebuilt dex-enabled yara-python wheels

This is needed to upgrade APKiD.

Also add a conflict with security/py-yara.
This commit is contained in:
Thierry Thomas 2022-04-12 17:28:40 +02:00
parent d1c68240c0
commit 02c5def706
4 changed files with 45 additions and 0 deletions

View File

@ -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 <bsd.port.mk>

View File

@ -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

View File

@ -0,0 +1,5 @@
With this library you can use YARA from your Python programs. It covers all
YARAs features, from compiling, saving and loading rules to scanning files,
strings and processes.
WWW: https://github.com/MobSF/yara-python-dex

View File

@ -10,6 +10,8 @@ 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