From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Aug 8 12:20:13 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B79981065795 for ; Sun, 8 Aug 2010 12:20:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 93ACB8FC1B for ; Sun, 8 Aug 2010 12:20:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o78CKDKG069983 for ; Sun, 8 Aug 2010 12:20:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o78CKDo2069982; Sun, 8 Aug 2010 12:20:13 GMT (envelope-from gnats) Resent-Date: Sun, 8 Aug 2010 12:20:13 GMT Resent-Message-Id: <201008081220.o78CKDo2069982@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Frederic Culot Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B4F381065672 for ; Sun, 8 Aug 2010 12:19:27 +0000 (UTC) (envelope-from culot@0xd0.org) Received: from 0xd0.org (ks28346.kimsufi.com [91.121.92.146]) by mx1.freebsd.org (Postfix) with ESMTP id 58AD98FC0C for ; Sun, 8 Aug 2010 12:19:26 +0000 (UTC) Received: from 0xd0.org (doudou.0xd0.org [172.16.0.254]) by 0xd0.org (8.14.4/8.14.4) with ESMTP id o78CJGwb082904 for ; Sun, 8 Aug 2010 14:19:16 +0200 (CEST) (envelope-from culot@0xd0.org) Received: (from culot@localhost) by 0xd0.org (8.14.4/8.14.4/Submit) id o78CJGo6082903; Sun, 8 Aug 2010 14:19:16 +0200 (CEST) (envelope-from culot) Message-Id: <201008081219.o78CJGo6082903@0xd0.org> Date: Sun, 8 Aug 2010 14:19:16 +0200 (CEST) From: Frederic Culot To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/149423: Update port: security/py-pycrypto X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frederic Culot List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Aug 2010 12:20:13 -0000 >Number: 149423 >Category: ports >Synopsis: Update port: security/py-pycrypto >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Aug 08 12:20:13 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Frederic Culot >Release: FreeBSD 8.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD 0xd0.org 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Update to 2.2: - files/patch-setup.py updated - pkg-plist updated >How-To-Repeat: >Fix: diff -ruN py-pycrypto.bak/Makefile py-pycrypto/Makefile --- py-pycrypto.bak/Makefile 2010-08-08 14:00:47.403004858 +0200 +++ py-pycrypto/Makefile 2010-08-08 14:01:18.304211016 +0200 @@ -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 -ruN py-pycrypto.bak/distinfo py-pycrypto/distinfo --- py-pycrypto.bak/distinfo 2010-08-08 14:00:47.403004858 +0200 +++ py-pycrypto/distinfo 2010-08-08 14:01:58.105879664 +0200 @@ -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 -ruN py-pycrypto.bak/files/patch-setup.py py-pycrypto/files/patch-setup.py --- py-pycrypto.bak/files/patch-setup.py 2010-08-08 14:00:47.401978470 +0200 +++ py-pycrypto/files/patch-setup.py 2010-08-08 14:04:54.826997572 +0200 @@ -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") ++ 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,11 +17,11 @@ 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'], -+ library_dirs=['%%LOCALBASE%%/lib'], ++ library_dirs=['%%LOCALBASE%%/lib'], sources=["src/_fastmath.c"]), # Hash functions diff -ruN py-pycrypto.bak/pkg-plist py-pycrypto/pkg-plist --- py-pycrypto.bak/pkg-plist 2010-08-08 14:00:47.401978470 +0200 +++ py-pycrypto/pkg-plist 2010-08-08 14:12:44.153925436 +0200 @@ -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 >Release-Note: >Audit-Trail: >Unformatted: