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.2.0.ebuild ganeti-2.2.0_rc0.ebuild ganeti-2.2.0_rc1.ebuild
Date: Mon, 04 Oct 2010 17:50:10
Message-Id: 20101004175006.D7F6820051@flycatcher.gentoo.org
1 ramereth 10/10/04 17:50:06
2
3 Modified: ChangeLog
4 Added: ganeti-2.2.0.ebuild
5 Removed: ganeti-2.2.0_rc0.ebuild ganeti-2.2.0_rc1.ebuild
6 Log:
7 Version bump to 2.2.0 final
8 (Portage version: 2.1.8.3/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.30 app-emulation/ganeti/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?rev=1.30&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?rev=1.30&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?r1=1.29&r2=1.30
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v
20 retrieving revision 1.29
21 retrieving revision 1.30
22 diff -u -r1.29 -r1.30
23 --- ChangeLog 3 Sep 2010 22:02:34 -0000 1.29
24 +++ ChangeLog 4 Oct 2010 17:50:06 -0000 1.30
25 @@ -1,6 +1,12 @@
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.29 2010/09/03 22:02:34 ramereth Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v 1.30 2010/10/04 17:50:06 ramereth Exp $
30 +
31 +*ganeti-2.2.0 (04 Oct 2010)
32 +
33 + 04 Oct 2010; Lance Albertson <ramereth@g.o>
34 + -ganeti-2.2.0_rc0.ebuild, -ganeti-2.2.0_rc1.ebuild, +ganeti-2.2.0.ebuild:
35 + Version bump to 2.2.0 final
36
37 *ganeti-2.2.0_rc1 (03 Sep 2010)
38
39
40
41
42 1.1 app-emulation/ganeti/ganeti-2.2.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ganeti-2.2.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ganeti-2.2.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ganeti-2.2.0.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ganeti-2.2.0.ebuild,v 1.1 2010/10/04 17:50:06 ramereth Exp $
52
53 EAPI=2
54
55 inherit eutils confutils bash-completion
56
57 MY_PV="${PV/_rc/~rc}"
58 #MY_PV="${PV/_beta/~beta}"
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 +filestorage syslog"
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/paramiko
76 dev-python/pyopenssl
77 dev-python/pyparsing
78 dev-python/pycurl
79 dev-python/pyinotify
80 dev-python/simplejson
81 net-analyzer/arping
82 net-misc/bridge-utils
83 net-misc/curl[ssl]
84 net-misc/openssh
85 net-misc/socat
86 sys-apps/iproute2
87 sys-fs/lvm2"
88 RDEPEND="${DEPEND}"
89
90 pkg_setup () {
91 confutils_require_any kvm xen
92 }
93
94 src_configure () {
95 local myconf
96 if use filestorage ; then
97 myconf="--with-file-storage-dir=/var/lib/ganeti-storage/file"
98 else
99 myconf="--with-file-storage-dir=no"
100 fi
101 econf --localstatedir=/var \
102 --docdir=/usr/share/doc/${P} \
103 --with-ssh-initscript=/etc/init.d/sshd \
104 --with-export-dir=/var/lib/ganeti-storage/export \
105 --with-os-search-path=/usr/share/ganeti/os \
106 $(use_enable syslog) \
107 ${myconf}
108 }
109
110 src_install () {
111 emake DESTDIR="${D}" install || die "emake install failed"
112 newinitd "${FILESDIR}"/ganeti-2.1.initd ganeti
113 newconfd "${FILESDIR}"/ganeti.confd ganeti
114 dobashcompletion doc/examples/bash_completion ganeti
115 dodoc INSTALL NEWS README doc/*.rst
116 rm -rf "${D}"/usr/share/doc/ganeti
117 docinto examples
118 dodoc doc/examples/{dumb-allocator,ganeti.cron,gnt-config-backup}
119 docinto examples/hooks
120 dodoc doc/examples/hooks/{ipsec,ethers}
121
122 keepdir /var/{lib,log,run}/ganeti/
123 keepdir /usr/share/ganeti/os/
124 keepdir /var/lib/ganeti-storage/{export,file}/
125 }
126
127 pkg_postinst () {
128 bash-completion_pkg_postinst
129 }