diff options
Diffstat (limited to 'system/qemu/qemu.SlackBuild')
-rw-r--r-- | system/qemu/qemu.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/system/qemu/qemu.SlackBuild b/system/qemu/qemu.SlackBuild index fb191a82e3..85d2d19b96 100644 --- a/system/qemu/qemu.SlackBuild +++ b/system/qemu/qemu.SlackBuild @@ -47,16 +47,18 @@ # 3.1 02-SEP-2016 upgraded. # 3.2 15-OCT-2016 upgraded to 2.7 release # 3.3 26-JAN-2017 upgraded to 2.8 release +# 4.0 28-JAN-2017 add bridge-helper option, README additions/cosmetics (thanks to Andrzej T.) PRGNAM=qemu VERSION=${VERSION:-2.8.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} KVMGROUP=${KVMGROUP:-users} TARGETS=${TARGETS:-some} VNC_ENABLE=${VNC_ENABLE:-yes} AUDIODRIVERS=${AUDIODRIVERS:-pa,alsa,oss,sdl} +BRIDGE_HELPER_SETUID=${BRIDGE_HELPER_SETUID:-no} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -165,6 +167,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr # even though qemu now has a gtk gui. [ ! -z $KVMARCH ] && ln -s qemu-system-$KVMARCH $PKG/usr/bin/qemu-kvm +# set qemu-bridge-helper setuid if requested +if [ "$BRIDGE_HELPER_SETUID" = "yes" ]; then + chmod u+s $PKG/usr/libexec/qemu-bridge-helper +fi + # move any generated man pages to their proper location if [ -d $PKG/usr/share/man ]; then mv $PKG/usr/share/man $PKG/usr |