From 24905f75ceb38f25703242b35489d4763bec8b2a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 20 Feb 2015 09:14:17 +0100 Subject: [PATCH] libvirt: set correct to dnsmasq, depend on ebtables and dnsmasq. - Override configure test to guess dnsmaq path. - By default needs ebtables and dnsmasq, so add them to depends. Close #988 Close #989 --- srcpkgs/libvirt/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/libvirt/template b/srcpkgs/libvirt/template index e0c9af4168d..efb3b8b2130 100644 --- a/srcpkgs/libvirt/template +++ b/srcpkgs/libvirt/template @@ -1,14 +1,15 @@ # Template file for 'libvirt' pkgname=libvirt version=1.2.12 -revision=1 +revision=2 build_style=gnu-configure build_options="systemd" configure_args="--without-hal --with-storage-lvm --with-qemu-user=nobody --disable-static $(vopt_if systemd '--with-init-script=systemd') --with-qemu-group=nogroup --without-netcf --with-interface --sbindir=/usr/sbin ac_cv_path_MOUNT=/bin/mount ac_cv_path_UMOUNT=/bin/umount - ac_cv_path_MKFS=/sbin/mkfs ac_cv_path_SHOWMOUNT=/sbin/showmount" + ac_cv_path_MKFS=/sbin/mkfs ac_cv_path_SHOWMOUNT=/sbin/showmount + ac_cv_path_DNSMASQ=/sbin/dnsmasq" short_desc="The virtualization API for controlling virtualization engines" maintainer="Juan RP " homepage="http://libvirt.org" @@ -22,6 +23,7 @@ makedepends="readline-devel>=6.3 libcap-ng-devel libnl3-devel attr-devel libparted-devel device-mapper-devel dbus-devel libudev-devel libblkid-devel libpciaccess-devel avahi-libs-devel polkit-devel yajl-devel python-devel libssh2-devel libcap-ng-devel fuse-devel" +depends="ebtables dnsmasq" if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then configure_args+=" --with-xen"