From culot@0xd0.org  Sun Aug  8 12:19:27 2010
Return-Path: <culot@0xd0.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B4F381065672
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <frederic@culot.org>
Reply-To: Frederic Culot <frederic@culot.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Update port: security/py-pycrypto
X-Send-Pr-Version: 3.113
X-GNATS-Notify: k@stereochro.me

>Number:         149423
>Category:       ports
>Synopsis:       Update port: security/py-pycrypto
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-python
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 08 12:20:13 UTC 2010
>Closed-Date:    Thu Aug 12 19:15:58 UTC 2010
>Last-Modified:  Thu Aug 12 19:20:04 UTC 2010
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Aug 8 12:20:22 UTC 2010 
Responsible-Changed-Why:  
freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149423 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Aug 8 12:20:26 UTC 2010 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149423 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: k@stereochro.me
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/149423: Update port: security/py-pycrypto
Date: Sun, 8 Aug 2010 12:20:25 UT

 Maintainer of security/py-pycrypto,
 
 Please note that PR ports/149423 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/149423
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Keith Gaughan <k@stereochro.me>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/149423: Update port: security/py-pycrypto
Date: Wed, 11 Aug 2010 18:19:56 +0100

 --3MwIy2ne0vdjdPXF
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Tested. Fixed an issue with the setup.py patch involving tabs where
 there ought to have been spaces. Otherwise the patch was good. Fixed
 patch is attached.
 
 -- 
 Keith Gaughan - k@stereochro.me - http://stereochro.me/ - CF9F6473
 ... you've left the lens cap on your mind again.
     -- from "Pinky and The Brain"
 
 --3MwIy2ne0vdjdPXF
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="pycrypto.2.2.patch.txt"
 
 diff -ruNd py-pycrypto.bak/Makefile py-pycrypto/Makefile
 --- py-pycrypto.bak/Makefile	2010-04-19 11:43:41.000000000 +0100
 +++ py-pycrypto/Makefile	2010-08-09 13:14:28.000000000 +0100
 @@ -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 -ruNd py-pycrypto.bak/distinfo py-pycrypto/distinfo
 --- py-pycrypto.bak/distinfo	2010-01-01 04:47:56.000000000 +0000
 +++ py-pycrypto/distinfo	2010-08-09 13:14:28.000000000 +0100
 @@ -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 -ruNd py-pycrypto.bak/files/patch-setup.py py-pycrypto/files/patch-setup.py
 --- py-pycrypto.bak/files/patch-setup.py	2010-01-01 04:47:56.000000000 +0000
 +++ py-pycrypto/files/patch-setup.py	2010-08-09 13:18:10.000000000 +0100
 @@ -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 -ruNd py-pycrypto.bak/pkg-plist py-pycrypto/pkg-plist
 --- py-pycrypto.bak/pkg-plist	2010-01-01 04:47:56.000000000 +0000
 +++ py-pycrypto/pkg-plist	2010-08-09 13:14:28.000000000 +0100
 @@ -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
 
 --3MwIy2ne0vdjdPXF--
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Thu Aug 12 00:44:45 UTC 2010 
State-Changed-Why:  
Maintainer has replied with a new patch. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149423 
State-Changed-From-To: open->closed 
State-Changed-By: lwhsu 
State-Changed-When: Thu Aug 12 19:15:57 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=149423 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/149423: commit references a PR
Date: Thu, 12 Aug 2010 19:17:56 +0000 (UTC)

 lwhsu       2010-08-12 19:15:37 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/py-pycrypto Makefile distinfo pkg-plist 
     security/py-pycrypto/files patch-setup.py 
   Log:
   - Update to 2.2
   
   PR:             ports/149423
   Submitted by:   Frederic Culot <frederic AT culot.org>
   Approved by:    Keith Gaughan <k AT stereochro.me> (maintainer)
   
   Revision  Changes    Path
   1.17      +1 -2      ports/security/py-pycrypto/Makefile
   1.8       +3 -3      ports/security/py-pycrypto/distinfo
   1.3       +6 -6      ports/security/py-pycrypto/files/patch-setup.py
   1.5       +9 -0      ports/security/py-pycrypto/pkg-plist
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
