aboutsummaryrefslogtreecommitdiff
path: root/security/py-plaso
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2015-02-01 12:42:54 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2015-02-01 12:42:54 +0000
commite5435d92c1bd9ec888ba69b18a3f8dd555dcaeb2 (patch)
treef240c812d408e6ad3302f3252abf9eb95b6b9441 /security/py-plaso
parente0ddbd9df993dc75c1fcc696540af7c81c821622 (diff)
downloadports-e5435d92c1bd9ec888ba69b18a3f8dd555dcaeb2.tar.gz
ports-e5435d92c1bd9ec888ba69b18a3f8dd555dcaeb2.zip
- Update textproc/py-pyelasticsearch to 1.0
- Adjust security/py-plaso dependencies and patch it to be less noisy
Notes
Notes: svn path=/head/; revision=378241
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'')