git: 76b163ca87eb - main - textproc/py-splunk-hec: New port: Python class to submit events to Splunk HTTP Event Collector
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 30 Apr 2023 20:55:17 UTC
The branch main has been updated by acm:
URL: https://cgit.FreeBSD.org/ports/commit/?id=76b163ca87eb021ae9514a1742199871212f20bb
commit 76b163ca87eb021ae9514a1742199871212f20bb
Author: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2023-04-30 20:53:44 +0000
Commit: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-04-30 20:53:44 +0000
textproc/py-splunk-hec: New port: Python class to submit events to Splunk HTTP Event Collector
This is a python class file for use with other python scripts to send events to
a Splunk http event collector.
Supported products:
Splunk v6.3.X+
Splunk v6.4.X+ for the raw input option
---
textproc/Makefile | 1 +
textproc/py-splunk-hec/Makefile | 24 ++++++++++++++++++++++++
textproc/py-splunk-hec/distinfo | 3 +++
textproc/py-splunk-hec/pkg-descr | 7 +++++++
4 files changed, 35 insertions(+)
diff --git a/textproc/Makefile b/textproc/Makefile
index 3c9ecb22fd29..2ef397f92f5d 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1556,6 +1556,7 @@
SUBDIR += py-sphinxcontrib-websupport
SUBDIR += py-sphinxemoji
SUBDIR += py-sphinxext-opengraph
+ SUBDIR += py-splunk-hec
SUBDIR += py-spylls
SUBDIR += py-stemming
SUBDIR += py-tableschema-to-template
diff --git a/textproc/py-splunk-hec/Makefile b/textproc/py-splunk-hec/Makefile
new file mode 100644
index 000000000000..a47daa6f4b22
--- /dev/null
+++ b/textproc/py-splunk-hec/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= splunk-hec
+PORTVERSION= 1.81
+CATEGORIES= textproc python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= acm@FreeBSD.org
+COMMENT= Python class to submit events to Splunk HTTP Event Collector
+WWW= https://github.com/georgestarcher/Splunk-Class-httpevent
+
+LICENSE= MIT
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR}
+
+USE_GITHUB= yes
+GH_ACCOUNT= georgestarcher
+GH_PROJECT= Splunk-Class-httpevent
+GH_TAGNAME= b1b7aae37bc73ea6e89c4a4667c4d8d227804546
+
+USES= python:3.6+
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-splunk-hec/distinfo b/textproc/py-splunk-hec/distinfo
new file mode 100644
index 000000000000..54b24771de68
--- /dev/null
+++ b/textproc/py-splunk-hec/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1682885917
+SHA256 (georgestarcher-Splunk-Class-httpevent-1.81-b1b7aae37bc73ea6e89c4a4667c4d8d227804546_GH0.tar.gz) = 1c817e8d8383a360d05458c27b37d055c4afdcd1f60b843ef7c1ef9be2cfc3b7
+SIZE (georgestarcher-Splunk-Class-httpevent-1.81-b1b7aae37bc73ea6e89c4a4667c4d8d227804546_GH0.tar.gz) = 8804
diff --git a/textproc/py-splunk-hec/pkg-descr b/textproc/py-splunk-hec/pkg-descr
new file mode 100644
index 000000000000..cc55d90977fc
--- /dev/null
+++ b/textproc/py-splunk-hec/pkg-descr
@@ -0,0 +1,7 @@
+This is a python class file for use with other python scripts to send events to
+a Splunk http event collector.
+
+Supported products:
+
+Splunk v6.3.X+
+Splunk v6.4.X+ for the raw input option