summaryrefslogtreecommitdiff
path: root/system/qemu/qemu.SlackBuild
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2017-04-02 13:05:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-06 21:02:40 +0700
commit67b2f3ebd8615bab6692fae6f5ec9d8464772de8 (patch)
tree04ce3fcdf0c313e88dc80e79073c41ac3248eb30 /system/qemu/qemu.SlackBuild
parentdd4d5eaec62e07aaf99fa02ffd83ad9717e9af27 (diff)
downloadslackbuilds-67b2f3ebd8615bab6692fae6f5ec9d8464772de8.tar.gz
system/qemu: Updated for version 2.8.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/qemu/qemu.SlackBuild')
-rw-r--r--system/qemu/qemu.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/system/qemu/qemu.SlackBuild b/system/qemu/qemu.SlackBuild
index 85d2d19b96..a2ebaa125e 100644
--- a/system/qemu/qemu.SlackBuild
+++ b/system/qemu/qemu.SlackBuild
@@ -48,10 +48,11 @@
# 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.)
+# 4.1 01-APR-2017 no foolin': various bug and CVE updates re: ponce https://lists.nongnu.org/archive/html/qemu-devel/2017-03/msg06332.html
PRGNAM=qemu
-VERSION=${VERSION:-2.8.0}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-2.8.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
KVMGROUP=${KVMGROUP:-users}
@@ -99,7 +100,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -156,6 +157,8 @@ make install DESTDIR=$PKG
rm -rf $PKG/var/run
# install some udev rules for /dev/kvm
+# Note: no udev rules for usb pasthrough when running qemu as non-root on linux hosts. See Section 2.11.2
+# https://qemu.weilnetz.de/doc/qemu-doc.html
mkdir -p $PKG/lib/udev/rules.d/
sed "s/@GROUP@/$KVMGROUP/" $CWD/65-kvm.rules \
> $PKG/lib/udev/rules.d/65-kvm.rules