1#
2# CDDL HEADER START
3#
4# This file and its contents are supplied under the terms of the
5# Common Development and Distribution License ("CDDL"), version 1.0.
6# You may only use this file in accordance with the terms of version
7# 1.0 of the CDDL.
8#
9# A full copy of the text of the CDDL should have accompanied this
10# source.  A copy of the CDDL is also available via the Internet at
11# http://www.illumos.org/license/CDDL.
12#
13# CDDL HEADER END
14#
15
16#
17# Copyright 2018 Joyent, Inc.
18# Copyright 2021 OmniOS Community Edition (OmniOSce) Association.
19#
20
21#
22# The default for payload-bearing actions in this package is to appear in the
23# global zone only.  See the include file for greater detail, as well as
24# information about overriding the defaults.
25#
26<include global_zone_only_component>
27set name=pkg.fmri value=pkg:/system/bhyve@$(PKGVERS)
28set name=pkg.summary value="BSD hypervisor"
29set name=pkg.description value="BSD hypervisor"
30set name=info.classification \
31    value=org.opensolaris.category.2008:System/Virtualization
32set name=variant.arch value=i386
33dir  path=kernel group=sys
34dir  path=usr group=sys
35dir  path=usr/kernel/drv group=sys
36dir  path=usr/kernel/drv/$(ARCH64) group=sys
37file path=usr/kernel/drv/$(ARCH64)/ppt
38file path=usr/kernel/drv/$(ARCH64)/viona
39file path=usr/kernel/drv/$(ARCH64)/vmm
40file path=usr/kernel/drv/ppt.conf
41file path=usr/kernel/drv/viona.conf
42file path=usr/kernel/drv/vmm.conf
43file path=usr/lib/rsrvrctl mode=0555
44dir  path=usr/sbin
45file path=usr/sbin/bhyve mode=0555
46file path=usr/sbin/bhyvectl mode=0555
47file path=usr/sbin/pptadm mode=0555
48dir  path=usr/share
49dir  path=usr/share/man
50dir  path=usr/share/man/man1m
51file path=usr/share/man/man1m/bhyve.1m
52file path=usr/share/man/man1m/bhyvectl.1m
53file path=usr/share/man/man1m/pptadm.1m
54dir  path=usr/share/man/man4
55file path=usr/share/man/man4/bhyve_config.4
56driver name=ppt
57driver name=viona
58driver name=vmm
59license lic_CDDL license=lic_CDDL
60license usr/src/uts/i86pc/io/vmm/THIRDPARTYLICENSE \
61    license=usr/src/uts/i86pc/io/vmm/THIRDPARTYLICENSE
62depend type=require fmri=developer/acpi
63depend type=require fmri=system/bhyve/firmware
64depend type=require fmri=system/library/bhyve
65