pkgsrc/security/py-crypto/Makefile
obache 131e5d67da Update py-cryoto to 2.4.
2.4
===
	* Python 3 support!  (Thorsten E. Behrens, Anders Sundman)
	  PyCrypto now supports every version of Python from 2.1 through 3.2.

	* Timing-attack countermeasures in _fastmath: When built against
	  libgmp version 5 or later, we use mpz_powm_sec instead of mpz_powm.
	  This should prevent the timing attack described by Geremy Condra at
	  PyCon 2011:
	  http://blip.tv/pycon-us-videos-2009-2010-2011/pycon-2011-through-the-side-channel-timing-and-implementation-attacks-in-python-4897955

	* New hash modules (for Python >= 2.5 only): SHA224, SHA384, and
	  SHA512 (Frédéric Bertolus)

	* Configuration using GNU autoconf.  This should help fix a bunch of
	  build issues.

	* Support using MPIR as an alternative to GMP.

	* Improve the test command in setup.py, by allowing tests to be
	  performed on a single sub-package or module only. (Legrandin)

	  You can now do something like this:

	    python setup.py test -m Hash.SHA256 --skip-slow-tests

	* Fix double-decref of "counter" when Cipher object initialisation
	  fails (Ryan Kelly)

	* Apply patches from Debian's python-crypto 2.3-3 package (Jan
	  Dittberner, Sebastian Ramacher):
	 - fix-RSA-generate-exception.patch
	 - epydoc-exclude-introspect.patch
	 - no-usr-local.patch

	* Fix launchpad bug #702835: "Import key code is not compatible with
	  GMP library" (Legrandin)

	* More tests, better documentation, various bugfixes.
2011-10-30 13:30:36 +00:00

37 lines
991 B
Makefile

# $NetBSD: Makefile,v 1.22 2011/10/30 13:30:36 obache Exp $
#
DISTNAME= pycrypto-2.4
PKGNAME= ${DISTNAME:S/^py/${PYPKGPREFIX}-/}
CATEGORIES= security python
MASTER_SITES= http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.dlitz.net/software/pycrypto/
COMMENT= Cryptographic and hash functions for Python
# mostly public domain, but a few bits are:
LICENSE= python-software-foundation
CONFLICTS+= ${PYPKGPREFIX}-amkCrypto-[0-9]*
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
do-test:
${RUN}cd ${WRKSRC};${SETENV} ${TEST_ENV} ${PYTHONBIN} ${PYSETUP} test
PLIST_VARS+= py25 py2x
.include "../../lang/python/pyversion.mk"
.if empty(PYPKGPREFIX:Mpy24)
PLIST.py25= yes
.endif
.if empty(PYPKGPREFIX:Mpy3?)
PLIST.py2x= yes
.endif
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"