From owner-svn-ports-all@freebsd.org Mon Jan 11 07:29:18 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58180A6A471; Mon, 11 Jan 2016 07:29:18 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 314601BD6; Mon, 11 Jan 2016 07:29:18 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0B7THNG050787; Mon, 11 Jan 2016 07:29:17 GMT (envelope-from miwi@FreeBSD.org) Received: (from miwi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0B7TG16050783; Mon, 11 Jan 2016 07:29:16 GMT (envelope-from miwi@FreeBSD.org) Message-Id: <201601110729.u0B7TG16050783@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: miwi set sender to miwi@FreeBSD.org using -f From: Martin Wilke Date: Mon, 11 Jan 2016 07:29:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405767 - in head/security: . py-scrypt X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jan 2016 07:29:18 -0000 Author: miwi Date: Mon Jan 11 07:29:16 2016 New Revision: 405767 URL: https://svnweb.freebsd.org/changeset/ports/405767 Log: This is is a set of Python bindings for the scrypt key derivation function. Scrypt is useful when encrypting password as it is possible to specify a minimum amount of time to use when encrypting and decrypting. If, for example, a password takes 0.05 seconds to verify, a user won't notice the slight delay when signing in, but doing a brute force search of several billion passwords will take a considerable amount of time. This is in contrast to more traditional hash functions such as MD5 or the SHA family which can be implemented extremely fast on cheap hardware. WWW: https://pypi.python.org/pypi/scrypt/ PR: 206102 Submitted by: Yuri Victorovich Added: head/security/py-scrypt/ head/security/py-scrypt/Makefile (contents, props changed) head/security/py-scrypt/distinfo (contents, props changed) head/security/py-scrypt/pkg-descr (contents, props changed) Modified: head/security/Makefile Modified: head/security/Makefile ============================================================================== --- head/security/Makefile Mon Jan 11 07:21:19 2016 (r405766) +++ head/security/Makefile Mon Jan 11 07:29:16 2016 (r405767) @@ -798,6 +798,7 @@ SUBDIR += py-Products.PlonePAS SUBDIR += py-Products.PluggableAuthService SUBDIR += py-RestrictedPython + SUBDIR += py-scrypt SUBDIR += py-SecretStorage SUBDIR += py-acme SUBDIR += py-artifacts Added: head/security/py-scrypt/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/py-scrypt/Makefile Mon Jan 11 07:29:16 2016 (r405767) @@ -0,0 +1,26 @@ +# Created by: Yuri Victorovich +# $FreeBSD$ + +PORTNAME= scrypt +PORTVERSION= 0.7.1 +CATEGORIES= security python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@rawbw.com +COMMENT= Bindings for the scrypt key derivation function library + +LICENSE= BSD2CLAUSE + +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}unittest2>0:${PORTSDIR}/devel/py-unittest2 + +USES= python +USE_PYTHON= autoplist distutils + +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_scrypt.so + +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test + +.include Added: head/security/py-scrypt/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/py-scrypt/distinfo Mon Jan 11 07:29:16 2016 (r405767) @@ -0,0 +1,2 @@ +SHA256 (scrypt-0.7.1.tar.gz) = f5f68c300c816178384b6531f071a07e705beb1ecd9b37ba8fe3960c20f61da3 +SIZE (scrypt-0.7.1.tar.gz) = 30382 Added: head/security/py-scrypt/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/py-scrypt/pkg-descr Mon Jan 11 07:29:16 2016 (r405767) @@ -0,0 +1,11 @@ +This is is a set of Python bindings for the scrypt key derivation function. + +Scrypt is useful when encrypting password as it is possible to specify a +minimum amount of time to use when encrypting and decrypting. If, for example, +a password takes 0.05 seconds to verify, a user won't notice the slight delay +when signing in, but doing a brute force search of several billion passwords +will take a considerable amount of time. This is in contrast to more +traditional hash functions such as MD5 or the SHA family which can be +implemented extremely fast on cheap hardware. + +WWW: https://pypi.python.org/pypi/scrypt/