diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2013-11-04 20:12:04 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2013-11-04 20:12:04 +0000 |
commit | 5a17e0f819758d04ea78d291ad76dcf5166cb3ec (patch) | |
tree | 95054e2d87d2a4a3a92a556adad28458cd8be1f4 | |
parent | ce977aebdbb0f9bd84092e7d537129f1130bf748 (diff) |
Notes
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/pecl-scrypt/Makefile | 27 | ||||
-rw-r--r-- | security/pecl-scrypt/distinfo | 2 | ||||
-rw-r--r-- | security/pecl-scrypt/pkg-descr | 6 |
4 files changed, 36 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index 2910eb4dff08..148f252f096f 100644 --- a/security/Makefile +++ b/security/Makefile @@ -669,6 +669,7 @@ SUBDIR += pecl-crack SUBDIR += pecl-gnupg SUBDIR += pecl-pam + SUBDIR += pecl-scrypt SUBDIR += pecl-ssh2 SUBDIR += pecl-taint SUBDIR += pecl-tcpwrap diff --git a/security/pecl-scrypt/Makefile b/security/pecl-scrypt/Makefile new file mode 100644 index 000000000000..a57ade19685c --- /dev/null +++ b/security/pecl-scrypt/Makefile @@ -0,0 +1,27 @@ +# Created by: Horia Racoviceanu <horia@racoviceanu.com> +# $FreeBSD$ + +PORTNAME= scrypt +PORTVERSION= 1.2 +CATEGORIES= security pear +MASTER_SITES= http://pecl.php.net/get/ +PKGNAMEPREFIX= pecl- +EXTRACT_SUFX= .tgz + +MAINTAINER= horia@racoviceanu.com +COMMENT= PHP wrapper to Colin Percival's scrypt implementation + +LICENSE= BSD + +USE_PHP= hash +USE_PHPEXT= yes +USE_PHP_BUILD= yes + +.include <bsd.port.pre.mk> + +.if ${ARCH} != amd64 +post-patch: + ${REINPLACE_CMD} '/emmintrin.h/d' ${WRKSRC}/config.m4 +.endif + +.include <bsd.port.post.mk> diff --git a/security/pecl-scrypt/distinfo b/security/pecl-scrypt/distinfo new file mode 100644 index 000000000000..3b9108cce1a6 --- /dev/null +++ b/security/pecl-scrypt/distinfo @@ -0,0 +1,2 @@ +SHA256 (scrypt-1.2.tgz) = b5089b32bdf5d4e1406081c29a7f72447ec801ef863cb7aefed22e82941f56f9 +SIZE (scrypt-1.2.tgz) = 20361 diff --git a/security/pecl-scrypt/pkg-descr b/security/pecl-scrypt/pkg-descr new file mode 100644 index 000000000000..6c5961655381 --- /dev/null +++ b/security/pecl-scrypt/pkg-descr @@ -0,0 +1,6 @@ +This is a PHP library providing a wrapper to Colin Percival's scrypt +implementation. Scrypt is a key derivation function designed to be +far more secure against hardware brute-force attacks than alternative +functions such as PBKDF2 or bcrypt. + +WWW: http://pecl.php.net/package/scrypt |