1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

- Update textproc/py-pyelasticsearch to 1.0

- Adjust security/py-plaso dependencies and patch it to be less noisy
This commit is contained in:
Antoine Brodin 2015-02-01 12:42:54 +00:00
parent e0ddbd9df9
commit e5435d92c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378241
4 changed files with 20 additions and 6 deletions

View File

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

View File

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

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pyelasticsearch
PORTVERSION= 0.7.1
PORTVERSION= 1.0
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,9 +12,10 @@ COMMENT= Flexible, high-scale API to elasticsearch
LICENSE= BSD3CLAUSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>=2.1.0:${PORTSDIR}/devel/py-simplejson \
${PYTHON_PKGNAMEPREFIX}six>0:${PORTSDIR}/devel/py-six \
${PYTHON_PKGNAMEPREFIX}requests>=1.0:${PORTSDIR}/www/py-requests
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}elasticsearch-py>=1.0.0:${PORTSDIR}/textproc/py-elasticsearch-py \
${PYTHON_PKGNAMEPREFIX}simplejson>=3.0:${PORTSDIR}/devel/py-simplejson \
${PYTHON_PKGNAMEPREFIX}six>=1.4.0:${PORTSDIR}/devel/py-six \
${PYTHON_PKGNAMEPREFIX}urllib3>=1.8:${PORTSDIR}/net/py-urllib3
USES= python
USE_PYTHON= distutils autoplist

View File

@ -1,2 +1,2 @@
SHA256 (pyelasticsearch-0.7.1.tar.gz) = df7a7ef0be35a8632f8e0cf53f5c8f7cd7456daa2470bb5a683feeff983d52a8
SIZE (pyelasticsearch-0.7.1.tar.gz) = 42244
SHA256 (pyelasticsearch-1.0.tar.gz) = 44ddfb1225054d7d6b1d02e9338e7d4809be94edbe9929a2ec0807d38df993fa
SIZE (pyelasticsearch-1.0.tar.gz) = 42432