pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-parsedmarc: add incomplete package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Wed Aug 24 16:11:37 2022 +0200
Changeset:	89856e519c9bff313c367e0ec1335219480e537e

Modified Files:
	Makefile
Added Files:
	py-parsedmarc/ALTERNATIVES
	py-parsedmarc/DESCR
	py-parsedmarc/Makefile
	py-parsedmarc/PLIST
	py-parsedmarc/TODO
	py-parsedmarc/distinfo

Log Message:
py-parsedmarc: add incomplete package

installs, but needs more dependencies packaged

parsedmarc is a Python module and CLI utility for parsing DMARC
reports. When used with Elasticsearch and Kibana (or Splunk), it
works as a self-hosted open source alternative to commercial DMARC
report processing services such as Agari Brand Protection, Dmarcian,
OnDMARC, ProofPoint Email Fraud Defense, and Valimail.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=89856e519c9bff313c367e0ec1335219480e537e

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                   |  1 +
 py-parsedmarc/ALTERNATIVES |  1 +
 py-parsedmarc/DESCR        |  5 +++++
 py-parsedmarc/Makefile     | 51 ++++++++++++++++++++++++++++++++++++++++++++++
 py-parsedmarc/PLIST        | 51 ++++++++++++++++++++++++++++++++++++++++++++++
 py-parsedmarc/TODO         |  1 +
 py-parsedmarc/distinfo     |  5 +++++
 7 files changed, 115 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index aca8b017ea..6edb5e6e5c 100644
--- a/Makefile
+++ b/Makefile
@@ -4307,6 +4307,7 @@ SUBDIR+=	py-param
 SUBDIR+=	py-parameterizedtestcase
 SUBDIR+=	py-parameters
 SUBDIR+=	py-paramz
+SUBDIR+=	py-parsedmarc
 SUBDIR+=	py-parserutils
 SUBDIR+=	py-parsy
 SUBDIR+=	py-partd
diff --git a/py-parsedmarc/ALTERNATIVES b/py-parsedmarc/ALTERNATIVES
new file mode 100644
index 0000000000..a51e124d1a
--- /dev/null
+++ b/py-parsedmarc/ALTERNATIVES
@@ -0,0 +1 @@
+bin/parsedmarc @PREFIX@/bin/parsedmarc-@PYVERSSUFFIX@
diff --git a/py-parsedmarc/DESCR b/py-parsedmarc/DESCR
new file mode 100644
index 0000000000..1c0d4d50c6
--- /dev/null
+++ b/py-parsedmarc/DESCR
@@ -0,0 +1,5 @@
+parsedmarc is a Python module and CLI utility for parsing DMARC
+reports. When used with Elasticsearch and Kibana (or Splunk), it
+works as a self-hosted open source alternative to commercial DMARC
+report processing services such as Agari Brand Protection, Dmarcian,
+OnDMARC, ProofPoint Email Fraud Defense, and Valimail.
diff --git a/py-parsedmarc/Makefile b/py-parsedmarc/Makefile
new file mode 100644
index 0000000000..7e00324632
--- /dev/null
+++ b/py-parsedmarc/Makefile
@@ -0,0 +1,51 @@
+# $NetBSD$
+
+DISTNAME=	parsedmarc-8.3.0
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	mail python
+MASTER_SITES=	${MASTER_SITE_PYPI:=p/parsedmarc/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://domainaware.github.io/parsedmarc
+COMMENT=	Parse aggregate and forensic DMARC reports
+LICENSE=	apache-2.0
+
+DEPENDS+=	${PYPKGPREFIX}-dns>=2.0:../../net/py-dns
+DEPENDS+=	${PYPKGPREFIX}-expiringdict>=1.1.4:../../devel/py-expiringdict
+DEPENDS+=	${PYPKGPREFIX}-publicsuffix2>=2.20190812:../../www/py-publicsuffix2
+DEPENDS+=	${PYPKGPREFIX}-xmltodict>=0.12.0:../../textproc/py-xmltodict
+DEPENDS+=	${PYPKGPREFIX}-geoip2>=3.0.0:../../geography/py-geoip2
+DEPENDS+=	${PYPKGPREFIX}-urllib3>=1.25.7:../../www/py-urllib3
+DEPENDS+=	${PYPKGPREFIX}-requests>=2.22.0:../../devel/py-requests
+DEPENDS+=	${PYPKGPREFIX}-imapclient>=2.1.0:../../mail/py-imapclient
+DEPENDS+=	${PYPKGPREFIX}-dateparser>=1.1.1:../../time/py-dateparser
+DEPENDS+=	${PYPKGPREFIX}-mailsuite>=1.6.1:../../mail/py-mailsuite
+DEPENDS+=	${PYPKGPREFIX}-elasticsearch>=0:../../databases/py-elasticsearch
+#DEPENDS+=	# TODO: elasticsearch-dsl==7.4.0>=0
+DEPENDS+=	${PYPKGPREFIX}-kafka-python>=1.4.4:../../devel/py-kafka-python
+DEPENDS+=	${PYPKGPREFIX}-tqdm>=4.31.1:../../misc/py-tqdm
+DEPENDS+=	${PYPKGPREFIX}-lxml>=4.4.0:../../textproc/py-lxml
+DEPENDS+=	${PYPKGPREFIX}-boto3>=1.16.63:../../net/py-boto3
+#DEPENDS+=	# TODO: msgraph-core>=0.2.2
+#DEPENDS+=	# TODO: azure-identity>=1.8.0
+# pkgsrc version too old
+#DEPENDS+=	${PYPKGPREFIX}-google-api-core>=2.4.0:../../devel/py-google-api-core
+DEPENDS+=	${PYPKGPREFIX}-google-api-core>=0:../../devel/py-google-api-core
+# pkgsrc version too old
+#DEPENDS+=	${PYPKGPREFIX}-google-api-python-client>=2.35.0:../../www/py-google-api-python-client
+DEPENDS+=	${PYPKGPREFIX}-google-api-python-client>=0:../../www/py-google-api-python-client
+# pkgsrc version too old
+#DEPENDS+=	${PYPKGPREFIX}-google-auth>=2.3.3:../../security/py-google-auth
+DEPENDS+=	${PYPKGPREFIX}-google-auth>=0:../../security/py-google-auth
+DEPENDS+=	${PYPKGPREFIX}-google-auth-httplib2>=0.1.0:../../security/py-google-auth-httplib2
+DEPENDS+=	${PYPKGPREFIX}-google-auth-oauthlib>=0.4.6:../../security/py-google-auth-oauthlib
+
+USE_LANGUAGES=	# none
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+post-install:
+	cd ${DESTDIR}${PREFIX}/bin && ${MV} parsedmarc parsedmarc-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-parsedmarc/PLIST b/py-parsedmarc/PLIST
new file mode 100644
index 0000000000..7754c234d9
--- /dev/null
+++ b/py-parsedmarc/PLIST
@@ -0,0 +1,51 @@
+@comment $NetBSD$
+bin/parsedmarc-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/parsedmarc/__init__.py
+${PYSITELIB}/parsedmarc/__init__.pyc
+${PYSITELIB}/parsedmarc/__init__.pyo
+${PYSITELIB}/parsedmarc/cli.py
+${PYSITELIB}/parsedmarc/cli.pyc
+${PYSITELIB}/parsedmarc/cli.pyo
+${PYSITELIB}/parsedmarc/elastic.py
+${PYSITELIB}/parsedmarc/elastic.pyc
+${PYSITELIB}/parsedmarc/elastic.pyo
+${PYSITELIB}/parsedmarc/kafkaclient.py
+${PYSITELIB}/parsedmarc/kafkaclient.pyc
+${PYSITELIB}/parsedmarc/kafkaclient.pyo
+${PYSITELIB}/parsedmarc/mail/__init__.py
+${PYSITELIB}/parsedmarc/mail/__init__.pyc
+${PYSITELIB}/parsedmarc/mail/__init__.pyo
+${PYSITELIB}/parsedmarc/mail/gmail.py
+${PYSITELIB}/parsedmarc/mail/gmail.pyc
+${PYSITELIB}/parsedmarc/mail/gmail.pyo
+${PYSITELIB}/parsedmarc/mail/graph.py
+${PYSITELIB}/parsedmarc/mail/graph.pyc
+${PYSITELIB}/parsedmarc/mail/graph.pyo
+${PYSITELIB}/parsedmarc/mail/imap.py
+${PYSITELIB}/parsedmarc/mail/imap.pyc
+${PYSITELIB}/parsedmarc/mail/imap.pyo
+${PYSITELIB}/parsedmarc/mail/mailbox_connection.py
+${PYSITELIB}/parsedmarc/mail/mailbox_connection.pyc
+${PYSITELIB}/parsedmarc/mail/mailbox_connection.pyo
+${PYSITELIB}/parsedmarc/resources/__init__.py
+${PYSITELIB}/parsedmarc/resources/__init__.pyc
+${PYSITELIB}/parsedmarc/resources/__init__.pyo
+${PYSITELIB}/parsedmarc/resources/dbip-country-lite.mmdb
+${PYSITELIB}/parsedmarc/s3.py
+${PYSITELIB}/parsedmarc/s3.pyc
+${PYSITELIB}/parsedmarc/s3.pyo
+${PYSITELIB}/parsedmarc/splunk.py
+${PYSITELIB}/parsedmarc/splunk.pyc
+${PYSITELIB}/parsedmarc/splunk.pyo
+${PYSITELIB}/parsedmarc/syslog.py
+${PYSITELIB}/parsedmarc/syslog.pyc
+${PYSITELIB}/parsedmarc/syslog.pyo
+${PYSITELIB}/parsedmarc/utils.py
+${PYSITELIB}/parsedmarc/utils.pyc
+${PYSITELIB}/parsedmarc/utils.pyo
diff --git a/py-parsedmarc/TODO b/py-parsedmarc/TODO
new file mode 100644
index 0000000000..d3cb1389ed
--- /dev/null
+++ b/py-parsedmarc/TODO
@@ -0,0 +1 @@
+Some dependencies need to be packaged.
diff --git a/py-parsedmarc/distinfo b/py-parsedmarc/distinfo
new file mode 100644
index 0000000000..ef1a18564e
--- /dev/null
+++ b/py-parsedmarc/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (parsedmarc-8.3.0.tar.gz) = 0ded0d325f1ce6a080227b2a562ddaee07866ea61a50a4d59ea260050e9e6b3e
+SHA512 (parsedmarc-8.3.0.tar.gz) = 5ab5d5291780525fd7ba728d8321542c49feb8f172894e1ea60e39e761c99bb690786e0ae2529ba47fa96fa77d13f22a431f2682875581b0f12d3938ca5bcc1c
+Size (parsedmarc-8.3.0.tar.gz) = 3642199 bytes


Home | Main Index | Thread Index | Old Index