summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYurii Kolesnykov2018-12-12 16:33:42 +0100
committerYurii Kolesnykov2018-12-12 16:34:47 +0100
commit2cb222489281e9490a9177ceb911f16c36a8d8ed (patch)
tree958818cbac1ad4de8a1754822ea94c64db751dce
parentedc2cea5a3d7c9d3ef06a3805f35925209dc9f61 (diff)
downloadaur-virtualbox-beta-bin.tar.gz
fix suid bit v2
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b5cce91aa55..466ab6b5556 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = virtualbox-beta-bin
pkgdesc = Oracle VM VirtualBox Binary Edition (Oracle branded non-OSE version)
pkgver = 6.0.0.127378
- pkgrel = 2
+ pkgrel = 3
url = https://www.virtualbox.org/
install = virtualbox-beta-bin.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 8cf7a6189a9..24a8071d8cc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ pkgver=6.0.0.127378
_pkgver=6.0.0_RC1
_build=127378
_rev=75527
-pkgrel=2
+pkgrel=3
pkgdesc='Oracle VM VirtualBox Binary Edition (Oracle branded non-OSE version)'
arch=('i686' 'x86_64')
url='https://www.virtualbox.org/'
@@ -91,6 +91,7 @@ package() {
# unsupported $ORIGIN/.. in VBoxC.so and make sure the
# directory is only writable by the user (paranoid)
cd "${pkgdir}/${_installdir}"
+ chmod 0755 VirtualBox VBox{SDL,Headless,NetDHCP,NetNAT,NetAdpCtl,VolInfo}
for _lib in VBox{VMM,RT}.so
do
ln -s "${_installdir}/${_lib}" "components/${_lib}"
@@ -211,4 +212,5 @@ EOF
# fix permissions (change executables from 4711 to 4755)
printf '%s\n' ' -> Fixing permissions...'
+ chmod 0755 "${pkgdir}/${_installdir}"/{VBox{Headless,Net{AdpCtl,DHCP,NAT},SDL,VolInfo},VirtualBox}
}