summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSofian Brabez <sbz@FreeBSD.org>2014-03-06 11:58:56 +0000
committerSofian Brabez <sbz@FreeBSD.org>2014-03-06 11:58:56 +0000
commitdc5b6afed5dfe3e0bb8e96bc4ac37290db6e8d49 (patch)
treebb1ba3f2d0921f37ef744a2e39024a9ea373dcb8
parent- Update to 0.44 (diff)
- Update to 0.14
- Update pkg-descr PR: ports/187002 Submitted by: Kubilay Kocak <koobs.freebsd at gmail.com>
Notes
Notes: svn path=/head/; revision=347183
-rw-r--r--security/py-openssl/Makefile19
-rw-r--r--security/py-openssl/distinfo4
-rw-r--r--security/py-openssl/files/patch-OpenSSL__ssl__ssl.h11
-rw-r--r--security/py-openssl/pkg-descr4
4 files changed, 13 insertions, 25 deletions
diff --git a/security/py-openssl/Makefile b/security/py-openssl/Makefile
index c1be8e3f5343..295f224587aa 100644
--- a/security/py-openssl/Makefile
+++ b/security/py-openssl/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= openssl
-PORTVERSION= 0.13
+PORTVERSION= 0.14
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,26 +12,25 @@ MAINTAINER= sbz@FreeBSD.org
COMMENT= Python interface to the OpenSSL library
LICENSE= APACHE20
-LICENSE_FILE= ${WRKSRC}/LICENSE
+
+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_PYTHON= yes
USE_PYTHON_PREFIX= 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
- @${ECHO_CMD} "library-dirs = ${OPENSSLLIB}" >> ${WRKSRC}/setup.cfg
-
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
+regression-test: build
+ @(cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test)
+
.include <bsd.port.mk>
diff --git a/security/py-openssl/distinfo b/security/py-openssl/distinfo
index 850b20593db0..0394addd88d5 100644
--- a/security/py-openssl/distinfo
+++ b/security/py-openssl/distinfo
@@ -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 --git a/security/py-openssl/files/patch-OpenSSL__ssl__ssl.h b/security/py-openssl/files/patch-OpenSSL__ssl__ssl.h
deleted file mode 100644
index c6e29cd82765..000000000000
--- a/security/py-openssl/files/patch-OpenSSL__ssl__ssl.h
+++ /dev/null
@@ -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 --git a/security/py-openssl/pkg-descr b/security/py-openssl/pkg-descr
index 74ed8babc846..70af9c7e10b2 100644
--- a/security/py-openssl/pkg-descr
+++ b/security/py-openssl/pkg-descr
@@ -1,3 +1,3 @@
-pyOpenSSL - A Python wrapper around the OpenSSL library
+Python interface to the OpenSSL library
-WWW: http://pyopenssl.sourceforge.net/
+WWW: https://github.com/pyca/pyopenssl