summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-07-18 08:44:47 +0200
committerHans de Graaff <graaff@gentoo.org>2024-07-18 08:47:00 +0200
commitc70c90b4e1dbf19d6e83752c59bdd40998de68d8 (patch)
tree42f4adc67a91c7d653819b42f479cb9e19883148 /dev-ruby/git
parentdev-ruby/git: drop 1.19.0 (diff)
downloadgentoo-c70c90b4e1dbf19d6e83752c59bdd40998de68d8.tar.gz
gentoo-c70c90b4e1dbf19d6e83752c59bdd40998de68d8.tar.bz2
gentoo-c70c90b4e1dbf19d6e83752c59bdd40998de68d8.zip
dev-ruby/git: fix deprecated dsa key usage in tests
Closes: https://bugs.gentoo.org/936202 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/git')
-rw-r--r--dev-ruby/git/git-1.19.1.ebuild3
-rw-r--r--dev-ruby/git/git-2.1.1.ebuild3
2 files changed, 6 insertions, 0 deletions
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() {