1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-20 08:27:15 +00:00

- 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
This commit is contained in:
Antoine Brodin 2017-01-07 16:42:10 +00:00
parent 51aab0b781
commit 06fcb32ef4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430814
7 changed files with 55 additions and 24 deletions

View File

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

View File

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

View File

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

View File

@ -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>
.include <bsd.port.mk>
PYDISTUTILS_INSTALLARGS+=--install-data ${DATADIR}
.include <bsd.port.post.mk>

View File

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

View File

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

View File

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