diff options
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.1.0-r2.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/bcrypt_pbkdf/Manifest b/dev-ruby/bcrypt_pbkdf/Manifest index 9ac203f5094f..28f6bd11f829 100644 --- a/dev-ruby/bcrypt_pbkdf/Manifest +++ b/dev-ruby/bcrypt_pbkdf/Manifest @@ -1,3 +1,4 @@ DIST bcrypt_pbkdf-1.1.0.gem 24576 BLAKE2B 4fb9449c23c1a1caefbe7acae630eff9c6ee22b77d1eaed6475400ab2b37186d3f15b867cdad364daaaf27d6b817d6a2a49cfbf567a889264fdd64903f06cf89 SHA512 a7b9f123274a2f93e183be7339149b1df3b185331fdc63af58e342ae4bb734fdcf709214a50922218b837481349948e10ec879f9b8e1a6928b1b7b5617f83be5 EBUILD bcrypt_pbkdf-1.1.0-r1.ebuild 1113 BLAKE2B aa5f09c06e82832c312e14c889f8bdf912796f2bfb89579f43c8a7744b73633372764f1a88695cc39c76389760610de36c5a1fdacb9d0bf0512476e94d839875 SHA512 79d09a868e744ccb937a5b8803f5f10245217b9ddaa24bac732508aa017695e86c5b90ae3a0394707eb01f630b7ed5f7d8335c827b55a8ce031e848964ab14eb +EBUILD bcrypt_pbkdf-1.1.0-r2.ebuild 1117 BLAKE2B 3c875a363c0bebd9913378967932034e96d1aea1903acc26cc027a550c083544d536fd74f0639430068ca5429995dc9101e5d9b2014e815b35c77cb5283adb7c SHA512 7498f0ba7c0fc7d46d5f8b92f44d6ef9a56e83b017962bd3602e53045fe4fc82d0db3303735a1ce2c1bfd2fdc38d326fe8956d7fc6d0eb22f731bbe18d28cb54 MISC metadata.xml 352 BLAKE2B f2c9cc325b0c9edf94cb0f2817dda3582647fcc80cfe85732598dc04b892c1d3f81bff8e7ec45254aad4390c28a833fd75a8af1c5c0a9f5d82df0e7013edfb4c SHA512 361cb72236f48394a7481261e8c55fd3c25f3212e6e11caf341d7b95d264c0eca3dd80f165cf6655a606b04a16f1204112f05683b05ca3be4f3b8b0a687ea2b7 diff --git a/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.0-r2.ebuild b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.0-r2.ebuild new file mode 100644 index 000000000000..ebd16a4d5548 --- /dev/null +++ b/dev-ruby/bcrypt_pbkdf/bcrypt_pbkdf-1.1.0-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" + +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="" + +ruby_add_bdepend "test? ( 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:^:#:' \ + -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 +} |