commit: c70c90b4e1dbf19d6e83752c59bdd40998de68d8 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Thu Jul 18 06:44:47 2024 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Thu Jul 18 06:47:00 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c70c90b4
dev-ruby/git: fix deprecated dsa key usage in tests Closes: https://bugs.gentoo.org/936202 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/git/git-1.19.1.ebuild | 3 +++ dev-ruby/git/git-2.1.1.ebuild | 3 +++ 2 files changed, 6 insertions(+) diff --git a/dev-ruby/git/git-1.19.1.ebuild b/dev-ruby/git/git-1.19.1.ebuild index 36d7c68160a4..bf515ae518bb 100644 --- a/dev-ruby/git/git-1.19.1.ebuild +++ b/dev-ruby/git/git-1.19.1.ebuild @@ -33,6 +33,9 @@ all_ruby_prepare() { sed -i -e "s:/tmp:${TMPDIR}:" tests/units/test_archive.rb tests/test_helper.rb || die sed -i -e 's/__dir__/"."/' -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Don't use deprecated key type that is removed from openssh + sed -i -e 's/-t dsa/-t rsa/' tests/units/test_signed_commits.rb || die } each_ruby_test() { diff --git a/dev-ruby/git/git-2.1.1.ebuild b/dev-ruby/git/git-2.1.1.ebuild index c74d6b700a04..f46ad08cda5e 100644 --- a/dev-ruby/git/git-2.1.1.ebuild +++ b/dev-ruby/git/git-2.1.1.ebuild @@ -38,6 +38,9 @@ all_ruby_prepare() { sed -i -e "s:/tmp:${TMPDIR}:" tests/units/test_archive.rb tests/test_helper.rb || die sed -i -e 's/__dir__/"."/' -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Don't use deprecated key type that is removed from openssh + sed -i -e 's/-t dsa/-t rsa/' tests/units/test_signed_commits.rb || die } each_ruby_test() {
