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