diff options
Diffstat (limited to 'security')
-rw-r--r-- | security/ruby-bcrypt/DESCR | 25 | ||||
-rw-r--r-- | security/ruby-bcrypt/Makefile | 13 | ||||
-rw-r--r-- | security/ruby-bcrypt/PLIST | 24 | ||||
-rw-r--r-- | security/ruby-bcrypt/distinfo | 5 |
4 files changed, 67 insertions, 0 deletions
diff --git a/security/ruby-bcrypt/DESCR b/security/ruby-bcrypt/DESCR new file mode 100644 index 00000000000..8845fe6c228 --- /dev/null +++ b/security/ruby-bcrypt/DESCR @@ -0,0 +1,25 @@ +bcrypt() is a sophisticated and secure hash algorithm designed by The +OpenBSD project for hashing passwords. bcrypt-ruby provides a simple, +humane wrapper for safely handling passwords. + += bcrypt-ruby + +An easy way to keep your users' passwords secure. + +* http://bcrypt-ruby.rubyforge.org/ +* http://github.com/codahale/bcrypt-ruby/tree/master + +== Why you should use bcrypt + +If you store user passwords in the clear, then an attacker who steals +a copy of your database has a giant list of emails and passwords. Some +of your users will only have one password -- for their email account, +for their banking account, for your application. A simple hack could +escalate into massive identity theft. + +It's your responsibility as a web developer to make your web +application secure -- blaming your users for not being security +experts is not a professional response to risk. + +bcrypt allows you to easily harden your application against these +kinds of attacks. diff --git a/security/ruby-bcrypt/Makefile b/security/ruby-bcrypt/Makefile new file mode 100644 index 00000000000..de15bc43ea8 --- /dev/null +++ b/security/ruby-bcrypt/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/06/19 03:17:32 taca Exp $ + +DISTNAME= bcrypt-ruby-2.1.4 +PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME:S/-ruby//} +CATEGORIES= security + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://github.com/datamapper/dm-core +COMMENT= OpenBSD's bcrypt() password hashing algorithm for Ruby +LICENSE= mit + +.include "../../lang/ruby/gem.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/security/ruby-bcrypt/PLIST b/security/ruby-bcrypt/PLIST new file mode 100644 index 00000000000..1d21eed0dce --- /dev/null +++ b/security/ruby-bcrypt/PLIST @@ -0,0 +1,24 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/06/19 03:17:32 taca Exp $ +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/.gitignore +${GEM_LIBDIR}/.rspec +${GEM_LIBDIR}/CHANGELOG +${GEM_LIBDIR}/COPYING +${GEM_LIBDIR}/Gemfile +${GEM_LIBDIR}/README +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/bcrypt-ruby.gemspec +${GEM_LIBDIR}/ext/jruby/bcrypt_jruby/BCrypt.java +${GEM_LIBDIR}/ext/mri/bcrypt.c +${GEM_LIBDIR}/ext/mri/bcrypt.h +${GEM_LIBDIR}/ext/mri/bcrypt_ext.c +${GEM_LIBDIR}/ext/mri/blf.h +${GEM_LIBDIR}/ext/mri/blowfish.c +${GEM_LIBDIR}/ext/mri/extconf.rb +${GEM_LIBDIR}/lib/bcrypt.rb +${GEM_LIBDIR}/lib/bcrypt_ext.${RUBY_DLEXT} +${GEM_LIBDIR}/spec/TestBCrypt.java +${GEM_LIBDIR}/spec/bcrypt/engine_spec.rb +${GEM_LIBDIR}/spec/bcrypt/password_spec.rb +${GEM_LIBDIR}/spec/spec_helper.rb +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/security/ruby-bcrypt/distinfo b/security/ruby-bcrypt/distinfo new file mode 100644 index 00000000000..a11f607b3e8 --- /dev/null +++ b/security/ruby-bcrypt/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/06/19 03:17:32 taca Exp $ + +SHA1 (bcrypt-ruby-2.1.4.gem) = 80b6bed1b814d9f2d27c66ca0acde2c1b08c17fa +RMD160 (bcrypt-ruby-2.1.4.gem) = f2c48e1866bfe984bab4b87bce598a1338a5198f +Size (bcrypt-ruby-2.1.4.gem) = 39424 bytes |