summaryrefslogtreecommitdiff
path: root/security/py-m2crypto
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2003-07-25 15:58:19 +0000
committerdrochner <drochner@pkgsrc.org>2003-07-25 15:58:19 +0000
commit5883718f95849f5871614eae8f051600f472596d (patch)
treebe5415df0feeea801409ef37ea23a63f4cc9d0ac /security/py-m2crypto
parent1295ef8d981202a1641c01beab08dda8288d55af (diff)
downloadpkgsrc-5883718f95849f5871614eae8f051600f472596d.tar.gz
Now that we have openssl-0.97 it makes sense to import
m2crypto-0.11, a crypto and SSL toolkit for Python.
Diffstat (limited to 'security/py-m2crypto')
-rw-r--r--security/py-m2crypto/DESCR11
-rw-r--r--security/py-m2crypto/Makefile22
-rw-r--r--security/py-m2crypto/PLIST79
-rw-r--r--security/py-m2crypto/distinfo4
4 files changed, 116 insertions, 0 deletions
diff --git a/security/py-m2crypto/DESCR b/security/py-m2crypto/DESCR
new file mode 100644
index 00000000000..cfabd0b97e1
--- /dev/null
+++ b/security/py-m2crypto/DESCR
@@ -0,0 +1,11 @@
+M2Crypto comes with the following:
+- **DH**, **RSA**, **DSA**, **symmetric ciphers** including **AES**,
+ **message digests**, **HMACs**.
+- **SSL functionality** to implement clients and servers.
+- **Example SSL client and server programs**, which are variously
+ **threading**, **forking** or based on **non-blocking socket IO**.
+- **HTTPS** extensions to Python's HTTP functionality.
+- Unforgeable HMAC'ing **AuthCookies** for **web session management**.
+- **XML-RPC over SSL**.
+- **S/MIME v2**.
+- **FTP/TLS** client and server.
diff --git a/security/py-m2crypto/Makefile b/security/py-m2crypto/Makefile
new file mode 100644
index 00000000000..adb3acf3ed2
--- /dev/null
+++ b/security/py-m2crypto/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/07/25 15:58:19 drochner Exp $
+#
+
+DISTNAME= m2crypto-0.11
+PKGNAME= ${PYPKGPREFIX}-m2crypto-0.11
+CATEGORIES= security
+MASTER_SITES= http://www.post1.com/home/ngps/m2/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.post1.com/home/ngps/m2/
+COMMENT= Crypto and SSL toolkit for Python
+
+USE_BUILDLINK2= yes
+PYDISTUTILSPKG= yes
+PYTHON_VERSIONS_ACCEPTED= 22pth 21pth
+USE_OPENSSL_VERSION= OPENSSL_VERSION_097B
+
+.include "../../lang/python/extension.mk"
+.include "../../devel/swig-python/buildlink2.mk"
+.include "../../security/openssl/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/py-m2crypto/PLIST b/security/py-m2crypto/PLIST
new file mode 100644
index 00000000000..c2941d3d347
--- /dev/null
+++ b/security/py-m2crypto/PLIST
@@ -0,0 +1,79 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/25 15:58:19 drochner Exp $
+${PYSITELIB}/M2Crypto/ASN1.py
+${PYSITELIB}/M2Crypto/ASN1.pyc
+${PYSITELIB}/M2Crypto/AuthCookie.py
+${PYSITELIB}/M2Crypto/AuthCookie.pyc
+${PYSITELIB}/M2Crypto/BIO.py
+${PYSITELIB}/M2Crypto/BIO.pyc
+${PYSITELIB}/M2Crypto/DH.py
+${PYSITELIB}/M2Crypto/DH.pyc
+${PYSITELIB}/M2Crypto/DSA.py
+${PYSITELIB}/M2Crypto/DSA.pyc
+${PYSITELIB}/M2Crypto/EVP.py
+${PYSITELIB}/M2Crypto/EVP.pyc
+${PYSITELIB}/M2Crypto/Err.py
+${PYSITELIB}/M2Crypto/Err.pyc
+${PYSITELIB}/M2Crypto/PGP/PublicKey.py
+${PYSITELIB}/M2Crypto/PGP/PublicKey.pyc
+${PYSITELIB}/M2Crypto/PGP/PublicKeyRing.py
+${PYSITELIB}/M2Crypto/PGP/PublicKeyRing.pyc
+${PYSITELIB}/M2Crypto/PGP/RSA.py
+${PYSITELIB}/M2Crypto/PGP/RSA.pyc
+${PYSITELIB}/M2Crypto/PGP/__init__.py
+${PYSITELIB}/M2Crypto/PGP/__init__.pyc
+${PYSITELIB}/M2Crypto/PGP/constants.py
+${PYSITELIB}/M2Crypto/PGP/constants.pyc
+${PYSITELIB}/M2Crypto/PGP/packet.py
+${PYSITELIB}/M2Crypto/PGP/packet.pyc
+${PYSITELIB}/M2Crypto/RC4.py
+${PYSITELIB}/M2Crypto/RC4.pyc
+${PYSITELIB}/M2Crypto/RSA.py
+${PYSITELIB}/M2Crypto/RSA.pyc
+${PYSITELIB}/M2Crypto/Rand.py
+${PYSITELIB}/M2Crypto/Rand.pyc
+${PYSITELIB}/M2Crypto/SMIME.py
+${PYSITELIB}/M2Crypto/SMIME.pyc
+${PYSITELIB}/M2Crypto/SSL/Cipher.py
+${PYSITELIB}/M2Crypto/SSL/Cipher.pyc
+${PYSITELIB}/M2Crypto/SSL/Connection.py
+${PYSITELIB}/M2Crypto/SSL/Connection.pyc
+${PYSITELIB}/M2Crypto/SSL/Context.py
+${PYSITELIB}/M2Crypto/SSL/Context.pyc
+${PYSITELIB}/M2Crypto/SSL/Error.py
+${PYSITELIB}/M2Crypto/SSL/Error.pyc
+${PYSITELIB}/M2Crypto/SSL/SSLServer.py
+${PYSITELIB}/M2Crypto/SSL/SSLServer.pyc
+${PYSITELIB}/M2Crypto/SSL/Session.py
+${PYSITELIB}/M2Crypto/SSL/Session.pyc
+${PYSITELIB}/M2Crypto/SSL/__init__.py
+${PYSITELIB}/M2Crypto/SSL/__init__.pyc
+${PYSITELIB}/M2Crypto/SSL/cb.py
+${PYSITELIB}/M2Crypto/SSL/cb.pyc
+${PYSITELIB}/M2Crypto/SSL/ssl_dispatcher.py
+${PYSITELIB}/M2Crypto/SSL/ssl_dispatcher.pyc
+${PYSITELIB}/M2Crypto/SSL/timeout.py
+${PYSITELIB}/M2Crypto/SSL/timeout.pyc
+${PYSITELIB}/M2Crypto/X509.py
+${PYSITELIB}/M2Crypto/X509.pyc
+${PYSITELIB}/M2Crypto/__init__.py
+${PYSITELIB}/M2Crypto/__init__.pyc
+${PYSITELIB}/M2Crypto/__m2crypto.so
+${PYSITELIB}/M2Crypto/callback.py
+${PYSITELIB}/M2Crypto/callback.pyc
+${PYSITELIB}/M2Crypto/ftpslib.py
+${PYSITELIB}/M2Crypto/ftpslib.pyc
+${PYSITELIB}/M2Crypto/httpslib.py
+${PYSITELIB}/M2Crypto/httpslib.pyc
+${PYSITELIB}/M2Crypto/m2.py
+${PYSITELIB}/M2Crypto/m2.pyc
+${PYSITELIB}/M2Crypto/m2urllib.py
+${PYSITELIB}/M2Crypto/m2urllib.pyc
+${PYSITELIB}/M2Crypto/m2xmlrpclib.py
+${PYSITELIB}/M2Crypto/m2xmlrpclib.pyc
+${PYSITELIB}/M2Crypto/threading.py
+${PYSITELIB}/M2Crypto/threading.pyc
+${PYSITELIB}/M2Crypto/util.py
+${PYSITELIB}/M2Crypto/util.pyc
+@dirrm ${PYSITELIB}/M2Crypto/SSL
+@dirrm ${PYSITELIB}/M2Crypto/PGP
+@dirrm ${PYSITELIB}/M2Crypto
diff --git a/security/py-m2crypto/distinfo b/security/py-m2crypto/distinfo
new file mode 100644
index 00000000000..69a58655aa7
--- /dev/null
+++ b/security/py-m2crypto/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/07/25 15:58:19 drochner Exp $
+
+SHA1 (m2crypto-0.11.zip) = cb100879e7ea639fc33d1a93cbbb2da08668ed68
+Size (m2crypto-0.11.zip) = 404629 bytes