pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/py-postfix-mta-sts-resolver



Module Name:    pkgsrc
Committed By:   wiz
Date:           Fri Aug 19 13:59:28 UTC 2022

Added Files:
        pkgsrc/mail/py-postfix-mta-sts-resolver: ALTERNATIVES DESCR Makefile
            PLIST distinfo

Log Message:
mail/py-postfix-mta-sts-resolver: import py-postfix-mta-sts-resolver-1.1.3

A daemon which provides TLS client policy for Postfix via socketmap,
according to domain MTA-STS policy. The current support for RFC8461
is limited - the daemon lacks some minor features:

* Fetch error reporting
* Fetch ratelimit (but actual fetch rate partially restricted with
  `cache_grace` config option).

The server has a configurable cache backend which allows storing
cached STS policies in memory (`internal`), a file (`sqlite`) or
in a Redis database (`redis`).


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/py-postfix-mta-sts-resolver/ALTERNATIVES \
    pkgsrc/mail/py-postfix-mta-sts-resolver/DESCR \
    pkgsrc/mail/py-postfix-mta-sts-resolver/Makefile \
    pkgsrc/mail/py-postfix-mta-sts-resolver/PLIST \
    pkgsrc/mail/py-postfix-mta-sts-resolver/distinfo

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

Added files:

Index: pkgsrc/mail/py-postfix-mta-sts-resolver/ALTERNATIVES
diff -u /dev/null pkgsrc/mail/py-postfix-mta-sts-resolver/ALTERNATIVES:1.1
--- /dev/null   Fri Aug 19 13:59:28 2022
+++ pkgsrc/mail/py-postfix-mta-sts-resolver/ALTERNATIVES        Fri Aug 19 13:59:28 2022
@@ -0,0 +1,2 @@
+bin/mta-sts-daemon @PREFIX@/bin/mta-sts-daemon-@PYVERSSUFFIX@
+bin/mta-sts-query @PREFIX@/bin/mta-sts-query-@PYVERSSUFFIX@
Index: pkgsrc/mail/py-postfix-mta-sts-resolver/DESCR
diff -u /dev/null pkgsrc/mail/py-postfix-mta-sts-resolver/DESCR:1.1
--- /dev/null   Fri Aug 19 13:59:28 2022
+++ pkgsrc/mail/py-postfix-mta-sts-resolver/DESCR       Fri Aug 19 13:59:28 2022
@@ -0,0 +1,11 @@
+A daemon which provides TLS client policy for Postfix via socketmap,
+according to domain MTA-STS policy. The current support for RFC8461
+is limited - the daemon lacks some minor features:
+
+* Fetch error reporting
+* Fetch ratelimit (but actual fetch rate partially restricted with
+  `cache_grace` config option).
+
+The server has a configurable cache backend which allows storing
+cached STS policies in memory (`internal`), a file (`sqlite`) or
+in a Redis database (`redis`).
Index: pkgsrc/mail/py-postfix-mta-sts-resolver/Makefile
diff -u /dev/null pkgsrc/mail/py-postfix-mta-sts-resolver/Makefile:1.1
--- /dev/null   Fri Aug 19 13:59:28 2022
+++ pkgsrc/mail/py-postfix-mta-sts-resolver/Makefile    Fri Aug 19 13:59:28 2022
@@ -0,0 +1,36 @@
+# $NetBSD: Makefile,v 1.1 2022/08/19 13:59:28 wiz Exp $
+
+DISTNAME=      postfix_mta_sts_resolver-1.1.3
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/g}
+CATEGORIES=    mail python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/postfix_mta_sts_resolver/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/Snawoot/postfix-mta-sts-resolver
+COMMENT=       Daemon providing TLS client policy for Postfix based on MTA-STS policy
+LICENSE=       mit
+
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-cryptography>=1.6:../../security/py-cryptography
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-pylint>=0:../../devel/py-pylint
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-tox>=0:../../devel/py-tox
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-twine>=1.11.0:../../net/py-twine
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-wheel>=0.31.0:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-aiodns>=0:../../net/py-aiodns
+DEPENDS+=      ${PYPKGPREFIX}-aiohttp>=3.4.4:../../www/py-aiohttp
+DEPENDS+=      ${PYPKGPREFIX}-aiosqlite>=0:../../databases/py-aiosqlite
+DEPENDS+=      ${PYPKGPREFIX}-redis>=0:../../databases/py-redis
+DEPENDS+=      ${PYPKGPREFIX}-yaml>=3.12:../../textproc/py-yaml
+TEST_DEPENDS+= ${PYPKGPREFIX}-coverage>=0:../../devel/py-coverage
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-asyncio>=0:../../devel/py-test-asyncio
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=0:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout>=0:../../devel/py-test-timeout
+TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0.0:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} mta-sts-daemon mta-sts-daemon-${PYVERSSUFFIX} || ${TRUE}
+       cd ${DESTDIR}${PREFIX}/bin && ${MV} mta-sts-query mta-sts-query-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/mail/py-postfix-mta-sts-resolver/PLIST
diff -u /dev/null pkgsrc/mail/py-postfix-mta-sts-resolver/PLIST:1.1
--- /dev/null   Fri Aug 19 13:59:28 2022
+++ pkgsrc/mail/py-postfix-mta-sts-resolver/PLIST       Fri Aug 19 13:59:28 2022
@@ -0,0 +1,55 @@
+@comment $NetBSD: PLIST,v 1.1 2022/08/19 13:59:28 wiz Exp $
+bin/mta-sts-daemon-${PYVERSSUFFIX}
+bin/mta-sts-query-${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}/${EGG_INFODIR}/zip-safe
+${PYSITELIB}/postfix_mta_sts_resolver/__init__.py
+${PYSITELIB}/postfix_mta_sts_resolver/__init__.pyc
+${PYSITELIB}/postfix_mta_sts_resolver/__init__.pyo
+${PYSITELIB}/postfix_mta_sts_resolver/__main__.py
+${PYSITELIB}/postfix_mta_sts_resolver/__main__.pyc
+${PYSITELIB}/postfix_mta_sts_resolver/__main__.pyo
+${PYSITELIB}/postfix_mta_sts_resolver/asdnotify.py
+${PYSITELIB}/postfix_mta_sts_resolver/asdnotify.pyc
+${PYSITELIB}/postfix_mta_sts_resolver/asdnotify.pyo
+${PYSITELIB}/postfix_mta_sts_resolver/base_cache.py
+${PYSITELIB}/postfix_mta_sts_resolver/base_cache.pyc
+${PYSITELIB}/postfix_mta_sts_resolver/base_cache.pyo
+${PYSITELIB}/postfix_mta_sts_resolver/constants.py
+${PYSITELIB}/postfix_mta_sts_resolver/constants.pyc
+${PYSITELIB}/postfix_mta_sts_resolver/constants.pyo
+${PYSITELIB}/postfix_mta_sts_resolver/daemon.py
+${PYSITELIB}/postfix_mta_sts_resolver/daemon.pyc
+${PYSITELIB}/postfix_mta_sts_resolver/daemon.pyo
+${PYSITELIB}/postfix_mta_sts_resolver/defaults.py
+${PYSITELIB}/postfix_mta_sts_resolver/defaults.pyc
+${PYSITELIB}/postfix_mta_sts_resolver/defaults.pyo
+${PYSITELIB}/postfix_mta_sts_resolver/internal_cache.py
+${PYSITELIB}/postfix_mta_sts_resolver/internal_cache.pyc
+${PYSITELIB}/postfix_mta_sts_resolver/internal_cache.pyo
+${PYSITELIB}/postfix_mta_sts_resolver/netstring.py
+${PYSITELIB}/postfix_mta_sts_resolver/netstring.pyc
+${PYSITELIB}/postfix_mta_sts_resolver/netstring.pyo
+${PYSITELIB}/postfix_mta_sts_resolver/proactive_fetcher.py
+${PYSITELIB}/postfix_mta_sts_resolver/proactive_fetcher.pyc
+${PYSITELIB}/postfix_mta_sts_resolver/proactive_fetcher.pyo
+${PYSITELIB}/postfix_mta_sts_resolver/redis_cache.py
+${PYSITELIB}/postfix_mta_sts_resolver/redis_cache.pyc
+${PYSITELIB}/postfix_mta_sts_resolver/redis_cache.pyo
+${PYSITELIB}/postfix_mta_sts_resolver/resolver.py
+${PYSITELIB}/postfix_mta_sts_resolver/resolver.pyc
+${PYSITELIB}/postfix_mta_sts_resolver/resolver.pyo
+${PYSITELIB}/postfix_mta_sts_resolver/responder.py
+${PYSITELIB}/postfix_mta_sts_resolver/responder.pyc
+${PYSITELIB}/postfix_mta_sts_resolver/responder.pyo
+${PYSITELIB}/postfix_mta_sts_resolver/sqlite_cache.py
+${PYSITELIB}/postfix_mta_sts_resolver/sqlite_cache.pyc
+${PYSITELIB}/postfix_mta_sts_resolver/sqlite_cache.pyo
+${PYSITELIB}/postfix_mta_sts_resolver/utils.py
+${PYSITELIB}/postfix_mta_sts_resolver/utils.pyc
+${PYSITELIB}/postfix_mta_sts_resolver/utils.pyo
Index: pkgsrc/mail/py-postfix-mta-sts-resolver/distinfo
diff -u /dev/null pkgsrc/mail/py-postfix-mta-sts-resolver/distinfo:1.1
--- /dev/null   Fri Aug 19 13:59:28 2022
+++ pkgsrc/mail/py-postfix-mta-sts-resolver/distinfo    Fri Aug 19 13:59:28 2022
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/08/19 13:59:28 wiz Exp $
+
+BLAKE2s (postfix_mta_sts_resolver-1.1.3.tar.gz) = e91fa93b3eb5dfbd3e61ee16f640301412d2c90d7f53d3e298da59a5a0e3af7a
+SHA512 (postfix_mta_sts_resolver-1.1.3.tar.gz) = 154f363fae12be08d927446c86c13c61d500d704c9f4cdb314a550717fb59da7e8857a16d0d5aa070acfe80a49044c6550f59da662ad350a1d05a5a7b8572c21
+Size (postfix_mta_sts_resolver-1.1.3.tar.gz) = 25975 bytes



Home | Main Index | Thread Index | Old Index