From c99d88f3b2c0ce81e864177c0a2bb253498364e7 Mon Sep 17 00:00:00 2001 From: Helmut Pozimski Date: Tue, 3 Dec 2019 14:45:35 +0100 Subject: [PATCH] libvirt: update to 5.10.0. --- srcpkgs/libvirt/template | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/srcpkgs/libvirt/template b/srcpkgs/libvirt/template index 44344541eef..49cc27c9b4c 100644 --- a/srcpkgs/libvirt/template +++ b/srcpkgs/libvirt/template @@ -1,8 +1,10 @@ # Template file for 'libvirt' pkgname=libvirt -version=5.9.0 +version=5.10.0 revision=1 +build_wrksrc="build" build_style=gnu-configure +configure_script="../configure" configure_args="--without-hal --with-storage-lvm --with-qemu --with-qemu-user=libvirt --with-qemu-group=libvirt --without-netcf --with-interface --disable-static --with-apparmor --with-secdriver-apparmor @@ -13,7 +15,7 @@ license="LGPL-2.1-or-later" homepage="https://libvirt.org" changelog="https://libvirt.org/news.html" distfiles="https://libvirt.org/sources/${pkgname}-${version}.tar.xz" -checksum=3496d2e1d988185de013b2a9d2e8824458afd85aa7cd050283a59b3d78978939 +checksum=9aaa889dccdc16e39eaa53dae36375413619561896920419fb1351bee8a2fc87 # FIX https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701649 system_accounts="libvirt" @@ -35,7 +37,9 @@ case "$XBPS_TARGET_MACHINE" in *) configure_args+=" --without-xen";; esac case "$XBPS_TARGET_MACHINE" in - *-musl) CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tirpc";; + *-musl) CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/tirpc" + hostmakedepends+=" rpcsvc-proto" + ;; esac conf_files="/etc/libvirt/nwfilter/*.xml /etc/libvirt/qemu/networks/*.xml /etc/libvirt/*.conf" @@ -53,8 +57,12 @@ make_dirs=" /var/libvirt/boot 0755 root root /var/cache/libvirt/qemu 0755 root root" +post_extract() { + mkdir -p build +} + pre_configure() { - autoreconf -fi + autoreconf -fi ../ } post_install() {