Package: release.debian.org Severity: normal Tags: stretch User: release.debian....@packages.debian.org Usertags: pu
Hello, vagrant from stretch currently refuses to work with VirtualBox 5.2 from stretch-backports. This update just backports the few changes needed to make it work. The changes are pretty trivial. VirtualBox is not in stretch, so users are getting it either from stretch-backports or from upstream's .deb package; without this update vagrant will most likely be broken for most VirtualBox users. It would be nice if we can release this update. diff against the version in stretch is attached. -- System Information: Debian Release: buster/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.18.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), LANGUAGE=pt_BR:pt:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
diff --git a/debian/changelog b/debian/changelog index 48bff55..04885d8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +vagrant (1.9.1+dfsg-1+deb9u2) stretch; urgency=medium + + * Backport support for VirtualBox 5.2 (available in stretch-backports) + (Closes: #908826) + + -- Antonio Terceiro <terce...@debian.org> Sat, 15 Sep 2018 09:23:23 -0300 + vagrant (1.9.1+dfsg-1+deb9u1) stretch; urgency=medium * 0008-Convert-atlas-references-to-vagrant-cloud.patch: backport upstream diff --git a/debian/patches/0009-Backport-support-for-VirtualBox-5.2.patch b/debian/patches/0009-Backport-support-for-VirtualBox-5.2.patch new file mode 100644 index 0000000..46ec4a9 --- /dev/null +++ b/debian/patches/0009-Backport-support-for-VirtualBox-5.2.patch @@ -0,0 +1,58 @@ +From: Antonio Terceiro <terce...@debian.org> +Date: Sat, 15 Sep 2018 09:22:39 -0300 +Subject: Backport support for VirtualBox 5.2 + +Signed-off-by: Antonio Terceiro <terce...@debian.org> +--- + plugins/providers/virtualbox/driver/meta.rb | 1 + + plugins/providers/virtualbox/driver/version_5_2.rb | 16 ++++++++++++++++ + plugins/providers/virtualbox/plugin.rb | 1 + + 3 files changed, 18 insertions(+) + create mode 100644 plugins/providers/virtualbox/driver/version_5_2.rb + +diff --git a/plugins/providers/virtualbox/driver/meta.rb b/plugins/providers/virtualbox/driver/meta.rb +index 0dd186d..ec457a8 100644 +--- a/plugins/providers/virtualbox/driver/meta.rb ++++ b/plugins/providers/virtualbox/driver/meta.rb +@@ -62,6 +62,7 @@ module VagrantPlugins + "4.3" => Version_4_3, + "5.0" => Version_5_0, + "5.1" => Version_5_1, ++ "5.2" => Version_5_2, + } + + if @@version.start_with?("4.2.14") +diff --git a/plugins/providers/virtualbox/driver/version_5_2.rb b/plugins/providers/virtualbox/driver/version_5_2.rb +new file mode 100644 +index 0000000..cd6c0b6 +--- /dev/null ++++ b/plugins/providers/virtualbox/driver/version_5_2.rb +@@ -0,0 +1,16 @@ ++require File.expand_path("../version_5_1", __FILE__) ++ ++module VagrantPlugins ++ module ProviderVirtualBox ++ module Driver ++ # Driver for VirtualBox 5.2.x ++ class Version_5_2 < Version_5_1 ++ def initialize(uuid) ++ super ++ ++ @logger = Log4r::Logger.new("vagrant::provider::virtualbox_5_2") ++ end ++ end ++ end ++ end ++end +diff --git a/plugins/providers/virtualbox/plugin.rb b/plugins/providers/virtualbox/plugin.rb +index 399747a..090bc50 100644 +--- a/plugins/providers/virtualbox/plugin.rb ++++ b/plugins/providers/virtualbox/plugin.rb +@@ -57,6 +57,7 @@ module VagrantPlugins + autoload :Version_4_3, File.expand_path("../driver/version_4_3", __FILE__) + autoload :Version_5_0, File.expand_path("../driver/version_5_0", __FILE__) + autoload :Version_5_1, File.expand_path("../driver/version_5_1", __FILE__) ++ autoload :Version_5_2, File.expand_path("../driver/version_5_2", __FILE__) + end + + module Model diff --git a/debian/patches/series b/debian/patches/series index 102bab3..86a1757 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,3 +6,4 @@ 0006-Relax-dependency-resolution.patch 0007-Update-command.rb.patch 0008-Convert-atlas-references-to-vagrant-cloud.patch +0009-Backport-support-for-VirtualBox-5.2.patch
signature.asc
Description: PGP signature