From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 24 12:10:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D8F0597A for ; Mon, 24 Feb 2014 12:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B011E1D03 for ; Mon, 24 Feb 2014 12:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1OCA0Yi050910 for ; Mon, 24 Feb 2014 12:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1OCA0vn050908; Mon, 24 Feb 2014 12:10:00 GMT (envelope-from gnats) Resent-Date: Mon, 24 Feb 2014 12:10:00 GMT Resent-Message-Id: <201402241210.s1OCA0vn050908@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, Kubilay Kocak Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2A462846; Mon, 24 Feb 2014 12:07:17 +0000 (UTC) Received: from mail-pb0-x235.google.com (mail-pb0-x235.google.com [IPv6:2607:f8b0:400e:c01::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EC92D1CD6; Mon, 24 Feb 2014 12:07:16 +0000 (UTC) Received: by mail-pb0-f53.google.com with SMTP id ma3so3785198pbc.26 for ; Mon, 24 Feb 2014 04:07:16 -0800 (PST) Received: from 9-STABLE-amd64.elysium (ppp59-167-128-11.static.internode.on.net. [59.167.128.11]) by mx.google.com with ESMTPSA id yg4sm118265879pab.19.2014.02.24.04.07.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Feb 2014 04:07:15 -0800 (PST) Received: by 9-STABLE-amd64.elysium (Postfix, from userid 1001) id 45F2E3C5E1; Mon, 24 Feb 2014 23:07:11 +1100 (EST) Message-Id: <20140224120711.45F2E3C5E1@9-STABLE-amd64.elysium> Date: Mon, 24 Feb 2014 23:07:11 +1100 (EST) From: Kubilay Kocak To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/187002: [PATCH] security/py-openssl: update to 0.14 Cc: sbz@FreeBSD.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2014 12:10:01 -0000 >Number: 187002 >Category: ports >Synopsis: [PATCH] security/py-openssl: update to 0.14 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Feb 24 12:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Kubilay Kocak >Release: FreeBSD 9.2-STABLE amd64 >Organization: >Environment: System: FreeBSD 9-STABLE-amd64.elysium 9.2-STABLE FreeBSD 9.2-STABLE #0 r260870: Sun Jan 19 10:38:55 EST >Description: security/py-openssl: Update to 0.14 - Update to 0.14 - Add RUN_DEPENDS (new dependencies) - LICENSE_FILE not needed for those listed in bsd.licenses.db.mk - Remove unnecessary USE_PYTHON_PREFIX - Remove unecessary patch - Re-order USE_* section - Add regression-test: target - pkg-descr: Update WWW URL [1] https://github.com/pyca/pyopenssl/issues/37 [2] https://github.com/pyca/pyopenssl/issues/38 ============ portlint: OK - WARN: False Positive testport: OK - poudriere (all versions/archs) unittest: OK - Ran 349 tests in 2.386s - FAILED (failures=2) [1][2] ============ Port maintainer (sbz@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 1.00.2014.02.18 (mode: update, diff: ports) >How-To-Repeat: >Fix: --- py-openssl-0.14.patch begins here --- diff -ruN /usr/ports/security/py-openssl/Makefile ./Makefile --- /usr/ports/security/py-openssl/Makefile 2014-02-06 08:30:03.000000000 +1100 +++ ./Makefile 2014-02-24 21:41:54.741181423 +1100 @@ -2,7 +2,7 @@ # $FreeBSD: head/security/py-openssl/Makefile 342862 2014-02-05 21:30:03Z antoine $ PORTNAME= openssl -PORTVERSION= 0.13 +PORTVERSION= 0.14 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,19 +12,20 @@ COMMENT= Python interface to the OpenSSL library LICENSE= APACHE20 -LICENSE_FILE= ${WRKSRC}/LICENSE -USE_PYTHON= yes -USE_PYTHON_PREFIX= yes +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cryptography>=0.2.1:${PORTSDIR}/security/py-cryptography \ + ${PYTHON_PKGNAMEPREFIX}six>=1.5.2:${PORTSDIR}/devel/py-six + +OPTIONS_DEFINE= EXAMPLES + +USE_OPENSSL= yes +USE_PYTHON= yes USE_PYDISTUTILS= yes PYDISTUTILS_AUTOPLIST= yes -USE_OPENSSL= yes EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} PORTEXAMPLES= * -OPTIONS_DEFINE= EXAMPLES - pre-configure: @${ECHO_CMD} "[build_ext]" >> ${WRKSRC}/setup.cfg @${ECHO_CMD} "include-dirs = ${OPENSSLINC}" >> ${WRKSRC}/setup.cfg @@ -34,4 +35,7 @@ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) +regression-test: build + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test + .include diff -ruN /usr/ports/security/py-openssl/distinfo ./distinfo --- /usr/ports/security/py-openssl/distinfo 2014-01-23 02:30:13.000000000 +1100 +++ ./distinfo 2014-02-24 21:40:36.901216950 +1100 @@ -1,2 +1,2 @@ -SHA256 (pyOpenSSL-0.13.tar.gz) = 21e12b03abaa0e04ecc8cd9c251598f71bae11c9f385304234e4ea5618c6163b -SIZE (pyOpenSSL-0.13.tar.gz) = 250489 +SHA256 (pyOpenSSL-0.14.tar.gz) = a99db8e59c120138ad8a72eecedcc24b4510d2eed3ce48213b7e32f22cc4ee6e +SIZE (pyOpenSSL-0.14.tar.gz) = 128005 diff -ruN /usr/ports/security/py-openssl/files/patch-OpenSSL__ssl__ssl.h ./files/patch-OpenSSL__ssl__ssl.h --- /usr/ports/security/py-openssl/files/patch-OpenSSL__ssl__ssl.h 2014-01-23 04:40:44.000000000 +1100 +++ ./files/patch-OpenSSL__ssl__ssl.h 1970-01-01 10:00:00.000000000 +1000 @@ -1,11 +0,0 @@ ---- ./OpenSSL/ssl/ssl.h.orig 2011-09-02 17:46:13.000000000 +0200 -+++ ./OpenSSL/ssl/ssl.h 2011-09-12 15:49:37.000000000 +0200 -@@ -73,4 +73,8 @@ - - #endif /* SSL_MODULE */ - -+#if !defined(TLSEXT_NAMETYPE_host_name) && defined(__FreeBSD__) -+#define TLSEXT_NAMETYPE_host_name 0 -+#endif -+ - #endif /* PyOpenSSL_SSL_H_ */ diff -ruN /usr/ports/security/py-openssl/pkg-descr ./pkg-descr --- /usr/ports/security/py-openssl/pkg-descr 2014-01-23 02:44:51.000000000 +1100 +++ ./pkg-descr 2014-02-24 21:43:50.195030881 +1100 @@ -1,3 +1,3 @@ pyOpenSSL - A Python wrapper around the OpenSSL library -WWW: http://pyopenssl.sourceforge.net/ +WWW: https://github.com/pyca/pyopenssl/ --- py-openssl-0.14.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: