# Transmogrification from prepared package directory layout to IPS set name=pkg.fmri value=$(VBOX_PKGNAME)@@VBOX_VERSION_STRING@,5.11-0.0.0.@VBOX_SVN_REV@.0.0.0 set name=pkg.human-version value="@VBOX_VERSION_STRING@r@VBOX_SVN_REV@" set name=pkg.summary value="@VBOX_PRODUCT@" set name=pkg.description value="A powerful PC virtualization solution" set name=variant.arch value=@UNAME_P@ set name=variant.opensolaris.zone value=global value=nonglobal set name=info.classification value=org.opensolaris.category.2008:System/Virtualization license LICENSE license="GPLv2 (virtualbox)" group groupname=vboxusers gid=86 # The data-xkb was renamed to xkeyboard-config in S11.4, so adjust this when # we have moved our builds away from S11.3. depend fmri=pkg:/x11/keyboard/data-xkb type=require depend fmri=pkg:/system/font/xorg/xorg-core type=require depend fmri=pkg:/system/font/truetype/dejavu type=require # Drop system directories to not have conflicting permissions drop> drop> drop> drop> drop> drop> drop> drop> # Drop all files in root, they are for packaging purposes drop> drop> # Drop STREAMS based NetFilter driver, obsolete for Solaris 11 drop> drop> # Drop legacy libraries, needed only for Solaris 10 drop> drop> # Drop all API helper libraries for python 2.x other than 2.7 drop> drop> drop> # Ignore dependencies of vboxshell.py set pkg.depend.bypass-generate .*> # Ignore dependencies on libpython2.7.so* since it's getting phased out set pkg.depend.bypass-generate .*/libpython2\\.7\\.so.*> # Tweak: do not try to get the dependencies for libGL.so which is needed by Qt set pkg.depend.runpath /usr/lib/mesa/amd64:$PKGDEPEND_RUNPATH> set pkg.depend.runpath /usr/lib/mesa/amd64:$PKGDEPEND_RUNPATH> set pkg.depend.runpath /usr/lib/mesa/amd64:$PKGDEPEND_RUNPATH> set pkg.depend.runpath /usr/lib/mesa/amd64:$PKGDEPEND_RUNPATH> set pkg.depend.runpath /usr/lib/mesa/amd64:$PKGDEPEND_RUNPATH> set pkg.depend.runpath /usr/lib/mesa/amd64:$PKGDEPEND_RUNPATH> set pkg.depend.runpath /usr/lib/mesa/amd64:$PKGDEPEND_RUNPATH> # Some binaries must be SUID. set mode 4755> $(HARDENED_ONLY) set mode 4755> # Set the appropriate pkg variant for drivers (global zone only) add variant.opensolaris.zone global> set reboot-needed true> emit driver name=vboxdrv perms="* 0600 root sys" perms="vboxdrvu 0666 root sys" devlink=type=ddi_pseudo;name=vboxdrv;minor=vboxdrv\t\D devlink=type=ddi_pseudo;name=vboxdrv;minor=vboxdrvu\t\M0> emit driver name=vboxnet> emit driver name=vboxbow> emit driver name=vboxusbmon perms="* 0660 root vboxusers" devlink=type=ddi_pseudo;name=vboxusbmon\t\D> emit driver name=vboxusb> set group sys> # Handle SMF manifests set group sys> default restart_fmri svc:/system/manifest-import:default>