diff options
author | miwi <miwi@FreeBSD.org> | 2012-08-05 16:29:26 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2012-08-05 16:29:26 +0800 |
commit | fd5f659d95cc08e03218dbc1b21aea5082543188 (patch) | |
tree | 28a862a260c3a66fdf871f60a42c8cd4d5bfb380 /security | |
parent | c520cb14a589fe50dbcd1fd9d03ca7586d8b1e97 (diff) | |
download | freebsd-ports-gnome-fd5f659d95cc08e03218dbc1b21aea5082543188.tar.gz freebsd-ports-gnome-fd5f659d95cc08e03218dbc1b21aea5082543188.tar.zst freebsd-ports-gnome-fd5f659d95cc08e03218dbc1b21aea5082543188.zip |
Add py-passlib 1.6, python password hashing framework supporting over 30
schemes.
PR: ports/168949
Submitted by: koobs <koobs.freebsd@gmail.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/py-passlib/Makefile | 22 | ||||
-rw-r--r-- | security/py-passlib/distinfo | 2 | ||||
-rw-r--r-- | security/py-passlib/files/patch-setup.py | 17 | ||||
-rw-r--r-- | security/py-passlib/pkg-descr | 7 | ||||
-rw-r--r-- | security/py-passlib/pkg-plist | 214 |
6 files changed, 263 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 1abdc5e26c72..3f19030cc14f 100644 --- a/security/Makefile +++ b/security/Makefile @@ -741,6 +741,7 @@ SUBDIR += py-openssl SUBDIR += py-otr SUBDIR += py-paramiko + SUBDIR += py-passlib SUBDIR += py-plone.app.openid SUBDIR += py-plone.keyring SUBDIR += py-plone.openid diff --git a/security/py-passlib/Makefile b/security/py-passlib/Makefile new file mode 100644 index 000000000000..2e9603474354 --- /dev/null +++ b/security/py-passlib/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: py-passlib +# Date created: 2012-06-11 +# Whom: koobs <koobs.freebsd@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= passlib +PORTVERSION= 1.6 +CATEGORIES= security python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= koobs.freebsd@gmail.com +COMMENT= Python password hashing framework supporting over 30 schemes + +LICENSE= BSD + +USE_PYTHON= 2.5+ +USE_PYDISTUTILS=yes + +.include <bsd.port.mk> diff --git a/security/py-passlib/distinfo b/security/py-passlib/distinfo new file mode 100644 index 000000000000..47cbc1cac81e --- /dev/null +++ b/security/py-passlib/distinfo @@ -0,0 +1,2 @@ +SHA256 (passlib-1.6.tar.gz) = 9e546e00bc19f7f4bfa84ec2770ea4c226b577149a094c3455711fc7a74d7117 +SIZE (passlib-1.6.tar.gz) = 390451 diff --git a/security/py-passlib/files/patch-setup.py b/security/py-passlib/files/patch-setup.py new file mode 100644 index 000000000000..e6ab1c8429ef --- /dev/null +++ b/security/py-passlib/files/patch-setup.py @@ -0,0 +1,17 @@ +--- ./setup.py.orig 2012-06-11 20:52:21.000000000 +1000 ++++ ./setup.py 2012-06-11 20:52:35.000000000 +1000 +@@ -15,12 +15,8 @@ + + py3k = (sys.version_info[0] >= 3) + +-try: +- from setuptools import setup +- has_distribute = True +-except ImportError: +- from distutils.core import setup +- has_distribute = False ++from distutils.core import setup ++has_distribute = False + + #========================================================= + # init setup options diff --git a/security/py-passlib/pkg-descr b/security/py-passlib/pkg-descr new file mode 100644 index 000000000000..064398ff161f --- /dev/null +++ b/security/py-passlib/pkg-descr @@ -0,0 +1,7 @@ +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 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 application. + +WWW: http://passlib.googlecode.com diff --git a/security/py-passlib/pkg-plist b/security/py-passlib/pkg-plist new file mode 100644 index 000000000000..9ae62c7e7d28 --- /dev/null +++ b/security/py-passlib/pkg-plist @@ -0,0 +1,214 @@ +@comment $FreeBSD$ +%%PYTHON_SITELIBDIR%%/passlib/__init__.py +%%PYTHON_SITELIBDIR%%/passlib/__init__.pyc +%%PYTHON_SITELIBDIR%%/passlib/__init__.pyo +%%PYTHON_SITELIBDIR%%/passlib/_setup/__init__.py +%%PYTHON_SITELIBDIR%%/passlib/_setup/__init__.pyc +%%PYTHON_SITELIBDIR%%/passlib/_setup/__init__.pyo +%%PYTHON_SITELIBDIR%%/passlib/_setup/docdist.py +%%PYTHON_SITELIBDIR%%/passlib/_setup/docdist.pyc +%%PYTHON_SITELIBDIR%%/passlib/_setup/docdist.pyo +%%PYTHON_SITELIBDIR%%/passlib/_setup/stamp.py +%%PYTHON_SITELIBDIR%%/passlib/_setup/stamp.pyc +%%PYTHON_SITELIBDIR%%/passlib/_setup/stamp.pyo +%%PYTHON_SITELIBDIR%%/passlib/apache.py +%%PYTHON_SITELIBDIR%%/passlib/apache.pyc +%%PYTHON_SITELIBDIR%%/passlib/apache.pyo +%%PYTHON_SITELIBDIR%%/passlib/apps.py +%%PYTHON_SITELIBDIR%%/passlib/apps.pyc +%%PYTHON_SITELIBDIR%%/passlib/apps.pyo +%%PYTHON_SITELIBDIR%%/passlib/context.py +%%PYTHON_SITELIBDIR%%/passlib/context.pyc +%%PYTHON_SITELIBDIR%%/passlib/context.pyo +%%PYTHON_SITELIBDIR%%/passlib/exc.py +%%PYTHON_SITELIBDIR%%/passlib/exc.pyc +%%PYTHON_SITELIBDIR%%/passlib/exc.pyo +%%PYTHON_SITELIBDIR%%/passlib/ext/__init__.py +%%PYTHON_SITELIBDIR%%/passlib/ext/__init__.pyc +%%PYTHON_SITELIBDIR%%/passlib/ext/__init__.pyo +%%PYTHON_SITELIBDIR%%/passlib/ext/django/__init__.py +%%PYTHON_SITELIBDIR%%/passlib/ext/django/__init__.pyc +%%PYTHON_SITELIBDIR%%/passlib/ext/django/__init__.pyo +%%PYTHON_SITELIBDIR%%/passlib/ext/django/models.py +%%PYTHON_SITELIBDIR%%/passlib/ext/django/models.pyc +%%PYTHON_SITELIBDIR%%/passlib/ext/django/models.pyo +%%PYTHON_SITELIBDIR%%/passlib/ext/django/utils.py +%%PYTHON_SITELIBDIR%%/passlib/ext/django/utils.pyc +%%PYTHON_SITELIBDIR%%/passlib/ext/django/utils.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/__init__.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/__init__.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/__init__.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/bcrypt.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/bcrypt.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/bcrypt.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/cisco.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/cisco.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/cisco.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/des_crypt.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/des_crypt.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/des_crypt.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/digests.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/digests.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/digests.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/django.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/django.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/django.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/fshp.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/fshp.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/fshp.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/ldap_digests.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/ldap_digests.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/ldap_digests.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/md5_crypt.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/md5_crypt.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/md5_crypt.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/misc.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/misc.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/misc.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/mssql.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/mssql.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/mssql.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/mysql.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/mysql.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/mysql.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/oracle.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/oracle.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/oracle.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/pbkdf2.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/pbkdf2.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/pbkdf2.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/phpass.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/phpass.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/phpass.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/postgres.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/postgres.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/postgres.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/roundup.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/roundup.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/roundup.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/scram.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/scram.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/scram.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/sha1_crypt.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/sha1_crypt.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/sha1_crypt.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/sha2_crypt.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/sha2_crypt.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/sha2_crypt.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/sun_md5_crypt.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/sun_md5_crypt.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/sun_md5_crypt.pyo +%%PYTHON_SITELIBDIR%%/passlib/handlers/windows.py +%%PYTHON_SITELIBDIR%%/passlib/handlers/windows.pyc +%%PYTHON_SITELIBDIR%%/passlib/handlers/windows.pyo +%%PYTHON_SITELIBDIR%%/passlib/hash.py +%%PYTHON_SITELIBDIR%%/passlib/hash.pyc +%%PYTHON_SITELIBDIR%%/passlib/hash.pyo +%%PYTHON_SITELIBDIR%%/passlib/hosts.py +%%PYTHON_SITELIBDIR%%/passlib/hosts.pyc +%%PYTHON_SITELIBDIR%%/passlib/hosts.pyo +%%PYTHON_SITELIBDIR%%/passlib/ifc.py +%%PYTHON_SITELIBDIR%%/passlib/ifc.pyc +%%PYTHON_SITELIBDIR%%/passlib/ifc.pyo +%%PYTHON_SITELIBDIR%%/passlib/registry.py +%%PYTHON_SITELIBDIR%%/passlib/registry.pyc +%%PYTHON_SITELIBDIR%%/passlib/registry.pyo +%%PYTHON_SITELIBDIR%%/passlib/tests/__init__.py +%%PYTHON_SITELIBDIR%%/passlib/tests/__init__.pyc +%%PYTHON_SITELIBDIR%%/passlib/tests/__init__.pyo +%%PYTHON_SITELIBDIR%%/passlib/tests/__main__.py +%%PYTHON_SITELIBDIR%%/passlib/tests/__main__.pyc +%%PYTHON_SITELIBDIR%%/passlib/tests/__main__.pyo +%%PYTHON_SITELIBDIR%%/passlib/tests/_test_bad_register.py +%%PYTHON_SITELIBDIR%%/passlib/tests/_test_bad_register.pyc +%%PYTHON_SITELIBDIR%%/passlib/tests/_test_bad_register.pyo +%%PYTHON_SITELIBDIR%%/passlib/tests/backports.py +%%PYTHON_SITELIBDIR%%/passlib/tests/backports.pyc +%%PYTHON_SITELIBDIR%%/passlib/tests/backports.pyo +%%PYTHON_SITELIBDIR%%/passlib/tests/sample1.cfg +%%PYTHON_SITELIBDIR%%/passlib/tests/sample1b.cfg +%%PYTHON_SITELIBDIR%%/passlib/tests/sample1c.cfg +%%PYTHON_SITELIBDIR%%/passlib/tests/sample_config_1s.cfg +%%PYTHON_SITELIBDIR%%/passlib/tests/test_apache.py +%%PYTHON_SITELIBDIR%%/passlib/tests/test_apache.pyc +%%PYTHON_SITELIBDIR%%/passlib/tests/test_apache.pyo +%%PYTHON_SITELIBDIR%%/passlib/tests/test_apps.py +%%PYTHON_SITELIBDIR%%/passlib/tests/test_apps.pyc +%%PYTHON_SITELIBDIR%%/passlib/tests/test_apps.pyo +%%PYTHON_SITELIBDIR%%/passlib/tests/test_context.py +%%PYTHON_SITELIBDIR%%/passlib/tests/test_context.pyc +%%PYTHON_SITELIBDIR%%/passlib/tests/test_context.pyo +%%PYTHON_SITELIBDIR%%/passlib/tests/test_context_deprecated.py +%%PYTHON_SITELIBDIR%%/passlib/tests/test_context_deprecated.pyc +%%PYTHON_SITELIBDIR%%/passlib/tests/test_context_deprecated.pyo +%%PYTHON_SITELIBDIR%%/passlib/tests/test_ext_django.py +%%PYTHON_SITELIBDIR%%/passlib/tests/test_ext_django.pyc +%%PYTHON_SITELIBDIR%%/passlib/tests/test_ext_django.pyo +%%PYTHON_SITELIBDIR%%/passlib/tests/test_handlers.py +%%PYTHON_SITELIBDIR%%/passlib/tests/test_handlers.pyc +%%PYTHON_SITELIBDIR%%/passlib/tests/test_handlers.pyo +%%PYTHON_SITELIBDIR%%/passlib/tests/test_hosts.py +%%PYTHON_SITELIBDIR%%/passlib/tests/test_hosts.pyc +%%PYTHON_SITELIBDIR%%/passlib/tests/test_hosts.pyo +%%PYTHON_SITELIBDIR%%/passlib/tests/test_registry.py +%%PYTHON_SITELIBDIR%%/passlib/tests/test_registry.pyc +%%PYTHON_SITELIBDIR%%/passlib/tests/test_registry.pyo +%%PYTHON_SITELIBDIR%%/passlib/tests/test_utils.py +%%PYTHON_SITELIBDIR%%/passlib/tests/test_utils.pyc +%%PYTHON_SITELIBDIR%%/passlib/tests/test_utils.pyo +%%PYTHON_SITELIBDIR%%/passlib/tests/test_utils_crypto.py +%%PYTHON_SITELIBDIR%%/passlib/tests/test_utils_crypto.pyc +%%PYTHON_SITELIBDIR%%/passlib/tests/test_utils_crypto.pyo +%%PYTHON_SITELIBDIR%%/passlib/tests/test_utils_handlers.py +%%PYTHON_SITELIBDIR%%/passlib/tests/test_utils_handlers.pyc +%%PYTHON_SITELIBDIR%%/passlib/tests/test_utils_handlers.pyo +%%PYTHON_SITELIBDIR%%/passlib/tests/test_win32.py +%%PYTHON_SITELIBDIR%%/passlib/tests/test_win32.pyc +%%PYTHON_SITELIBDIR%%/passlib/tests/test_win32.pyo +%%PYTHON_SITELIBDIR%%/passlib/tests/tox_support.py +%%PYTHON_SITELIBDIR%%/passlib/tests/tox_support.pyc +%%PYTHON_SITELIBDIR%%/passlib/tests/tox_support.pyo +%%PYTHON_SITELIBDIR%%/passlib/tests/utils.py +%%PYTHON_SITELIBDIR%%/passlib/tests/utils.pyc +%%PYTHON_SITELIBDIR%%/passlib/tests/utils.pyo +%%PYTHON_SITELIBDIR%%/passlib/utils/__init__.py +%%PYTHON_SITELIBDIR%%/passlib/utils/__init__.pyc +%%PYTHON_SITELIBDIR%%/passlib/utils/__init__.pyo +%%PYTHON_SITELIBDIR%%/passlib/utils/_blowfish/__init__.py +%%PYTHON_SITELIBDIR%%/passlib/utils/_blowfish/__init__.pyc +%%PYTHON_SITELIBDIR%%/passlib/utils/_blowfish/__init__.pyo +%%PYTHON_SITELIBDIR%%/passlib/utils/_blowfish/_gen_files.py +%%PYTHON_SITELIBDIR%%/passlib/utils/_blowfish/_gen_files.pyc +%%PYTHON_SITELIBDIR%%/passlib/utils/_blowfish/_gen_files.pyo +%%PYTHON_SITELIBDIR%%/passlib/utils/_blowfish/base.py +%%PYTHON_SITELIBDIR%%/passlib/utils/_blowfish/base.pyc +%%PYTHON_SITELIBDIR%%/passlib/utils/_blowfish/base.pyo +%%PYTHON_SITELIBDIR%%/passlib/utils/_blowfish/unrolled.py +%%PYTHON_SITELIBDIR%%/passlib/utils/_blowfish/unrolled.pyc +%%PYTHON_SITELIBDIR%%/passlib/utils/_blowfish/unrolled.pyo +%%PYTHON_SITELIBDIR%%/passlib/utils/compat.py +%%PYTHON_SITELIBDIR%%/passlib/utils/compat.pyc +%%PYTHON_SITELIBDIR%%/passlib/utils/compat.pyo +%%PYTHON_SITELIBDIR%%/passlib/utils/des.py +%%PYTHON_SITELIBDIR%%/passlib/utils/des.pyc +%%PYTHON_SITELIBDIR%%/passlib/utils/des.pyo +%%PYTHON_SITELIBDIR%%/passlib/utils/handlers.py +%%PYTHON_SITELIBDIR%%/passlib/utils/handlers.pyc +%%PYTHON_SITELIBDIR%%/passlib/utils/handlers.pyo +%%PYTHON_SITELIBDIR%%/passlib/utils/md4.py +%%PYTHON_SITELIBDIR%%/passlib/utils/md4.pyc +%%PYTHON_SITELIBDIR%%/passlib/utils/md4.pyo +%%PYTHON_SITELIBDIR%%/passlib/utils/pbkdf2.py +%%PYTHON_SITELIBDIR%%/passlib/utils/pbkdf2.pyc +%%PYTHON_SITELIBDIR%%/passlib/utils/pbkdf2.pyo +%%PYTHON_SITELIBDIR%%/passlib/win32.py +%%PYTHON_SITELIBDIR%%/passlib/win32.pyc +%%PYTHON_SITELIBDIR%%/passlib/win32.pyo +@dirrm %%PYTHON_SITELIBDIR%%/passlib/utils/_blowfish +@dirrm %%PYTHON_SITELIBDIR%%/passlib/utils +@dirrm %%PYTHON_SITELIBDIR%%/passlib/tests +@dirrm %%PYTHON_SITELIBDIR%%/passlib/handlers +@dirrm %%PYTHON_SITELIBDIR%%/passlib/ext/django +@dirrm %%PYTHON_SITELIBDIR%%/passlib/ext +@dirrm %%PYTHON_SITELIBDIR%%/passlib/_setup +@dirrm %%PYTHON_SITELIBDIR%%/passlib |