From owner-svn-ports-head@freebsd.org Tue Oct 24 07:04:49 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 216B8E42AC3; Tue, 24 Oct 2017 07:04:49 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D8763734B5; Tue, 24 Oct 2017 07:04:48 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9O74m6v007609; Tue, 24 Oct 2017 07:04:48 GMT (envelope-from madpilot@FreeBSD.org) Received: (from madpilot@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9O74lKR007606; Tue, 24 Oct 2017 07:04:47 GMT (envelope-from madpilot@FreeBSD.org) Message-Id: <201710240704.v9O74lKR007606@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: madpilot set sender to madpilot@FreeBSD.org using -f From: Guido Falsi Date: Tue, 24 Oct 2017 07:04:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r452757 - in head/sysutils/vagrant: . files X-SVN-Group: ports-head X-SVN-Commit-Author: madpilot X-SVN-Commit-Paths: in head/sysutils/vagrant: . files X-SVN-Commit-Revision: 452757 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Oct 2017 07:04:49 -0000 Author: madpilot Date: Tue Oct 24 07:04:47 2017 New Revision: 452757 URL: https://svnweb.freebsd.org/changeset/ports/452757 Log: Import upstream patch for vagrant to add support for virtualbox 5.2 PR: 223198 Submitted by: me Approved by: joe@thrallingpenguin.com (maintainer) Obtained from: https://github.com/hashicorp/vagrant/commit/83310f8a56cfea8a543d17f9af4b18caa13ed98a Added: head/sysutils/vagrant/files/patch-virtualbox5.2 (contents, props changed) Modified: head/sysutils/vagrant/Makefile head/sysutils/vagrant/pkg-plist Modified: head/sysutils/vagrant/Makefile ============================================================================== --- head/sysutils/vagrant/Makefile Tue Oct 24 01:36:03 2017 (r452756) +++ head/sysutils/vagrant/Makefile Tue Oct 24 07:04:47 2017 (r452757) @@ -3,6 +3,7 @@ PORTNAME= vagrant PORTVERSION= 2.0.0 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= sysutils rubygems devel Added: head/sysutils/vagrant/files/patch-virtualbox5.2 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/vagrant/files/patch-virtualbox5.2 Tue Oct 24 07:04:47 2017 (r452757) @@ -0,0 +1,58 @@ +From 7d73af5637de41f1e53b8f1ef2ea9baf76842dfb Mon Sep 17 00:00:00 2001 +From: Jehiah Czebotar +Date: Fri, 8 Sep 2017 15:00:17 -0400 +Subject: [PATCH] Virtualbox 5.2 support + +--- + 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 0dd186d8c7..ec457a866a 100644 +--- plugins/providers/virtualbox/driver/meta.rb ++++ plugins/providers/virtualbox/driver/meta.rb +@@ -62,6 +62,7 @@ def initialize(uuid=nil) + "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 0000000000..cd6c0b6c5c +--- /dev/null ++++ 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 399747a6a2..090bc50616 100644 +--- plugins/providers/virtualbox/plugin.rb ++++ plugins/providers/virtualbox/plugin.rb +@@ -57,6 +57,7 @@ module Driver + 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 Modified: head/sysutils/vagrant/pkg-plist ============================================================================== --- head/sysutils/vagrant/pkg-plist Tue Oct 24 01:36:03 2017 (r452756) +++ head/sysutils/vagrant/pkg-plist Tue Oct 24 07:04:47 2017 (r452757) @@ -695,6 +695,7 @@ bin/vagrant %%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%/plugins/providers/virtualbox/driver/version_4_3.rb %%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%/plugins/providers/virtualbox/driver/version_5_0.rb %%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%/plugins/providers/virtualbox/driver/version_5_1.rb +%%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%/plugins/providers/virtualbox/driver/version_5_2.rb %%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%/plugins/providers/virtualbox/model/forwarded_port.rb %%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%/plugins/providers/virtualbox/plugin.rb %%GEM_BASE_DIR%%/vagrant-%%PORTVERSION%%/plugins/providers/virtualbox/provider.rb