Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sysutils/vm-bhyve-devel: add new port
Contrary to the sysutils/vm-bhyve port which tracks releases, this port will track the head of the main branch. The main reason is that upstream has become stale in creating releases. This way we atleast get some improvements that have not yet been included in a release. Last release dates from January 2020. Changes: churchers/vm-bhyve@6385042...ec0e12e Reviewed by: 0mp philip Differential Revision: https://reviews.freebsd.org/D35760
- Loading branch information
Showing
7 changed files
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
PORTNAME= vm-bhyve | ||
DISTVERSIONPREFIX= v | ||
DISTVERSION= 1.4.0-73 | ||
DISTVERSIONSUFFIX= -gec0e12e | ||
CATEGORIES= sysutils | ||
PKGNAMESUFFIX= -devel | ||
|
||
MAINTAINER= driesm@FreeBSD.org | ||
COMMENT= Management system for bhyve virtual machines | ||
|
||
LICENSE= BSD2CLAUSE | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss | ||
|
||
USE_GITHUB= yes | ||
GH_ACCOUNT= churchers | ||
|
||
CONFLICTS_INSTALL= vm-bhyve | ||
|
||
NO_ARCH= yes | ||
NO_BUILD= yes | ||
|
||
OPTIONS_DEFINE= BHYVE_FIRMWARE EXAMPLES GRUB2_BHYVE TMUX | ||
BHYVE_FIRMWARE_DESC= Required to run UEFI guests | ||
EXAMPLES_DESC= Install example guest templates | ||
GRUB2_BHYVE_DESC= Required to run Linux or any other guests that need a Grub bootloader | ||
TMUX_DESC= Tmux console access instead of cu/nmdm | ||
|
||
BHYVE_FIRMWARE_RUN_DEPENDS= bhyve-firmware>0:sysutils/bhyve-firmware | ||
GRUB2_BHYVE_RUN_DEPENDS= grub2-bhyve>0:sysutils/grub2-bhyve | ||
TMUX_RUN_DEPENDS= tmux:sysutils/tmux | ||
|
||
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 <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1657368424 | ||
SHA256 (churchers-vm-bhyve-v1.4.0-73-gec0e12e_GH0.tar.gz) = 6749a02349bb96133600d56752e3a11718d58dd780854e55c5c209f099358026 | ||
SIZE (churchers-vm-bhyve-v1.4.0-73-gec0e12e_GH0.tar.gz) = 75831 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
A frontend for bhyve which provides the 'vm' command | ||
Create/start/stop virtual machines easily | ||
Bridged/NAT networking | ||
BSD/Linux/Windows guest support | ||
|
||
WWW: https://github.com/churchers/vm-bhyve |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
[ | ||
{ type: install | ||
message: <<EOM | ||
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. | ||
|
||
vm_enable="YES" | ||
vm_dir="zfs:pool/dataset" | ||
|
||
OR | ||
|
||
vm_enable="YES" | ||
vm_dir="/directory/path" | ||
|
||
Then run 'vm init'. | ||
EOM | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
etc/rc.d/vm | ||
lib/vm-bhyve/vm-base | ||
lib/vm-bhyve/vm-cmd | ||
lib/vm-bhyve/vm-config | ||
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%%/gentoo.conf | ||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/linux-zvol.conf | ||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/netbsd.conf | ||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/openbsd.conf | ||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/resflash.conf | ||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ubuntu.conf | ||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/windows.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters