aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-plaso
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2015-02-01 20:42:54 +0800
committerantoine <antoine@FreeBSD.org>2015-02-01 20:42:54 +0800
commit809e32adbf5429b470e3be00a86a3fcff92c5164 (patch)
treef240c812d408e6ad3302f3252abf9eb95b6b9441 /security/py-plaso
parent8b729ba3c410a4cd88b8ea819e359d5d133ed62f (diff)
downloadfreebsd-ports-gnome-809e32adbf5429b470e3be00a86a3fcff92c5164.tar.gz
freebsd-ports-gnome-809e32adbf5429b470e3be00a86a3fcff92c5164.tar.zst
freebsd-ports-gnome-809e32adbf5429b470e3be00a86a3fcff92c5164.zip
- Update textproc/py-pyelasticsearch to 1.0
- Adjust security/py-plaso dependencies and patch it to be less noisy
Diffstat (limited to 'security/py-plaso')
-rw-r--r--security/py-plaso/Makefile2
-rw-r--r--security/py-plaso/files/patch-plaso_output_elastic.py11
2 files changed, 13 insertions, 0 deletions
diff --git a/security/py-plaso/Makefile b/security/py-plaso/Makefile
index f82298c275fa..1088fc81439c 100644
--- a/security/py-plaso/Makefile
+++ b/security/py-plaso/Makefile
@@ -3,6 +3,7 @@
PORTNAME= plaso
PORTVERSION= 1.2.0
+PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= https://googledrive.com/host/0B30H7z4S52FleW5vUHBnblJfcjg/${PORTVERSION}/final/ \
LOCAL/antoine
@@ -37,6 +38,7 @@ RUN_DEPENDS= hachoir-core>=0:${PORTSDIR}/devel/hachoir-core \
${PYTHON_PKGNAMEPREFIX}pyelasticsearch>=0:${PORTSDIR}/textproc/py-pyelasticsearch \
${PYTHON_PKGNAMEPREFIX}pytsk>=0:${PORTSDIR}/sysutils/py-pytsk \
${PYTHON_PKGNAMEPREFIX}pytz>=0:${PORTSDIR}/devel/py-pytz \
+ ${PYTHON_PKGNAMEPREFIX}requests>=0:${PORTSDIR}/www/py-requests \
${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3 \
${PYTHON_PKGNAMEPREFIX}yaml>=0:${PORTSDIR}/devel/py-yaml
diff --git a/security/py-plaso/files/patch-plaso_output_elastic.py b/security/py-plaso/files/patch-plaso_output_elastic.py
new file mode 100644
index 000000000000..b722012a9dc8
--- /dev/null
+++ b/security/py-plaso/files/patch-plaso_output_elastic.py
@@ -0,0 +1,11 @@
+--- plaso/output/elastic.py.orig 2014-12-20 17:43:35 UTC
++++ plaso/output/elastic.py
+@@ -81,6 +81,8 @@ class Elastic(output.LogOutputFormatter)
+ elastic_port = getattr(config, 'elastic_port', 9200)
+ 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)
+
+ case_name = getattr(config, 'case_name', u'')
+ document_type = getattr(config, 'document_type', u'')