mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/libvirt: upgrade to 4.0.0. Added bash-completion subpkg
This commit is contained in:
parent
88614e9508
commit
04684f465d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user