diff options
author | root <root@rshg054.dnsready.net> | 2011-09-15 23:14:42 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-09-15 23:14:42 +0000 |
commit | 062d1ba2c4d5de52d97f339c5a3ac1199b8533f6 (patch) | |
tree | bd00d2e476e1761b3771b1849a3a207dd8cb5c57 /community/libvirt/PKGBUILD | |
parent | d5effc9aadfb9ed5890376ca9497eef52fafcf83 (diff) |
Thu Sep 15 23:14:42 UTC 2011
Diffstat (limited to 'community/libvirt/PKGBUILD')
-rw-r--r-- | community/libvirt/PKGBUILD | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/community/libvirt/PKGBUILD b/community/libvirt/PKGBUILD index b17d54d64..69c5e52cc 100644 --- a/community/libvirt/PKGBUILD +++ b/community/libvirt/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 54469 2011-08-18 15:07:52Z bluewind $ +# $Id: PKGBUILD 55591 2011-09-14 14:47:29Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Jonathan Wiersma <archaur at jonw dot org> pkgname=libvirt pkgver=0.9.4 -pkgrel=2 +pkgrel=3 pkgdesc="API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)" arch=('i686' 'x86_64') url="http://libvirt.org/" @@ -16,18 +16,13 @@ depends=('e2fsprogs' 'gnutls' 'iptables' 'libxml2' 'parted' 'polkit' 'python2' makedepends=('pkgconfig' 'lvm2') optdepends=('bridge-utils: for briged networking (default)' 'dnsmasq: for NAT/DHCP for guests' - 'kernel26-ovz24: for openvz guests' 'kvm' - 'lxc' 'openbsd-netcat: for remote management over ssh' 'qemu' - 'user-mode-linux' - 'virtualbox_bin' - 'virtualbox-ose' - 'xen' 'radvd') options=('emptydirs' '!libtool') backup=('etc/conf.d/libvirtd' + 'etc/conf.d/libvirtd-guests' 'etc/libvirt/libvirtd.conf' 'etc/libvirt/qemu.conf' 'etc/sasl2/libvirt.conf') @@ -35,12 +30,16 @@ install="libvirt.install" source=("http://libvirt.org/sources/$pkgname-$pkgver.tar.gz" libvirtd.rc.d libvirtd.conf.d + libvirtd-guests.rc.d + libvirtd-guests.conf.d openbsd-netcat-default.patch unixperms.patch yajl-2.x.patch) md5sums=('86b411b11bd23d4af20611699f372af7' 'c43244c40a0437038c82089618e7beaa' '3ed0e24f5b5e25bf553f5427d64915e6' + '6f36bf189ef0e5847038787d13535420' + 'bc2971dacdbac967fc3474e50affc345' 'ee7052f3929d5d918236c646a59edebf' 'db95aecdf2ccf3693fef5821cdcb7eba' '5745bb8d0b254abb7a3528c66e03b0f9') @@ -74,8 +73,14 @@ build() { package() { cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -D -m755 "$srcdir"/libvirtd.rc.d "$pkgdir"/etc/rc.d/libvirtd install -D -m644 "$srcdir"/libvirtd.conf.d "$pkgdir"/etc/conf.d/libvirtd + + install -D -m755 "$srcdir"/libvirtd-guests.rc.d "$pkgdir"/etc/rc.d/libvirtd-guests + install -D -m644 "$srcdir"/libvirtd-guests.conf.d "$pkgdir"/etc/conf.d/libvirtd-guests + rm -rf $pkgdir/var/run } |