From 8a95e930d6047f6bd92f2239759e38cd417ad2b3 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 12 Oct 2014 07:01:41 +0200 Subject: [PATCH] virtualbox-ose: setup perms for setuid bins at post-install. --- srcpkgs/virtualbox-ose/INSTALL | 7 +++++++ srcpkgs/virtualbox-ose/template | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/virtualbox-ose/INSTALL diff --git a/srcpkgs/virtualbox-ose/INSTALL b/srcpkgs/virtualbox-ose/INSTALL new file mode 100644 index 00000000000..a9ba41dca36 --- /dev/null +++ b/srcpkgs/virtualbox-ose/INSTALL @@ -0,0 +1,7 @@ +case "$ACTION" in +post) + for f in VBoxHeadless VBoxSDL VBoxNetDHCP VBoxNetAdpCtl VirtualBox; do + chmod 4755 usr/lib/virtualbox/$f + done + ;; +esac diff --git a/srcpkgs/virtualbox-ose/template b/srcpkgs/virtualbox-ose/template index da705bde96c..1044563fd5e 100644 --- a/srcpkgs/virtualbox-ose/template +++ b/srcpkgs/virtualbox-ose/template @@ -2,7 +2,7 @@ pkgname=virtualbox-ose _vbox_distver=4.3.18 version=${_vbox_distver} -revision=1 +revision=2 wrksrc="VirtualBox-${version}" patch_args="-Np1" short_desc="General-purpose full virtualizer for x86 hardware"