pkgsrc-WIP-changes archive

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

Add py-juniper-SNMPv3-crypt package, version 0.0.5.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Mon Feb 27 09:54:43 2023 +0000
Changeset:	cb77071bc698db9d0ff6a5dfbf8f43bcedeaedc3

Added Files:
	py-juniper-SNMPv3-crypt/DESCR
	py-juniper-SNMPv3-crypt/Makefile
	py-juniper-SNMPv3-crypt/PLIST
	py-juniper-SNMPv3-crypt/distinfo

Log Message:
Add py-juniper-SNMPv3-crypt package, version 0.0.5.

This is python library to deal with hashing (md5 or sha1) and then
encrypting SNMPv3 user profiles for Juniper devices. The hashing
follows RFC 3414 for snmpv3 profiles.  The "9" encryption function
is a port from Perl from https://metacpan.org/pod/Crypt::Juniper

The encrypt function supports a seed in order to have idempotent
encryption.

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

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

diffstat:
 py-juniper-SNMPv3-crypt/DESCR    |  9 +++++++++
 py-juniper-SNMPv3-crypt/Makefile | 20 ++++++++++++++++++++
 py-juniper-SNMPv3-crypt/PLIST    | 14 ++++++++++++++
 py-juniper-SNMPv3-crypt/distinfo |  5 +++++
 4 files changed, 48 insertions(+)

diffs:
diff --git a/py-juniper-SNMPv3-crypt/DESCR b/py-juniper-SNMPv3-crypt/DESCR
new file mode 100644
index 0000000000..e8b7d5de63
--- /dev/null
+++ b/py-juniper-SNMPv3-crypt/DESCR
@@ -0,0 +1,9 @@
+juniper SNMPv3 crypt
+
+This is python library to deal with hashing (md5 or sha1) and then
+encrypting SNMPv3 user profiles for Juniper devices. The hashing
+follows RFC 3414 for snmpv3 profiles.  The "9" encryption function
+is a port from Perl from https://metacpan.org/pod/Crypt::Juniper
+
+The encrypt function supports a seed in order to have idempotent
+encryption.
diff --git a/py-juniper-SNMPv3-crypt/Makefile b/py-juniper-SNMPv3-crypt/Makefile
new file mode 100644
index 0000000000..026d2fbc3b
--- /dev/null
+++ b/py-juniper-SNMPv3-crypt/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+VER=		0.0.5
+GITHUB_PROJECT=	juniper-SNMPv3-crypt-${VER}
+GITHUB_TAG=	416b694
+DISTNAME=	${GITHUB_PROJECT:S/-${VER}//}-${GITHUB_TAG}
+CATEGORIES=	net
+PKGNAME=	${PYPKGPREFIX}-${GITHUB_PROJECT}
+MASTER_SITES=	${MASTER_SITE_GITHUB:=zach-bray/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/zach-bray/juniper-SNMPv3-crypt
+COMMENT=	Juniper crypto operations
+LICENSE=	mit
+
+EGG_NAME=	${GITHUB_PROJECT:S/-//g:S/${VER}/-${VER}/}
+WRKSRC=	${WRKDIR}/${GITHUB_PROJECT:S/-${VER}//}-416b694a24bef793d47ed6ec64f5649e5fd35c32
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-juniper-SNMPv3-crypt/PLIST b/py-juniper-SNMPv3-crypt/PLIST
new file mode 100644
index 0000000000..b7940bc285
--- /dev/null
+++ b/py-juniper-SNMPv3-crypt/PLIST
@@ -0,0 +1,14 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/juniperSNMPv3crypt/__init__.py
+${PYSITELIB}/juniperSNMPv3crypt/__init__.pyc
+${PYSITELIB}/juniperSNMPv3crypt/__init__.pyo
+${PYSITELIB}/juniperSNMPv3crypt/crypt9.py
+${PYSITELIB}/juniperSNMPv3crypt/crypt9.pyc
+${PYSITELIB}/juniperSNMPv3crypt/crypt9.pyo
+${PYSITELIB}/juniperSNMPv3crypt/snmpv3_hash.py
+${PYSITELIB}/juniperSNMPv3crypt/snmpv3_hash.pyc
+${PYSITELIB}/juniperSNMPv3crypt/snmpv3_hash.pyo
diff --git a/py-juniper-SNMPv3-crypt/distinfo b/py-juniper-SNMPv3-crypt/distinfo
new file mode 100644
index 0000000000..242b729925
--- /dev/null
+++ b/py-juniper-SNMPv3-crypt/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (juniper-SNMPv3-crypt-416b694-416b694.tar.gz) = 9761ccf28aa08b083681cb6dd1ccb53c637fde88ff866c54f17237552e9c4976
+SHA512 (juniper-SNMPv3-crypt-416b694-416b694.tar.gz) = 5575bf9f41e9e3e33b209542b7f004c338b0aef30bf56b1af3892c7e4f91bf37d90901173bfa577a3ba19add0e19a470159dd9a7ffca2b8c9469a9faa8aae204
+Size (juniper-SNMPv3-crypt-416b694-416b694.tar.gz) = 3630 bytes


Home | Main Index | Thread Index | Old Index