svn commit: r430814 - in head/security: py-rekall py-rekall-core py-rekall-core/files py-rekall/files py-rekall_gui

Antoine Brodin antoine at FreeBSD.org
Sat Jan 7 16:42:12 UTC 2017


Author: antoine
Date: Sat Jan  7 16:42:10 2017
New Revision: 430814
URL: https://svnweb.freebsd.org/changeset/ports/430814

Log:
  - Update py-rekall-core to 1.6.0
  - Ignore py-rekall_gui: doesn't work with py-rekall-core 1.6.0 yet
  - Ignore py-rekall: requires ipython 5.0.0

Added:
  head/security/py-rekall/files/
  head/security/py-rekall/files/patch-setup.py   (contents, props changed)
Modified:
  head/security/py-rekall-core/Makefile
  head/security/py-rekall-core/distinfo
  head/security/py-rekall-core/files/patch-setup.py
  head/security/py-rekall/Makefile
  head/security/py-rekall/distinfo
  head/security/py-rekall_gui/Makefile

Modified: head/security/py-rekall-core/Makefile
==============================================================================
--- head/security/py-rekall-core/Makefile	Sat Jan  7 16:40:20 2017	(r430813)
+++ head/security/py-rekall-core/Makefile	Sat Jan  7 16:42:10 2017	(r430814)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	rekall-core
-DISTVERSION=	1.5.2.post1
-PORTREVISION=	1
+PORTVERSION=	1.6.0
 CATEGORIES=	security python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -15,22 +14,30 @@ LICENSE=	GPLv2
 
 RUN_DEPENDS=	cabextract:archivers/cabextract \
 		${PYTHON_PKGNAMEPREFIX}artifacts>=20160114:security/py-artifacts \
-		${PYTHON_PKGNAMEPREFIX}pyaff4>=0.23:security/py-pyaff4 \
+		${PYTHON_PKGNAMEPREFIX}pyaff4>=0.24.p1:security/py-pyaff4 \
 		${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml \
 		${PYTHON_PKGNAMEPREFIX}acora>=2.0:textproc/py-acora \
 		${PYTHON_PKGNAMEPREFIX}arrow>=0.7.0:devel/py-arrow \
-		${PYTHON_PKGNAMEPREFIX}efilter>=1.2,1:devel/py-efilter \
+		${PYTHON_PKGNAMEPREFIX}efilter>=1.3,1:devel/py-efilter \
 		${PYTHON_PKGNAMEPREFIX}intervaltree>=2.1.0:devel/py-intervaltree \
 		${PYTHON_PKGNAMEPREFIX}pycrypto>=2.6.1:security/py-pycrypto \
-		${PYTHON_PKGNAMEPREFIX}pyelftools>=0.23:devel/py-pyelftools \
+		${PYTHON_PKGNAMEPREFIX}pyelftools>=0.24:devel/py-pyelftools \
+		${PYTHON_PKGNAMEPREFIX}pyparsing>=2.1.5:devel/py-pyparsing \
 		${PYTHON_PKGNAMEPREFIX}pytz>=2016.4,1:devel/py-pytz \
+		${PYTHON_PKGNAMEPREFIX}psutil>=4.0:sysutils/py-psutil \
 		${PYTHON_PKGNAMEPREFIX}capstone>=3.0.4:devel/py-capstone \
 		${PYTHON_PKGNAMEPREFIX}yara>=3.4.0:security/py-yara \
 		${PYTHON_PKGNAMEPREFIX}sortedcontainers>=1.4.4:devel/py-sortedcontainers \
-		${PYTHON_PKGNAMEPREFIX}dateutil>=2.4.2:devel/py-dateutil
+		${PYTHON_PKGNAMEPREFIX}pytsk>=20160721:sysutils/py-pytsk \
+		${PYTHON_PKGNAMEPREFIX}ipaddr>=2.1.11:devel/py-ipaddr \
+		${PYTHON_PKGNAMEPREFIX}dateutil>=2.5.3:devel/py-dateutil
 
 NO_ARCH=	yes
 USES=		python:2.7 zip
 USE_PYTHON=	distutils autoplist
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+PYDISTUTILS_INSTALLARGS+=	--install-data=${PYTHON_SITELIBDIR}
+
+.include <bsd.port.post.mk>

Modified: head/security/py-rekall-core/distinfo
==============================================================================
--- head/security/py-rekall-core/distinfo	Sat Jan  7 16:40:20 2017	(r430813)
+++ head/security/py-rekall-core/distinfo	Sat Jan  7 16:42:10 2017	(r430814)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1468650332
-SHA256 (rekall-core-1.5.2.post1.zip) = 239a572cdd7a6dc57fa450da5591b845b149422a372fd787d7ab7d9c2dbf88a2
-SIZE (rekall-core-1.5.2.post1.zip) = 1036768
+TIMESTAMP = 1478284762
+SHA256 (rekall-core-1.6.0.zip) = 5428a100d218053c5a09391c94a09757e1c4db2ae46cf41da25e3c970f3e7745
+SIZE (rekall-core-1.6.0.zip) = 1065943

Modified: head/security/py-rekall-core/files/patch-setup.py
==============================================================================
--- head/security/py-rekall-core/files/patch-setup.py	Sat Jan  7 16:40:20 2017	(r430813)
+++ head/security/py-rekall-core/files/patch-setup.py	Sat Jan  7 16:42:10 2017	(r430814)
@@ -1,6 +1,6 @@
---- setup.py.orig	2016-06-28 17:04:14 UTC
+--- setup.py.orig	2016-11-03 22:17:38 UTC
 +++ setup.py
-@@ -50,23 +50,23 @@ def find_data_files(source):
+@@ -51,27 +51,27 @@ def find_data_files(source):
  # approach ensures that any Rekall version will always work as tested - even
  # when external packages are upgraded in an incompatible way.
  install_requires = [
@@ -12,11 +12,15 @@
 -    "efilter == 1!1.3",
 -    "intervaltree == 2.1.0",
 -    "pycrypto == 2.6.1",
--    "pyelftools == 0.23",
+-    "pyelftools == 0.24",
+-    "pyparsing==2.1.5",
 -    "pytz == 2016.4",
+-    "psutil >= 4.0, < 5.0",
 -    "rekall-capstone == 3.0.4.post2",
 -    "rekall-yara == 3.4.0.1",
 -    "sortedcontainers == 1.4.4",
+-    "pytsk3 == 20160721",
+-    "ipaddr==2.1.11",
 +    "artifacts >= 20160114",
 +    "pyaff4 >= 0.24",
 +    "PyYAML >= 3.11",
@@ -25,16 +29,20 @@
 +    "efilter >= 1!1.3",
 +    "intervaltree >= 2.1.0",
 +    "pycrypto >= 2.6.1",
-+    "pyelftools >= 0.23",
++    "pyelftools >= 0.24",
++    "pyparsing>=2.1.5",
 +    "pytz >= 2016.4",
++    "psutil >= 4.0",
 +    "capstone >= 3.0.4",
 +    "yara-python >= 3.4.0",
 +    "sortedcontainers >= 1.4.4",
++    "pytsk3 >= 20160721",
++    "ipaddr>=2.1.11",
  
      # Version 2.5.0 is broken with pyinstaller.
      # https://github.com/pyinstaller/pyinstaller/issues/1848
 -    "python-dateutil == 2.5.3",
-+    "python-dateutil >= 2.5.0",
++    "python-dateutil >= 2.5.3",
  ]
  
- 
+ if "VIRTUAL_ENV" not in os.environ:

Modified: head/security/py-rekall/Makefile
==============================================================================
--- head/security/py-rekall/Makefile	Sat Jan  7 16:40:20 2017	(r430813)
+++ head/security/py-rekall/Makefile	Sat Jan  7 16:42:10 2017	(r430814)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	rekall
-PORTVERSION=	1.5.2
+PORTVERSION=	1.6.0
 CATEGORIES=	security python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,15 +12,17 @@ COMMENT=	Memory forensics analysis frame
 
 LICENSE=	GPLv2
 
+IGNORE=		requires ipython 5.0.0 or higher
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}rekall-core>=1.5.0.p:security/py-rekall-core \
-		${PYTHON_PKGNAMEPREFIX}rekall_gui>=1.5.0.p:security/py-rekall_gui \
 		${PYTHON_PKGNAMEPREFIX}ipython>=0:devel/ipython
 
 NO_ARCH=	yes
 USES=		python:2.7 zip
 USE_PYTHON=	distutils autoplist
 
-post-patch:
-	@${REINPLACE_CMD} 's|ipython >= 4.1.2, < 5.0|ipython|' ${WRKSRC}/setup.py
+.include <bsd.port.pre.mk>
+
+PYDISTUTILS_INSTALLARGS+=--install-data ${DATADIR}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/security/py-rekall/distinfo
==============================================================================
--- head/security/py-rekall/distinfo	Sat Jan  7 16:40:20 2017	(r430813)
+++ head/security/py-rekall/distinfo	Sat Jan  7 16:42:10 2017	(r430814)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1468660883
-SHA256 (rekall-1.5.2.zip) = ba6aab29e2002607369cf159d924d1f4bca341a183f73b6005f2f8c1bb36e8f8
-SIZE (rekall-1.5.2.zip) = 392183
+TIMESTAMP = 1478337079
+SHA256 (rekall-1.6.0.zip) = 261cbc31c4f1eb91b8e2cefb7a5bbfe547539b091d58ff7d91f181494ae0af8a
+SIZE (rekall-1.6.0.zip) = 301230

Added: head/security/py-rekall/files/patch-setup.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-rekall/files/patch-setup.py	Sat Jan  7 16:42:10 2017	(r430814)
@@ -0,0 +1,12 @@
+--- setup.py.orig	2016-11-03 22:17:38 UTC
++++ setup.py
+@@ -80,7 +80,8 @@ def find_data_files(source):
+     result = []
+     for directory, _, files in os.walk(source):
+         files = [os.path.join(directory, x) for x in files]
+-        result.append((directory, files))
++        if files:
++            result.append((directory, files))
+ 
+     return result
+ 

Modified: head/security/py-rekall_gui/Makefile
==============================================================================
--- head/security/py-rekall_gui/Makefile	Sat Jan  7 16:40:20 2017	(r430813)
+++ head/security/py-rekall_gui/Makefile	Sat Jan  7 16:42:10 2017	(r430814)
@@ -12,6 +12,8 @@ COMMENT=	GUI component of the Rekall fra
 
 LICENSE=	GPLv2
 
+IGNORE=		does not work with rekall-core 1.6.0
+
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}rekall-core>=1.5.0.p:security/py-rekall-core \
 		${PYTHON_PKGNAMEPREFIX}codegen>=1.0:devel/py-codegen \
 		${PYTHON_PKGNAMEPREFIX}Flask>=0.10.1:www/py-flask \


More information about the svn-ports-head mailing list