forked from pool/vagrant
Accepting request 950395 from home:dancermak:branches:Virtualization:vagrant
Bump ed25519 version to ~> 1.3.0 && switch to default ruby OBS-URL: https://build.opensuse.org/request/show/950395 OBS-URL: https://build.opensuse.org/package/show/Virtualization:vagrant/vagrant?expand=0&rev=64
This commit is contained in:
parent
499466f933
commit
32a9ce3d35
@ -1,7 +1,7 @@
|
|||||||
From 33ec34c4946a10f38747b827ccd0500cc3685af4 Mon Sep 17 00:00:00 2001
|
From 33ec34c4946a10f38747b827ccd0500cc3685af4 Mon Sep 17 00:00:00 2001
|
||||||
From: Antonio Terceiro <terceiro@debian.org>
|
From: Antonio Terceiro <terceiro@debian.org>
|
||||||
Date: Sat, 11 Oct 2014 16:54:58 -0300
|
Date: Sat, 11 Oct 2014 16:54:58 -0300
|
||||||
Subject: [PATCH 01/10] bin/vagrant: silence warning about installer
|
Subject: [PATCH 01/11] bin/vagrant: silence warning about installer
|
||||||
|
|
||||||
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
||||||
---
|
---
|
||||||
@ -36,5 +36,5 @@ index b539d3479..77c83d7c0 100755
|
|||||||
#
|
#
|
||||||
# Unset - Disables experimental features
|
# Unset - Disables experimental features
|
||||||
--
|
--
|
||||||
2.33.1
|
2.34.1
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
From df5d75cdb6c3f415e53bd494d3db5e4c809d8230 Mon Sep 17 00:00:00 2001
|
From df5d75cdb6c3f415e53bd494d3db5e4c809d8230 Mon Sep 17 00:00:00 2001
|
||||||
From: Antonio Terceiro <terceiro@debian.org>
|
From: Antonio Terceiro <terceiro@debian.org>
|
||||||
Date: Wed, 22 Oct 2014 09:40:14 -0200
|
Date: Wed, 22 Oct 2014 09:40:14 -0200
|
||||||
Subject: [PATCH 02/10] Use a private temporary dir
|
Subject: [PATCH 02/11] Use a private temporary dir
|
||||||
|
|
||||||
Without this vagrant will clutter $TMPDIR with dozens of even hundreds
|
Without this vagrant will clutter $TMPDIR with dozens of even hundreds
|
||||||
of temporary files (~4 per vagrant invocation).
|
of temporary files (~4 per vagrant invocation).
|
||||||
@ -94,5 +94,5 @@ index 000000000..0cbbb53ac
|
|||||||
+ FileUtils.rm_rf(Vagrant::Util::Tempfile.private_tmpdir)
|
+ FileUtils.rm_rf(Vagrant::Util::Tempfile.private_tmpdir)
|
||||||
+end
|
+end
|
||||||
--
|
--
|
||||||
2.33.1
|
2.34.1
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
From e8835db89852f1221ed9eeff67816a079ed6762b Mon Sep 17 00:00:00 2001
|
From e8835db89852f1221ed9eeff67816a079ed6762b Mon Sep 17 00:00:00 2001
|
||||||
From: Johannes Kastl <kastl@b1-systems.de>
|
From: Johannes Kastl <kastl@b1-systems.de>
|
||||||
Date: Wed, 17 May 2017 09:09:57 +0200
|
Date: Wed, 17 May 2017 09:09:57 +0200
|
||||||
Subject: [PATCH 03/10] plugins-don-t-abuse-require_relative.patch
|
Subject: [PATCH 03/11] plugins-don-t-abuse-require_relative.patch
|
||||||
|
|
||||||
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
||||||
---
|
---
|
||||||
@ -154,5 +154,5 @@ index 2dd140230..e6dd96f08 100644
|
|||||||
module VagrantPlugins
|
module VagrantPlugins
|
||||||
module GuestSUSE
|
module GuestSUSE
|
||||||
--
|
--
|
||||||
2.33.1
|
2.34.1
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
From d124f36515e112737baecea699a3aa09615702d7 Mon Sep 17 00:00:00 2001
|
From d124f36515e112737baecea699a3aa09615702d7 Mon Sep 17 00:00:00 2001
|
||||||
From: Johannes Kastl <kastl@b1-systems.de>
|
From: Johannes Kastl <kastl@b1-systems.de>
|
||||||
Date: Fri, 16 Nov 2018 21:12:43 +0100
|
Date: Fri, 16 Nov 2018 21:12:43 +0100
|
||||||
Subject: [PATCH 04/10] fix vbox package boo#1044087, added by
|
Subject: [PATCH 04/11] fix vbox package boo#1044087, added by
|
||||||
robert.munteanu@gmail.com on Sun Aug 13 19:07:06 UTC 2017
|
robert.munteanu@gmail.com on Sun Aug 13 19:07:06 UTC 2017
|
||||||
|
|
||||||
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
||||||
@ -33,5 +33,5 @@ index a0baf516f..867fe2bf8 100644
|
|||||||
module VagrantPlugins
|
module VagrantPlugins
|
||||||
module ProviderVirtualBox
|
module ProviderVirtualBox
|
||||||
--
|
--
|
||||||
2.33.1
|
2.34.1
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
From 4a7f3ff284ac2a3dd1e6261221f787ac4e7075d7 Mon Sep 17 00:00:00 2001
|
From 4a7f3ff284ac2a3dd1e6261221f787ac4e7075d7 Mon Sep 17 00:00:00 2001
|
||||||
From: Johannes Kastl <kastl@b1-systems.de>
|
From: Johannes Kastl <kastl@b1-systems.de>
|
||||||
Date: Mon, 4 Jun 2018 09:18:23 +0200
|
Date: Mon, 4 Jun 2018 09:18:23 +0200
|
||||||
Subject: [PATCH 05/10] do not depend on wdm
|
Subject: [PATCH 05/11] do not depend on wdm
|
||||||
|
|
||||||
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
||||||
---
|
---
|
||||||
@ -21,5 +21,5 @@ index 992b48f2f..2bef1036a 100644
|
|||||||
s.add_dependency "winrm-elevated", ">= 1.2.1", "< 2.0"
|
s.add_dependency "winrm-elevated", ">= 1.2.1", "< 2.0"
|
||||||
s.add_dependency "winrm-fs", ">= 1.3.4", "< 2.0"
|
s.add_dependency "winrm-fs", ">= 1.3.4", "< 2.0"
|
||||||
--
|
--
|
||||||
2.33.1
|
2.34.1
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
From 99447e851f41f413d1e525ef51e946b003e1a080 Mon Sep 17 00:00:00 2001
|
From 99447e851f41f413d1e525ef51e946b003e1a080 Mon Sep 17 00:00:00 2001
|
||||||
From: Johannes Kastl <kastl@b1-systems.de>
|
From: Johannes Kastl <kastl@b1-systems.de>
|
||||||
Date: Fri, 16 Nov 2018 21:14:46 +0100
|
Date: Fri, 16 Nov 2018 21:14:46 +0100
|
||||||
Subject: [PATCH 06/10] do not abuse relative paths in docker plugin to make
|
Subject: [PATCH 06/11] do not abuse relative paths in docker plugin to make
|
||||||
docker work, added by tmkn@tmkn.uk on Thu Oct 26 19:42:46 UTC 2017
|
docker work, added by tmkn@tmkn.uk on Thu Oct 26 19:42:46 UTC 2017
|
||||||
|
|
||||||
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
|
||||||
@ -22,5 +22,5 @@ index 07c4e5333..e8142df8b 100644
|
|||||||
module VagrantPlugins
|
module VagrantPlugins
|
||||||
module DockerProvider
|
module DockerProvider
|
||||||
--
|
--
|
||||||
2.33.1
|
2.34.1
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
From 3dc208ffbe52efb9c77e8541824b2b33a9252eaf Mon Sep 17 00:00:00 2001
|
From 3dc208ffbe52efb9c77e8541824b2b33a9252eaf Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcermak@suse.com>
|
From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcermak@suse.com>
|
||||||
Date: Fri, 11 Jan 2019 12:32:28 +0100
|
Date: Fri, 11 Jan 2019 12:32:28 +0100
|
||||||
Subject: [PATCH 07/10] Don't abuse relative paths in plugins
|
Subject: [PATCH 07/11] Don't abuse relative paths in plugins
|
||||||
MIME-Version: 1.0
|
MIME-Version: 1.0
|
||||||
Content-Type: text/plain; charset=UTF-8
|
Content-Type: text/plain; charset=UTF-8
|
||||||
Content-Transfer-Encoding: 8bit
|
Content-Transfer-Encoding: 8bit
|
||||||
@ -65,5 +65,5 @@ index 7bc8ceca0..e938305e7 100644
|
|||||||
require_relative "../installer"
|
require_relative "../installer"
|
||||||
|
|
||||||
--
|
--
|
||||||
2.33.1
|
2.34.1
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
From f6b2e0cebf27725b82b29085451df2308989b1c7 Mon Sep 17 00:00:00 2001
|
From f6b2e0cebf27725b82b29085451df2308989b1c7 Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcermak@suse.com>
|
From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcermak@suse.com>
|
||||||
Date: Mon, 1 Apr 2019 17:28:31 +0200
|
Date: Mon, 1 Apr 2019 17:28:31 +0200
|
||||||
Subject: [PATCH 08/10] Skip failing tests
|
Subject: [PATCH 08/11] Skip failing tests
|
||||||
|
|
||||||
---
|
---
|
||||||
test/unit/bin/vagrant_test.rb | 4 ++--
|
test/unit/bin/vagrant_test.rb | 4 ++--
|
||||||
@ -30,5 +30,5 @@ index dbbd52112..4481e4c09 100644
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
--
|
--
|
||||||
2.33.1
|
2.34.1
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
From cc9cc287131b8a0b4419d2a7c2a0f7f3fd7b5b26 Mon Sep 17 00:00:00 2001
|
From cc9cc287131b8a0b4419d2a7c2a0f7f3fd7b5b26 Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcermak@suse.com>
|
From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcermak@suse.com>
|
||||||
Date: Wed, 28 Aug 2019 13:39:58 +0200
|
Date: Wed, 28 Aug 2019 13:39:58 +0200
|
||||||
Subject: [PATCH 09/10] Disable Subprocess unit test
|
Subject: [PATCH 09/11] Disable Subprocess unit test
|
||||||
|
|
||||||
This unit test is *very* flaky on OBS' workers and causes random build
|
This unit test is *very* flaky on OBS' workers and causes random build
|
||||||
failures. These are probably caused by worker being under high load and then
|
failures. These are probably caused by worker being under high load and then
|
||||||
@ -33,5 +33,5 @@ index 0ff5835c8..757d8ef8a 100644
|
|||||||
thread = Thread.new{ sp.execute }
|
thread = Thread.new{ sp.execute }
|
||||||
sleep(0.1)
|
sleep(0.1)
|
||||||
--
|
--
|
||||||
2.33.1
|
2.34.1
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
From 214e118384d0456db19faa0fa63bff571d0229c3 Mon Sep 17 00:00:00 2001
|
From 214e118384d0456db19faa0fa63bff571d0229c3 Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcermak@suse.com>
|
From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcermak@suse.com>
|
||||||
Date: Mon, 3 Jan 2022 12:08:09 +0100
|
Date: Mon, 3 Jan 2022 12:08:09 +0100
|
||||||
Subject: [PATCH 10/10] Add support for Ruby 3.1
|
Subject: [PATCH 10/11] Add support for Ruby 3.1
|
||||||
|
|
||||||
The biggest change comming with Ruby 3.1 is that net/ftp is no longer bundled
|
The biggest change comming with Ruby 3.1 is that net/ftp is no longer bundled
|
||||||
with Ruby but distributed as a separate gem.
|
with Ruby but distributed as a separate gem.
|
||||||
@ -33,5 +33,5 @@ index 2bef1036a..ccf76011a 100644
|
|||||||
s.add_dependency "net-sftp", "~> 3.0"
|
s.add_dependency "net-sftp", "~> 3.0"
|
||||||
s.add_dependency "net-scp", "~> 3.0.0"
|
s.add_dependency "net-scp", "~> 3.0.0"
|
||||||
--
|
--
|
||||||
2.33.1
|
2.34.1
|
||||||
|
|
||||||
|
26
0011-Bump-version-of-ed25519-to-1.3.0.patch
Normal file
26
0011-Bump-version-of-ed25519-to-1.3.0.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
From 32b8ea83078edc4a86cbba573142dc95b16ebd40 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dcermak@suse.com>
|
||||||
|
Date: Tue, 1 Feb 2022 11:31:44 +0100
|
||||||
|
Subject: [PATCH 11/11] Bump version of ed25519 to ~> 1.3.0
|
||||||
|
|
||||||
|
(cherry picked from commit 2a974101f42dbc525450e240f02db2a3edc62ac1)
|
||||||
|
---
|
||||||
|
vagrant.gemspec | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/vagrant.gemspec b/vagrant.gemspec
|
||||||
|
index ccf76011a..ea38685bf 100644
|
||||||
|
--- a/vagrant.gemspec
|
||||||
|
+++ b/vagrant.gemspec
|
||||||
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
|
||||||
|
|
||||||
|
s.add_dependency "bcrypt_pbkdf", "~> 1.1"
|
||||||
|
s.add_dependency "childprocess", "~> 4.1.0"
|
||||||
|
- s.add_dependency "ed25519", "~> 1.2.4"
|
||||||
|
+ s.add_dependency "ed25519", "~> 1.3.0"
|
||||||
|
s.add_dependency "erubi"
|
||||||
|
s.add_dependency "hashicorp-checkpoint", "~> 0.1.5"
|
||||||
|
s.add_dependency "i18n", "~> 1.8"
|
||||||
|
--
|
||||||
|
2.34.1
|
||||||
|
|
@ -1,3 +1,24 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 1 10:55:47 UTC 2022 - Dan Čermák <dcermak@suse.com>
|
||||||
|
|
||||||
|
- Switch to default Ruby on TW
|
||||||
|
- Bump ed25519 version to ~> 1.3.0
|
||||||
|
|
||||||
|
Rebase patches:
|
||||||
|
* 0001-bin-vagrant-silence-warning-about-installer.patch
|
||||||
|
* 0002-Use-a-private-temporary-dir.patch
|
||||||
|
* 0003-plugins-don-t-abuse-require_relative.patch.patch
|
||||||
|
* 0004-fix-vbox-package-boo-1044087-added-by-robert.muntean.patch
|
||||||
|
* 0005-do-not-depend-on-wdm.patch
|
||||||
|
* 0006-do-not-abuse-relative-paths-in-docker-plugin-to-make.patch
|
||||||
|
* 0007-Don-t-abuse-relative-paths-in-plugins.patch
|
||||||
|
* 0008-Skip-failing-tests.patch
|
||||||
|
* 0009-Disable-Subprocess-unit-test.patch
|
||||||
|
* 0010-Add-support-for-Ruby-3.1.patch
|
||||||
|
|
||||||
|
Added patch:
|
||||||
|
* 0011-Bump-version-of-ed25519-to-1.3.0.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Jan 4 09:29:06 UTC 2022 - Dan Čermák <dcermak@suse.com>
|
Tue Jan 4 09:29:06 UTC 2022 - Dan Čermák <dcermak@suse.com>
|
||||||
|
|
||||||
|
19
vagrant.spec
19
vagrant.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package vagrant
|
# spec file for package vagrant
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2012 Laurent Bigonville <bigon@debian.org>, License GPL-2.0+
|
# Copyright (c) 2012 Laurent Bigonville <bigon@debian.org>, License GPL-2.0+
|
||||||
#
|
#
|
||||||
@ -58,20 +58,15 @@ Patch7: 0007-Don-t-abuse-relative-paths-in-plugins.patch
|
|||||||
Patch8: 0008-Skip-failing-tests.patch
|
Patch8: 0008-Skip-failing-tests.patch
|
||||||
Patch9: 0009-Disable-Subprocess-unit-test.patch
|
Patch9: 0009-Disable-Subprocess-unit-test.patch
|
||||||
Patch10: 0010-Add-support-for-Ruby-3.1.patch
|
Patch10: 0010-Add-support-for-Ruby-3.1.patch
|
||||||
|
Patch11: 0011-Bump-version-of-ed25519-to-1.3.0.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
# force only one ruby version
|
# force only one ruby version
|
||||||
# CAUTION: if you change this, then you *must* also change the sed calls which
|
# CAUTION: if you change this, then you *must* also change the sed calls which
|
||||||
# fix these values in macros.vagrant
|
# fix these values in macros.vagrant
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
%global rb_build_versions ruby31
|
|
||||||
%global rb_build_abi ruby:3.1.0
|
|
||||||
%global rb_ruby_suffix ruby3.1
|
|
||||||
%else
|
|
||||||
%global rb_build_versions %rb_default_ruby
|
%global rb_build_versions %rb_default_ruby
|
||||||
%global rb_build_abi %rb_default_ruby_abi
|
%global rb_build_abi %rb_default_ruby_abi
|
||||||
%global rb_ruby_suffix %rb_default_ruby_suffix
|
%global rb_ruby_suffix %rb_default_ruby_suffix
|
||||||
%endif
|
|
||||||
|
|
||||||
# we use the rpm macros in this spec
|
# we use the rpm macros in this spec
|
||||||
# need to load them *after* defining the rb_* macros
|
# need to load them *after* defining the rb_* macros
|
||||||
@ -98,8 +93,9 @@ BuildRequires: %{rubygem bundler}
|
|||||||
BuildRequires: %{rubygem bcrypt_pbkdf:1 >= 1.1 }
|
BuildRequires: %{rubygem bcrypt_pbkdf:1 >= 1.1 }
|
||||||
# s.add_dependency "childprocess", "~> 4.1.0"
|
# s.add_dependency "childprocess", "~> 4.1.0"
|
||||||
BuildRequires: %{rubygem childprocess:4.1 }
|
BuildRequires: %{rubygem childprocess:4.1 }
|
||||||
# s.add_dependency "ed25519", "~> 1.2.4"
|
# PATCHED
|
||||||
BuildRequires: %{rubygem ed25519:1.2 >= 1.2.4 }
|
# s.add_dependency "ed25519", "~> 1.3.0"
|
||||||
|
BuildRequires: %{rubygem ed25519:1.3 >= 1.3.0 }
|
||||||
# s.add_dependency "erubi"
|
# s.add_dependency "erubi"
|
||||||
BuildRequires: %{rubygem erubi }
|
BuildRequires: %{rubygem erubi }
|
||||||
# s.add_dependency "i18n", "~> 1.8"
|
# s.add_dependency "i18n", "~> 1.8"
|
||||||
@ -188,8 +184,9 @@ BuildRequires: fdupes
|
|||||||
Requires: %{rubygem bcrypt_pbkdf:1 >= 1.1 }
|
Requires: %{rubygem bcrypt_pbkdf:1 >= 1.1 }
|
||||||
# s.add_dependency "childprocess", "~> 4.1.0"
|
# s.add_dependency "childprocess", "~> 4.1.0"
|
||||||
Requires: %{rubygem childprocess:4.1}
|
Requires: %{rubygem childprocess:4.1}
|
||||||
# s.add_dependency "ed25519", "~> 1.2.4"
|
# PATCHED
|
||||||
Requires: %{rubygem ed25519:1.2 >= 1.2.4}
|
# s.add_dependency "ed25519", "~> 1.3.0"
|
||||||
|
Requires: %{rubygem ed25519:1.3 >= 1.3.0}
|
||||||
# s.add_dependency "erubi"
|
# s.add_dependency "erubi"
|
||||||
Requires: %{rubygem erubi}
|
Requires: %{rubygem erubi}
|
||||||
# s.add_dependency "i18n", "~> 1.8"
|
# s.add_dependency "i18n", "~> 1.8"
|
||||||
|
Loading…
Reference in New Issue
Block a user