diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2018-08-12 23:34:46 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-08-25 09:59:44 +0700 |
commit | 0e4e8430afc39efeea7b029a3689155d9c3ca47e (patch) | |
tree | 1ce72fa2efcad7445a5419d321d42d6e37146688 /libraries/libvirt/libvirt.SlackBuild | |
parent | db513c960cfdda3d312973fb2e47edc384cb896e (diff) |
libraries/libvirt: Updated for version 4.5.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libvirt/libvirt.SlackBuild')
-rw-r--r-- | libraries/libvirt/libvirt.SlackBuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/libraries/libvirt/libvirt.SlackBuild b/libraries/libvirt/libvirt.SlackBuild index c6f5259b160e2..c1941baaedaf7 100644 --- a/libraries/libvirt/libvirt.SlackBuild +++ b/libraries/libvirt/libvirt.SlackBuild @@ -5,7 +5,7 @@ # Maintained by Robby Workman <rworkman@slackbuilds.org> PRGNAM=libvirt -VERSION=${VERSION:-4.0.0} +VERSION=${VERSION:-4.5.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -51,10 +51,10 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; # we have sysctld files in /etc/sysctl.d -sed -i "s|(prefix)/lib/sysctl|(sysconfdir)/sysctl|" daemon/Makefile.in +sed -i "s|(prefix)/lib/sysctl|(sysconfdir)/sysctl|" src/Makefile.in patch -p1 < $CWD/use-virtgroup-in-polkit-rules.diff -sed -i -e "s,@VIRTGROUP@,$VIRTGROUP,g" daemon/libvirt.rules +sed -i -e "s,@VIRTGROUP@,$VIRTGROUP,g" src/remote/libvirtd.rules CFLAGS="$SLKCFLAGS" \ ./configure \ @@ -101,6 +101,10 @@ sed -i \ -e "s|^\#group\ =\ \"root\"|group = \"$VIRTGROUP\"|" \ $PKG/etc/libvirt/qemu.conf +# disable seccomp support or else VMs won't start with new libvirt/qemu combo +sed -i "s|^\#seccomp_sandbox = 1|seccomp_sandbox = 0|" \ + $PKG/etc/libvirt/qemu.conf + find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done |