dev-ruby/bcrypt_pbkdf: add 1.1.2

Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
Hans de Graaff 2025-12-05 17:29:28 +01:00
parent 668b6c0511
commit 52fedd5e44
No known key found for this signature in database
GPG Key ID: DB347F938654FA34
2 changed files with 43 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST bcrypt_pbkdf-1.1.1.gem 26112 BLAKE2B b61805dbee6c5b1d2e3fbc337cd6c618e7975fe2a6e8c5ec711efb9af35e996a4907a1c3d2d2a57feaed3820068b9e763f3748fc34fcc19562d85a72391ca73d SHA512 98a8590bdfd78f858ce1492da3d857d3cf411c84a51d6c52f12d37e88a7cb215ad576bc1ce4a16d059148eb18b361c180a14d9bb3a9b7ccd1b1a7bb9a6de8682 DIST bcrypt_pbkdf-1.1.1.gem 26112 BLAKE2B b61805dbee6c5b1d2e3fbc337cd6c618e7975fe2a6e8c5ec711efb9af35e996a4907a1c3d2d2a57feaed3820068b9e763f3748fc34fcc19562d85a72391ca73d SHA512 98a8590bdfd78f858ce1492da3d857d3cf411c84a51d6c52f12d37e88a7cb215ad576bc1ce4a16d059148eb18b361c180a14d9bb3a9b7ccd1b1a7bb9a6de8682
DIST bcrypt_pbkdf-1.1.2.gem 26112 BLAKE2B a2c2c00b09c1b66107e4f7648671826d30b60c9fc2eade3b98d06071062b8629128150649afb0bcdd9712e03feaacfcb62bfb4499820e612bff09124a33e0917 SHA512 f24f247bce942cc836abbf14adcfabbcbde64b13dedda05f12279142f7e2725d138499cd29035d6084bb3e4a0f44a99a0f3326c76a2139466f70d2e796972e01

View File

@ -0,0 +1,42 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
USE_RUBY="ruby32 ruby33 ruby34"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
RUBY_FAKEGEM_EXTENSIONS=(ext/mri/extconf.rb)
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 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="test"
ruby_add_bdepend "test? ( dev-ruby/minitest:5 virtual/ruby-ssl )"
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
# Avoid unneeded rake-compiler dependency
sed -e '/extensiontask/ s:^:#:' -e '/ExtensionTask/,/^end/ s:^:#:' \
-e '/bundler/ s:^:#:' \
-e '/rake_compiler_dock/ s:^:#:' \
-i Rakefile || die
sed -i -e 's/git ls-files/find * -print/' bcrypt_pbkdf.gemspec || die
}
each_ruby_configure() {
each_fakegem_configure
# Some methods may not be inlined on x86 but they are not defined either, bug 629164
sed -i -e 's:-Wl,--no-undefined::' ext/mri/Makefile || die
}