aboutsummaryrefslogtreecommitdiffstats
path: root/main/libvirt
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2013-06-15 08:20:48 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2013-06-15 08:21:46 +0000
commit7c55e6231eb9ebd2088dd813180f32f81d8fe82b (patch)
tree38b9e365544a2e76abd61bcaa458a63f7d10f081 /main/libvirt
parentb8b5cb2c333648862035a73ec5e920c7ec3692de (diff)
downloadaports-7c55e6231eb9ebd2088dd813180f32f81d8fe82b.tar.bz2
aports-7c55e6231eb9ebd2088dd813180f32f81d8fe82b.tar.xz
main/libvirt: add group libvirt
Diffstat (limited to 'main/libvirt')
-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