Import ruby-argon2 2.0.3

This Ruby Gem provides FFI bindings, and a simplified interface, to the
Argon2 algorithm. Argon2 is the official winner of the Password Hashing
Competition, a several year project to identify a successor to
bcrypt/PBKDF/scrypt methods of securely storing passwords. This is an
independant project and not official from the PHC team.

OK sthen@
This commit is contained in:
jeremy 2021-02-02 20:07:55 +00:00
parent 188433bf54
commit 303d7d223e
4 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,27 @@
# $OpenBSD: Makefile,v 1.1.1.1 2021/02/02 20:07:55 jeremy Exp $
COMMENT = Ruby binding for the argon2 password hashing algorithm
DISTNAME = argon2-2.0.3
CATEGORIES = security
MAINTAINER = Jeremy Evans <jeremy@openbsd.org>
HOMEPAGE = https://github.com/technion/ruby-argon2
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/ruby
BUILD_DEPENDS = devel/gmake \
${RUN_DEPENDS}
RUN_DEPENDS = devel/ruby-ffi,${MODRUBY_FLAVOR}>=1.14,<2.0 \
devel/ruby-ffi-compiler,${MODRUBY_FLAVOR}>=1.0,<2.0
CONFIGURE_STYLE = ruby gem ext
MAKE_ENV = MAKE=gmake
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (argon2-2.0.3.gem) = 9Nd3lgs8vT0ePKmQGLYtuyEh113+HpO5xoGJqEzmBQk=
SIZE (argon2-2.0.3.gem) = 1849856

View File

@ -0,0 +1,5 @@
This Ruby Gem provides FFI bindings, and a simplified interface, to the
Argon2 algorithm. Argon2 is the official winner of the Password Hashing
Competition, a several year project to identify a successor to
bcrypt/PBKDF/scrypt methods of securely storing passwords. This is an
independant project and not official from the PHC team.

View File

@ -0,0 +1,32 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2021/02/02 20:07:55 jeremy Exp $
${GEM_LIB}/cache/${DISTNAME}.gem
${GEM_LIB}/gems/${DISTNAME}/
${GEM_LIB}/gems/${DISTNAME}/.github/
${GEM_LIB}/gems/${DISTNAME}/.github/workflows/
${GEM_LIB}/gems/${DISTNAME}/.github/workflows/rubocop.yml
${GEM_LIB}/gems/${DISTNAME}/.github/workflows/ruby.yml
${GEM_LIB}/gems/${DISTNAME}/.gitignore
${GEM_LIB}/gems/${DISTNAME}/.gitmodules
${GEM_LIB}/gems/${DISTNAME}/.rubocop.yml
${GEM_LIB}/gems/${DISTNAME}/CONTRIBUTING.md
${GEM_LIB}/gems/${DISTNAME}/Changelog.md
${GEM_LIB}/gems/${DISTNAME}/Gemfile
${GEM_LIB}/gems/${DISTNAME}/LICENSE.txt
${GEM_LIB}/gems/${DISTNAME}/README.md
${GEM_LIB}/gems/${DISTNAME}/Rakefile
${GEM_LIB}/gems/${DISTNAME}/argon2.gemspec
${GEM_LIB}/gems/${DISTNAME}/bin/
${GEM_LIB}/gems/${DISTNAME}/bin/console
${GEM_LIB}/gems/${DISTNAME}/bin/setup
${GEM_LIB}/gems/${DISTNAME}/ext/
${GEM_LIB}/gems/${DISTNAME}/ext/argon2_wrap/
@so ${GEM_LIB}/gems/${DISTNAME}/ext/argon2_wrap/libargon2_wrap.so
${GEM_LIB}/gems/${DISTNAME}/lib/
${GEM_LIB}/gems/${DISTNAME}/lib/argon2/
${GEM_LIB}/gems/${DISTNAME}/lib/argon2.rb
${GEM_LIB}/gems/${DISTNAME}/lib/argon2/constants.rb
${GEM_LIB}/gems/${DISTNAME}/lib/argon2/engine.rb
${GEM_LIB}/gems/${DISTNAME}/lib/argon2/errors.rb
${GEM_LIB}/gems/${DISTNAME}/lib/argon2/ffi_engine.rb
${GEM_LIB}/gems/${DISTNAME}/lib/argon2/version.rb
${GEM_LIB}/specifications/${DISTNAME}.gemspec