Import py-crypto.

Python extensions using OpenSSL which contains hashing algorithms,
chaffing/winnowing, random number generation, various utility modules,
and several block encryption and digital signature algorithms.

ok sturm@, xsa@
This commit is contained in:
ish 2004-02-03 07:19:06 +00:00
parent c3d100fe2d
commit dd1953145a
4 changed files with 106 additions and 0 deletions

View File

@ -0,0 +1,36 @@
# $OpenBSD: Makefile,v 1.1.1.1 2004/02/03 07:19:06 ish Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "cryptographic tools for Python"
VERSION= 1.9a6
DISTNAME= pycrypto-${VERSION}
PKGNAME= py-crypto-${VERSION}
CATEGORIES= security devel
HOMEPAGE= http://www.amk.ca/python/code/crypto.html
MAINTAINER= Jason Ish <ish@openbsd.org>
# Public domain.
PERMIT_PACKAGE_CDROM= "patented algorithm"
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= "patented algorithm"
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= http://www.amk.ca/files/python/crypto/
MODULES= python
DOCSDIR= ${PREFIX}/share/doc/py-crypto
post-install:
${INSTALL_DATA_DIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
do-regress: fake
cd ${WRKSRC} && ${MAKE_ENV} \
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} test.py
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (pycrypto-1.9a6.tar.gz) = cdcebdfd63e74754f57b9e9b0db4ea20
RMD160 (pycrypto-1.9a6.tar.gz) = 581aa26c37cec87ec27c23ea0210b47f1b87f36d
SHA1 (pycrypto-1.9a6.tar.gz) = 8cd40121260ab5aa1ff56b1d3a4f49de2db1343f

View File

@ -0,0 +1,3 @@
Python extensions using OpenSSL which contains hashing algorithms,
chaffing/winnowing, random number generation, various utility modules,
and several block encryption and digital signature algorithms.

View File

@ -0,0 +1,64 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2004/02/03 07:19:06 ish Exp $
lib/python${MODPY_VERSION}/site-packages/Crypto/Cipher/AES.so
lib/python${MODPY_VERSION}/site-packages/Crypto/Cipher/ARC2.so
lib/python${MODPY_VERSION}/site-packages/Crypto/Cipher/ARC4.so
lib/python${MODPY_VERSION}/site-packages/Crypto/Cipher/Blowfish.so
lib/python${MODPY_VERSION}/site-packages/Crypto/Cipher/CAST.so
lib/python${MODPY_VERSION}/site-packages/Crypto/Cipher/DES.so
lib/python${MODPY_VERSION}/site-packages/Crypto/Cipher/DES3.so
lib/python${MODPY_VERSION}/site-packages/Crypto/Cipher/IDEA.so
lib/python${MODPY_VERSION}/site-packages/Crypto/Cipher/RC5.so
lib/python${MODPY_VERSION}/site-packages/Crypto/Cipher/XOR.so
lib/python${MODPY_VERSION}/site-packages/Crypto/Cipher/__init__.py
lib/python${MODPY_VERSION}/site-packages/Crypto/Cipher/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/Hash/HMAC.py
lib/python${MODPY_VERSION}/site-packages/Crypto/Hash/HMAC.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/Hash/MD2.so
lib/python${MODPY_VERSION}/site-packages/Crypto/Hash/MD4.so
lib/python${MODPY_VERSION}/site-packages/Crypto/Hash/MD5.py
lib/python${MODPY_VERSION}/site-packages/Crypto/Hash/MD5.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/Hash/RIPEMD.so
lib/python${MODPY_VERSION}/site-packages/Crypto/Hash/SHA.py
lib/python${MODPY_VERSION}/site-packages/Crypto/Hash/SHA.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/Hash/__init__.py
lib/python${MODPY_VERSION}/site-packages/Crypto/Hash/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/Protocol/AllOrNothing.py
lib/python${MODPY_VERSION}/site-packages/Crypto/Protocol/AllOrNothing.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/Protocol/Chaffing.py
lib/python${MODPY_VERSION}/site-packages/Crypto/Protocol/Chaffing.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/Protocol/__init__.py
lib/python${MODPY_VERSION}/site-packages/Crypto/Protocol/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/PublicKey/DSA.py
lib/python${MODPY_VERSION}/site-packages/Crypto/PublicKey/DSA.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/PublicKey/ElGamal.py
lib/python${MODPY_VERSION}/site-packages/Crypto/PublicKey/ElGamal.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/PublicKey/RSA.py
lib/python${MODPY_VERSION}/site-packages/Crypto/PublicKey/RSA.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/PublicKey/__init__.py
lib/python${MODPY_VERSION}/site-packages/Crypto/PublicKey/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/PublicKey/pubkey.py
lib/python${MODPY_VERSION}/site-packages/Crypto/PublicKey/pubkey.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/PublicKey/qNEW.py
lib/python${MODPY_VERSION}/site-packages/Crypto/PublicKey/qNEW.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/Util/RFC1751.py
lib/python${MODPY_VERSION}/site-packages/Crypto/Util/RFC1751.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/Util/__init__.py
lib/python${MODPY_VERSION}/site-packages/Crypto/Util/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/Util/number.py
lib/python${MODPY_VERSION}/site-packages/Crypto/Util/number.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/Util/randpool.py
lib/python${MODPY_VERSION}/site-packages/Crypto/Util/randpool.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/Util/test.py
lib/python${MODPY_VERSION}/site-packages/Crypto/Util/test.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/__init__.py
lib/python${MODPY_VERSION}/site-packages/Crypto/__init__.pyc
lib/python${MODPY_VERSION}/site-packages/Crypto/test.py
lib/python${MODPY_VERSION}/site-packages/Crypto/test.pyc
share/doc/py-crypto/README
@dirrm share/doc/py-crypto
@dirrm lib/python${MODPY_VERSION}/site-packages/Crypto/Util
@dirrm lib/python${MODPY_VERSION}/site-packages/Crypto/PublicKey
@dirrm lib/python${MODPY_VERSION}/site-packages/Crypto/Protocol
@dirrm lib/python${MODPY_VERSION}/site-packages/Crypto/Hash
@dirrm lib/python${MODPY_VERSION}/site-packages/Crypto/Cipher
@dirrm lib/python${MODPY_VERSION}/site-packages/Crypto