forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
3 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST bcrypt_pbkdf-1.0.0.gem 24576 SHA256 1b86abaca5f4b0e9626b3218ba8f680863bfb3ea2316e1cf647be3c346984432 SHA512 b582407617633f5277cde9251ed1fd2ca408ae8bd19cc73f107d7932bed38061dc0099d3033ff5def1b586507392c33d8c50815fb156322f0dd08fbbe4a8e967 WHIRLPOOL 9401dc3fcde08ff9fe83bd76b92fc779ed9d37c517b6a72b90726b10b211bf3290d268caf93bf0068fe1430c89942bb4a034151c43d35a2033208a7724b4987d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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>[email protected]</email> | ||
<name>Gentoo Ruby Project</name> | ||
</maintainer> | ||
<upstream> | ||
<remote-id type="github">net-ssh/bcrypt_pbkdf-ruby</remote-id> | ||
</upstream> | ||
</pkgmetadata> |