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. WWW: http://stuvel.eu/rsa PR: ports/168460 Submitted by: koobs <koobs.freebsd@gmail.com> Approved by: eadler (mentor)
This commit is contained in:
parent
68361e9252
commit
951cc2391d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299229
@ -749,6 +749,7 @@
|
||||
SUBDIR += py-pylibacl
|
||||
SUBDIR += py-pyme
|
||||
SUBDIR += py-rijndael
|
||||
SUBDIR += py-rsa
|
||||
SUBDIR += py-ssh
|
||||
SUBDIR += py-sslstrip
|
||||
SUBDIR += py-tlslite
|
||||
|
31
security/py-rsa/Makefile
Normal file
31
security/py-rsa/Makefile
Normal file
@ -0,0 +1,31 @@
|
||||
# New ports collection makefile for: py-rsa
|
||||
# Date created: 2012-05-24
|
||||
# Whom: koobs <koobs.freebsd@gmail.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= rsa
|
||||
PORTVERSION= 3.0.1
|
||||
CATEGORIES= security python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= koobs.freebsd@gmail.com
|
||||
COMMENT= Pure-Python RSA implementation
|
||||
|
||||
LICENSE= AL2
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1>=0.0.13:${PORTSDIR}/devel/py-asn1
|
||||
|
||||
USE_ZIP= yes
|
||||
USE_PYTHON= yes
|
||||
USE_PYDISTUTILS=easy_install
|
||||
|
||||
PYDISTUTILS_INSTALLARGS= -Z -q -O 1 -N -S ${PYTHON_SITELIBDIR} \
|
||||
-d ${PYEASYINSTALL_SITELIBDIR} \
|
||||
-s ${PYEASYINSTALL_BINDIR} \
|
||||
${WRKSRC}/dist/${PYEASYINSTALL_EGG}
|
||||
|
||||
.include <bsd.port.mk>
|
2
security/py-rsa/distinfo
Normal file
2
security/py-rsa/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (rsa-3.0.1.zip) = 2c36df5690f476154c32537b6a0a0bce85c26b4b4a365e23b6e5ac6773355668
|
||||
SIZE (rsa-3.0.1.zip) = 49380
|
12
security/py-rsa/files/patch-setup.py
Normal file
12
security/py-rsa/files/patch-setup.py
Normal file
@ -0,0 +1,12 @@
|
||||
--- ./setup.py.orig 2012-05-26 03:11:35.000000000 +1000
|
||||
+++ ./setup.py 2012-05-26 03:11:46.000000000 +1000
|
||||
@@ -1,9 +1,5 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
-# Ensure that a reasonably recent version of 'distribute' is installed.
|
||||
-from distribute_setup import use_setuptools
|
||||
-use_setuptools('0.6.10')
|
||||
-
|
||||
from setuptools import setup
|
||||
|
||||
import rsa
|
5
security/py-rsa/pkg-descr
Normal file
5
security/py-rsa/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
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.
|
||||
|
||||
WWW: http://stuvel.eu/rsa
|
64
security/py-rsa/pkg-plist
Normal file
64
security/py-rsa/pkg-plist
Normal file
@ -0,0 +1,64 @@
|
||||
@comment $FreeBSD$
|
||||
bin/pyrsa-encrypt-bigfile
|
||||
bin/pyrsa-encrypt
|
||||
bin/pyrsa-verify
|
||||
bin/pyrsa-sign
|
||||
bin/pyrsa-priv2pub
|
||||
bin/pyrsa-decrypt
|
||||
bin/pyrsa-keygen
|
||||
bin/pyrsa-decrypt-bigfile
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/bigfile.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/cli.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/common.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/core.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/key.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/pem.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/pkcs1.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/prime.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/randnum.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/transform.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/util.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/varblock.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/_version133.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/_version200.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/bigfile.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/cli.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/common.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/core.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/key.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/pem.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/pkcs1.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/prime.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/randnum.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/transform.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/util.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/varblock.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/_version133.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/_version200.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/bigfile.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/cli.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/common.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/core.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/key.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/pem.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/pkcs1.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/prime.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/randnum.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/transform.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/util.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/varblock.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/_version133.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/_version200.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
|
||||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/zip-safe
|
||||
@dirrmtry %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/rsa
|
||||
@dirrmtry %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
|
||||
@dirrmtry %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/
|
Loading…
Reference in New Issue
Block a user