diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-02-27 07:50:57 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-02-27 07:51:37 +0100 |
commit | 4449849bf203bc73931e3d53333ac893fc89083c (patch) | |
tree | 1a30942e5ae2df814f6f058d016d4ead3dd40824 /dev-ruby/bcrypt_pbkdf | |
parent | dev-ruby/concurrent-ruby: cleanup (diff) | |
download | gentoo-4449849bf203bc73931e3d53333ac893fc89083c.tar.gz gentoo-4449849bf203bc73931e3d53333ac893fc89083c.tar.bz2 gentoo-4449849bf203bc73931e3d53333ac893fc89083c.zip |
dev-ruby/bcrypt_pbkdf: initial import of 1.0.0
New test dependency for dev-ruby/net-ssh.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-ruby/bcrypt_pbkdf')
-rw-r--r-- | dev-ruby/bcrypt_pbkdf/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild | 36 | ||||
-rw-r--r-- | dev-ruby/bcrypt_pbkdf/metadata.xml | 11 |
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-ruby/bcrypt_pbkdf/Manifest b/dev-ruby/bcrypt_pbkdf/Manifest new file mode 100644 index 000000000000..9e9790df18c6 --- /dev/null +++ b/dev-ruby/bcrypt_pbkdf/Manifest @@ -0,0 +1 @@ +DIST bcrypt_pbkdf-1.0.0.gem 24576 SHA256 1b86abaca5f4b0e9626b3218ba8f680863bfb3ea2316e1cf647be3c346984432 SHA512 b582407617633f5277cde9251ed1fd2ca408ae8bd19cc73f107d7932bed38061dc0099d3033ff5def1b586507392c33d8c50815fb156322f0dd08fbbe4a8e967 WHIRLPOOL 9401dc3fcde08ff9fe83bd76b92fc779ed9d37c517b6a72b90726b10b211bf3290d268caf93bf0068fe1430c89942bb4a034151c43d35a2033208a7724b4987d diff --git a/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild new file mode 100644 index 000000000000..065650faf8cd --- /dev/null +++ b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.0.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Implements bcrypt_pdkfd (a variant of PBKDF2 with bcrypt-based PRF)" +HOMEPAGE="https://github.com/net-ssh/bcrypt_pbkdf-ruby" + +LICENSE="MIT" +SLOT="1" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/rbnacl )" + +all_ruby_prepare() { + # Don't use a ruby-bundled version of libsodium + sed -i -e '/rbnacl\/libsodium/ s:^:#:' test/bcrypt_pnkdf/engine_test.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/mri extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/mri + cp ext/mri/bcrypt_pbkdf_ext.so lib/ || die +} diff --git a/dev-ruby/bcrypt_pbkdf/metadata.xml b/dev-ruby/bcrypt_pbkdf/metadata.xml new file mode 100644 index 000000000000..cae815148e5b --- /dev/null +++ b/dev-ruby/bcrypt_pbkdf/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">net-ssh/bcrypt_pbkdf-ruby</remote-id> + </upstream> +</pkgmetadata> |