summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-02-14 18:40:16 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-02-14 18:40:45 +0100
commit66b560f99f74535a994239ef596b7c0fd3af14e0 (patch)
tree84001925bdfe6681791ee1b096715a349c222f70 /app-emulation/virtualbox-bin
parentsys-apps/kmod: amd64 stable wrt bug #677942 (diff)
downloadgentoo-66b560f99f74535a994239ef596b7c0fd3af14e0.tar.gz
gentoo-66b560f99f74535a994239ef596b7c0fd3af14e0.tar.bz2
gentoo-66b560f99f74535a994239ef596b7c0fd3af14e0.zip
app-emulation/virtualbox-bin: Fixed installation with USE="headless".
Closes: https://bugs.gentoo.org/675816 Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-emulation/virtualbox-bin')
-rw-r--r--app-emulation/virtualbox-bin/virtualbox-bin-6.0.2.128162.ebuild4
-rw-r--r--app-emulation/virtualbox-bin/virtualbox-bin-6.0.4.128413.ebuild4
2 files changed, 4 insertions, 4 deletions
diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-6.0.2.128162.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-6.0.2.128162.ebuild
index 871816079601..d3ff954fe250 100644
--- a/app-emulation/virtualbox-bin/virtualbox-bin-6.0.2.128162.ebuild
+++ b/app-emulation/virtualbox-bin/virtualbox-bin-6.0.2.128162.ebuild
@@ -204,13 +204,13 @@ src_install() {
dosym ../VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
local each
- for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,TestOGL,ExtPackHelperApp} VirtualBox ; do
+ for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,TestOGL,ExtPackHelperApp} $(usex headless '' VirtualBox) ; do
fowners root:vboxusers /opt/VirtualBox/${each}
fperms 0750 /opt/VirtualBox/${each}
pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
done
# VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
- for each in VBoxNet{AdpCtl,DHCP,NAT} VirtualBoxVM ; do
+ for each in VBoxNet{AdpCtl,DHCP,NAT} $(usex headless '' VirtualBoxVM) ; do
fowners root:vboxusers /opt/VirtualBox/${each}
fperms 4750 /opt/VirtualBox/${each}
pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
diff --git a/app-emulation/virtualbox-bin/virtualbox-bin-6.0.4.128413.ebuild b/app-emulation/virtualbox-bin/virtualbox-bin-6.0.4.128413.ebuild
index 871816079601..d3ff954fe250 100644
--- a/app-emulation/virtualbox-bin/virtualbox-bin-6.0.4.128413.ebuild
+++ b/app-emulation/virtualbox-bin/virtualbox-bin-6.0.4.128413.ebuild
@@ -204,13 +204,13 @@ src_install() {
dosym ../VBoxXPCOM.so /opt/VirtualBox/components/VBoxXPCOM.so
local each
- for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,TestOGL,ExtPackHelperApp} VirtualBox ; do
+ for each in VBox{Manage,SVC,XPCOMIPCD,Tunctl,TestOGL,ExtPackHelperApp} $(usex headless '' VirtualBox) ; do
fowners root:vboxusers /opt/VirtualBox/${each}
fperms 0750 /opt/VirtualBox/${each}
pax-mark -m "${ED%/}"/opt/VirtualBox/${each}
done
# VBoxNetAdpCtl and VBoxNetDHCP binaries need to be suid root in any case..
- for each in VBoxNet{AdpCtl,DHCP,NAT} VirtualBoxVM ; do
+ for each in VBoxNet{AdpCtl,DHCP,NAT} $(usex headless '' VirtualBoxVM) ; do
fowners root:vboxusers /opt/VirtualBox/${each}
fperms 4750 /opt/VirtualBox/${each}
pax-mark -m "${ED%/}"/opt/VirtualBox/${each}