From nobody Tue Apr 12 17:38:15 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id ADA2F7CCCAF; Tue, 12 Apr 2022 17:38:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KdCcR4Sk2z4tpM; Tue, 12 Apr 2022 17:38:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649785095; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zhCpLppoeJ+Zv83RmlYNK8w7vNU/ajC3LzX6z/3ssts=; b=Kwnil7pK95yiAKXVxpRdQKufgemj0/jr0h2KQ8G+pBxFFMi/cZhYX0k9kyeuCmHaeQINSI 8stE7zqHPFCjF8eWQXMqXdvFs4w7+mfKWFkE20TJ5A35RU1PjBndizSNCZ8JizOQ1+jI0l 2Qu6l3HR3+JWYtNMZ+dnVXYpTK4ViN6XhIKWszqrZ7Y4W4pnb7Bjs18t/dE4b177sOhB7y muqo8GUQzXFL9YWAoKeNgOvr0vYQ1+PtDHRkts5zvK8fwqMnVuMKRzn+4QzJcvMdjcyPhd vbZwC2ZfE6guRWu4HF5q5WXzI96Lt30IKMc31QDWw4ZgCoW3leADt5ZJrkuY4w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 799CB1BB4B; Tue, 12 Apr 2022 17:38:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23CHcFxt083636; Tue, 12 Apr 2022 17:38:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23CHcFde083635; Tue, 12 Apr 2022 17:38:15 GMT (envelope-from git) Date: Tue, 12 Apr 2022 17:38:15 GMT Message-Id: <202204121738.23CHcFde083635@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Thierry Thomas Subject: git: 02c5def706fa - main - security/py-yara-python-dex: adding prebuilt dex-enabled yara-python wheels List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: thierry X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 02c5def706fad2d802b611f03418e96434ecdedf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649785095; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zhCpLppoeJ+Zv83RmlYNK8w7vNU/ajC3LzX6z/3ssts=; b=izCdM9m6bYl24LNq3r6q6wNP1twcZA+NuTKhQCBTzfkgGgjrSm/nAEkZMJUmkbTV70EVMA N0scP/EpZLamHl/LcAfbOoeG6EzkiupXzkg0vTmclmICHBTA3ifd/4jj3cSDSXqgJ3US2x hgHk1VzKC8vayFuawlFm8zon5hiyh3bYfF9GtrLgSAmzPcD+IrPcRwYA7HPL705o/kW8Mv Gox7q552rZFC83XPRJMnrtI0IiOjFM3F2KDLMHREt2J9Yg5l2/oKhYYlNmGhv7ac7jmPh5 0ipK7O9L61WTCTFCWYrL5pRoZwd6zrtFGezX8lidWRsApY6k4LFsVAgMUBxUDA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649785095; a=rsa-sha256; cv=none; b=VADS3vZORv1P7548PPFoj67WpR/IYZUxp1v5q0YPmZR5F19MdhozNymsGDksfbmp3n07LZ I+yU0Aa6/DbKXLz1mcSLi1nIIo4F6TYY2ZUVtUyCqWWv/5mty/RZLDHX01x3tuRwJkQBgv T0iBY8WFUGNyt8iI08UjaRLBH1fK7JndcgEC43u5Zp3WHVpXBCEel5BS0i/9TnbQ/7iGLr yqybE+nTQnYawWsaY/W/EyVRyJgMmmWv4c20C5J3xRdgIpvTCB4/w4xdzi+ubbKGHJ1BRu nXU5Pzihn5KRQTk8fT9LNJTb42HIGPQ8IIC87vqMgT6b+Prk1wh4Va1e0AQ+Rw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by thierry: URL: https://cgit.FreeBSD.org/ports/commit/?id=02c5def706fad2d802b611f03418e96434ecdedf commit 02c5def706fad2d802b611f03418e96434ecdedf Author: Thierry Thomas AuthorDate: 2022-04-12 15:28:40 +0000 Commit: Thierry Thomas CommitDate: 2022-04-12 17:38:09 +0000 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. --- security/py-yara-python-dex/Makefile | 31 +++++++++++++++++++++++++++++++ security/py-yara-python-dex/distinfo | 7 +++++++ security/py-yara-python-dex/pkg-descr | 5 +++++ security/py-yara/Makefile | 2 ++ 4 files changed, 45 insertions(+) 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 @@ -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