aboutsummaryrefslogtreecommitdiff
path: root/security/pecl-scrypt
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2013-11-04 20:12:04 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2013-11-04 20:12:04 +0000
commit5a17e0f819758d04ea78d291ad76dcf5166cb3ec (patch)
tree95054e2d87d2a4a3a92a556adad28458cd8be1f4 /security/pecl-scrypt
parentce977aebdbb0f9bd84092e7d537129f1130bf748 (diff)
downloadports-5a17e0f819758d04ea78d291ad76dcf5166cb3ec.tar.gz
ports-5a17e0f819758d04ea78d291ad76dcf5166cb3ec.zip
New port: security/pecl-scrypt
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 PR: ports/180904 Submitted by: Horia Racoviceanu
Notes
Notes: svn path=/head/; revision=332772
Diffstat (limited to 'security/pecl-scrypt')
-rw-r--r--security/pecl-scrypt/Makefile27
-rw-r--r--security/pecl-scrypt/distinfo2
-rw-r--r--security/pecl-scrypt/pkg-descr6
3 files changed, 35 insertions, 0 deletions
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