Index: head/sysutils/vm-bhyve/Makefile =================================================================== --- head/sysutils/vm-bhyve/Makefile (revision 457035) +++ head/sysutils/vm-bhyve/Makefile (revision 457036) @@ -1,30 +1,31 @@ # $FreeBSD$ PORTNAME= vm-bhyve PORTVERSION= 1.1.8 +PORTREVISION= 1 DISTVERSIONPREFIX=v CATEGORIES= sysutils MAINTAINER= churchers@gmail.com COMMENT= Management system for bhyve virtual machines LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE OPTIONS_DEFINE= EXAMPLES EXAMPLES_DESC= Install example guest templates USE_GITHUB= yes GH_ACCOUNT= churchers NO_ARCH= yes NO_BUILD= yes do-install: ${INSTALL_SCRIPT} ${WRKSRC}/vm ${STAGEDIR}${PREFIX}/sbin ${INSTALL_SCRIPT} ${WRKSRC}/rc.d/vm ${STAGEDIR}${PREFIX}/etc/rc.d (cd ${WRKSRC}/lib/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/vm-bhyve) (cd ${WRKSRC}/sample-templates/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) ${INSTALL_MAN} ${WRKSRC}/vm.8 ${STAGEDIR}${MAN8PREFIX}/man/man8 .include Index: head/sysutils/vm-bhyve/files/patch-lib_vm-util =================================================================== --- head/sysutils/vm-bhyve/files/patch-lib_vm-util (nonexistent) +++ head/sysutils/vm-bhyve/files/patch-lib_vm-util (revision 457036) @@ -0,0 +1,22 @@ +--- 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 + Property changes on: head/sysutils/vm-bhyve/files/patch-lib_vm-util ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sysutils/vm-bhyve/files/patch-lib_vm-zfs =================================================================== --- head/sysutils/vm-bhyve/files/patch-lib_vm-zfs (nonexistent) +++ head/sysutils/vm-bhyve/files/patch-lib_vm-zfs (revision 457036) @@ -0,0 +1,11 @@ +--- 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 Property changes on: head/sysutils/vm-bhyve/files/patch-lib_vm-zfs ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property