mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-27 00:10:29 +00:00
community/libvirt to 4.5.0-1
This commit is contained in:
parent
ffd4936fbb
commit
67cb14bcfb
1 changed files with 10 additions and 10 deletions
|
@ -9,16 +9,16 @@
|
||||||
# - removed qemu makedepend
|
# - removed qemu makedepend
|
||||||
|
|
||||||
pkgname=libvirt
|
pkgname=libvirt
|
||||||
pkgver=4.4.0
|
pkgver=4.5.0
|
||||||
pkgrel=3
|
pkgrel=1
|
||||||
pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)"
|
pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://libvirt.org/"
|
url="http://libvirt.org/"
|
||||||
license=('LGPL')
|
license=('LGPL')
|
||||||
makedepends=('pkgconfig' 'lvm2' 'linux-api-headers' 'dnsmasq' 'lxc'
|
makedepends=('pkgconfig' 'lvm2' 'linux-api-headers' 'dnsmasq' 'lxc'
|
||||||
'libiscsi' 'open-iscsi' 'perl-xml-xpath' 'libxslt'
|
'libiscsi' 'open-iscsi' 'perl-xml-xpath' 'libxslt'
|
||||||
'glusterfs' 'netcf' 'yajl' 'parted')
|
'glusterfs' 'netcf' 'yajl' 'parted' 'python')
|
||||||
depends=('e2fsprogs' 'gnutls' 'iptables' 'libxml2' 'parted' 'polkit' 'python2'
|
depends=('e2fsprogs' 'gnutls' 'iptables' 'libxml2' 'parted' 'polkit'
|
||||||
'avahi' 'yajl' 'libpciaccess' 'udev' 'dbus' 'libxau' 'libxdmcp' 'libpcap' 'libcap-ng'
|
'avahi' 'yajl' 'libpciaccess' 'udev' 'dbus' 'libxau' 'libxdmcp' 'libpcap' 'libcap-ng'
|
||||||
'curl' 'libsasl' 'libgcrypt' 'libgpg-error' 'openssl' 'libxcb' 'gcc-libs'
|
'curl' 'libsasl' 'libgcrypt' 'libgpg-error' 'openssl' 'libxcb' 'gcc-libs'
|
||||||
'iproute2' 'libnl' 'libx11' 'gettext' 'libssh2'
|
'iproute2' 'libnl' 'libx11' 'gettext' 'libssh2'
|
||||||
|
@ -72,7 +72,7 @@ source=("https://libvirt.org/sources/${pkgname}-${pkgver}.tar.xz"{,.asc}
|
||||||
'libvirtd-guests.conf.d'
|
'libvirtd-guests.conf.d'
|
||||||
'libvirt.sysusers.d')
|
'libvirt.sysusers.d')
|
||||||
# "ae102b5d7bccd29bc6015a3e0acefeaa90d097ac.patch::https://libvirt.org/git/?p=libvirt.git;a=patch;h=ae102b5d7bccd29bc6015a3e0acefeaa90d097ac")
|
# "ae102b5d7bccd29bc6015a3e0acefeaa90d097ac.patch::https://libvirt.org/git/?p=libvirt.git;a=patch;h=ae102b5d7bccd29bc6015a3e0acefeaa90d097ac")
|
||||||
sha512sums=('725b9b093a2aaeab6fdcb8df341a400ab363bcd50af8400dfd0593c41d8fbc8352f89147be9fbfde2e8418cc7298e090fe07ec7255b0aff1f0d001b93322f93f'
|
sha512sums=('26710c7e5219f007524e9f93a642e55e4e8ea197afa6b2ca6a4b67b7028313f4b0d82924ee9a1e91ff688a4d2b53f89f3655fbeef0fa99a34f8418f37d787984'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'fc0e16e045a2c84d168d42c97d9e14ca32ba0d86025135967f4367cf3fa663882eefb6923ebf04676ae763f4f459e5156d7221b36b47c835f9e531c6b6e0cd9d'
|
'fc0e16e045a2c84d168d42c97d9e14ca32ba0d86025135967f4367cf3fa663882eefb6923ebf04676ae763f4f459e5156d7221b36b47c835f9e531c6b6e0cd9d'
|
||||||
'ef221bae994ad0a15ab5186b7469132896156d82bfdc3ef3456447d5cf1af347401ef33e8665d5b2f76451f5457aee7ea01064d7b9223d6691c90c4456763258'
|
'ef221bae994ad0a15ab5186b7469132896156d82bfdc3ef3456447d5cf1af347401ef33e8665d5b2f76451f5457aee7ea01064d7b9223d6691c90c4456763258'
|
||||||
|
@ -81,10 +81,10 @@ sha512sums=('725b9b093a2aaeab6fdcb8df341a400ab363bcd50af8400dfd0593c41d8fbc8352f
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
|
|
||||||
for file in $(find . -name '*.py' -print); do
|
# for file in $(find . -name '*.py' -print); do
|
||||||
sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' "${file}"
|
# sed -i 's_#!.*/usr/bin/python_#!/usr/bin/python2_' "${file}"
|
||||||
sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' "${file}"
|
# sed -i 's_#!.*/usr/bin/env.*python_#!/usr/bin/env python2_' "${file}"
|
||||||
done
|
# done
|
||||||
|
|
||||||
sed -i 's|/sysconfig/|/conf.d/|g' \
|
sed -i 's|/sysconfig/|/conf.d/|g' \
|
||||||
src/remote/libvirtd.service.in \
|
src/remote/libvirtd.service.in \
|
||||||
|
@ -104,7 +104,7 @@ prepare() {
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
|
|
||||||
export PYTHON=`which python2`
|
export PYTHON=`which python`
|
||||||
export LDFLAGS=-lX11
|
export LDFLAGS=-lX11
|
||||||
export RADVD=/usr/bin/radvd
|
export RADVD=/usr/bin/radvd
|
||||||
[ -f Makefile ] || ./configure --prefix=/usr --libexec=/usr/lib/"${pkgname}" --sbindir=/usr/bin \
|
[ -f Makefile ] || ./configure --prefix=/usr --libexec=/usr/lib/"${pkgname}" --sbindir=/usr/bin \
|
||||||
|
|
Loading…
Reference in a new issue