diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2016-09-20 17:21:46 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2016-09-20 17:21:46 +0000 |
commit | 8782eca30fd5f439113265aed109dbf66c14405c (patch) | |
tree | 34b7cda72dba458200d78cd620427349d782f79f /security/py-plaso | |
parent | 425fdebf72aa620bf742638b8a078339687c7b1d (diff) | |
download | ports-8782eca30fd5f439113265aed109dbf66c14405c.tar.gz ports-8782eca30fd5f439113265aed109dbf66c14405c.zip |
Update plaso to 1.5.0
Notes
Notes:
svn path=/head/; revision=422525
Diffstat (limited to 'security/py-plaso')
-rw-r--r-- | security/py-plaso/Makefile | 20 | ||||
-rw-r--r-- | security/py-plaso/distinfo | 5 | ||||
-rw-r--r-- | security/py-plaso/files/patch-plaso_output_elastic.py | 11 |
3 files changed, 15 insertions, 21 deletions
diff --git a/security/py-plaso/Makefile b/security/py-plaso/Makefile index fac69dc438ea..3fbe2719fc13 100644 --- a/security/py-plaso/Makefile +++ b/security/py-plaso/Makefile @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= plaso -PORTVERSION= 1.4.0 -PORTREVISION= 1 +DISTVERSION= 1.5.0 CATEGORIES= security python MASTER_SITES= https://github.com/log2timeline/plaso/releases/download/${PORTVERSION}/ \ LOCAL/antoine @@ -13,6 +12,7 @@ MAINTAINER= antoine@FreeBSD.org COMMENT= Automatic creation of a super timeline LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= hachoir-core>=0:devel/hachoir-core \ hachoir-metadata>=0:sysutils/hachoir-metadata \ @@ -25,32 +25,36 @@ RUN_DEPENDS= hachoir-core>=0:devel/hachoir-core \ libmsiecf>=a:devel/libmsiecf \ libolecf>=a:devel/libolecf \ libregf>=a:devel/libregf \ + libscca>=a:devel/libscca \ ${PYTHON_PKGNAMEPREFIX}artifacts>=0:security/py-artifacts \ ${PYTHON_PKGNAMEPREFIX}bencode>=0:converters/py-bencode \ ${PYTHON_PKGNAMEPREFIX}binplist>=0:devel/py-binplist \ ${PYTHON_PKGNAMEPREFIX}construct>=0:devel/py-construct \ ${PYTHON_PKGNAMEPREFIX}dateutil>=0:devel/py-dateutil \ ${PYTHON_PKGNAMEPREFIX}dfvfs>=0:security/py-dfvfs \ + ${PYTHON_PKGNAMEPREFIX}dfwinreg>=0:security/py-dfwinreg \ ${PYTHON_PKGNAMEPREFIX}dpkt>=0:net/py-dpkt \ + ${PYTHON_PKGNAMEPREFIX}efilter>=0:devel/py-efilter \ ${PYTHON_PKGNAMEPREFIX}ipython>=0:devel/ipython \ - ${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing \ ${PYTHON_PKGNAMEPREFIX}pefile>=0:devel/py-pefile \ - ${PYTHON_PKGNAMEPREFIX}protobuf>=0:devel/py-protobuf \ - ${PYTHON_PKGNAMEPREFIX}psutil121>=0:sysutils/py-psutil121 \ - ${PYTHON_PKGNAMEPREFIX}pyelasticsearch>=0:textproc/py-pyelasticsearch \ + ${PYTHON_PKGNAMEPREFIX}psutil>=0:sysutils/py-psutil \ + ${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing \ ${PYTHON_PKGNAMEPREFIX}pytsk>=0:sysutils/py-pytsk \ ${PYTHON_PKGNAMEPREFIX}pytz>=0:devel/py-pytz \ ${PYTHON_PKGNAMEPREFIX}pyzmq>=0:net/py-pyzmq \ ${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3 \ ${PYTHON_PKGNAMEPREFIX}XlsxWriter>=0:textproc/py-xlsxwriter \ - ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml + ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml \ + ${PYTHON_PKGNAMEPREFIX}yara>=0:security/py-yara TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock NO_ARCH= yes USES= python:2.7 USE_PYTHON= distutils autoplist +TEST_ENV= ${MAKE_ENV} LANG=en_US.UTF-8 PYTHONHTTPSVERIFY=0 -# Note: for regression tests set LANG to en_US.UTF-8 +do-test: + @(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} run_tests.py) .include <bsd.port.mk> diff --git a/security/py-plaso/distinfo b/security/py-plaso/distinfo index 5cb64659a937..212ff1b48e60 100644 --- a/security/py-plaso/distinfo +++ b/security/py-plaso/distinfo @@ -1,2 +1,3 @@ -SHA256 (plaso-1.4.0.tar.gz) = 195e116c345d86a7c7a94458cb81c4ee5ac4c818316829d42850c0e65f39ffbf -SIZE (plaso-1.4.0.tar.gz) = 111623594 +TIMESTAMP = 1474384703 +SHA256 (plaso-1.5.0.tar.gz) = f0cf62fa4b601f0efc733998fccfd62c0f27c3e5c38ad56c28cbde04fe261ec8 +SIZE (plaso-1.5.0.tar.gz) = 111738523 diff --git a/security/py-plaso/files/patch-plaso_output_elastic.py b/security/py-plaso/files/patch-plaso_output_elastic.py deleted file mode 100644 index b238ab3b7c44..000000000000 --- a/security/py-plaso/files/patch-plaso_output_elastic.py +++ /dev/null @@ -1,11 +0,0 @@ ---- plaso/output/elastic.py.orig 2015-12-31 17:37:07 UTC -+++ plaso/output/elastic.py -@@ -135,6 +135,8 @@ class ElasticSearchOutputModule(interfac - """ - self._elastic_db = pyelasticsearch.ElasticSearch( - u'http://{0:s}:{1:d}'.format(elastic_host, elastic_port)) -+ logging.getLogger('elasticsearch.trace').setLevel(logging.WARNING) -+ logging.getLogger('elasticsearch').setLevel(logging.WARNING) - - def WriteEventBody(self, event_object): - """Writes the body of an event object to the output. |