Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 2016 13:44:02 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405696 - in head/security: . py-pycryptodome
Message-ID:  <201601101344.u0ADi2K2020449@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: miwi
Date: Sun Jan 10 13:44:01 2016
New Revision: 405696
URL: https://svnweb.freebsd.org/changeset/ports/405696

Log:
  PyCryptodome is a fork of PyCrypto. It brings the following
  enhancements with respect to the last official version of
  PyCrypto (2.6.1):
  
  * Authenticated encryption modes (GCM, CCM, EAX, SIV, OCB)
  * Accelerated AES on Intel platforms via AES-NI
  * First class support for PyPy
  * SHA-3 (including SHAKE XOFs) and BLAKE2 hash algorithms
  * Salsa20 and ChaCha20 stream ciphers
  * scrypt and HKDF
  * Deterministic DSA
  * Password-protected PKCS#8 key containers
  * Shamir's Secret Sharing scheme
  * Random numbers get sourced directly from the OS (and not from
    a CSPRNG in userspace)
  * Simplified install process, including better support for Windows
  * Cleaner RSA and DSA key generation (largely based on FIPS 186-4)
  * Major clean ups and simplification of the code base
  
  WWW: https://pypi.python.org/pypi/pycryptodome/
  
  PR:		206095
  Submitted by:	Yuri Victorovich <yuri@rawbw.com>

Added:
  head/security/py-pycryptodome/
  head/security/py-pycryptodome/Makefile   (contents, props changed)
  head/security/py-pycryptodome/distinfo   (contents, props changed)
  head/security/py-pycryptodome/pkg-descr   (contents, props changed)
Modified:
  head/security/Makefile

Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile	Sun Jan 10 13:20:59 2016	(r405695)
+++ head/security/Makefile	Sun Jan 10 13:44:01 2016	(r405696)
@@ -850,6 +850,7 @@
     SUBDIR += py-pyaff4
     SUBDIR += py-pyclamd
     SUBDIR += py-pycrypto
+    SUBDIR += py-pycryptodome
     SUBDIR += py-pycryptopp
     SUBDIR += py-pydeep
     SUBDIR += py-pyelliptic

Added: head/security/py-pycryptodome/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-pycryptodome/Makefile	Sun Jan 10 13:44:01 2016	(r405696)
@@ -0,0 +1,27 @@
+# Created by: Yuri Victorovich <yuri@rawbw.com>
+# $FreeBSD$
+
+PORTNAME=	pycryptodome
+PORTVERSION=	3.3.1
+CATEGORIES=	security python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@rawbw.com
+COMMENT=	Cryptographic library for Python
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.rst
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/Cipher/*.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/Hash/*.so
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/Crypto/Util/*.so
+
+do-test:
+	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+.include <bsd.port.mk>

Added: head/security/py-pycryptodome/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-pycryptodome/distinfo	Sun Jan 10 13:44:01 2016	(r405696)
@@ -0,0 +1,2 @@
+SHA256 (pycryptodome-3.3.1.tar.gz) = 1b52d5643e243a6d5ba4b5706e6ae59ee61b14e800ff812c1e47ec4dfe8e4761
+SIZE (pycryptodome-3.3.1.tar.gz) = 3050117

Added: head/security/py-pycryptodome/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/py-pycryptodome/pkg-descr	Sun Jan 10 13:44:01 2016	(r405696)
@@ -0,0 +1,20 @@
+PyCryptodome is a fork of PyCrypto. It brings the following
+enhancements with respect to the last official version of
+PyCrypto (2.6.1):
+
+* Authenticated encryption modes (GCM, CCM, EAX, SIV, OCB)
+* Accelerated AES on Intel platforms via AES-NI
+* First class support for PyPy
+* SHA-3 (including SHAKE XOFs) and BLAKE2 hash algorithms
+* Salsa20 and ChaCha20 stream ciphers
+* scrypt and HKDF
+* Deterministic DSA
+* Password-protected PKCS#8 key containers
+* Shamir's Secret Sharing scheme
+* Random numbers get sourced directly from the OS (and not from
+  a CSPRNG in userspace)
+* Simplified install process, including better support for Windows
+* Cleaner RSA and DSA key generation (largely based on FIPS 186-4)
+* Major clean ups and simplification of the code base
+
+WWW: https://pypi.python.org/pypi/pycryptodome/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601101344.u0ADi2K2020449>