1 # Maintainer: Cody Maloney <cmaloney@cs.nmt.edu>
5 pkgdesc="Cluster-based virtualization management software"
6 arch=('any') #TODO: Not absolutely positive about this.
7 url="http://code.google.com/p/ganeti/"
9 depends=(bridge-utils iproute2 iputils libvirt lvm2 ndisc6 openssh python2 python2-pyopenssl
10 python-simplejson python2-pyparsing python2-pyinotify python-pycurl python-paramiko socat)
12 source=(http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz)
13 md5sums=('041db83fe0f86bce0efc3d531467536d')
16 cd "$srcdir/$pkgname-$pkgver"
20 sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' \
21 autotools/check-tar autotools/check-news autotools/build-bash-completion daemons/import-export doc/design-2.1.rst \
22 doc/html/design-2.1.html doc/html/_sources/design-2.1.txt Makefile.am Makefile.in qa/ganeti-qa.py \
23 test/ganeti.utils.io_unittest.py test/ganeti.opcodes_unittest.py test/ganeti.jqueue_unittest.py \
24 test/ganeti.utils.log_unittest.py test/ganeti.utils.mlock_unittest.py test/ganeti.hypervisor.hv_lxc_unittest.py \
25 test/ganeti.cli_unittest.py test/ganeti.daemon_unittest.py test/ganeti.rapi.baserlib_unittest.py \
26 test/ganeti.utils.text_unittest.py test/ganeti.objects_unittest.py test/tempfile_fork_unittest.py \
27 test/ganeti.cmdlib_unittest.py test/ganeti.utils.algo_unittest.py test/ganeti.serializer_unittest.py \
28 test/ganeti.hypervisor_unittest.py test/ganeti.luxi_unittest.py test/ganeti.utils.nodesetup_unittest.py \
29 test/ganeti.ssh_unittest.py test/ganeti.hooks_unittest.py test/ganeti.client.gnt_instance_unittest.py \
30 test/ganeti.utils.x509_unittest.py test/ganeti.query_unittest.py test/ganeti.hypervisor.hv_fake_unittest.py \
31 test/cfgupgrade_unittest.py test/ganeti.netutils_unittest.py test/ganeti.uidpool_unittest.py \
32 test/ganeti.hypervisor.hv_chroot_unittest.py test/ganeti.http_unittest.py test/ganeti.runtime_unittest.py \
33 test/ganeti.hypervisor.hv_kvm_unittest.py test/ganeti.config_unittest.py test/ganeti.rapi.rlib2_unittest.py \
34 test/ganeti.rpc_unittest.py test/ganeti.mcpu_unittest.py test/ganeti.rapi.resources_unittest.py \
35 test/ganeti.rapi.client_unittest.py test/ganeti.utils.retry_unittest.py test/ganeti.errors_unittest.py \
36 test/ganeti.constants_unittest.py test/ganeti.workerpool_unittest.py test/ganeti.impexpd_unittest.py \
37 test/ganeti.ht_unittest.py test/docs_unittest.py test/ganeti.utils_unittest.py test/ganeti.locking_unittest.py \
38 test/ganeti.asyncnotifier_unittest.py test/import-export_unittest-helper test/ganeti.masterd.instance_unittest.py \
39 test/ganeti.utils.hash_unittest.py test/ganeti.backend_unittest.py test/ganeti.bdev_unittest.py \
40 test/ganeti.utils.process_unittest.py test/ganeti.utils.wrapper_unittest.py test/ganeti.hypervisor.hv_xen_unittest.py \
41 test/ganeti.confd.client_unittest.py test/ganeti.utils.filelock_unittest.py test/ganeti.qlang_unittest.py \
42 test/ganeti.compat_unittest.py tools/cluster-merge tools/sanitize-config tools/cfgupgrade12 tools/ganeti-listrunner \
43 tools/setup-ssh tools/lvmstrap tools/cfgshell tools/burnin tools/move-instance tools/check-cert-expired \
46 ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc
51 cd "$srcdir/$pkgname-$pkgver"
56 cd "$srcdir/$pkgname-$pkgver"
57 #TODO: Copy doc/examples/ganeti.initd to /etc/init.d/ganeti
58 make DESTDIR="$pkgdir/" install
61 # vim:set ts=2 sw=2 et: