aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/py-rekall-core/Makefile21
-rw-r--r--security/py-rekall-core/distinfo6
-rw-r--r--security/py-rekall-core/files/patch-setup.py20
-rw-r--r--security/py-rekall/Makefile12
-rw-r--r--security/py-rekall/distinfo6
-rw-r--r--security/py-rekall/files/patch-setup.py12
-rw-r--r--security/py-rekall_gui/Makefile2
7 files changed, 55 insertions, 24 deletions
diff --git a/security/py-rekall-core/Makefile b/security/py-rekall-core/Makefile
index 065cb2b69e6d..5d6e00bb3d13 100644
--- a/security/py-rekall-core/Makefile
+++ b/security/py-rekall-core/Makefile
@@ -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>
diff --git a/security/py-rekall-core/distinfo b/security/py-rekall-core/distinfo
index ba476081fa74..0372d8ca1639 100644
--- a/security/py-rekall-core/distinfo
+++ b/security/py-rekall-core/distinfo
@@ -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
diff --git a/security/py-rekall-core/files/patch-setup.py b/security/py-rekall-core/files/patch-setup.py
index 59318f518c39..545c55683960 100644
--- a/security/py-rekall-core/files/patch-setup.py
+++ b/security/py-rekall-core/files/patch-setup.py
@@ -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:
diff --git a/security/py-rekall/Makefile b/security/py-rekall/Makefile
index d3ddaf4fa3a7..862ef84edbbb 100644
--- a/security/py-rekall/Makefile
+++ b/security/py-rekall/Makefile
@@ -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 framework
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>
diff --git a/security/py-rekall/distinfo b/security/py-rekall/distinfo
index 9dbecea18b1c..55057316113a 100644
--- a/security/py-rekall/distinfo
+++ b/security/py-rekall/distinfo
@@ -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
diff --git a/security/py-rekall/files/patch-setup.py b/security/py-rekall/files/patch-setup.py
new file mode 100644
index 000000000000..9c3d690e58e5
--- /dev/null
+++ b/security/py-rekall/files/patch-setup.py
@@ -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
+
diff --git a/security/py-rekall_gui/Makefile b/security/py-rekall_gui/Makefile
index 0d023d2c17b0..dc887b8c7d17 100644
--- a/security/py-rekall_gui/Makefile
+++ b/security/py-rekall_gui/Makefile
@@ -12,6 +12,8 @@ COMMENT= GUI component of the Rekall framework
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 \