aboutsummaryrefslogtreecommitdiffstats
path: root/main/libvirt/APKBUILD
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2018-01-19 14:07:55 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2018-01-19 14:09:27 +0000
commit04684f465dc899f307d54993214e4c6f0d72d1fc (patch)
tree05c2ba8518c9f1a0704dc923bd39ab74ed3bea05 /main/libvirt/APKBUILD
parent88614e9508d69ca61b303991901b3e7ed96db31c (diff)
downloadaports-04684f465dc899f307d54993214e4c6f0d72d1fc.tar.gz
aports-04684f465dc899f307d54993214e4c6f0d72d1fc.tar.bz2
aports-04684f465dc899f307d54993214e4c6f0d72d1fc.tar.xz
main/libvirt: upgrade to 4.0.0. Added bash-completion subpkg
Diffstat (limited to 'main/libvirt/APKBUILD')
-rw-r--r--main/libvirt/APKBUILD20
1 files changed, 15 insertions, 5 deletions
diff --git a/main/libvirt/APKBUILD b/main/libvirt/APKBUILD
index cfec544f17..240d73fda6 100644
--- a/main/libvirt/APKBUILD
+++ b/main/libvirt/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=libvirt
-pkgver=3.10.0
+pkgver=4.0.0
_ver="${pkgver/_rc/-rc}"
pkgrel=0
pkgdesc="A virtualization API for several hypervisor and container systems"
@@ -16,12 +16,13 @@ makedepends="augeas-dev bridge-utils cyrus-sasl-dev device-mapper
netcf-dev libnl3-dev libxml2-dev libxslt-dev libtasn1-dev
lvm2-dev lxc-dev gnutls-dev libgcrypt-dev parted-dev perl pkgconfig
eudev-dev zlib-dev yajl-dev libpcap-dev curl-dev libpciaccess-dev
- polkit-dev readline-dev dnsmasq linux-headers $depends_dev
- fuse-dev util-linux libxml2-utils $_daemon_deps $_client_deps
+ polkit-dev readline-dev dnsmasq linux-headers libssh2-dev $depends_dev
+ fuse-dev util-linux libxml2-utils bash-completion $_daemon_deps $_client_deps
"
install="$pkgname.post-install"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-client $pkgname-daemon
- $pkgname-lang $pkgname-lxc $pkgname-qemu $pkgname-uml $pkgname-vbox"
+ $pkgname-lang $pkgname-lxc $pkgname-qemu $pkgname-uml $pkgname-vbox
+ $pkgname-bash-completion:bashcomp:noarch"
source="http://libvirt.org/sources/$pkgname-$pkgver.tar.xz
libvirt.confd
libvirt.initd
@@ -120,6 +121,15 @@ static() {
done
}
+bashcomp() {
+ depends=""
+ pkgdesc="Bash completions for $pkgname"
+ install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
+ mkdir -p "$subpkgdir"/usr/share/
+ mv "$pkgdir"/usr/share/bash-completion \
+ "$subpkgdir"/usr/share/
+}
+
_mv_driver() {
local _name="$1" _drivers="$2" _pkg="$3"
pkgdesc="$_name driver for libvirt"
@@ -162,7 +172,7 @@ _common_drivers() {
"$subpkgdir"/etc/libvirt/
}
-sha512sums="c2dfe0629bd90e8d7ae85f2a31dc027475c9614d497063fec6905aa2da4db68ce96e8f20d3290b0c0542b6ea31c85700b2727008bac65997ff0901b45f1b7260 libvirt-3.10.0.tar.xz
+sha512sums="c99ea305f427859eb070b5f0c43de48645a5c53a2aa8efc60f54f278ec3fa0b504307861309e1852f8d7bff4436afe00c859aac27691366a0c36c91341cea7a1 libvirt-4.0.0.tar.xz
9aba6ab73219a635c64a340ee8887356e644445c9128734cbce73f5d54778378da2f10a190365ad88a7db8bc95b1fb17f0c6ca41fc41bb786c09e1afe84d65dc libvirt.confd
734afb83b7a4703dd238f1d89dbc853a8c73bcf1994af648c41ab01ae4088e5c7a423f0cb91e5e31f2ae5e60c66d08a6e1583a1e3b88bb5554e0f9fd15ecc15c libvirt.initd
36b85f473d292be8df415256d01a562131d8ae61450ba3893658090a12d589ca32215382f56f286a830b4e59ffd98fbe1d92004f2ce14ca0834451b943cd8f2f virtlogd.initd