1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

sysutils/bhyve+: Update for 12.3-RELEASE, and 14-CURRENT

This commit is contained in:
PÁLI Gábor János 2021-12-18 11:18:22 +00:00 committed by Ashish SHUKLA
parent abcff57bed
commit 58f8d6ca49
No known key found for this signature in database
GPG Key ID: C746CFA9E74FA4B0
8 changed files with 74 additions and 38 deletions

View File

@ -35,6 +35,11 @@ USE_LDCONFIG= yes
.if 1200000 <= ${OSVERSION} && ${OSVERSION} < 1300000
EXTRA_PATCHES= ${PATCHDIR}/freebsd-12
.if ${OSVERSION} < 1203000
EXTRA_PATCHES+= ${PATCHDIR}/freebsd-12/2
.else
EXTRA_PATCHES+= ${PATCHDIR}/freebsd-12/3
.endif
.elif 1300000 <= ${OSVERSION} && ${OSVERSION} < 1400000
EXTRA_PATCHES= ${PATCHDIR}/freebsd-13
.elif 1400000 <= ${OSVERSION} && ${OSVERSION} < 1500000

View File

@ -0,0 +1,31 @@
--- usr.sbin/bhyve/bhyve.8.orig 2021-08-19 22:38:50 UTC
+++ usr.sbin/bhyve/bhyve.8
@@ -242,6 +242,8 @@ Virtio network interface.
Virtio block storage interface.
.It Li virtio-scsi
Virtio SCSI interface.
+.It Li virtio-9p
+Virtio 9p (VirtFS) interface.
.It Li virtio-rnd
Virtio RNG interface.
.It Li virtio-console
@@ -327,6 +329,19 @@ are:
.It Li iid= Ns Ar IID
Initiator ID to use when sending requests to specified CTL port.
The default value is 0.
+.El
+.Pp
+9P devices:
+.Bl -tag -width 10n
+.It Pa sharename=/path/to/share[,9p-device-options]
+.El
+.Pp
+The
+.Ar 9p-device-options
+are:
+.Bl -tag -width 10n
+.It Li ro
+Expose the share in read-only mode.
.El
.Pp
TTY devices:

View File

@ -0,0 +1,31 @@
--- usr.sbin/bhyve/bhyve.8.orig 2021-12-17 02:14:53.986085000 +0100
+++ usr.sbin/bhyve/bhyve.8 2021-12-17 02:21:03.716235000 +0100
@@ -299,6 +299,8 @@
Virtio block storage interface.
.It Cm virtio-scsi
Virtio SCSI interface.
+.It Cm virtio-9p
+Virtio 9p (VirtFS) interface.
.It Cm virtio-rnd
Virtio RNG interface.
.It Cm virtio-console
@@ -404,6 +406,19 @@
.It Cm iid= Ns Ar IID
Initiator ID to use when sending requests to specified CTL port.
The default value is 0.
+.El
+.Pp
+9P devices:
+.Bl -tag -width 10n
+.It Pa sharename=/path/to/share[,9p-device-options]
+.El
+.Pp
+The
+.Ar 9p-device-options
+are:
+.Bl -tag -width 10n
+.It Li ro
+Expose the share in read-only mode.
.El
.Pp
TTY device backends:

View File

@ -1,34 +1,3 @@
--- usr.sbin/bhyve/bhyve.8.orig 2021-08-19 22:38:50 UTC
+++ usr.sbin/bhyve/bhyve.8
@@ -242,6 +242,8 @@ Virtio network interface.
Virtio block storage interface.
.It Li virtio-scsi
Virtio SCSI interface.
+.It Li virtio-9p
+Virtio 9p (VirtFS) interface.
.It Li virtio-rnd
Virtio RNG interface.
.It Li virtio-console
@@ -327,6 +329,19 @@ are:
.It Li iid= Ns Ar IID
Initiator ID to use when sending requests to specified CTL port.
The default value is 0.
+.El
+.Pp
+9P devices:
+.Bl -tag -width 10n
+.It Pa sharename=/path/to/share[,9p-device-options]
+.El
+.Pp
+The
+.Ar 9p-device-options
+are:
+.Bl -tag -width 10n
+.It Li ro
+Expose the share in read-only mode.
.El
.Pp
TTY devices:
--- usr.sbin/bhyve/Makefile.orig 2021-08-19 23:00:57 UTC
+++ usr.sbin/bhyve/Makefile
@@ -3,6 +3,7 @@

View File

@ -1,12 +1,12 @@
--- share/mk/src.libnames.mk.orig 2021-09-04 10:14:17.407288000 +0200
+++ share/mk/src.libnames.mk 2021-09-04 10:15:27.832153000 +0200
@@ -245,6 +245,9 @@
--- share/mk/src.libnames.mk.orig 2021-12-17 02:31:11.492798000 +0100
+++ share/mk/src.libnames.mk 2021-12-17 02:36:30.736989000 +0100
@@ -261,6 +261,9 @@
# 2nd+ order consumers. Auto-generating this would be better.
_DP_80211= sbuf bsdxml
_DP_9p= sbuf
+.if ${MK_CASPER} != "no"
+_DP_9p+= casper cap_pwd cap_grp
+_DP_9p+= casper cap_pwd cap_grp
+.endif
_DP_archive= z bz2 lzma bsdxml zstd
_DP_zstd= pthread
.if ${MK_BLACKLIST} != "no"
# XXX: Not bootstrapped so uses host version on non-FreeBSD, so don't use a
# FreeBSD-specific dependency list
.if ${.MAKE.OS} == "FreeBSD" || !defined(BOOTSTRAPPING)