Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 2021 20:55:39 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r565457 - in head/security: . apkid apkid/files
Message-ID:  <202102162055.11GKtdko010080@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Tue Feb 16 20:55:38 2021
New Revision: 565457
URL: https://svnweb.freebsd.org/changeset/ports/565457

Log:
  Adding APKiD, an Android Application Identifier for Packers, Protectors,
  Obfuscators and Oddities.

Added:
  head/security/apkid/
  head/security/apkid/Makefile   (contents, props changed)
  head/security/apkid/distinfo   (contents, props changed)
  head/security/apkid/files/
  head/security/apkid/files/patch-setup.py   (contents, props changed)
  head/security/apkid/pkg-descr   (contents, props changed)
  head/security/apkid/pkg-plist   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Tue Feb 16 20:33:33 2021	(r565456)
+++ head/security/Makefile	Tue Feb 16 20:55:38 2021	(r565457)
@@ -30,6 +30,7 @@
     SUBDIR += amavisd-new
     SUBDIR += apache-xml-security-c
     SUBDIR += apg
+    SUBDIR += apkid
     SUBDIR += arirang
     SUBDIR += arpCounterattack
     SUBDIR += asignify

Added: head/security/apkid/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/apkid/Makefile	Tue Feb 16 20:55:38 2021	(r565457)
@@ -0,0 +1,38 @@
+# Created by: thierry@pompo.net
+# $FreeBSD$
+
+PORTNAME=	APKiD
+PORTVERSION=	2.1.1
+DISTVERSIONPREFIX=	v
+CATEGORIES=	security
+
+MAINTAINER=	thierry@FreeBSD.org
+COMMENT=	Android Application Identifier
+
+LICENSE=	GPLv3 RedNaga
+LICENSE_COMB=	dual
+LICENSE_NAME_RedNaga=	Commercial
+LICENSE_FILE_RedNaga=	${WRKSRC}/LICENSE.COMMERCIAL
+LICENSE_PERMS_RedNaga=	pkg-mirror pkg-sell
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	rednaga
+
+USES=		python:3.7+
+USE_PYTHON=	distutils
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}yara>0:security/py-yara@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}yara>0:security/py-yara@${PY_FLAVOR}
+
+PY_YARA_VER=	4.0.2	# Version of security/py-yara
+
+PLIST_SUB=	VER=${PORTVERSION}
+NO_ARCH=	yes
+
+post-install:
+	(cd ${WRKSRC} && ${PYTHON_CMD} ./prep-release.py)
+	${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/apkid/rules
+	${CP} ${WRKSRC}/apkid/rules/rules.yarc	\
+		${STAGEDIR}${PYTHON_SITELIBDIR}/apkid/rules/
+
+.include <bsd.port.mk>

Added: head/security/apkid/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/apkid/distinfo	Tue Feb 16 20:55:38 2021	(r565457)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1613499348
+SHA256 (rednaga-APKiD-v2.1.1_GH0.tar.gz) = a6c96a4eae236748feef8a0b5cbdb3879f5e97d6f114d737ef39b468fb0d5038
+SIZE (rednaga-APKiD-v2.1.1_GH0.tar.gz) = 55685

Added: head/security/apkid/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/apkid/files/patch-setup.py	Tue Feb 16 20:55:38 2021	(r565457)
@@ -0,0 +1,11 @@
+--- setup.py.orig	2020-11-12 18:52:12 UTC
++++ setup.py
+@@ -47,7 +47,7 @@ def package_files(directory):
+ 
+ 
+ install_requires = [
+-    'yara-python==3.11.0',
++    'yara-python>=3.11.0',
+ ]
+ 
+ dev_requires = [

Added: head/security/apkid/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/apkid/pkg-descr	Tue Feb 16 20:55:38 2021	(r565457)
@@ -0,0 +1,8 @@
+APKiD is an Android Application Identifier for Packers, Protectors, Obfuscators
+and Oddities.
+
+It gives you information about how an APK was made. It identifies many
+compilers, packers, obfuscators, and other weird stuff. It's PEiD for Android.
+
+WWW: https://github.com/rednaga/APKiD
+WWW: https://rednaga.io/

Added: head/security/apkid/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/apkid/pkg-plist	Tue Feb 16 20:55:38 2021	(r565457)
@@ -0,0 +1,24 @@
+bin/apkid
+%%PYTHON_SITELIBDIR%%/apkid-%%VER%%-py%%PYTHON_VER%%.egg-info/PKG-INFO
+%%PYTHON_SITELIBDIR%%/apkid-%%VER%%-py%%PYTHON_VER%%.egg-info/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/apkid-%%VER%%-py%%PYTHON_VER%%.egg-info/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/apkid-%%VER%%-py%%PYTHON_VER%%.egg-info/entry_points.txt
+%%PYTHON_SITELIBDIR%%/apkid-%%VER%%-py%%PYTHON_VER%%.egg-info/not-zip-safe
+%%PYTHON_SITELIBDIR%%/apkid-%%VER%%-py%%PYTHON_VER%%.egg-info/requires.txt
+%%PYTHON_SITELIBDIR%%/apkid-%%VER%%-py%%PYTHON_VER%%.egg-info/top_level.txt
+%%PYTHON_SITELIBDIR%%/apkid/__init__.py
+%%PYTHON_SITELIBDIR%%/apkid/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/apkid/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/apkid/__pycache__/apkid.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/apkid/__pycache__/apkid.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/apkid/__pycache__/main.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/apkid/__pycache__/main.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/apkid/__pycache__/output.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/apkid/__pycache__/output.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/apkid/__pycache__/rules.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
+%%PYTHON_SITELIBDIR%%/apkid/__pycache__/rules.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/apkid/apkid.py
+%%PYTHON_SITELIBDIR%%/apkid/main.py
+%%PYTHON_SITELIBDIR%%/apkid/output.py
+%%PYTHON_SITELIBDIR%%/apkid/rules.py
+%%PYTHON_SITELIBDIR%%/apkid/rules/rules.yarc



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