aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2017-07-21 04:38:03 +0000
committerSteve Wills <swills@FreeBSD.org>2017-07-21 04:38:03 +0000
commit97941d9613f4b006126c0932e310573087fcee03 (patch)
tree522e128c1f70a35bc8f66ebed31d3ec8366967ac
parent51f8aefa3b3b62364986c372f249be075b98794e (diff)
Notes
-rw-r--r--security/py-bcrypt/Makefile15
-rw-r--r--security/py-bcrypt/distinfo5
-rw-r--r--security/py-bcrypt/pkg-descr6
3 files changed, 9 insertions, 17 deletions
diff --git a/security/py-bcrypt/Makefile b/security/py-bcrypt/Makefile
index 0183db2a72be..eff3b66e0065 100644
--- a/security/py-bcrypt/Makefile
+++ b/security/py-bcrypt/Makefile
@@ -2,26 +2,19 @@
# $FreeBSD$
PORTNAME= bcrypt
-PORTVERSION= 0.4
-PORTREVISION= 2
+PORTVERSION= 3.1.3
CATEGORIES= security python
-MASTER_SITES= http://www.mindrot.org/files/py-bcrypt/
+MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTNAME= py-${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= Python bcrypt module
+COMMENT= Modern password hashing for your software and your servers
-LICENSE= MIT BSD3CLAUSE BSD4CLAUSE
-LICENSE_COMB= multi
-LICENSE_FILE= ${WRKSRC}/LICENSE
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.1.0:devel/py-cffi
USES= python
USE_PYTHON= distutils autoplist
-CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
-
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/bcrypt/_bcrypt.so
diff --git a/security/py-bcrypt/distinfo b/security/py-bcrypt/distinfo
index e0e227c2e44d..1881dbfc1bff 100644
--- a/security/py-bcrypt/distinfo
+++ b/security/py-bcrypt/distinfo
@@ -1,2 +1,3 @@
-SHA256 (py-bcrypt-0.4.tar.gz) = 5fa13bce551468350d66c4883694850570f3da28d6866bb638ba44fe5eabda78
-SIZE (py-bcrypt-0.4.tar.gz) = 27399
+TIMESTAMP = 1500609980
+SHA256 (bcrypt-3.1.3.tar.gz) = 6645c8d0ad845308de3eb9be98b6fd22a46ec5412bfc664a423e411cdd8f5488
+SIZE (bcrypt-3.1.3.tar.gz) = 40806
diff --git a/security/py-bcrypt/pkg-descr b/security/py-bcrypt/pkg-descr
index b544e680ad32..1d10df61c036 100644
--- a/security/py-bcrypt/pkg-descr
+++ b/security/py-bcrypt/pkg-descr
@@ -1,5 +1,3 @@
-py-bcrypt is a Python wrapper of OpenBSDs Blowfish password hashing code,
-as described in A Future-Adaptable Password Scheme by Niels Provos and
-David Mazieres.
+Modern password hashing for your software and your servers
-WWW: http://www.mindrot.org/projects/py-bcrypt/
+WWW: https://github.com/pyca/bcrypt/