summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2021-03-19 08:13:06 +0000
committeradam <adam@pkgsrc.org>2021-03-19 08:13:06 +0000
commitd5a306bafc9eeaf7b96d50e828439fcde6dad146 (patch)
tree46f1eb66815a873e0dca40b7dc69f4e9a04e89ad
parent83f8ae0b9a1853c55b1bccf49a258bff46d9a3c1 (diff)
downloadpkgsrc-d5a306bafc9eeaf7b96d50e828439fcde6dad146.tar.gz
py-crypto: removed
-rw-r--r--security/Makefile3
-rw-r--r--security/py-crypto/DESCR3
-rw-r--r--security/py-crypto/Makefile34
-rw-r--r--security/py-crypto/PLIST383
-rw-r--r--security/py-crypto/distinfo9
-rw-r--r--security/py-crypto/patches/patch-ab20
-rw-r--r--security/py-crypto/patches/patch-lib_Crypto_SelfTest_Cipher_common.py49
-rw-r--r--security/py-crypto/patches/patch-src_block_template.c25
8 files changed, 1 insertions, 525 deletions
diff --git a/security/Makefile b/security/Makefile
index dbdb0804c72..91d00669e13 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.806 2021/03/08 11:51:11 nia Exp $
+# $NetBSD: Makefile,v 1.807 2021/03/19 08:13:06 adam Exp $
#
COMMENT= Security tools
@@ -453,7 +453,6 @@ SUBDIR+= py-certifi
SUBDIR+= py-crack
SUBDIR+= py-crcmod
SUBDIR+= py-cryptkit
-SUBDIR+= py-crypto
SUBDIR+= py-cryptodome
SUBDIR+= py-cryptography
SUBDIR+= py-cryptography_vectors
diff --git a/security/py-crypto/DESCR b/security/py-crypto/DESCR
deleted file mode 100644
index 886b4c6abbd..00000000000
--- a/security/py-crypto/DESCR
+++ /dev/null
@@ -1,3 +0,0 @@
-Python extensions using OpenSSL which contains hashing algorithms,
-chaffing/winnowing, random number generation, various utility modules,
-and several block encryption and digital signature algorithms.
diff --git a/security/py-crypto/Makefile b/security/py-crypto/Makefile
deleted file mode 100644
index be046dcef3f..00000000000
--- a/security/py-crypto/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-# $NetBSD: Makefile,v 1.42 2020/01/18 21:50:45 jperkin Exp $
-
-DISTNAME= pycrypto-2.6.1
-PKGNAME= ${DISTNAME:S/^py/${PYPKGPREFIX}-/}
-PKGREVISION= 4
-CATEGORIES= security python
-MASTER_SITES= http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/
-
-MAINTAINER= gdt@NetBSD.org
-HOMEPAGE= https://www.dlitz.net/software/pycrypto/
-COMMENT= Cryptographic and hash functions for Python
-LICENSE= public-domain AND python-software-foundation
-
-CONFLICTS+= ${PYPKGPREFIX}-amkCrypto-[0-9]*
-SUPERSEDES+= ${PYPKGPREFIX}-amkCrypto-[0-9]*
-
-GNU_CONFIGURE= yes
-
-do-test:
- ${RUN}cd ${WRKSRC};${SETENV} ${TEST_ENV} ${PYTHONBIN} ${PYSETUP} test
-
-PLIST_VARS+= py2x
-.include "../../lang/python/pyversion.mk"
-.if empty(PYPKGPREFIX:Mpy3?)
-PLIST.py2x= yes
-.endif
-
-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 "../../security/openssl/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/security/py-crypto/PLIST b/security/py-crypto/PLIST
deleted file mode 100644
index 036b1e60213..00000000000
--- a/security/py-crypto/PLIST
+++ /dev/null
@@ -1,383 +0,0 @@
-@comment $NetBSD: PLIST,v 1.11 2013/10/29 08:42:14 gls 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/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/XOR.py
-${PYSITELIB}/Crypto/Cipher/XOR.pyc
-${PYSITELIB}/Crypto/Cipher/XOR.pyo
-${PYSITELIB}/Crypto/Cipher/_AES.so
-${PYSITELIB}/Crypto/Cipher/_ARC2.so
-${PYSITELIB}/Crypto/Cipher/_ARC4.so
-${PYSITELIB}/Crypto/Cipher/_Blowfish.so
-${PYSITELIB}/Crypto/Cipher/_CAST.so
-${PYSITELIB}/Crypto/Cipher/_DES.so
-${PYSITELIB}/Crypto/Cipher/_DES3.so
-${PYSITELIB}/Crypto/Cipher/_XOR.so
-${PYSITELIB}/Crypto/Cipher/__init__.py
-${PYSITELIB}/Crypto/Cipher/__init__.pyc
-${PYSITELIB}/Crypto/Cipher/__init__.pyo
-${PYSITELIB}/Crypto/Cipher/blockalgo.py
-${PYSITELIB}/Crypto/Cipher/blockalgo.pyc
-${PYSITELIB}/Crypto/Cipher/blockalgo.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/SHA.py
-${PYSITELIB}/Crypto/Hash/SHA.pyc
-${PYSITELIB}/Crypto/Hash/SHA.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/SHA512.py
-${PYSITELIB}/Crypto/Hash/SHA512.pyc
-${PYSITELIB}/Crypto/Hash/SHA512.pyo
-${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/hashalgo.py
-${PYSITELIB}/Crypto/Hash/hashalgo.pyc
-${PYSITELIB}/Crypto/Hash/hashalgo.pyo
-${PYSITELIB}/Crypto/Protocol/AllOrNothing.py
-${PYSITELIB}/Crypto/Protocol/AllOrNothing.pyc
-${PYSITELIB}/Crypto/Protocol/AllOrNothing.pyo
-${PYSITELIB}/Crypto/Protocol/Chaffing.py
-${PYSITELIB}/Crypto/Protocol/Chaffing.pyc
-${PYSITELIB}/Crypto/Protocol/Chaffing.pyo
-${PYSITELIB}/Crypto/Protocol/KDF.py
-${PYSITELIB}/Crypto/Protocol/KDF.pyc
-${PYSITELIB}/Crypto/Protocol/KDF.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/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/_DSA.py
-${PYSITELIB}/Crypto/PublicKey/_DSA.pyc
-${PYSITELIB}/Crypto/PublicKey/_DSA.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/PublicKey/_fastmath.so
-${PYSITELIB}/Crypto/PublicKey/_slowmath.py
-${PYSITELIB}/Crypto/PublicKey/_slowmath.pyc
-${PYSITELIB}/Crypto/PublicKey/_slowmath.pyo
-${PYSITELIB}/Crypto/PublicKey/pubkey.py
-${PYSITELIB}/Crypto/PublicKey/pubkey.pyc
-${PYSITELIB}/Crypto/PublicKey/pubkey.pyo
-${PYSITELIB}/Crypto/Random/Fortuna/FortunaAccumulator.py
-${PYSITELIB}/Crypto/Random/Fortuna/FortunaAccumulator.pyc
-${PYSITELIB}/Crypto/Random/Fortuna/FortunaAccumulator.pyo
-${PYSITELIB}/Crypto/Random/Fortuna/FortunaGenerator.py
-${PYSITELIB}/Crypto/Random/Fortuna/FortunaGenerator.pyc
-${PYSITELIB}/Crypto/Random/Fortuna/FortunaGenerator.pyo
-${PYSITELIB}/Crypto/Random/Fortuna/SHAd256.py
-${PYSITELIB}/Crypto/Random/Fortuna/SHAd256.pyc
-${PYSITELIB}/Crypto/Random/Fortuna/SHAd256.pyo
-${PYSITELIB}/Crypto/Random/Fortuna/__init__.py
-${PYSITELIB}/Crypto/Random/Fortuna/__init__.pyc
-${PYSITELIB}/Crypto/Random/Fortuna/__init__.pyo
-${PYSITELIB}/Crypto/Random/OSRNG/__init__.py
-${PYSITELIB}/Crypto/Random/OSRNG/__init__.pyc
-${PYSITELIB}/Crypto/Random/OSRNG/__init__.pyo
-${PYSITELIB}/Crypto/Random/OSRNG/fallback.py
-${PYSITELIB}/Crypto/Random/OSRNG/fallback.pyc
-${PYSITELIB}/Crypto/Random/OSRNG/fallback.pyo
-${PLIST.py2x}${PYSITELIB}/Crypto/Random/OSRNG/nt.py
-${PLIST.py2x}${PYSITELIB}/Crypto/Random/OSRNG/nt.pyc
-${PLIST.py2x}${PYSITELIB}/Crypto/Random/OSRNG/nt.pyo
-${PYSITELIB}/Crypto/Random/OSRNG/posix.py
-${PYSITELIB}/Crypto/Random/OSRNG/posix.pyc
-${PYSITELIB}/Crypto/Random/OSRNG/posix.pyo
-${PYSITELIB}/Crypto/Random/OSRNG/rng_base.py
-${PYSITELIB}/Crypto/Random/OSRNG/rng_base.pyc
-${PYSITELIB}/Crypto/Random/OSRNG/rng_base.pyo
-${PYSITELIB}/Crypto/Random/_UserFriendlyRNG.py
-${PYSITELIB}/Crypto/Random/_UserFriendlyRNG.pyc
-${PYSITELIB}/Crypto/Random/_UserFriendlyRNG.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_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
-${PYSITELIB}/Crypto/SelfTest/Cipher/test_DES3.pyo
-${PYSITELIB}/Crypto/SelfTest/Cipher/test_XOR.py
-${PYSITELIB}/Crypto/SelfTest/Cipher/test_XOR.pyc
-${PYSITELIB}/Crypto/SelfTest/Cipher/test_XOR.pyo
-${PYSITELIB}/Crypto/SelfTest/Cipher/test_pkcs1_15.py
-${PYSITELIB}/Crypto/SelfTest/Cipher/test_pkcs1_15.pyc
-${PYSITELIB}/Crypto/SelfTest/Cipher/test_pkcs1_15.pyo
-${PYSITELIB}/Crypto/SelfTest/Cipher/test_pkcs1_oaep.py
-${PYSITELIB}/Crypto/SelfTest/Cipher/test_pkcs1_oaep.pyc
-${PYSITELIB}/Crypto/SelfTest/Cipher/test_pkcs1_oaep.pyo
-${PYSITELIB}/Crypto/SelfTest/Hash/__init__.py
-${PYSITELIB}/Crypto/SelfTest/Hash/__init__.pyc
-${PYSITELIB}/Crypto/SelfTest/Hash/__init__.pyo
-${PYSITELIB}/Crypto/SelfTest/Hash/common.py
-${PYSITELIB}/Crypto/SelfTest/Hash/common.pyc
-${PYSITELIB}/Crypto/SelfTest/Hash/common.pyo
-${PYSITELIB}/Crypto/SelfTest/Hash/test_HMAC.py
-${PYSITELIB}/Crypto/SelfTest/Hash/test_HMAC.pyc
-${PYSITELIB}/Crypto/SelfTest/Hash/test_HMAC.pyo
-${PYSITELIB}/Crypto/SelfTest/Hash/test_MD2.py
-${PYSITELIB}/Crypto/SelfTest/Hash/test_MD2.pyc
-${PYSITELIB}/Crypto/SelfTest/Hash/test_MD2.pyo
-${PYSITELIB}/Crypto/SelfTest/Hash/test_MD4.py
-${PYSITELIB}/Crypto/SelfTest/Hash/test_MD4.pyc
-${PYSITELIB}/Crypto/SelfTest/Hash/test_MD4.pyo
-${PYSITELIB}/Crypto/SelfTest/Hash/test_MD5.py
-${PYSITELIB}/Crypto/SelfTest/Hash/test_MD5.pyc
-${PYSITELIB}/Crypto/SelfTest/Hash/test_MD5.pyo
-${PYSITELIB}/Crypto/SelfTest/Hash/test_RIPEMD.py
-${PYSITELIB}/Crypto/SelfTest/Hash/test_RIPEMD.pyc
-${PYSITELIB}/Crypto/SelfTest/Hash/test_RIPEMD.pyo
-${PYSITELIB}/Crypto/SelfTest/Hash/test_SHA.py
-${PYSITELIB}/Crypto/SelfTest/Hash/test_SHA.pyc
-${PYSITELIB}/Crypto/SelfTest/Hash/test_SHA.pyo
-${PYSITELIB}/Crypto/SelfTest/Hash/test_SHA224.py
-${PYSITELIB}/Crypto/SelfTest/Hash/test_SHA224.pyc
-${PYSITELIB}/Crypto/SelfTest/Hash/test_SHA224.pyo
-${PYSITELIB}/Crypto/SelfTest/Hash/test_SHA256.py
-${PYSITELIB}/Crypto/SelfTest/Hash/test_SHA256.pyc
-${PYSITELIB}/Crypto/SelfTest/Hash/test_SHA256.pyo
-${PYSITELIB}/Crypto/SelfTest/Hash/test_SHA384.py
-${PYSITELIB}/Crypto/SelfTest/Hash/test_SHA384.pyc
-${PYSITELIB}/Crypto/SelfTest/Hash/test_SHA384.pyo
-${PYSITELIB}/Crypto/SelfTest/Hash/test_SHA512.py
-${PYSITELIB}/Crypto/SelfTest/Hash/test_SHA512.pyc
-${PYSITELIB}/Crypto/SelfTest/Hash/test_SHA512.pyo
-${PYSITELIB}/Crypto/SelfTest/Protocol/__init__.py
-${PYSITELIB}/Crypto/SelfTest/Protocol/__init__.pyc
-${PYSITELIB}/Crypto/SelfTest/Protocol/__init__.pyo
-${PYSITELIB}/Crypto/SelfTest/Protocol/test_AllOrNothing.py
-${PYSITELIB}/Crypto/SelfTest/Protocol/test_AllOrNothing.pyc
-${PYSITELIB}/Crypto/SelfTest/Protocol/test_AllOrNothing.pyo
-${PYSITELIB}/Crypto/SelfTest/Protocol/test_KDF.py
-${PYSITELIB}/Crypto/SelfTest/Protocol/test_KDF.pyc
-${PYSITELIB}/Crypto/SelfTest/Protocol/test_KDF.pyo
-${PYSITELIB}/Crypto/SelfTest/Protocol/test_chaffing.py
-${PYSITELIB}/Crypto/SelfTest/Protocol/test_chaffing.pyc
-${PYSITELIB}/Crypto/SelfTest/Protocol/test_chaffing.pyo
-${PYSITELIB}/Crypto/SelfTest/Protocol/test_rfc1751.py
-${PYSITELIB}/Crypto/SelfTest/Protocol/test_rfc1751.pyc
-${PYSITELIB}/Crypto/SelfTest/Protocol/test_rfc1751.pyo
-${PYSITELIB}/Crypto/SelfTest/PublicKey/__init__.py
-${PYSITELIB}/Crypto/SelfTest/PublicKey/__init__.pyc
-${PYSITELIB}/Crypto/SelfTest/PublicKey/__init__.pyo
-${PYSITELIB}/Crypto/SelfTest/PublicKey/test_DSA.py
-${PYSITELIB}/Crypto/SelfTest/PublicKey/test_DSA.pyc
-${PYSITELIB}/Crypto/SelfTest/PublicKey/test_DSA.pyo
-${PYSITELIB}/Crypto/SelfTest/PublicKey/test_ElGamal.py
-${PYSITELIB}/Crypto/SelfTest/PublicKey/test_ElGamal.pyc
-${PYSITELIB}/Crypto/SelfTest/PublicKey/test_ElGamal.pyo
-${PYSITELIB}/Crypto/SelfTest/PublicKey/test_RSA.py
-${PYSITELIB}/Crypto/SelfTest/PublicKey/test_RSA.pyc
-${PYSITELIB}/Crypto/SelfTest/PublicKey/test_RSA.pyo
-${PYSITELIB}/Crypto/SelfTest/PublicKey/test_importKey.py
-${PYSITELIB}/Crypto/SelfTest/PublicKey/test_importKey.pyc
-${PYSITELIB}/Crypto/SelfTest/PublicKey/test_importKey.pyo
-${PYSITELIB}/Crypto/SelfTest/Random/Fortuna/__init__.py
-${PYSITELIB}/Crypto/SelfTest/Random/Fortuna/__init__.pyc
-${PYSITELIB}/Crypto/SelfTest/Random/Fortuna/__init__.pyo
-${PYSITELIB}/Crypto/SelfTest/Random/Fortuna/test_FortunaAccumulator.py
-${PYSITELIB}/Crypto/SelfTest/Random/Fortuna/test_FortunaAccumulator.pyc
-${PYSITELIB}/Crypto/SelfTest/Random/Fortuna/test_FortunaAccumulator.pyo
-${PYSITELIB}/Crypto/SelfTest/Random/Fortuna/test_FortunaGenerator.py
-${PYSITELIB}/Crypto/SelfTest/Random/Fortuna/test_FortunaGenerator.pyc
-${PYSITELIB}/Crypto/SelfTest/Random/Fortuna/test_FortunaGenerator.pyo
-${PYSITELIB}/Crypto/SelfTest/Random/Fortuna/test_SHAd256.py
-${PYSITELIB}/Crypto/SelfTest/Random/Fortuna/test_SHAd256.pyc
-${PYSITELIB}/Crypto/SelfTest/Random/Fortuna/test_SHAd256.pyo
-${PYSITELIB}/Crypto/SelfTest/Random/OSRNG/__init__.py
-${PYSITELIB}/Crypto/SelfTest/Random/OSRNG/__init__.pyc
-${PYSITELIB}/Crypto/SelfTest/Random/OSRNG/__init__.pyo
-${PYSITELIB}/Crypto/SelfTest/Random/OSRNG/test_fallback.py
-${PYSITELIB}/Crypto/SelfTest/Random/OSRNG/test_fallback.pyc
-${PYSITELIB}/Crypto/SelfTest/Random/OSRNG/test_fallback.pyo
-${PYSITELIB}/Crypto/SelfTest/Random/OSRNG/test_generic.py
-${PYSITELIB}/Crypto/SelfTest/Random/OSRNG/test_generic.pyc
-${PYSITELIB}/Crypto/SelfTest/Random/OSRNG/test_generic.pyo
-${PYSITELIB}/Crypto/SelfTest/Random/OSRNG/test_nt.py
-${PYSITELIB}/Crypto/SelfTest/Random/OSRNG/test_nt.pyc
-${PYSITELIB}/Crypto/SelfTest/Random/OSRNG/test_nt.pyo
-${PYSITELIB}/Crypto/SelfTest/Random/OSRNG/test_posix.py
-${PYSITELIB}/Crypto/SelfTest/Random/OSRNG/test_posix.pyc
-${PYSITELIB}/Crypto/SelfTest/Random/OSRNG/test_posix.pyo
-${PYSITELIB}/Crypto/SelfTest/Random/OSRNG/test_winrandom.py
-${PYSITELIB}/Crypto/SelfTest/Random/OSRNG/test_winrandom.pyc
-${PYSITELIB}/Crypto/SelfTest/Random/OSRNG/test_winrandom.pyo
-${PYSITELIB}/Crypto/SelfTest/Random/__init__.py
-${PYSITELIB}/Crypto/SelfTest/Random/__init__.pyc
-${PYSITELIB}/Crypto/SelfTest/Random/__init__.pyo
-${PYSITELIB}/Crypto/SelfTest/Random/test__UserFriendlyRNG.py
-${PYSITELIB}/Crypto/SelfTest/Random/test__UserFriendlyRNG.pyc
-${PYSITELIB}/Crypto/SelfTest/Random/test__UserFriendlyRNG.pyo
-${PYSITELIB}/Crypto/SelfTest/Random/test_random.py
-${PYSITELIB}/Crypto/SelfTest/Random/test_random.pyc
-${PYSITELIB}/Crypto/SelfTest/Random/test_random.pyo
-${PYSITELIB}/Crypto/SelfTest/Random/test_rpoolcompat.py
-${PYSITELIB}/Crypto/SelfTest/Random/test_rpoolcompat.pyc
-${PYSITELIB}/Crypto/SelfTest/Random/test_rpoolcompat.pyo
-${PYSITELIB}/Crypto/SelfTest/Signature/__init__.py
-${PYSITELIB}/Crypto/SelfTest/Signature/__init__.pyc
-${PYSITELIB}/Crypto/SelfTest/Signature/__init__.pyo
-${PYSITELIB}/Crypto/SelfTest/Signature/test_pkcs1_15.py
-${PYSITELIB}/Crypto/SelfTest/Signature/test_pkcs1_15.pyc
-${PYSITELIB}/Crypto/SelfTest/Signature/test_pkcs1_15.pyo
-${PYSITELIB}/Crypto/SelfTest/Signature/test_pkcs1_pss.py
-${PYSITELIB}/Crypto/SelfTest/Signature/test_pkcs1_pss.pyc
-${PYSITELIB}/Crypto/SelfTest/Signature/test_pkcs1_pss.pyo
-${PYSITELIB}/Crypto/SelfTest/Util/__init__.py
-${PYSITELIB}/Crypto/SelfTest/Util/__init__.pyc
-${PYSITELIB}/Crypto/SelfTest/Util/__init__.pyo
-${PYSITELIB}/Crypto/SelfTest/Util/test_Counter.py
-${PYSITELIB}/Crypto/SelfTest/Util/test_Counter.pyc
-${PYSITELIB}/Crypto/SelfTest/Util/test_Counter.pyo
-${PYSITELIB}/Crypto/SelfTest/Util/test_asn1.py
-${PYSITELIB}/Crypto/SelfTest/Util/test_asn1.pyc
-${PYSITELIB}/Crypto/SelfTest/Util/test_asn1.pyo
-${PYSITELIB}/Crypto/SelfTest/Util/test_number.py
-${PYSITELIB}/Crypto/SelfTest/Util/test_number.pyc
-${PYSITELIB}/Crypto/SelfTest/Util/test_number.pyo
-${PYSITELIB}/Crypto/SelfTest/Util/test_winrandom.py
-${PYSITELIB}/Crypto/SelfTest/Util/test_winrandom.pyc
-${PYSITELIB}/Crypto/SelfTest/Util/test_winrandom.pyo
-${PYSITELIB}/Crypto/SelfTest/__init__.py
-${PYSITELIB}/Crypto/SelfTest/__init__.pyc
-${PYSITELIB}/Crypto/SelfTest/__init__.pyo
-${PYSITELIB}/Crypto/SelfTest/st_common.py
-${PYSITELIB}/Crypto/SelfTest/st_common.pyc
-${PYSITELIB}/Crypto/SelfTest/st_common.pyo
-${PYSITELIB}/Crypto/Signature/PKCS1_PSS.py
-${PYSITELIB}/Crypto/Signature/PKCS1_PSS.pyc
-${PYSITELIB}/Crypto/Signature/PKCS1_PSS.pyo
-${PYSITELIB}/Crypto/Signature/PKCS1_v1_5.py
-${PYSITELIB}/Crypto/Signature/PKCS1_v1_5.pyc
-${PYSITELIB}/Crypto/Signature/PKCS1_v1_5.pyo
-${PYSITELIB}/Crypto/Signature/__init__.py
-${PYSITELIB}/Crypto/Signature/__init__.pyc
-${PYSITELIB}/Crypto/Signature/__init__.pyo
-${PYSITELIB}/Crypto/Util/Counter.py
-${PYSITELIB}/Crypto/Util/Counter.pyc
-${PYSITELIB}/Crypto/Util/Counter.pyo
-${PYSITELIB}/Crypto/Util/RFC1751.py
-${PYSITELIB}/Crypto/Util/RFC1751.pyc
-${PYSITELIB}/Crypto/Util/RFC1751.pyo
-${PYSITELIB}/Crypto/Util/__init__.py
-${PYSITELIB}/Crypto/Util/__init__.pyc
-${PYSITELIB}/Crypto/Util/__init__.pyo
-${PYSITELIB}/Crypto/Util/_counter.so
-${PYSITELIB}/Crypto/Util/_number_new.py
-${PYSITELIB}/Crypto/Util/_number_new.pyc
-${PYSITELIB}/Crypto/Util/_number_new.pyo
-${PYSITELIB}/Crypto/Util/asn1.py
-${PYSITELIB}/Crypto/Util/asn1.pyc
-${PYSITELIB}/Crypto/Util/asn1.pyo
-${PYSITELIB}/Crypto/Util/number.py
-${PYSITELIB}/Crypto/Util/number.pyc
-${PYSITELIB}/Crypto/Util/number.pyo
-${PLIST.py2x}${PYSITELIB}/Crypto/Util/py21compat.py
-${PLIST.py2x}${PYSITELIB}/Crypto/Util/py21compat.pyc
-${PLIST.py2x}${PYSITELIB}/Crypto/Util/py21compat.pyo
-${PYSITELIB}/Crypto/Util/py3compat.py
-${PYSITELIB}/Crypto/Util/py3compat.pyc
-${PYSITELIB}/Crypto/Util/py3compat.pyo
-${PYSITELIB}/Crypto/Util/randpool.py
-${PYSITELIB}/Crypto/Util/randpool.pyc
-${PYSITELIB}/Crypto/Util/randpool.pyo
-${PYSITELIB}/Crypto/Util/strxor.so
-${PYSITELIB}/Crypto/Util/winrandom.py
-${PYSITELIB}/Crypto/Util/winrandom.pyc
-${PYSITELIB}/Crypto/Util/winrandom.pyo
-${PYSITELIB}/Crypto/__init__.py
-${PYSITELIB}/Crypto/__init__.pyc
-${PYSITELIB}/Crypto/__init__.pyo
-${PYSITELIB}/Crypto/pct_warnings.py
-${PYSITELIB}/Crypto/pct_warnings.pyc
-${PYSITELIB}/Crypto/pct_warnings.pyo
-${PYSITELIB}/${EGG_FILE}
diff --git a/security/py-crypto/distinfo b/security/py-crypto/distinfo
deleted file mode 100644
index 9cbbff3c30a..00000000000
--- a/security/py-crypto/distinfo
+++ /dev/null
@@ -1,9 +0,0 @@
-$NetBSD: distinfo,v 1.13 2017/03/08 01:09:00 sevan Exp $
-
-SHA1 (pycrypto-2.6.1.tar.gz) = aeda3ed41caf1766409d4efc689b9ca30ad6aeb2
-RMD160 (pycrypto-2.6.1.tar.gz) = ac0db079e5e4be9daf739e094c10e96291dbc009
-SHA512 (pycrypto-2.6.1.tar.gz) = 20a4aed4dac4e9e61d773ebc1d48ea577e9870c33f396be53d075a9bf8487d93e75e200179882d81e452efd0f6751789bac434f6f431b3e7c1c8ef9dba392847
-Size (pycrypto-2.6.1.tar.gz) = 446240 bytes
-SHA1 (patch-ab) = 2c72b0e70fdebd2e62aff28284afd919e935de08
-SHA1 (patch-lib_Crypto_SelfTest_Cipher_common.py) = d505f84217614a5a0065addcebab46da15c204e7
-SHA1 (patch-src_block_template.c) = 646bb15e41290922c417a2104e401c82379e97dd
diff --git a/security/py-crypto/patches/patch-ab b/security/py-crypto/patches/patch-ab
deleted file mode 100644
index bf5b09dc5d6..00000000000
--- a/security/py-crypto/patches/patch-ab
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-ab,v 1.4 2010/12/05 17:13:09 gls Exp $
-
-Something in the build fails to detect that we have wchar.h. This
-change make it build on NetBSD; a better fix is welcome.
-
---- src/libtom/tomcrypt_pk.h.orig 2010-08-27 04:41:55.000000000 +0000
-+++ src/libtom/tomcrypt_pk.h
-@@ -495,12 +495,7 @@ int der_length_printable_string(const un
- int der_printable_char_encode(int c);
- int der_printable_value_decode(int v);
-
--/* UTF-8 */
--#if (defined(SIZE_MAX) || __STDC_VERSION__ >= 199901L || defined(WCHAR_MAX) || defined(_WCHAR_T) || defined(_WCHAR_T_DEFINED)) && !defined(LTC_NO_WCHAR)
- #include <wchar.h>
--#else
--typedef ulong32 wchar_t;
--#endif
-
- int der_encode_utf8_string(const wchar_t *in, unsigned long inlen,
- unsigned char *out, unsigned long *outlen);
diff --git a/security/py-crypto/patches/patch-lib_Crypto_SelfTest_Cipher_common.py b/security/py-crypto/patches/patch-lib_Crypto_SelfTest_Cipher_common.py
deleted file mode 100644
index 6d25d42cfc4..00000000000
--- a/security/py-crypto/patches/patch-lib_Crypto_SelfTest_Cipher_common.py
+++ /dev/null
@@ -1,49 +0,0 @@
-$NetBSD: patch-lib_Crypto_SelfTest_Cipher_common.py,v 1.2 2017/03/08 01:09:00 sevan Exp $
-
-CVE-2013-7459 backport
-https://github.com/dlitz/pycrypto/commit/8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4
-
---- lib/Crypto/SelfTest/Cipher/common.py.orig 2017-03-07 16:48:08.000000000 +0000
-+++ lib/Crypto/SelfTest/Cipher/common.py
-@@ -239,19 +239,33 @@ class RoundtripTest(unittest.TestCase):
- return """%s .decrypt() output of .encrypt() should not be garbled""" % (self.module_name,)
-
- def runTest(self):
-- for mode in (self.module.MODE_ECB, self.module.MODE_CBC, self.module.MODE_CFB, self.module.MODE_OFB, self.module.MODE_OPENPGP):
-+ ## ECB mode
-+ mode = self.module.MODE_ECB
-+ encryption_cipher = self.module.new(a2b_hex(self.key), mode)
-+ ciphertext = encryption_cipher.encrypt(self.plaintext)
-+ decryption_cipher = self.module.new(a2b_hex(self.key), mode)
-+ decrypted_plaintext = decryption_cipher.decrypt(ciphertext)
-+ self.assertEqual(self.plaintext, decrypted_plaintext)
-+
-+ ## OPENPGP mode
-+ mode = self.module.MODE_OPENPGP
-+ encryption_cipher = self.module.new(a2b_hex(self.key), mode, self.iv)
-+ eiv_ciphertext = encryption_cipher.encrypt(self.plaintext)
-+ eiv = eiv_ciphertext[:self.module.block_size+2]
-+ ciphertext = eiv_ciphertext[self.module.block_size+2:]
-+ decryption_cipher = self.module.new(a2b_hex(self.key), mode, eiv)
-+ decrypted_plaintext = decryption_cipher.decrypt(ciphertext)
-+ self.assertEqual(self.plaintext, decrypted_plaintext)
-+
-+ ## All other non-AEAD modes (but CTR)
-+ for mode in (self.module.MODE_CBC, self.module.MODE_CFB, self.module.MODE_OFB):
- encryption_cipher = self.module.new(a2b_hex(self.key), mode, self.iv)
- ciphertext = encryption_cipher.encrypt(self.plaintext)
--
-- if mode != self.module.MODE_OPENPGP:
-- decryption_cipher = self.module.new(a2b_hex(self.key), mode, self.iv)
-- else:
-- eiv = ciphertext[:self.module.block_size+2]
-- ciphertext = ciphertext[self.module.block_size+2:]
-- decryption_cipher = self.module.new(a2b_hex(self.key), mode, eiv)
-+ decryption_cipher = self.module.new(a2b_hex(self.key), mode, self.iv)
- decrypted_plaintext = decryption_cipher.decrypt(ciphertext)
- self.assertEqual(self.plaintext, decrypted_plaintext)
-
-+
- class PGPTest(unittest.TestCase):
- def __init__(self, module, params):
- unittest.TestCase.__init__(self)
diff --git a/security/py-crypto/patches/patch-src_block_template.c b/security/py-crypto/patches/patch-src_block_template.c
deleted file mode 100644
index 6ef5ef43234..00000000000
--- a/security/py-crypto/patches/patch-src_block_template.c
+++ /dev/null
@@ -1,25 +0,0 @@
-$NetBSD: patch-src_block_template.c,v 1.1 2017/03/07 23:17:51 sevan Exp $
-
-CVE-2013-7459 backport
-https://github.com/dlitz/pycrypto/commit/8dbe0dc3eea5c689d4f76b37b93fe216cf1f00d4
-
---- src/block_template.c.orig 2017-03-07 16:58:09.000000000 +0000
-+++ src/block_template.c
-@@ -170,6 +170,17 @@ ALGnew(PyObject *self, PyObject *args, P
- "Key cannot be the null string");
- return NULL;
- }
-+ if (IVlen != 0 && mode == MODE_ECB)
-+ {
-+ PyErr_Format(PyExc_ValueError, "ECB mode does not use IV");
-+ return NULL;
-+ }
-+ if (IVlen != 0 && mode == MODE_CTR)
-+ {
-+ PyErr_Format(PyExc_ValueError,
-+ "CTR mode needs counter parameter, not IV");
-+ return NULL;
-+ }
- if (IVlen != BLOCK_SIZE && mode != MODE_ECB && mode != MODE_CTR)
- {
- PyErr_Format(PyExc_ValueError,