aboutsummaryrefslogtreecommitdiff
path: root/security/rubygem-scrypt
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-03-02 14:30:19 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-03-02 14:30:19 +0000
commit913fe0078e161e37900716e70aa44e1ab9818e66 (patch)
tree417214d5ad2870e0f2cbf5e0f5e7a120a3afb307 /security/rubygem-scrypt
parent3a3e43846697ee7da5b2cd606c90e7c8b22ddef1 (diff)
- Add rubygem-scrypt 2.0.0
The scrypt key derivation function is designed to be far more secure against hardware brute-force attacks than alternative functions such as PBKDF2 or bcrypt. WWW: https://github.com/pbhogan/scrypt RG: https://rubygems.org/gems/scrypt
Notes
Notes: svn path=/head/; revision=380268
Diffstat (limited to 'security/rubygem-scrypt')
-rw-r--r--security/rubygem-scrypt/Makefile21
-rw-r--r--security/rubygem-scrypt/distinfo2
-rw-r--r--security/rubygem-scrypt/pkg-descr6
3 files changed, 29 insertions, 0 deletions
diff --git a/security/rubygem-scrypt/Makefile b/security/rubygem-scrypt/Makefile
new file mode 100644
index 000000000000..bff5181436fa
--- /dev/null
+++ b/security/rubygem-scrypt/Makefile
@@ -0,0 +1,21 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= scrypt
+PORTVERSION= 2.0.0
+CATEGORIES= security rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Scrypt key derivation function
+
+LICENSE= BSD3CLAUSE
+
+RUN_DEPENDS= rubygem-ffi-compiler>=0.0.2:${PORTSDIR}/devel/rubygem-ffi-compiler \
+ rubygem-rake>=0:${PORTSDIR}/devel/rubygem-rake
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/security/rubygem-scrypt/distinfo b/security/rubygem-scrypt/distinfo
new file mode 100644
index 000000000000..b80af085e1a5
--- /dev/null
+++ b/security/rubygem-scrypt/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/scrypt-2.0.0.gem) = 34cf4f10e0fa4b03b6722e3987a9907fd89a83293dabcc5333541349a2da17ea
+SIZE (rubygem/scrypt-2.0.0.gem) = 23552
diff --git a/security/rubygem-scrypt/pkg-descr b/security/rubygem-scrypt/pkg-descr
new file mode 100644
index 000000000000..1fa43a2c473b
--- /dev/null
+++ b/security/rubygem-scrypt/pkg-descr
@@ -0,0 +1,6 @@
+The scrypt key derivation function is designed to be far more secure against
+hardware brute-force attacks than alternative functions such as PBKDF2 or
+bcrypt.
+
+WWW: https://github.com/pbhogan/scrypt
+RG: https://rubygems.org/gems/scrypt