Index: sysutils/Makefile =================================================================== --- sysutils/Makefile +++ sysutils/Makefile @@ -128,6 +128,7 @@ SUBDIR += bulk_extractor SUBDIR += burp SUBDIR += busybox + SUBDIR += bvm SUBDIR += byobu SUBDIR += catfish SUBDIR += cbsd Index: sysutils/bvm/Makefile =================================================================== --- /dev/null +++ sysutils/bvm/Makefile @@ -0,0 +1,36 @@ +# 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 + +do-build: + @cd ${WRKSRC}/src && ${MAKE} + +do-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/etc/bvm + (cd ${WRKSRC}/conf && ${COPYTREE_SHARE} "*.conf" ${STAGEDIR}${PREFIX}/etc/bvm) + (cd ${WRKSRC}/conf && ${COPYTREE_SHARE} "bvmd" ${STAGEDIR}${PREFIX}/etc/rc.d) + ${CHMOD} +x ${STAGEDIR}${PREFIX}/etc/rc.d/bvmd + (cd ${WRKSRC}/src && ${COPYTREE_SHARE} "bvm bvmb" ${STAGEDIR}${PREFIX}/bin) + ${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/bvm + ${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/bvmb + +.include Index: sysutils/bvm/distinfo =================================================================== --- /dev/null +++ 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: sysutils/bvm/pkg-descr =================================================================== --- /dev/null +++ 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: sysutils/bvm/pkg-plist =================================================================== --- /dev/null +++ sysutils/bvm/pkg-plist @@ -0,0 +1,6 @@ +bin/bvm +bin/bvmb +%%ETCDIR%%/bvm.conf +%%ETCDIR%%/nat.conf +%%ETCDIR%%/switch.conf +etc/rc.d/bvmd