diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-08-18 03:15:35 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2013-08-18 03:15:35 +0000 |
commit | eff1514804f1b2442256886f93492a2ac0a5824f (patch) | |
tree | 04419c360773fc865484afb037dd0c850d5042a0 /security | |
parent | 7843f8998b2feb76e7fdd9ae368f9176097a2536 (diff) | |
download | ports-eff1514804f1b2442256886f93492a2ac0a5824f.tar.gz ports-eff1514804f1b2442256886f93492a2ac0a5824f.zip |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/py-m2crypto/Makefile | 20 | ||||
-rw-r--r-- | security/py-m2crypto/pkg-plist | 131 |
2 files changed, 137 insertions, 14 deletions
diff --git a/security/py-m2crypto/Makefile b/security/py-m2crypto/Makefile index d3cc36be763c..c8368c75cecc 100644 --- a/security/py-m2crypto/Makefile +++ b/security/py-m2crypto/Makefile @@ -1,12 +1,9 @@ -# New ports collection makefile for: py-m2crypto -# Date created: 27 March 2001 -# Whom: Peter Haight <peterh@sapros.com> -# +# Created by: Peter Haight <peterh@sapros.com> # $FreeBSD$ -# PORTNAME= m2crypto PORTVERSION= 0.21.1 +PORTREVISION= 1 CATEGORIES= security python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,19 +13,16 @@ DIST_SUBDIR= python MAINTAINER= sunpoet@FreeBSD.org COMMENT= Crypto and SSL toolkit for Python -BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13 +BUILD_DEPENDS= ${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13 USE_OPENSSL= yes -USE_PYTHON= 2.5-2.7 -USE_PYDISTUTILS= easy_install +USE_PYTHON= -2.7 +USE_PYDISTUTILS= yes PYDISTUTILS_BUILDARGS= build_ext --openssl="${OPENSSLBASE}" PYDISTUTILS_PKGNAME= M2Crypto -PYEASYINSTALL_ARCHDEP= yes post-patch: - @${REINPLACE_CMD} \ - -e 's|/usr/local/include/python$$(PYVER)|${PYTHON_INCLUDEDIR}|g' \ - -e 's|/usr/local/lib/python$$(PYVER)|${PYTHON_INCLUDEDIR}|g' \ - ${WRKSRC}/SWIG/Makefile + @${REINPLACE_CMD} -e 's|setuptools|do_not_use_&|; /test_suite/d' ${WRKSRC}/${PYSETUP} + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|; s|$$(PYVER)|${PYTHON_VER}|' ${WRKSRC}/SWIG/Makefile .include <bsd.port.mk> diff --git a/security/py-m2crypto/pkg-plist b/security/py-m2crypto/pkg-plist index ddf68a1c022f..a92ba6076c39 100644 --- a/security/py-m2crypto/pkg-plist +++ b/security/py-m2crypto/pkg-plist @@ -1 +1,130 @@ -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% +%%PYTHON_SITELIBDIR%%/M2Crypto/ASN1.py +%%PYTHON_SITELIBDIR%%/M2Crypto/ASN1.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/ASN1.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/AuthCookie.py +%%PYTHON_SITELIBDIR%%/M2Crypto/AuthCookie.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/AuthCookie.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/BIO.py +%%PYTHON_SITELIBDIR%%/M2Crypto/BIO.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/BIO.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/BN.py +%%PYTHON_SITELIBDIR%%/M2Crypto/BN.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/BN.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/DH.py +%%PYTHON_SITELIBDIR%%/M2Crypto/DH.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/DH.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/DSA.py +%%PYTHON_SITELIBDIR%%/M2Crypto/DSA.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/DSA.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/EC.py +%%PYTHON_SITELIBDIR%%/M2Crypto/EC.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/EC.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/EVP.py +%%PYTHON_SITELIBDIR%%/M2Crypto/EVP.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/EVP.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/Engine.py +%%PYTHON_SITELIBDIR%%/M2Crypto/Engine.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/Engine.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/Err.py +%%PYTHON_SITELIBDIR%%/M2Crypto/Err.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/Err.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/PublicKey.py +%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/PublicKey.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/PublicKey.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/PublicKeyRing.py +%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/PublicKeyRing.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/PublicKeyRing.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/RSA.py +%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/RSA.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/RSA.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/__init__.py +%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/__init__.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/__init__.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/constants.py +%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/constants.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/constants.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/packet.py +%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/packet.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/packet.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/RC4.py +%%PYTHON_SITELIBDIR%%/M2Crypto/RC4.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/RC4.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/RSA.py +%%PYTHON_SITELIBDIR%%/M2Crypto/RSA.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/RSA.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/Rand.py +%%PYTHON_SITELIBDIR%%/M2Crypto/Rand.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/Rand.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/SMIME.py +%%PYTHON_SITELIBDIR%%/M2Crypto/SMIME.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/SMIME.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Checker.py +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Checker.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Checker.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Cipher.py +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Cipher.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Cipher.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Connection.py +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Connection.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Connection.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Context.py +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Context.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Context.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/SSLServer.py +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/SSLServer.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/SSLServer.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Session.py +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Session.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Session.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/TwistedProtocolWrapper.py +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/TwistedProtocolWrapper.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/TwistedProtocolWrapper.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/__init__.py +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/__init__.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/__init__.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/cb.py +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/cb.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/cb.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/ssl_dispatcher.py +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/ssl_dispatcher.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/ssl_dispatcher.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/timeout.py +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/timeout.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/timeout.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/X509.py +%%PYTHON_SITELIBDIR%%/M2Crypto/X509.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/X509.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/__init__.py +%%PYTHON_SITELIBDIR%%/M2Crypto/__init__.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/__init__.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/__m2crypto.so +%%PYTHON_SITELIBDIR%%/M2Crypto/callback.py +%%PYTHON_SITELIBDIR%%/M2Crypto/callback.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/callback.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/ftpslib.py +%%PYTHON_SITELIBDIR%%/M2Crypto/ftpslib.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/ftpslib.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/httpslib.py +%%PYTHON_SITELIBDIR%%/M2Crypto/httpslib.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/httpslib.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/m2.py +%%PYTHON_SITELIBDIR%%/M2Crypto/m2.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/m2.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/m2urllib.py +%%PYTHON_SITELIBDIR%%/M2Crypto/m2urllib.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/m2urllib.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/m2urllib2.py +%%PYTHON_SITELIBDIR%%/M2Crypto/m2urllib2.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/m2urllib2.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/m2xmlrpclib.py +%%PYTHON_SITELIBDIR%%/M2Crypto/m2xmlrpclib.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/m2xmlrpclib.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/threading.py +%%PYTHON_SITELIBDIR%%/M2Crypto/threading.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/threading.pyo +%%PYTHON_SITELIBDIR%%/M2Crypto/util.py +%%PYTHON_SITELIBDIR%%/M2Crypto/util.pyc +%%PYTHON_SITELIBDIR%%/M2Crypto/util.pyo +@dirrm %%PYTHON_SITELIBDIR%%/M2Crypto/SSL +@dirrm %%PYTHON_SITELIBDIR%%/M2Crypto/PGP +@dirrm %%PYTHON_SITELIBDIR%%/M2Crypto |