From f215e02bf85f68d3a6106c2a1f4f7f063f819064 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 11 Apr 2024 10:17:27 +0200 Subject: Adding upstream version 7.0.14-dfsg. Signed-off-by: Daniel Baumann --- src/VBox/Installer/solaris/vbox-ips.mog | 71 +++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 src/VBox/Installer/solaris/vbox-ips.mog (limited to 'src/VBox/Installer/solaris/vbox-ips.mog') diff --git a/src/VBox/Installer/solaris/vbox-ips.mog b/src/VBox/Installer/solaris/vbox-ips.mog new file mode 100644 index 00000000..b5bacd49 --- /dev/null +++ b/src/VBox/Installer/solaris/vbox-ips.mog @@ -0,0 +1,71 @@ +# 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 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> -- cgit v1.2.3