summaryrefslogtreecommitdiffstats
path: root/security/py-hashlib
diff options
context:
space:
mode:
authoralexbl <alexbl@FreeBSD.org>2006-12-13 03:19:17 +0000
committeralexbl <alexbl@FreeBSD.org>2006-12-13 03:19:17 +0000
commit600340b31c543b30f964f982078feb36b7124110 (patch)
tree27dcbff0790836c0eaf4ea2b79143fd116d3b0b5 /security/py-hashlib
parent67bf32f83b1d8d84969e0a448a181348dc32f123 (diff)
downloadFreeBSD-ports-600340b31c543b30f964f982078feb36b7124110.zip
FreeBSD-ports-600340b31c543b30f964f982078feb36b7124110.tar.gz
- Add hashlib-20060408a
Python secure hash and message digest module MD5, SHA1, SHA224, SHA256, SHA384 and SHA512 (backported from Python 2.5 for use on 2.3 and 2.4) WWW: http://code.krypto.org/python/hashlib/
Diffstat (limited to 'security/py-hashlib')
-rw-r--r--security/py-hashlib/Makefile28
-rw-r--r--security/py-hashlib/distinfo3
-rw-r--r--security/py-hashlib/pkg-descr4
-rw-r--r--security/py-hashlib/pkg-plist9
4 files changed, 44 insertions, 0 deletions
diff --git a/security/py-hashlib/Makefile b/security/py-hashlib/Makefile
new file mode 100644
index 0000000..bb26c22
--- /dev/null
+++ b/security/py-hashlib/Makefile
@@ -0,0 +1,28 @@
+# New ports collection makefile for: py-hashlib
+# Date created: 12 Dec 2006
+# Whom: Alexander Botero-Lowry <alexbl@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= hashlib
+PORTVERSION= 20060408a
+CATEGORIES= security devel python
+MASTER_SITES= http://code.krypto.org/python/hashlib/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= alexbl@FreeBSD.org
+COMMENT= Backport of Python 2,5's haslib module
+
+USE_PYTHON= yes
+USE_OPENSSL= yes
+USE_PYDISTUTILS= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} >= 250
+IGNORE= hashlib ships with Python 2.5.x
+.endif
+
+PYDISTUTIL_BUILDARGS= --openssl-prefix=${OPENSSLDIR} --openssl-incdir=${OPENSSLINC} --openssl-libdir=${OPENSSLLIB}
+
+.include <bsd.port.post.mk>
diff --git a/security/py-hashlib/distinfo b/security/py-hashlib/distinfo
new file mode 100644
index 0000000..9ed9019
--- /dev/null
+++ b/security/py-hashlib/distinfo
@@ -0,0 +1,3 @@
+MD5 (hashlib-20060408a.tar.gz) = 7c8df988d2d467dae1f34251ec5d95bd
+SHA256 (hashlib-20060408a.tar.gz) = 1a709a21d60e175abb363338fd66aae0a8a389019bc723e2d7359acf5b6c6d4d
+SIZE (hashlib-20060408a.tar.gz) = 33535
diff --git a/security/py-hashlib/pkg-descr b/security/py-hashlib/pkg-descr
new file mode 100644
index 0000000..bbbbbcd
--- /dev/null
+++ b/security/py-hashlib/pkg-descr
@@ -0,0 +1,4 @@
+Python secure hash and message digest module MD5, SHA1, SHA224, SHA256,
+SHA384 and SHA512 (backported from Python 2.5 for use on 2.3 and 2.4)
+
+WWW: http://code.krypto.org/python/hashlib/
diff --git a/security/py-hashlib/pkg-plist b/security/py-hashlib/pkg-plist
new file mode 100644
index 0000000..6e5d6f2
--- /dev/null
+++ b/security/py-hashlib/pkg-plist
@@ -0,0 +1,9 @@
+%%PYTHON_SITELIBDIR%%/hashlib.py
+%%PYTHON_SITELIBDIR%%/hashlib.pyc
+%%PYTHON_SITELIBDIR%%/hashlib.pyo
+%%PYTHON_SITELIBDIR%%/test_hashlib.py
+%%PYTHON_SITELIBDIR%%/test_hashlib.pyc
+%%PYTHON_SITELIBDIR%%/test_hashlib.pyo
+%%PYTHON_SITELIBDIR%%/_hashlib.so
+%%PYTHON_SITELIBDIR%%/_sha256.so
+%%PYTHON_SITELIBDIR%%/_sha512.so
OpenPOWER on IntegriCloud