pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/py-cryptodome New package: py-cryptodome.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e8a4d9265da
branches:  trunk
changeset: 356417:9e8a4d9265da
user:      maya <maya%pkgsrc.org@localhost>
date:      Fri Dec 30 22:32:54 2016 +0000

description:
New package: py-cryptodome.

PyCryptodome is a self-contained Python package of low-level cryptographic
primitives.

It's also intended to be a drop-in replacement for py-crypto.

diffstat:

 security/py-cryptodome/DESCR                                |    2 +
 security/py-cryptodome/Makefile                             |   23 +
 security/py-cryptodome/PLIST                                |  673 ++++++++++++
 security/py-cryptodome/distinfo                             |    7 +
 security/py-cryptodome/patches/patch-src_pycrypto__common.h |   17 +
 5 files changed, 722 insertions(+), 0 deletions(-)

diffs (truncated from 742 to 300 lines):

diff -r 7ee0889db554 -r 9e8a4d9265da security/py-cryptodome/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-cryptodome/DESCR      Fri Dec 30 22:32:54 2016 +0000
@@ -0,0 +1,2 @@
+PyCryptodome is a self-contained Python package of low-level cryptographic
+primitives.
diff -r 7ee0889db554 -r 9e8a4d9265da security/py-cryptodome/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-cryptodome/Makefile   Fri Dec 30 22:32:54 2016 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2016/12/30 22:32:54 maya Exp $
+
+DISTNAME=      pycryptodome-3.4.3
+PKGNAME=       ${DISTNAME:S/^py/${PYPKGPREFIX}-/}
+CATEGORIES=    security python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pycryptodome/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://www.pycryptodome.org/
+COMMENT=       Cryptographic and hash functions for Python
+# mostly public domain, but a few bits are:
+LICENSE=       python-software-foundation
+
+do-test:
+       ${RUN}cd ${WRKSRC};${SETENV} ${TEST_ENV} ${PYTHONBIN} ${PYSETUP} test
+
+# XXX is this needed?
+CFLAGS.SunOS+= -std=c99 -D_XOPEN_SOURCE=600
+
+BUILDLINK_API_DEPENDS.gmp+=    gmp>=5.0
+.include "../../devel/gmp/buildlink3.mk"
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 7ee0889db554 -r 9e8a4d9265da security/py-cryptodome/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-cryptodome/PLIST      Fri Dec 30 22:32:54 2016 +0000
@@ -0,0 +1,673 @@
+@comment $NetBSD: PLIST,v 1.1 2016/12/30 22:32:54 maya Exp $
+${PYSITELIB}/Crypto/Cipher/AES.py
+${PYSITELIB}/Crypto/Cipher/AES.pyc
+${PYSITELIB}/Crypto/Cipher/AES.pyo
+${PYSITELIB}/Crypto/Cipher/ARC2.py
+${PYSITELIB}/Crypto/Cipher/ARC2.pyc
+${PYSITELIB}/Crypto/Cipher/ARC2.pyo
+${PYSITELIB}/Crypto/Cipher/ARC4.py
+${PYSITELIB}/Crypto/Cipher/ARC4.pyc
+${PYSITELIB}/Crypto/Cipher/ARC4.pyo
+${PYSITELIB}/Crypto/Cipher/Blowfish.py
+${PYSITELIB}/Crypto/Cipher/Blowfish.pyc
+${PYSITELIB}/Crypto/Cipher/Blowfish.pyo
+${PYSITELIB}/Crypto/Cipher/CAST.py
+${PYSITELIB}/Crypto/Cipher/CAST.pyc
+${PYSITELIB}/Crypto/Cipher/CAST.pyo
+${PYSITELIB}/Crypto/Cipher/ChaCha20.py
+${PYSITELIB}/Crypto/Cipher/ChaCha20.pyc
+${PYSITELIB}/Crypto/Cipher/ChaCha20.pyo
+${PYSITELIB}/Crypto/Cipher/DES.py
+${PYSITELIB}/Crypto/Cipher/DES.pyc
+${PYSITELIB}/Crypto/Cipher/DES.pyo
+${PYSITELIB}/Crypto/Cipher/DES3.py
+${PYSITELIB}/Crypto/Cipher/DES3.pyc
+${PYSITELIB}/Crypto/Cipher/DES3.pyo
+${PYSITELIB}/Crypto/Cipher/PKCS1_OAEP.py
+${PYSITELIB}/Crypto/Cipher/PKCS1_OAEP.pyc
+${PYSITELIB}/Crypto/Cipher/PKCS1_OAEP.pyo
+${PYSITELIB}/Crypto/Cipher/PKCS1_v1_5.py
+${PYSITELIB}/Crypto/Cipher/PKCS1_v1_5.pyc
+${PYSITELIB}/Crypto/Cipher/PKCS1_v1_5.pyo
+${PYSITELIB}/Crypto/Cipher/Salsa20.py
+${PYSITELIB}/Crypto/Cipher/Salsa20.pyc
+${PYSITELIB}/Crypto/Cipher/Salsa20.pyo
+${PYSITELIB}/Crypto/Cipher/_ARC4.so
+${PYSITELIB}/Crypto/Cipher/_Salsa20.so
+${PYSITELIB}/Crypto/Cipher/__init__.py
+${PYSITELIB}/Crypto/Cipher/__init__.pyc
+${PYSITELIB}/Crypto/Cipher/__init__.pyo
+${PYSITELIB}/Crypto/Cipher/_chacha20.so
+${PYSITELIB}/Crypto/Cipher/_mode_cbc.py
+${PYSITELIB}/Crypto/Cipher/_mode_cbc.pyc
+${PYSITELIB}/Crypto/Cipher/_mode_cbc.pyo
+${PYSITELIB}/Crypto/Cipher/_mode_ccm.py
+${PYSITELIB}/Crypto/Cipher/_mode_ccm.pyc
+${PYSITELIB}/Crypto/Cipher/_mode_ccm.pyo
+${PYSITELIB}/Crypto/Cipher/_mode_cfb.py
+${PYSITELIB}/Crypto/Cipher/_mode_cfb.pyc
+${PYSITELIB}/Crypto/Cipher/_mode_cfb.pyo
+${PYSITELIB}/Crypto/Cipher/_mode_ctr.py
+${PYSITELIB}/Crypto/Cipher/_mode_ctr.pyc
+${PYSITELIB}/Crypto/Cipher/_mode_ctr.pyo
+${PYSITELIB}/Crypto/Cipher/_mode_eax.py
+${PYSITELIB}/Crypto/Cipher/_mode_eax.pyc
+${PYSITELIB}/Crypto/Cipher/_mode_eax.pyo
+${PYSITELIB}/Crypto/Cipher/_mode_ecb.py
+${PYSITELIB}/Crypto/Cipher/_mode_ecb.pyc
+${PYSITELIB}/Crypto/Cipher/_mode_ecb.pyo
+${PYSITELIB}/Crypto/Cipher/_mode_gcm.py
+${PYSITELIB}/Crypto/Cipher/_mode_gcm.pyc
+${PYSITELIB}/Crypto/Cipher/_mode_gcm.pyo
+${PYSITELIB}/Crypto/Cipher/_mode_ocb.py
+${PYSITELIB}/Crypto/Cipher/_mode_ocb.pyc
+${PYSITELIB}/Crypto/Cipher/_mode_ocb.pyo
+${PYSITELIB}/Crypto/Cipher/_mode_ofb.py
+${PYSITELIB}/Crypto/Cipher/_mode_ofb.pyc
+${PYSITELIB}/Crypto/Cipher/_mode_ofb.pyo
+${PYSITELIB}/Crypto/Cipher/_mode_openpgp.py
+${PYSITELIB}/Crypto/Cipher/_mode_openpgp.pyc
+${PYSITELIB}/Crypto/Cipher/_mode_openpgp.pyo
+${PYSITELIB}/Crypto/Cipher/_mode_siv.py
+${PYSITELIB}/Crypto/Cipher/_mode_siv.pyc
+${PYSITELIB}/Crypto/Cipher/_mode_siv.pyo
+${PYSITELIB}/Crypto/Cipher/_raw_aes.so
+${PYSITELIB}/Crypto/Cipher/_raw_aesni.so
+${PYSITELIB}/Crypto/Cipher/_raw_arc2.so
+${PYSITELIB}/Crypto/Cipher/_raw_blowfish.so
+${PYSITELIB}/Crypto/Cipher/_raw_cast.so
+${PYSITELIB}/Crypto/Cipher/_raw_cbc.so
+${PYSITELIB}/Crypto/Cipher/_raw_cfb.so
+${PYSITELIB}/Crypto/Cipher/_raw_ctr.so
+${PYSITELIB}/Crypto/Cipher/_raw_des.so
+${PYSITELIB}/Crypto/Cipher/_raw_des3.so
+${PYSITELIB}/Crypto/Cipher/_raw_ecb.so
+${PYSITELIB}/Crypto/Cipher/_raw_ocb.so
+${PYSITELIB}/Crypto/Cipher/_raw_ofb.so
+${PYSITELIB}/Crypto/Hash/BLAKE2b.py
+${PYSITELIB}/Crypto/Hash/BLAKE2b.pyc
+${PYSITELIB}/Crypto/Hash/BLAKE2b.pyo
+${PYSITELIB}/Crypto/Hash/BLAKE2s.py
+${PYSITELIB}/Crypto/Hash/BLAKE2s.pyc
+${PYSITELIB}/Crypto/Hash/BLAKE2s.pyo
+${PYSITELIB}/Crypto/Hash/CMAC.py
+${PYSITELIB}/Crypto/Hash/CMAC.pyc
+${PYSITELIB}/Crypto/Hash/CMAC.pyo
+${PYSITELIB}/Crypto/Hash/HMAC.py
+${PYSITELIB}/Crypto/Hash/HMAC.pyc
+${PYSITELIB}/Crypto/Hash/HMAC.pyo
+${PYSITELIB}/Crypto/Hash/MD2.py
+${PYSITELIB}/Crypto/Hash/MD2.pyc
+${PYSITELIB}/Crypto/Hash/MD2.pyo
+${PYSITELIB}/Crypto/Hash/MD4.py
+${PYSITELIB}/Crypto/Hash/MD4.pyc
+${PYSITELIB}/Crypto/Hash/MD4.pyo
+${PYSITELIB}/Crypto/Hash/MD5.py
+${PYSITELIB}/Crypto/Hash/MD5.pyc
+${PYSITELIB}/Crypto/Hash/MD5.pyo
+${PYSITELIB}/Crypto/Hash/RIPEMD.py
+${PYSITELIB}/Crypto/Hash/RIPEMD.pyc
+${PYSITELIB}/Crypto/Hash/RIPEMD.pyo
+${PYSITELIB}/Crypto/Hash/RIPEMD160.py
+${PYSITELIB}/Crypto/Hash/RIPEMD160.pyc
+${PYSITELIB}/Crypto/Hash/RIPEMD160.pyo
+${PYSITELIB}/Crypto/Hash/SHA.py
+${PYSITELIB}/Crypto/Hash/SHA.pyc
+${PYSITELIB}/Crypto/Hash/SHA.pyo
+${PYSITELIB}/Crypto/Hash/SHA1.py
+${PYSITELIB}/Crypto/Hash/SHA1.pyc
+${PYSITELIB}/Crypto/Hash/SHA1.pyo
+${PYSITELIB}/Crypto/Hash/SHA224.py
+${PYSITELIB}/Crypto/Hash/SHA224.pyc
+${PYSITELIB}/Crypto/Hash/SHA224.pyo
+${PYSITELIB}/Crypto/Hash/SHA256.py
+${PYSITELIB}/Crypto/Hash/SHA256.pyc
+${PYSITELIB}/Crypto/Hash/SHA256.pyo
+${PYSITELIB}/Crypto/Hash/SHA384.py
+${PYSITELIB}/Crypto/Hash/SHA384.pyc
+${PYSITELIB}/Crypto/Hash/SHA384.pyo
+${PYSITELIB}/Crypto/Hash/SHA3_224.py
+${PYSITELIB}/Crypto/Hash/SHA3_224.pyc
+${PYSITELIB}/Crypto/Hash/SHA3_224.pyo
+${PYSITELIB}/Crypto/Hash/SHA3_256.py
+${PYSITELIB}/Crypto/Hash/SHA3_256.pyc
+${PYSITELIB}/Crypto/Hash/SHA3_256.pyo
+${PYSITELIB}/Crypto/Hash/SHA3_384.py
+${PYSITELIB}/Crypto/Hash/SHA3_384.pyc
+${PYSITELIB}/Crypto/Hash/SHA3_384.pyo
+${PYSITELIB}/Crypto/Hash/SHA3_512.py
+${PYSITELIB}/Crypto/Hash/SHA3_512.pyc
+${PYSITELIB}/Crypto/Hash/SHA3_512.pyo
+${PYSITELIB}/Crypto/Hash/SHA512.py
+${PYSITELIB}/Crypto/Hash/SHA512.pyc
+${PYSITELIB}/Crypto/Hash/SHA512.pyo
+${PYSITELIB}/Crypto/Hash/SHAKE128.py
+${PYSITELIB}/Crypto/Hash/SHAKE128.pyc
+${PYSITELIB}/Crypto/Hash/SHAKE128.pyo
+${PYSITELIB}/Crypto/Hash/SHAKE256.py
+${PYSITELIB}/Crypto/Hash/SHAKE256.pyc
+${PYSITELIB}/Crypto/Hash/SHAKE256.pyo
+${PYSITELIB}/Crypto/Hash/_BLAKE2b.so
+${PYSITELIB}/Crypto/Hash/_BLAKE2s.so
+${PYSITELIB}/Crypto/Hash/_MD2.so
+${PYSITELIB}/Crypto/Hash/_MD4.so
+${PYSITELIB}/Crypto/Hash/_RIPEMD160.so
+${PYSITELIB}/Crypto/Hash/_SHA224.so
+${PYSITELIB}/Crypto/Hash/_SHA256.so
+${PYSITELIB}/Crypto/Hash/_SHA384.so
+${PYSITELIB}/Crypto/Hash/_SHA512.so
+${PYSITELIB}/Crypto/Hash/__init__.py
+${PYSITELIB}/Crypto/Hash/__init__.pyc
+${PYSITELIB}/Crypto/Hash/__init__.pyo
+${PYSITELIB}/Crypto/Hash/_keccak.so
+${PYSITELIB}/Crypto/Hash/keccak.py
+${PYSITELIB}/Crypto/Hash/keccak.pyc
+${PYSITELIB}/Crypto/Hash/keccak.pyo
+${PYSITELIB}/Crypto/IO/PEM.py
+${PYSITELIB}/Crypto/IO/PEM.pyc
+${PYSITELIB}/Crypto/IO/PEM.pyo
+${PYSITELIB}/Crypto/IO/PKCS8.py
+${PYSITELIB}/Crypto/IO/PKCS8.pyc
+${PYSITELIB}/Crypto/IO/PKCS8.pyo
+${PYSITELIB}/Crypto/IO/_PBES.py
+${PYSITELIB}/Crypto/IO/_PBES.pyc
+${PYSITELIB}/Crypto/IO/_PBES.pyo
+${PYSITELIB}/Crypto/IO/__init__.py
+${PYSITELIB}/Crypto/IO/__init__.pyc
+${PYSITELIB}/Crypto/IO/__init__.pyo
+${PYSITELIB}/Crypto/Math/Numbers.py
+${PYSITELIB}/Crypto/Math/Numbers.pyc
+${PYSITELIB}/Crypto/Math/Numbers.pyo
+${PYSITELIB}/Crypto/Math/Primality.py
+${PYSITELIB}/Crypto/Math/Primality.pyc
+${PYSITELIB}/Crypto/Math/Primality.pyo
+${PYSITELIB}/Crypto/Math/_Numbers_gmp.py
+${PYSITELIB}/Crypto/Math/_Numbers_gmp.pyc
+${PYSITELIB}/Crypto/Math/_Numbers_gmp.pyo
+${PYSITELIB}/Crypto/Math/_Numbers_int.py
+${PYSITELIB}/Crypto/Math/_Numbers_int.pyc
+${PYSITELIB}/Crypto/Math/_Numbers_int.pyo
+${PYSITELIB}/Crypto/Math/__init__.py
+${PYSITELIB}/Crypto/Math/__init__.pyc
+${PYSITELIB}/Crypto/Math/__init__.pyo
+${PYSITELIB}/Crypto/Protocol/KDF.py
+${PYSITELIB}/Crypto/Protocol/KDF.pyc
+${PYSITELIB}/Crypto/Protocol/KDF.pyo
+${PYSITELIB}/Crypto/Protocol/SecretSharing.py
+${PYSITELIB}/Crypto/Protocol/SecretSharing.pyc
+${PYSITELIB}/Crypto/Protocol/SecretSharing.pyo
+${PYSITELIB}/Crypto/Protocol/__init__.py
+${PYSITELIB}/Crypto/Protocol/__init__.pyc
+${PYSITELIB}/Crypto/Protocol/__init__.pyo
+${PYSITELIB}/Crypto/PublicKey/DSA.py
+${PYSITELIB}/Crypto/PublicKey/DSA.pyc
+${PYSITELIB}/Crypto/PublicKey/DSA.pyo
+${PYSITELIB}/Crypto/PublicKey/ECC.py
+${PYSITELIB}/Crypto/PublicKey/ECC.pyc
+${PYSITELIB}/Crypto/PublicKey/ECC.pyo
+${PYSITELIB}/Crypto/PublicKey/ElGamal.py
+${PYSITELIB}/Crypto/PublicKey/ElGamal.pyc
+${PYSITELIB}/Crypto/PublicKey/ElGamal.pyo
+${PYSITELIB}/Crypto/PublicKey/RSA.py
+${PYSITELIB}/Crypto/PublicKey/RSA.pyc
+${PYSITELIB}/Crypto/PublicKey/RSA.pyo
+${PYSITELIB}/Crypto/PublicKey/__init__.py
+${PYSITELIB}/Crypto/PublicKey/__init__.pyc
+${PYSITELIB}/Crypto/PublicKey/__init__.pyo
+${PYSITELIB}/Crypto/Random/__init__.py
+${PYSITELIB}/Crypto/Random/__init__.pyc
+${PYSITELIB}/Crypto/Random/__init__.pyo
+${PYSITELIB}/Crypto/Random/random.py
+${PYSITELIB}/Crypto/Random/random.pyc
+${PYSITELIB}/Crypto/Random/random.pyo
+${PYSITELIB}/Crypto/SelfTest/Cipher/__init__.py
+${PYSITELIB}/Crypto/SelfTest/Cipher/__init__.pyc
+${PYSITELIB}/Crypto/SelfTest/Cipher/__init__.pyo
+${PYSITELIB}/Crypto/SelfTest/Cipher/common.py
+${PYSITELIB}/Crypto/SelfTest/Cipher/common.pyc
+${PYSITELIB}/Crypto/SelfTest/Cipher/common.pyo
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_AES.py
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_AES.pyc
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_AES.pyo
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_ARC2.py
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_ARC2.pyc
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_ARC2.pyo
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_ARC4.py
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_ARC4.pyc
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_ARC4.pyo
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_Blowfish.py
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_Blowfish.pyc
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_Blowfish.pyo
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_CAST.py
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_CAST.pyc
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_CAST.pyo
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_CBC.py
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_CBC.pyc
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_CBC.pyo
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_CCM.py
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_CCM.pyc
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_CCM.pyo
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_CFB.py
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_CFB.pyc
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_CFB.pyo
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_CTR.py
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_CTR.pyc
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_CTR.pyo
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_ChaCha20.py
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_ChaCha20.pyc
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_ChaCha20.pyo
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_DES.py
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_DES.pyc
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_DES.pyo
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_DES3.py
+${PYSITELIB}/Crypto/SelfTest/Cipher/test_DES3.pyc



Home | Main Index | Thread Index | Old Index