MFH: r474004 r476918

- Update to 1.2.2

PR:	229515
Submitted by:	maintainer

- Update to 1.2.3

PR:		230500
Submitted by:	maintainer
Sponsored by:	iXsystems Inc.

Approved by:	ports-secteam (miwi)
This commit is contained in:
Martin Wilke 2018-08-11 14:30:53 +00:00
parent b6aa182510
commit acd8a89567
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q3/; revision=476922
6 changed files with 17 additions and 45 deletions

View File

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= vm-bhyve
PORTVERSION= 1.1.8
PORTREVISION= 2
PORTVERSION= 1.2.3
DISTVERSIONPREFIX=v
CATEGORIES= sysutils

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1496917755
SHA256 (churchers-vm-bhyve-v1.1.8_GH0.tar.gz) = 2c716a03a4d94d0867fd081d5dc0abc342d66a23208b606e659d10eed56c3114
SIZE (churchers-vm-bhyve-v1.1.8_GH0.tar.gz) = 54985
TIMESTAMP = 1533896629
SHA256 (churchers-vm-bhyve-v1.2.3_GH0.tar.gz) = a29020702e2c5940c0c9d5660137f3e3012ade77b2b666342cdd2c5fc4fc1d2b
SIZE (churchers-vm-bhyve-v1.2.3_GH0.tar.gz) = 65196

View File

@ -1,22 +0,0 @@
--- lib/vm-util.orig
+++ lib/vm-util
@@ -55,7 +55,7 @@
# @modifies VM_NO_UG
#
util::check_bhyve_support(){
- local _mesg _result
+ local _mesg _mesg1 _mesg2 _result
# basic checks
[ `id -u` -ne 0 ] && util::err "virtual machines can only be managed by root"
@@ -73,7 +73,9 @@
fi
# check ept for intel
- _mesg=$(grep -E '^[ ]+VT-x' /var/run/dmesg.boot | tail -n 1)
+ _mesg1=$(grep -E '^[ ]+VT-x' /var/run/dmesg.boot | tail -n 1)
+ _mesg2=$(grep -E '^[ ]+Secondary Processor Controls' /var/run/dmesg.boot | tail -n 1)
+ _mesg="${_mesg1}${_mesg2}"
if [ -n "${_mesg}" ]; then

View File

@ -1,11 +0,0 @@
--- lib/vm-zfs.orig
+++ lib/vm-zfs
@@ -45,7 +45,7 @@
# check for zfs storage location
# user should specify "zfs:pool/dataset" if they want ZFS support
- if [ ${vm_dir%%:*} = "zfs" ]; then
+ if [ "${vm_dir%%:*}" = "zfs" ]; then
# check zfs running
kldstat -qm zfs >/dev/null 2>&1

View File

@ -1,4 +1,4 @@
To enable vm-bhyve, please add the following lines to /etc/rc.conf,
To enable vm-bhyve, please add the following lines to rc.conf,
depending on whether you are using ZFS storage or not. Please note
that the directory or dataset specified should already exist.
@ -14,11 +14,7 @@ Then run 'vm init'.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
If upgrading from 1.0 or earlier, please note that the 'guest'
configuration option is no longer used.
Guests that are not using UEFI boot will need either loader="grub"
or loader="bhyveload" in their configuration in order to make sure
the correct loader is used.
Please note, if upgrading from version 1.1, it is advised to shutdown guests
and restart the host in order to re-create all virtual switches using new identifiers.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

View File

@ -5,21 +5,31 @@ lib/vm-bhyve/vm-core
lib/vm-bhyve/vm-datastore
lib/vm-bhyve/vm-guest
lib/vm-bhyve/vm-info
lib/vm-bhyve/vm-migration
lib/vm-bhyve/vm-rctl
lib/vm-bhyve/vm-run
lib/vm-bhyve/vm-switch
lib/vm-bhyve/vm-switch-manual
lib/vm-bhyve/vm-switch-standard
lib/vm-bhyve/vm-switch-vale
lib/vm-bhyve/vm-switch-vxlan
lib/vm-bhyve/vm-util
lib/vm-bhyve/vm-zfs
man/man8/vm.8.gz
sbin/vm
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/alpine.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/arch.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/centos6.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/centos7.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/config.sample
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/coreos.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/debian.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/default.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dragonfly.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/freebsd-zvol.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/freepbx.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/netbsd.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/openbsd.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/resflash.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ubuntu.conf
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/windows.conf