Gentoo Archives: gentoo-commits

From: "Lance Albertson (ramereth)" <ramereth@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/ganeti: ChangeLog ganeti-2.1.5.ebuild
Date: Fri, 02 Jul 2010 22:56:12
Message-Id: 20100702225607.951542C621@corvid.gentoo.org
1 ramereth 10/07/02 22:56:07
2
3 Modified: ChangeLog
4 Added: ganeti-2.1.5.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.24 app-emulation/ganeti/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?rev=1.24&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?rev=1.24&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?r1=1.23&r2=1.24
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v
19 retrieving revision 1.23
20 retrieving revision 1.24
21 diff -u -r1.23 -r1.24
22 --- ChangeLog 20 Jun 2010 20:47:55 -0000 1.23
23 +++ ChangeLog 2 Jul 2010 22:56:07 -0000 1.24
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-emulation/ganeti
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v 1.23 2010/06/20 20:47:55 ramereth Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v 1.24 2010/07/02 22:56:07 ramereth Exp $
29 +
30 +*ganeti-2.1.5 (02 Jul 2010)
31 +
32 + 02 Jul 2010; Lance Albertson <ramereth@g.o> +ganeti-2.1.5.ebuild:
33 + Version bump
34
35 *ganeti-2.2.0_beta0 (20 Jun 2010)
36 *ganeti-2.1.4 (20 Jun 2010)
37
38
39
40 1.1 app-emulation/ganeti/ganeti-2.1.5.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ganeti-2.1.5.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ganeti-2.1.5.ebuild?rev=1.1&content-type=text/plain
44
45 Index: ganeti-2.1.5.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ganeti-2.1.5.ebuild,v 1.1 2010/07/02 22:56:07 ramereth Exp $
50
51 EAPI=2
52
53 inherit eutils confutils bash-completion
54
55 MY_PV="${PV/_rc/~rc}"
56 MY_P="${PN}-${MY_PV}"
57 DESCRIPTION="Ganeti is a virtual server management software tool"
58 HOMEPAGE="http://code.google.com/p/ganeti/"
59 SRC_URI="http://ganeti.googlecode.com/files/${MY_P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="kvm xen drbd +filestorage syslog"
65
66 S="${WORKDIR}/${MY_P}"
67
68 DEPEND="xen? ( >=app-emulation/xen-3.0 )
69 kvm? ( app-emulation/qemu-kvm )
70 drbd? ( >=sys-cluster/drbd-8.0 )
71 dev-libs/openssl
72 dev-python/pyopenssl
73 dev-python/pyparsing
74 dev-python/pyinotify
75 dev-python/simplejson
76 net-analyzer/arping
77 net-misc/bridge-utils
78 net-misc/openssh
79 net-misc/socat
80 sys-apps/iproute2
81 sys-fs/lvm2"
82 RDEPEND="${DEPEND}"
83
84 pkg_setup () {
85 confutils_require_any kvm xen
86 }
87
88 src_configure () {
89 local myconf
90 if use filestorage ; then
91 myconf="--with-file-storage-dir=/var/lib/ganeti-storage/file"
92 else
93 myconf="--with-file-storage-dir=no"
94 fi
95 econf --localstatedir=/var \
96 --docdir=/usr/share/doc/${P} \
97 --with-ssh-initscript=/etc/init.d/sshd \
98 --with-export-dir=/var/lib/ganeti-storage/export \
99 --with-os-search-path=/usr/share/ganeti/os \
100 $(use_enable syslog) \
101 ${myconf}
102 }
103
104 src_install () {
105 emake DESTDIR="${D}" install || die "emake install failed"
106 newinitd "${FILESDIR}"/ganeti-2.1.initd ganeti
107 newconfd "${FILESDIR}"/ganeti.confd ganeti
108 dobashcompletion doc/examples/bash_completion ganeti
109 dodoc INSTALL NEWS README doc/*.rst
110 rm -rf "${D}"/usr/share/doc/ganeti
111 docinto examples
112 dodoc doc/examples/{dumb-allocator,ganeti.cron,gnt-config-backup}
113 docinto examples/hooks
114 dodoc doc/examples/hooks/{ipsec,ethers}
115
116 keepdir /var/{lib,log,run}/ganeti/
117 keepdir /usr/share/ganeti/os/
118 keepdir /var/lib/ganeti-storage/{export,file}/
119 }
120
121 pkg_postinst () {
122 bash-completion_pkg_postinst
123 }