1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00

- Update to 1.2

PR:	229515
Submitted by:	maintainer
This commit is contained in:
Martin Wilke 2018-07-06 09:17:14 +00:00
parent 5b5c68cd3b
commit 96dba2b234
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474004
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.2
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 = 1530694001
SHA256 (churchers-vm-bhyve-v1.2.2_GH0.tar.gz) = b80a0549e0ae3b09fac03f3ba4fdb84a758fc2982d5eb154c6d98be27b1fcc55
SIZE (churchers-vm-bhyve-v1.2.2_GH0.tar.gz) = 65186

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