Index: head/sysutils/Makefile =================================================================== --- head/sysutils/Makefile +++ head/sysutils/Makefile @@ -129,6 +129,7 @@ SUBDIR += bulk_extractor SUBDIR += burp SUBDIR += busybox + SUBDIR += bvm SUBDIR += byobu SUBDIR += catfish SUBDIR += cbsd Index: head/sysutils/bvm/Makefile =================================================================== --- head/sysutils/bvm/Makefile +++ head/sysutils/bvm/Makefile @@ -0,0 +1,35 @@ +# Created by: Qiang Guo +# $FreeBSD$ + +PORTNAME= bvm +PORTVERSION= 1.1.2 +CATEGORIES= sysutils + +MAINTAINER= guoqiang_cn@126.com +COMMENT= Bhyve VM Manager + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS_REASON= Bhyve VM Manager is required to be built on a 64bit machine + +RUN_DEPENDS= bhyve-firmware>0:sysutils/bhyve-firmware \ + grub-bhyve:sysutils/grub2-bhyve \ + tmux:sysutils/tmux + +USE_GITHUB= yes +GH_ACCOUNT= bigdragonsoft + +BUILD_WRKSRC= ${WRKSRC}/src + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bvm + ${INSTALL_DATA} ${WRKSRC}/conf/bvm.conf ${STAGEDIR}${PREFIX}/etc/bvm/bvm.conf.sample + ${INSTALL_DATA} ${WRKSRC}/conf/nat.conf ${STAGEDIR}${PREFIX}/etc/bvm/nat.conf.sample + ${INSTALL_DATA} ${WRKSRC}/conf/switch.conf ${STAGEDIR}${PREFIX}/etc/bvm/switch.conf.sample + ${INSTALL_SCRIPT} ${WRKSRC}/conf/bvmd ${STAGEDIR}${PREFIX}/etc/rc.d/ + ${INSTALL_PROGRAM} ${WRKSRC}/src/bvm ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/src/bvmb ${STAGEDIR}${PREFIX}/bin/ + +.include Index: head/sysutils/bvm/distinfo =================================================================== --- head/sysutils/bvm/distinfo +++ head/sysutils/bvm/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1530316570 +SHA256 (bigdragonsoft-bvm-1.1.2_GH0.tar.gz) = f0dbbc7cafdb719593cf84bee3742c21267d97bf4cb094f71b9844d8cdc3f93d +SIZE (bigdragonsoft-bvm-1.1.2_GH0.tar.gz) = 46858 Index: head/sysutils/bvm/pkg-descr =================================================================== --- head/sysutils/bvm/pkg-descr +++ head/sysutils/bvm/pkg-descr @@ -0,0 +1,11 @@ +The BVM is a Bhyve virtual machine management tool +based on FreeBSD that allows you to easily manage virtual machines. + +1. The supported operating systems are: + FreeBSD,OpenBSD,NetBSD,Debian,OpenSuse,Ubuntu Windows10 etc. +2. Supports multiple network cards and multiple hard disks. +3. There are two kinds of network modes: Bridged and NAT +4. Support grub and uefi boot +5. Support for ZFS + +WWW: https://github.com/bigdragonsoft/bvm Index: head/sysutils/bvm/pkg-plist =================================================================== --- head/sysutils/bvm/pkg-plist +++ head/sysutils/bvm/pkg-plist @@ -0,0 +1,6 @@ +bin/bvm +bin/bvmb +@sample %%ETCDIR%%/bvm.conf.sample +@sample %%ETCDIR%%/nat.conf.sample +@sample %%ETCDIR%%/switch.conf.sample +etc/rc.d/bvmd