summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2017-03-07 16:28:17 +0000
committermaya <maya@pkgsrc.org>2017-03-07 16:28:17 +0000
commite58214706625c96ec57525bf58f2ddbebe11d617 (patch)
treea5ddb3c9dccba7dba6fc356be2a1fd1f9e139077 /security
parent4dd1f761975b63927fa9ce6f1b10b4bbfbdd6e75 (diff)
downloadpkgsrc-e58214706625c96ec57525bf58f2ddbebe11d617.tar.gz
py-cryptodome: update to 3.4.5
The library can also be compiled using MinGW. Removed use of alloca(). [Security] Removed implementation of deprecated "quick check" feature of PGP block cipher mode. Improved the performance of scrypt by converting some Python to C.
Diffstat (limited to 'security')
-rwxr-xr-xsecurity/py-cryptodome/Makefile5
-rw-r--r--security/py-cryptodome/PLIST3
-rw-r--r--security/py-cryptodome/distinfo11
-rw-r--r--security/py-cryptodome/patches/patch-src_pycrypto__common.h16
4 files changed, 9 insertions, 26 deletions
diff --git a/security/py-cryptodome/Makefile b/security/py-cryptodome/Makefile
index adace50e0f3..ea1f6c05771 100755
--- a/security/py-cryptodome/Makefile
+++ b/security/py-cryptodome/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2017/02/08 00:06:54 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2017/03/07 16:28:17 maya Exp $
-DISTNAME= pycryptodome-3.4.3
+DISTNAME= pycryptodome-3.4.5
PKGNAME= ${DISTNAME:S/^py/${PYPKGPREFIX}-/}
-PKGREVISION= 1
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycryptodome/}
diff --git a/security/py-cryptodome/PLIST b/security/py-cryptodome/PLIST
index 63b17ad2c4f..2909d18c2a5 100644
--- a/security/py-cryptodome/PLIST
+++ b/security/py-cryptodome/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2017/02/08 00:06:54 joerg Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/03/07 16:28:17 maya Exp $
${PYSITELIB}/Crypto/Cipher/AES.py
${PYSITELIB}/Crypto/Cipher/AES.pyc
${PYSITELIB}/Crypto/Cipher/AES.pyo
@@ -199,6 +199,7 @@ ${PYSITELIB}/Crypto/Protocol/SecretSharing.pyo
${PYSITELIB}/Crypto/Protocol/__init__.py
${PYSITELIB}/Crypto/Protocol/__init__.pyc
${PYSITELIB}/Crypto/Protocol/__init__.pyo
+${PYSITELIB}/Crypto/Protocol/_scrypt.so
${PYSITELIB}/Crypto/PublicKey/DSA.py
${PYSITELIB}/Crypto/PublicKey/DSA.pyc
${PYSITELIB}/Crypto/PublicKey/DSA.pyo
diff --git a/security/py-cryptodome/distinfo b/security/py-cryptodome/distinfo
index 14f6575df0f..f66b33f84a8 100644
--- a/security/py-cryptodome/distinfo
+++ b/security/py-cryptodome/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.2 2016/12/30 23:02:57 maya Exp $
+$NetBSD: distinfo,v 1.3 2017/03/07 16:28:17 maya Exp $
-SHA1 (pycryptodome-3.4.3.tar.gz) = 1be4c06e91f22fc0b566e019e0a5278b6a0208bb
-RMD160 (pycryptodome-3.4.3.tar.gz) = 29b2ffcb54dbb7fbec75d6db7581b14319d91e59
-SHA512 (pycryptodome-3.4.3.tar.gz) = ef011825aaad3db45ade9b466c3301cf9fc5b8806a34fad047e25e458371b5947b9e345f3ee557b334b8b17f4a1b61c44c0512eed37bc83c6bf04c2d54c7031b
-Size (pycryptodome-3.4.3.tar.gz) = 6494152 bytes
-SHA1 (patch-src_pycrypto__common.h) = db02f02eaf08fff27b29adde7777919ba045c7bb
+SHA1 (pycryptodome-3.4.5.tar.gz) = a5d66d1b923b57d4aa3f4bdb2d296b39f23213d2
+RMD160 (pycryptodome-3.4.5.tar.gz) = ebdb0edb86f048889f467ddabb9efe95b74254e6
+SHA512 (pycryptodome-3.4.5.tar.gz) = b33bb8e404bbd9b294f185a44468c7b09504fda94cf37f2445e6afbea4837510146470c1dcf7b28133d1b50d6f59685957fd5cd770d7afefcecca6bb18ad36bd
+Size (pycryptodome-3.4.5.tar.gz) = 6494255 bytes
diff --git a/security/py-cryptodome/patches/patch-src_pycrypto__common.h b/security/py-cryptodome/patches/patch-src_pycrypto__common.h
deleted file mode 100644
index cc07ec6a891..00000000000
--- a/security/py-cryptodome/patches/patch-src_pycrypto__common.h
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-src_pycrypto__common.h,v 1.2 2016/12/30 23:02:57 maya Exp $
-
-BSDs generally don't have alloca.h, Sun needs it
-
---- src/pycrypto_common.h.orig 2016-10-16 20:19:30.000000000 +0000
-+++ src/pycrypto_common.h
-@@ -45,7 +45,9 @@ typedef unsigned __int64 uint64_t;
-
- #else
- #include <stdint.h>
-+#if defined(__linux__) || defined(__sun)
- #include <alloca.h>
-+#endif /* !linux */
- #endif
-
- #include <stdlib.h>