diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -335,6 +335,7 @@ SUBDIR += py-pysmi SUBDIR += py-pysnmp SUBDIR += py-pysnmp-mibs + SUBDIR += py-pysnmpcrypto SUBDIR += py-pyzabbix SUBDIR += py-snmp_passpersist SUBDIR += py-snmpclitools diff --git a/net-mgmt/py-pysnmpcrypto/Makefile b/net-mgmt/py-pysnmpcrypto/Makefile new file mode 100644 --- /dev/null +++ b/net-mgmt/py-pysnmpcrypto/Makefile @@ -0,0 +1,27 @@ +PORTNAME= pysnmpcrypto +DISTVERSIONPREFIX= v +DISTVERSION= 0.0.4 +CATEGORIES= net-mgmt python security +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= agh@riseup.net +COMMENT= Cryptography support for Python SNMP libraries +WWW= https://github.com/pysnmp/pysnmpcrypto + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE.rst + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>0:security/py-cryptography@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + +USES= python +USE_GITHUB= yes +GH_ACCOUNT= lextudio +GH_PROJECT= pysnmpcrypto +USE_PYTHON= autoplist concurrent flavors pep517 pytest + +NO_ARCH= yes + +.include diff --git a/net-mgmt/py-pysnmpcrypto/distinfo b/net-mgmt/py-pysnmpcrypto/distinfo new file mode 100644 --- /dev/null +++ b/net-mgmt/py-pysnmpcrypto/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1704902011 +SHA256 (lextudio-pysnmpcrypto-v0.0.4_GH0.tar.gz) = 715545c9b45a1966e40c1cbbafe6facc169ba6acf481d0e9a4b54c09d3f14801 +SIZE (lextudio-pysnmpcrypto-v0.0.4_GH0.tar.gz) = 7566 diff --git a/net-mgmt/py-pysnmpcrypto/pkg-descr b/net-mgmt/py-pysnmpcrypto/pkg-descr new file mode 100644 --- /dev/null +++ b/net-mgmt/py-pysnmpcrypto/pkg-descr @@ -0,0 +1,6 @@ +The pysnmpcrypto library is an optional extension to py-pysnmp-lextudio, to +facilitate migration to updated cryptographic libraries, such as +py-cryptography. + +The pysnmpcrypto library provides stronger authentication and encryption +features to the SNMP library by way of invoking stronger crypto algorithms.