aboutsummaryrefslogtreecommitdiff
path: root/security/py-pycrypto
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2010-08-12 19:15:37 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2010-08-12 19:15:37 +0000
commit986aefcfc4f15aca8b0341e0e5298432d057e444 (patch)
tree5657c7fb7e3be4b6fd2b0060fd24361eda57ab0d /security/py-pycrypto
parent8009b2d5052a7507fbe4b97fafad38fa616bf4a0 (diff)
downloadports-986aefcfc4f15aca8b0341e0e5298432d057e444.tar.gz
ports-986aefcfc4f15aca8b0341e0e5298432d057e444.zip
Notes
Diffstat (limited to 'security/py-pycrypto')
-rw-r--r--security/py-pycrypto/Makefile3
-rw-r--r--security/py-pycrypto/distinfo6
-rw-r--r--security/py-pycrypto/files/patch-setup.py12
-rw-r--r--security/py-pycrypto/pkg-plist9
4 files changed, 19 insertions, 11 deletions
diff --git a/security/py-pycrypto/Makefile b/security/py-pycrypto/Makefile
index 08cfdb566e1a..33a98aa5d7bd 100644
--- a/security/py-pycrypto/Makefile
+++ b/security/py-pycrypto/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= pycrypto
-PORTVERSION= 2.1.0
-PORTREVISION= 1
+PORTVERSION= 2.2
CATEGORIES= security python
MASTER_SITES= http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
diff --git a/security/py-pycrypto/distinfo b/security/py-pycrypto/distinfo
index ef27712b7c99..2781e8d67c3d 100644
--- a/security/py-pycrypto/distinfo
+++ b/security/py-pycrypto/distinfo
@@ -1,3 +1,3 @@
-MD5 (pycrypto-2.1.0.tar.gz) = 1d3eb04f06e6f09a080bc37fb019f9bf
-SHA256 (pycrypto-2.1.0.tar.gz) = 253e1c22ea0249f0429df4f7e2eb973b119c83b146c0f421298f5e8e6822d8a2
-SIZE (pycrypto-2.1.0.tar.gz) = 265388
+MD5 (pycrypto-2.2.tar.gz) = 4f0ed728b14b98f09120cb2ec461ec98
+SHA256 (pycrypto-2.2.tar.gz) = 9219449bc85ab4f4ff61fc83b0cbe0ec23d46943caab3d5413c6ba52da6f922c
+SIZE (pycrypto-2.2.tar.gz) = 331270
diff --git a/security/py-pycrypto/files/patch-setup.py b/security/py-pycrypto/files/patch-setup.py
index d959eedfeb1a..642c54eac5a6 100644
--- a/security/py-pycrypto/files/patch-setup.py
+++ b/security/py-pycrypto/files/patch-setup.py
@@ -1,14 +1,14 @@
---- ./setup.py.orig 2009-12-13 21:39:29.000000000 +0100
-+++ ./setup.py 2009-12-14 16:48:47.000000000 +0100
-@@ -136,6 +136,7 @@
+--- setup.py.orig 2010-08-08 14:02:23.895825034 +0200
++++ setup.py 2010-08-08 14:04:31.663792751 +0200
+@@ -139,6 +139,7 @@
# especially helps the DES modules.
self.__add_compiler_option("-O3")
self.__add_compiler_option("-fomit-frame-pointer")
+ self.__add_compiler_option("-D_WCHAR_T_DEFINED")
# Don't include debug symbols unless debugging
self.__remove_compiler_option("-g")
- if USE_GCOV:
-@@ -152,7 +153,7 @@
+ # Don't include profiling information (incompatible with -fomit-frame-pointer)
+@@ -157,7 +158,7 @@
self.compiler.include_dirs.insert(0, "src/inc-msvc/")
# Detect libgmp and don't build _fastmath if it is missing.
@@ -17,7 +17,7 @@
if not (self.compiler.find_library_file(lib_dirs, 'gmp')):
print >>sys.stderr, "warning: GMP library not found; Not building Crypto.PublicKey._fastmath."
self.__remove_extensions(["Crypto.PublicKey._fastmath"])
-@@ -259,6 +260,7 @@
+@@ -264,6 +265,7 @@
Extension("Crypto.PublicKey._fastmath",
include_dirs=['src/'],
libraries=['gmp'],
diff --git a/security/py-pycrypto/pkg-plist b/security/py-pycrypto/pkg-plist
index cc6b60b77d82..845f9ba31305 100644
--- a/security/py-pycrypto/pkg-plist
+++ b/security/py-pycrypto/pkg-plist
@@ -175,6 +175,9 @@
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/PublicKey/test_RSA.py
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/PublicKey/test_RSA.pyc
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/PublicKey/test_RSA.pyo
+%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/PublicKey/test_importKey.py
+%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/PublicKey/test_importKey.pyc
+%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/PublicKey/test_importKey.pyo
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Random/Fortuna/__init__.py
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Random/Fortuna/__init__.pyc
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Random/Fortuna/__init__.pyo
@@ -217,6 +220,9 @@
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Util/__init__.py
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Util/__init__.pyc
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Util/__init__.pyo
+%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Util/test_asn1.py
+%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Util/test_asn1.pyc
+%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Util/test_asn1.pyo
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Util/test_Counter.py
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Util/test_Counter.pyc
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/Util/test_Counter.pyo
@@ -232,6 +238,9 @@
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/st_common.py
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/st_common.pyc
%%PYTHON_SITELIBDIR%%/Crypto/SelfTest/st_common.pyo
+%%PYTHON_SITELIBDIR%%/Crypto/Util/asn1.py
+%%PYTHON_SITELIBDIR%%/Crypto/Util/asn1.pyc
+%%PYTHON_SITELIBDIR%%/Crypto/Util/asn1.pyo
%%PYTHON_SITELIBDIR%%/Crypto/Util/Counter.py
%%PYTHON_SITELIBDIR%%/Crypto/Util/Counter.pyc
%%PYTHON_SITELIBDIR%%/Crypto/Util/Counter.pyo