summaryrefslogtreecommitdiff
path: root/app-emulation
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-02-16 21:43:44 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-02-16 21:43:44 +0000
commit57a2f0c462ff4eb0926b1d9d0cc16b2f856655c0 (patch)
treec91917d9e23edc65e27e430b5e322f085ab8ad72 /app-emulation
parent82705ccfde6e36b089815fc1ca739308f1ac4348 (diff)
app-emulation/virtualbox-bin : fix some permissions, make sure it shows up in the menu
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/virtualbox-bin/files/virtualbox-bin.desktop-22
-rw-r--r--app-emulation/virtualbox-bin/virtualbox-bin-6.1.18.142142-r1.ebuild (renamed from app-emulation/virtualbox-bin/virtualbox-bin-6.1.18.142142.ebuild)11
2 files changed, 9 insertions, 4 deletions
diff --git a/app-emulation/virtualbox-bin/files/virtualbox-bin.desktop-2 b/app-emulation/virtualbox-bin/files/virtualbox-bin.desktop-2
index 112e8f81..40f0df8a 100644
--- a/app-emulation/virtualbox-bin/files/virtualbox-bin.desktop-2
+++ b/app-emulation/virtualbox-bin/files/virtualbox-bin.desktop-2
@@ -5,4 +5,4 @@ Comment=Run several virtual systems on a single host computer
Exec=VirtualBox
TryExec=VirtualBox
Icon=virtualbox-bin
-Categories=System;Emulator;
+Categories=System;
diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-6.1.18.142142.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-6.1.18.142142-r1.ebuild
index eb525d2a..f41e57d2 100644
--- a/app-emulation/virtualbox-bin/virtualbox-bin-6.1.18.142142.ebuild
+++ b/app-emulation/virtualbox-bin/virtualbox-bin-6.1.18.142142-r1.ebuild
@@ -133,19 +133,24 @@ src_install() {
VirtualBox.tar.bz2 LICENSE VBoxSysInfo.sh rdesktop* vboxwebsrv \
webtest kchmviewer sdk VirtualBox.chm vbox-create-usb-node.sh \
90-vbox-usb.fdi uninstall.sh vboxshell.py vboxdrv-pardus.py \
- VBoxPython*.so
+ VBoxPython*.so virtualbox.desktop
doins -r * || die
# create symlinks for working around unsupported $ORIGIN/.. in VBoxC.so (setuid)
dosym ../VBoxVMM.so /opt/VirtualBox/components/VBoxVMM.so
- dosym ../VBoxREM.so /opt/VirtualBox/components/VBoxREM.so
dosym ../VBoxRT.so /opt/VirtualBox/components/VBoxRT.so
dosym ../VBoxDDU.so /opt/VirtualBox/components/VBoxDDU.so
dosym ../VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
local each
- for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,TestOGL,ExtPackHelperApp} ; do
+ for each in VirtualBox{,VM} ; do
+ fowners root:vboxusers /opt/VirtualBox/${each}
+ fperms 0750 /opt/VirtualBox/${each}
+ pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
+ done
+
+ for each in VBox{Autostart,BalloonCtrl,BugReport,DTrace,VolInfo,Manage,SVC,XPCOMIPCD,Tunctl,TestOGL,ExtPackHelperApp} ; do
fowners root:vboxusers /opt/VirtualBox/${each}
fperms 0750 /opt/VirtualBox/${each}
pax-mark -m "${ED%/}"/opt/VirtualBox/${each}