summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2008-02-20 01:40:23 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2008-02-20 01:40:23 +0000
commit8e0c48ad835b9bff1711b598c038e75e865c4e19 (patch)
tree58ce86427939990c62011602546fe917f90429e4 /security
parent- Unbreak on amd64 7.x and above (diff)
- Update to 0.18.2
- Update pkg-descr to reflect site Notified by: Anders Karlssson <anders___gurux.se>
Notes
Notes: svn path=/head/; revision=207620
Diffstat (limited to 'security')
-rw-r--r--security/py-m2crypto/Makefile15
-rw-r--r--security/py-m2crypto/distinfo6
-rw-r--r--security/py-m2crypto/pkg-descr16
3 files changed, 16 insertions, 21 deletions
diff --git a/security/py-m2crypto/Makefile b/security/py-m2crypto/Makefile
index 8161e56b4447..436c68da700b 100644
--- a/security/py-m2crypto/Makefile
+++ b/security/py-m2crypto/Makefile
@@ -6,9 +6,9 @@
#
PORTNAME= m2crypto
-PORTVERSION= 0.17
+PORTVERSION= 0.18.2
CATEGORIES= security python
-MASTER_SITES= http://wiki.osafoundation.org/pub/Projects/MeTooCrypto/
+MASTER_SITES= http://chandlerproject.org/pub/Projects/MeTooCrypto/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DIST_SUBDIR= python
@@ -18,16 +18,15 @@ COMMENT= Crypto and SSL toolkit for Python
BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13
USE_PYTHON= 2.3+
-USE_PYDISTUTILS=yes
USE_OPENSSL= yes
-WITH_OPENSSL_PORT= yes
+USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= M2Crypto
-.if defined(WITH_OPENSSL_PORT)
-PYDISTUTILS_BUILDARGS= --openssl="${LOCALBASE}"
-.endif
+.include <bsd.port.pre.mk>
+
+PYDISTUTILS_BUILDARGS= build_ext --openssl="${OPENSSLBASE}"
post-patch:
@${REINPLACE_CMD} "s|%%PYTHON_INCLUDEDIR%%|${PYTHON_INCLUDEDIR}|g" ${WRKSRC}/SWIG/Makefile
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/security/py-m2crypto/distinfo b/security/py-m2crypto/distinfo
index 9cf6599172f4..fd565da7f161 100644
--- a/security/py-m2crypto/distinfo
+++ b/security/py-m2crypto/distinfo
@@ -1,3 +1,3 @@
-MD5 (python/m2crypto-0.17.tar.gz) = c67b45c752fd5e8115cd6b14831c5a38
-SHA256 (python/m2crypto-0.17.tar.gz) = 9a2b75e4b92ae0cfcb0da657d40d3eec0a3a7b705522f264dc838764d39a5716
-SIZE (python/m2crypto-0.17.tar.gz) = 376219
+MD5 (python/m2crypto-0.18.2.tar.gz) = 445dce53fcfc7ec8f6fd31f54da8a067
+SHA256 (python/m2crypto-0.18.2.tar.gz) = 62ed44c8b2d392bdc757981ac37f05d808a0d917e4f9d95de2fbf3c2bdad41a7
+SIZE (python/m2crypto-0.18.2.tar.gz) = 386148
diff --git a/security/py-m2crypto/pkg-descr b/security/py-m2crypto/pkg-descr
index 15cf24f9b4cc..f4f12aa44fc3 100644
--- a/security/py-m2crypto/pkg-descr
+++ b/security/py-m2crypto/pkg-descr
@@ -1,12 +1,8 @@
-M2Crypto is a crypto and SSL toolkit for Python featuring the following:
-
-* RSA, DSA, DH, HMACs, message digests, symmetric ciphers (including AES).
-* SSL functionality to implement clients and servers.
-* HTTPS extensions to Python's httplib, urllib, and xmlrpclib.
-* Unforgeable HMAC'ing AuthCookies for web session management.
-* FTP/TLS client and server.
-* S/MIME.
-* ZServerSSL: A HTTPS server for Zope.
-* ZSmime: An S/MIME messenger for Zope.
+M2Crypto is the most complete Python wrapper for OpenSSL featuring RSA, DSA,
+DH, HMACs, message digests, symmetric ciphers (including AES); SSL
+functionality to implement clients and servers; HTTPS extensions to Python's
+httplib, urllib, and xmlrpclib; unforgeable HMAC'ing AuthCookies for web
+session management; FTP/TLS client and server; S/MIME; ZServerSSL: A HTTPS
+server for Zope and ZSmime: An S/MIME messenger for Zope.
WWW: http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto