aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/libvirt/APKBUILD4
-rwxr-xr-xmain/libvirt/libvirt.post-install2
2 files changed, 4 insertions, 2 deletions
diff --git a/main/libvirt/APKBUILD b/main/libvirt/APKBUILD
index 4c2d50d45d..48610cf54a 100644
--- a/main/libvirt/APKBUILD
+++ b/main/libvirt/APKBUILD
@@ -2,7 +2,7 @@
pkgname=libvirt
pkgver=1.0.6
_ver="${pkgver/_rc/-rc}"
-pkgrel=1
+pkgrel=2
pkgdesc="A virtualization API for several hypervisor and container systems"
url="http://libvirt.org/"
arch="all"
@@ -13,7 +13,7 @@ makedepends="augeas-dev bridge-utils cyrus-sasl-dev device-mapper
netcf-dev libnl-dev libxml2-dev libxslt-dev libtasn1-dev
lvm2-dev lxc-dev gnutls-dev libgcrypt-dev parted-dev perl pkgconfig
udev-dev zlib-dev yajl-dev libpcap-dev curl-dev libpciaccess-dev"
-install=
+install="$pkgname.post-install"
subpackages="$pkgname-client $pkgname-daemon $pkgname-dev $pkgname-doc $pkgname-lang
$pkgname-lxc $pkgname-qemu $pkgname-uml"
source="http://libvirt.org/sources/$pkgname-$pkgver.tar.gz
diff --git a/main/libvirt/libvirt.post-install b/main/libvirt/libvirt.post-install
new file mode 100755
index 0000000000..0b02a59554
--- /dev/null
+++ b/main/libvirt/libvirt.post-install
@@ -0,0 +1,2 @@
+#!/bin/sh
+addgroup -S libvirt &>/dev/null