update to py-passlib 1.6.5 and take maintainer

This commit is contained in:
sthen 2016-01-15 12:46:36 +00:00
parent d82ed59233
commit d5d6392119
4 changed files with 27 additions and 9 deletions

View File

@ -1,23 +1,24 @@
# $OpenBSD: Makefile,v 1.6 2015/12/27 08:26:51 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.7 2016/01/15 12:46:36 sthen Exp $
COMMENT = Python module providing a password hashing framework
MODPY_EGG_VERSION = 1.6.2
REVISION = 3
MODPY_EGG_VERSION = 1.6.5
DISTNAME = passlib-${MODPY_EGG_VERSION}
PKGNAME = py-passlib-${MODPY_EGG_VERSION}
CATEGORIES = security
HOMEPAGE = https://code.google.com/p/passlib/
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
HOMEPAGE = https://pythonhosted.org/passlib/
# BSD
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = https://passlib.googlecode.com/files/
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR ?=

View File

@ -1,2 +1,2 @@
SHA256 (passlib-1.6.2.tar.gz) = 32G18kvmYsJpoqWvzgPJToZv43wC4kwKV5D3ef5dNCY=
SIZE (passlib-1.6.2.tar.gz) = 408949
SHA256 (passlib-1.6.5.tar.gz) = qD009T3JsXqkLJo1w/vMUSDz/LB/f4ch7EXmonvjR/w=
SIZE (passlib-1.6.5.tar.gz) = 417044

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-passlib_hosts_py,v 1.1 2016/01/15 12:46:37 sthen Exp $
--- passlib/hosts.py.orig Sun Jul 26 03:39:39 2015
+++ passlib/hosts.py Fri Jan 15 12:46:20 2016
@@ -48,7 +48,8 @@ linux_context = linux2_context = LazyCryptContext(
# referencing source via -http://fxr.googlebit.com
# freebsd 6,7,8 - des, md5, bcrypt, bsd_nthash
# netbsd - des, ext, md5, bcrypt, sha1
-# openbsd - des, ext, md5, bcrypt
+# XXX openbsd 5.9+ - bcrypt (no $2$; accepts $2a$, native $2b$)
+# older openbsd - des, ext, md5, bcrypt
freebsd_context = LazyCryptContext(["bcrypt", "md5_crypt", "bsd_nthash",
"des_crypt", "unix_disabled"])

View File

@ -1,4 +1,8 @@
PassLib is a password hashing library for Python, which provides
PassLib is a password hashing library for Python 2 & 3, which provides
cross-platform implementations of over 30 password hashing algorithms;
as well as a framework for managing and migrating existing password
hashes.
It's designed to be useful for a wide range of tasks, from verifying a
hash found in /etc/shadow, to providing full-strength password hashing
for multi-user applications.