summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2010-09-24 18:10:46 +0000
committergdt <gdt@pkgsrc.org>2010-09-24 18:10:46 +0000
commitde8760b30703e591a7a1231c06f0eeef4e556879 (patch)
tree10df0b42065781d0d6ca7e6056dad7ec58f049cd
parent71892a6c32fe20a40fe3dafd9bf7f603e4f61b8b (diff)
downloadpkgsrc-de8760b30703e591a7a1231c06f0eeef4e556879.tar.gz
Update to 0.5.25. Add patch to not install odd extraversion.h file.
2010-09-20 -- pycryptopp v0.5.25 * make setup backwards-compatible to Python 2.4 * fix incompatibilities between setup script and older versions of darcsver * don't attempt to compile Mac OS X extended attribute files (this fixes the build breaking) * include a version number of the specific version of Crypto++ in extraversion.h * small changes to docs 2010-09-18 -- pycryptopp v0.5.20 * fix bugs in assembly implementation of SHA-256 from Crypto++ * fix it to compile on *BSD (#39) * improve doc strings * add a quick start-up-self-test of SHA256 (#43) * execute the quick start-up-self-tests of AES and SHA256 on module import
-rw-r--r--security/py-cryptopp/Makefile8
-rw-r--r--security/py-cryptopp/distinfo9
-rw-r--r--security/py-cryptopp/patches/patch-aa16
3 files changed, 25 insertions, 8 deletions
diff --git a/security/py-cryptopp/Makefile b/security/py-cryptopp/Makefile
index 20f7cf679bc..ec1ed29a2c3 100644
--- a/security/py-cryptopp/Makefile
+++ b/security/py-cryptopp/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.3 2010/07/23 23:17:48 gdt Exp $
+# $NetBSD: Makefile,v 1.4 2010/09/24 18:10:46 gdt Exp $
#
-DISTNAME= pycryptopp-0.5.19
-PKGREVISION= 2
-PKGNAME= ${PYPKGPREFIX}-cryptopp-0.5.19
+VERSION= 0.5.25
+DISTNAME= pycryptopp-${VERSION}
+PKGNAME= ${PYPKGPREFIX}-cryptopp-${VERSION}
CATEGORIES= security python
MASTER_SITES= http://pypi.python.org/packages/source/p/pycryptopp/
diff --git a/security/py-cryptopp/distinfo b/security/py-cryptopp/distinfo
index 7729d95e7a5..7bae81ccc01 100644
--- a/security/py-cryptopp/distinfo
+++ b/security/py-cryptopp/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2010/07/22 19:39:41 gdt Exp $
+$NetBSD: distinfo,v 1.2 2010/09/24 18:10:46 gdt Exp $
-SHA1 (pycryptopp-0.5.19.tar.gz) = 4ac6155cf665dceb7d4bfbd48e02aadd4104672c
-RMD160 (pycryptopp-0.5.19.tar.gz) = ef6911b578282ddbc1fff8a1607a6039a3503617
-Size (pycryptopp-0.5.19.tar.gz) = 1086059 bytes
+SHA1 (pycryptopp-0.5.25.tar.gz) = eba08385397a5a5fd172f8e271a07c9c4e79d52b
+RMD160 (pycryptopp-0.5.25.tar.gz) = 167dcebf24ae0fa3f371cbbddd526a2adda1a631
+Size (pycryptopp-0.5.25.tar.gz) = 1125824 bytes
+SHA1 (patch-aa) = 24090e39c58807588fb5893318d7f92bf13b0af7
diff --git a/security/py-cryptopp/patches/patch-aa b/security/py-cryptopp/patches/patch-aa
new file mode 100644
index 00000000000..f4733df835f
--- /dev/null
+++ b/security/py-cryptopp/patches/patch-aa
@@ -0,0 +1,16 @@
+$NetBSD: patch-aa,v 1.1 2010/09/24 18:10:46 gdt Exp $
+
+Don't install odd version file in a strange place.
+Reported to tahoe development mailinglist.
+
+--- setup.py.orig 2010-09-21 06:59:37.000000000 +0000
++++ setup.py
+@@ -254,7 +254,7 @@ data_files = [(doc_loc, data_fnames)]
+ # Note that due to a bug in distutils we also have to maintain a
+ # MANIFEST.in file specifying cryptopp/extraversion.h. This bug was
+ # fixed in Python 2.7
+-data_files.append(('cryptopp', ['cryptopp/extraversion.h']))
++#data_files.append(('cryptopp', ['cryptopp/extraversion.h']))
+
+ if ECDSA:
+ long_description='RSA-PSS-SHA256 signatures, ECDSA(1363)/EMSA1(SHA-256) signatures, SHA-256 hashes, and AES-CTR encryption'