summaryrefslogtreecommitdiff
path: root/community/libvirt
diff options
context:
space:
mode:
Diffstat (limited to 'community/libvirt')
-rw-r--r--community/libvirt/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/community/libvirt/PKGBUILD b/community/libvirt/PKGBUILD
index 93d023134..b44eabbc9 100644
--- a/community/libvirt/PKGBUILD
+++ b/community/libvirt/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 91813 2013-05-28 11:39:01Z spupykin $
+# $Id: PKGBUILD 92095 2013-05-31 13:59:18Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Jonathan Wiersma <archaur at jonw dot org>
pkgname=libvirt
pkgver=1.0.5
-pkgrel=5
+pkgrel=7
pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)"
arch=('i686' 'x86_64' 'mips64el')
url="http://libvirt.org/"
@@ -50,17 +50,18 @@ build() {
done
export LDFLAGS=-lX11
- export RADVD=/usr/sbin/radvd
- [ -f Makefile ] || ./configure --prefix=/usr --libexec=/usr/lib/"$pkgname" \
+ export RADVD=/usr/bin/radvd
+ [ -f Makefile ] || ./configure --prefix=/usr --libexec=/usr/lib/"$pkgname" --sbindir=/usr/bin \
--with-storage-lvm --without-xen --with-udev --without-hal --disable-static \
--with-init-script=systemd --with-audit \
--with-qemu-user=nobody --with-qemu-group=nobody \
--without-netcf --with-interface \
- --with-dnsmasq-path=/usr/bin/dnsmasq
+ --with-dnsmasq-path=/usr/bin/dnsmasq \
+ --with-iptables-path=/usr/bin/iptables
make
sed -i 's|/etc/sysconfig/|/etc/conf.d/|' daemon/libvirtd.service tools/libvirt-guests.service
- sed -i 's|@sbindir@|/usr/sbin|g' src/virtlockd.service
+ sed -i 's|@sbindir@|/usr/bin|g' src/virtlockd.service
sed -i 's|#group =.*|group="kvm"|' src/qemu/qemu.conf
}