summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-11-24 14:38:03 +0000
committerwiz <wiz@pkgsrc.org>2014-11-24 14:38:03 +0000
commit9074645b1e92250bf5227cbc5066bd2fa8f9021b (patch)
tree8cb02dc504ebd31e1bdcc246d0dab5aaa7549d7a /security
parent78ec580ae81fde547ec2b4c8749ea66127723df1 (diff)
downloadpkgsrc-9074645b1e92250bf5227cbc5066bd2fa8f9021b.tar.gz
Import py34-rsa-3.1.4 as security/py-rsa.
Python-RSA is a pure-Python RSA implementation. It supports encryption and decryption, signing and verifying signatures, and key generation according to PKCS#1 version 1.5. It can be used as a Python library as well as on the commandline.
Diffstat (limited to 'security')
-rw-r--r--security/py-rsa/DESCR4
-rw-r--r--security/py-rsa/Makefile16
-rw-r--r--security/py-rsa/PLIST69
-rw-r--r--security/py-rsa/distinfo5
4 files changed, 94 insertions, 0 deletions
diff --git a/security/py-rsa/DESCR b/security/py-rsa/DESCR
new file mode 100644
index 00000000000..be0e579f48d
--- /dev/null
+++ b/security/py-rsa/DESCR
@@ -0,0 +1,4 @@
+Python-RSA is a pure-Python RSA implementation. It supports encryption
+and decryption, signing and verifying signatures, and key generation
+according to PKCS#1 version 1.5. It can be used as a Python library
+as well as on the commandline.
diff --git a/security/py-rsa/Makefile b/security/py-rsa/Makefile
new file mode 100644
index 00000000000..b823508504a
--- /dev/null
+++ b/security/py-rsa/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2014/11/24 14:38:03 wiz Exp $
+
+DISTNAME= rsa-3.1.4
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= security python
+MASTER_SITES= https://pypi.python.org/packages/source/r/rsa/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://stuvel.eu/rsa
+COMMENT= Pure-Python RSA implementation
+LICENSE= apache-2.0
+
+DEPENDS+= ${PYPKGPREFIX}-asn1-[0-9]*:../../security/py-asn1
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/py-rsa/PLIST b/security/py-rsa/PLIST
new file mode 100644
index 00000000000..73c71b11b4d
--- /dev/null
+++ b/security/py-rsa/PLIST
@@ -0,0 +1,69 @@
+@comment $NetBSD: PLIST,v 1.1 2014/11/24 14:38:03 wiz Exp $
+bin/pyrsa-decrypt
+bin/pyrsa-decrypt-bigfile
+bin/pyrsa-encrypt
+bin/pyrsa-encrypt-bigfile
+bin/pyrsa-keygen
+bin/pyrsa-priv2pub
+bin/pyrsa-sign
+bin/pyrsa-verify
+${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}/rsa/__init__.py
+${PYSITELIB}/rsa/__init__.pyc
+${PYSITELIB}/rsa/__init__.pyo
+${PYSITELIB}/rsa/_compat.py
+${PYSITELIB}/rsa/_compat.pyc
+${PYSITELIB}/rsa/_compat.pyo
+${PYSITELIB}/rsa/_version133.py
+${PYSITELIB}/rsa/_version133.pyc
+${PYSITELIB}/rsa/_version133.pyo
+${PYSITELIB}/rsa/_version200.py
+${PYSITELIB}/rsa/_version200.pyc
+${PYSITELIB}/rsa/_version200.pyo
+${PYSITELIB}/rsa/asn1.py
+${PYSITELIB}/rsa/asn1.pyc
+${PYSITELIB}/rsa/asn1.pyo
+${PYSITELIB}/rsa/bigfile.py
+${PYSITELIB}/rsa/bigfile.pyc
+${PYSITELIB}/rsa/bigfile.pyo
+${PYSITELIB}/rsa/cli.py
+${PYSITELIB}/rsa/cli.pyc
+${PYSITELIB}/rsa/cli.pyo
+${PYSITELIB}/rsa/common.py
+${PYSITELIB}/rsa/common.pyc
+${PYSITELIB}/rsa/common.pyo
+${PYSITELIB}/rsa/core.py
+${PYSITELIB}/rsa/core.pyc
+${PYSITELIB}/rsa/core.pyo
+${PYSITELIB}/rsa/key.py
+${PYSITELIB}/rsa/key.pyc
+${PYSITELIB}/rsa/key.pyo
+${PYSITELIB}/rsa/parallel.py
+${PYSITELIB}/rsa/parallel.pyc
+${PYSITELIB}/rsa/parallel.pyo
+${PYSITELIB}/rsa/pem.py
+${PYSITELIB}/rsa/pem.pyc
+${PYSITELIB}/rsa/pem.pyo
+${PYSITELIB}/rsa/pkcs1.py
+${PYSITELIB}/rsa/pkcs1.pyc
+${PYSITELIB}/rsa/pkcs1.pyo
+${PYSITELIB}/rsa/prime.py
+${PYSITELIB}/rsa/prime.pyc
+${PYSITELIB}/rsa/prime.pyo
+${PYSITELIB}/rsa/randnum.py
+${PYSITELIB}/rsa/randnum.pyc
+${PYSITELIB}/rsa/randnum.pyo
+${PYSITELIB}/rsa/transform.py
+${PYSITELIB}/rsa/transform.pyc
+${PYSITELIB}/rsa/transform.pyo
+${PYSITELIB}/rsa/util.py
+${PYSITELIB}/rsa/util.pyc
+${PYSITELIB}/rsa/util.pyo
+${PYSITELIB}/rsa/varblock.py
+${PYSITELIB}/rsa/varblock.pyc
+${PYSITELIB}/rsa/varblock.pyo
diff --git a/security/py-rsa/distinfo b/security/py-rsa/distinfo
new file mode 100644
index 00000000000..96bec867461
--- /dev/null
+++ b/security/py-rsa/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/11/24 14:38:03 wiz Exp $
+
+SHA1 (rsa-3.1.4.tar.gz) = 208583c49489b7ab415a4455eae7618b7055feca
+RMD160 (rsa-3.1.4.tar.gz) = 28488ad2e28b03b8d0d32006eb0d1d229510252c
+Size (rsa-3.1.4.tar.gz) = 36181 bytes