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:
parent
e0ddbd9df9
commit
e5435d92c1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378241
@ -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
|
||||
|
||||
|
11
security/py-plaso/files/patch-plaso_output_elastic.py
Normal file
11
security/py-plaso/files/patch-plaso_output_elastic.py
Normal 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'')
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user