mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/bcrypt_pbkdf: add 1.1.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST bcrypt_pbkdf-1.1.0.gem 24576 BLAKE2B 4fb9449c23c1a1caefbe7acae630eff9c6ee22b77d1eaed6475400ab2b37186d3f15b867cdad364daaaf27d6b817d6a2a49cfbf567a889264fdd64903f06cf89 SHA512 a7b9f123274a2f93e183be7339149b1df3b185331fdc63af58e342ae4bb734fdcf709214a50922218b837481349948e10ec879f9b8e1a6928b1b7b5617f83be5
|
||||
DIST bcrypt_pbkdf-1.1.1.gem 26112 BLAKE2B b61805dbee6c5b1d2e3fbc337cd6c618e7975fe2a6e8c5ec711efb9af35e996a4907a1c3d2d2a57feaed3820068b9e763f3748fc34fcc19562d85a72391ca73d SHA512 98a8590bdfd78f858ce1492da3d857d3cf411c84a51d6c52f12d37e88a7cb215ad576bc1ce4a16d059148eb18b361c180a14d9bb3a9b7ccd1b1a7bb9a6de8682
|
||||
|
||||
42
dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.1.ebuild
Normal file
42
dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.1.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby31 ruby32 ruby33"
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user