community/libvirt to 5.4.0-1

This commit is contained in:
Kevin Mihelich 2019-06-05 12:48:46 +00:00
parent c0616b4df7
commit 02e8b265f2

View file

@ -8,7 +8,7 @@
# - removed qemu makedepend
pkgname=libvirt
pkgver=5.3.0
pkgver=5.4.0
pkgrel=1
pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)"
arch=('x86_64')
@ -67,7 +67,7 @@ source=("https://libvirt.org/sources/${pkgname}-${pkgver}.tar.xz"{,.asc}
'libvirtd.conf.d'
'libvirtd-guests.conf.d'
'libvirt.sysusers.d')
sha512sums=('de3888d448463ff1d981e8dcf1aaed39c8215c368d133ed03b8cc5d7e05a77d385287d388d9db109df21df9bf348a14e7c654ca509d41addaadaa199d16b162e'
sha512sums=('03fa932d041d147cab79eab200bb33f8db72579be72ec7cbff3305f4a8d574835a80f1b99936eddf67f83d21cc5567f45c86e555209de6cd702f43f91197cfd0'
'SKIP'
'fc0e16e045a2c84d168d42c97d9e14ca32ba0d86025135967f4367cf3fa663882eefb6923ebf04676ae763f4f459e5156d7221b36b47c835f9e531c6b6e0cd9d'
'ef221bae994ad0a15ab5186b7469132896156d82bfdc3ef3456447d5cf1af347401ef33e8665d5b2f76451f5457aee7ea01064d7b9223d6691c90c4456763258'
@ -147,4 +147,10 @@ package() {
"${pkgdir}"/etc/sysconfig
rm -f "${pkgdir}"/etc/libvirt/qemu/networks/autostart/default.xml
# Fix permission Fix #61977
chmod 600 "${pkgdir}"/etc/libvirt/nwfilter/*.xml "${pkgdir}/etc/libvirt/qemu/networks/default.xml"
# Fix firewalld rules Fix #62219
sed -i "s|<rule priority='32767'><reject/></rule>|#<rule priority='32767'><reject/></rule>|" "${pkgdir}/usr/lib/firewalld/zones/libvirt.xml"
}