- update to 0.8

- fix a test that hangs

ok wcmaier@
This commit is contained in:
eric 2009-01-30 16:13:54 +00:00
parent f41e877cea
commit 45e57c29c2
3 changed files with 21 additions and 10 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.9 2008/04/15 11:00:52 eric Exp $ # $OpenBSD: Makefile,v 1.10 2009/01/30 16:13:54 eric Exp $
COMMENT= Python interface to the OpenSSL library COMMENT= Python interface to the OpenSSL library
VERSION= 0.7 VERSION= 0.8
DISTNAME= pyOpenSSL-${VERSION} DISTNAME= pyOpenSSL-${VERSION}
PKGNAME= py-openssl-${VERSION} PKGNAME= py-openssl-${VERSION}
CATEGORIES= security devel CATEGORIES= security devel
@ -35,8 +35,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/simple/* ${EXAMPLESDIR}/simple ${INSTALL_DATA} ${WRKSRC}/examples/simple/* ${EXAMPLESDIR}/simple
do-regress: fake do-regress: install
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${LOCALBASE}/bin/trial \ ${LOCALBASE}/bin/trial --temp-directory=${WRKBUILD} OpenSSL.test
--temp-directory=${WRKBUILD} OpenSSL.test
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (pyOpenSSL-0.7.tar.gz) = GSTtxYwemfJ3Y5cdmVnqFQ== MD5 (pyOpenSSL-0.8.tar.gz) = ADd2kPIk2eWcgz+wRZYD9A==
RMD160 (pyOpenSSL-0.7.tar.gz) = o9IIcFvZ1JXrfCD5MG5Wi3H+lfw= RMD160 (pyOpenSSL-0.8.tar.gz) = 2qyquWxFqtyiX4qjkjihLRkH3ao=
SHA1 (pyOpenSSL-0.7.tar.gz) = vQcv746zYkGFLSWpFhKCoFHwpj4= SHA1 (pyOpenSSL-0.8.tar.gz) = UPQhTcGNi5C5xqf1DWwATtrZl+s=
SHA256 (pyOpenSSL-0.7.tar.gz) = fVO3J3dx8h77d3W+26pvcvVQlCPhbQi2LjMos5kdslU= SHA256 (pyOpenSSL-0.8.tar.gz) = IoRBHSHxAx8I8jxPSdwKNB44sHgzSV0P4hqH6yXz/+M=
SIZE (pyOpenSSL-0.7.tar.gz) = 189022 SIZE (pyOpenSSL-0.8.tar.gz) = 193035

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-test_test_ssl_py,v 1.1 2009/01/30 16:13:55 eric Exp $
--- test/test_ssl.py.orig Mon Sep 22 02:36:55 2008
+++ test/test_ssl.py Mon Jan 26 20:47:05 2009
@@ -80,7 +80,7 @@ class ContextTests(TestCase, _Python23TestCaseHelper):
when certain information about an SSL connection is available.
"""
port = socket()
- port.bind(('', 0))
+ port.bind(('127.0.0.1', 0))
port.listen(1)
client = socket()