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: ganeti-2.4.5-r1.ebuild ChangeLog ganeti-2.4.5.ebuild
Date: Sun, 13 May 2012 05:55:08
Message-Id: 20120513055458.B15812004B@flycatcher.gentoo.org
1 ramereth 12/05/13 05:54:58
2
3 Modified: ChangeLog ganeti-2.4.5.ebuild
4 Added: ganeti-2.4.5-r1.ebuild
5 Log:
6 Add kvm path fix to 2.4.x series ebuild, mark 2.4.5 stable
7
8 (Portage version: 2.1.10.44/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.60 app-emulation/ganeti/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?rev=1.60&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?rev=1.60&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?r1=1.59&r2=1.60
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v
20 retrieving revision 1.59
21 retrieving revision 1.60
22 diff -u -r1.59 -r1.60
23 --- ChangeLog 12 May 2012 08:10:23 -0000 1.59
24 +++ ChangeLog 13 May 2012 05:54:58 -0000 1.60
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-emulation/ganeti
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v 1.59 2012/05/12 08:10:23 ramereth Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v 1.60 2012/05/13 05:54:58 ramereth Exp $
30 +
31 +*ganeti-2.4.5-r1 (13 May 2012)
32 +
33 + 13 May 2012; Lance Albertson <ramereth@g.o> ganeti-2.4.5.ebuild,
34 + +ganeti-2.4.5-r1.ebuild:
35 + Add kvm path fix to 2.4.x series ebuild, mark 2.4.5 stable
36
37 *ganeti-2.5.1 (12 May 2012)
38
39
40
41
42 1.2 app-emulation/ganeti/ganeti-2.4.5.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ganeti-2.4.5.ebuild?rev=1.2&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ganeti-2.4.5.ebuild?rev=1.2&content-type=text/plain
46 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ganeti-2.4.5.ebuild?r1=1.1&r2=1.2
47
48 Index: ganeti-2.4.5.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ganeti-2.4.5.ebuild,v
51 retrieving revision 1.1
52 retrieving revision 1.2
53 diff -u -r1.1 -r1.2
54 --- ganeti-2.4.5.ebuild 27 Oct 2011 16:57:55 -0000 1.1
55 +++ ganeti-2.4.5.ebuild 13 May 2012 05:54:58 -0000 1.2
56 @@ -1,6 +1,6 @@
57 -# Copyright 1999-2011 Gentoo Foundation
58 +# Copyright 1999-2012 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ganeti-2.4.5.ebuild,v 1.1 2011/10/27 16:57:55 ramereth Exp $
61 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ganeti-2.4.5.ebuild,v 1.2 2012/05/13 05:54:58 ramereth Exp $
62
63 EAPI=2
64
65 @@ -15,7 +15,7 @@
66
67 LICENSE="GPL-2"
68 SLOT="0"
69 -KEYWORDS="~amd64 ~x86"
70 +KEYWORDS="amd64 x86"
71 IUSE="kvm xen drbd +filestorage syslog ipv6"
72
73 S="${WORKDIR}/${MY_P}"
74
75
76
77 1.1 app-emulation/ganeti/ganeti-2.4.5-r1.ebuild
78
79 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ganeti-2.4.5-r1.ebuild?rev=1.1&view=markup
80 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ganeti-2.4.5-r1.ebuild?rev=1.1&content-type=text/plain
81
82 Index: ganeti-2.4.5-r1.ebuild
83 ===================================================================
84 # Copyright 1999-2012 Gentoo Foundation
85 # Distributed under the terms of the GNU General Public License v2
86 # $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ganeti-2.4.5-r1.ebuild,v 1.1 2012/05/13 05:54:58 ramereth Exp $
87
88 EAPI=4
89
90 inherit eutils confutils bash-completion-r1
91
92 MY_PV="${PV/_rc/~rc}"
93 #MY_PV="${PV/_beta/~beta}"
94 MY_P="${PN}-${MY_PV}"
95 DESCRIPTION="Ganeti is a virtual server management software tool"
96 HOMEPAGE="http://code.google.com/p/ganeti/"
97 SRC_URI="http://ganeti.googlecode.com/files/${MY_P}.tar.gz"
98
99 LICENSE="GPL-2"
100 SLOT="0"
101 KEYWORDS="~amd64 ~x86"
102 IUSE="kvm xen drbd +filestorage syslog ipv6"
103
104 S="${WORKDIR}/${MY_P}"
105
106 DEPEND="xen? ( >=app-emulation/xen-3.0 )
107 kvm? ( app-emulation/qemu-kvm )
108 drbd? ( >=sys-cluster/drbd-8.3 )
109 ipv6? ( net-misc/ndisc6 )
110 dev-libs/openssl
111 dev-python/paramiko
112 dev-python/pyopenssl
113 dev-python/pyparsing
114 dev-python/pycurl
115 dev-python/pyinotify
116 dev-python/simplejson
117 net-analyzer/arping
118 net-misc/bridge-utils
119 net-misc/curl[ssl]
120 net-misc/openssh
121 net-misc/socat
122 sys-apps/iproute2
123 sys-fs/lvm2
124 >=sys-apps/baselayout-2.0"
125 RDEPEND="${DEPEND}
126 !<app-emulation/ganeti-htools-0.3"
127
128 pkg_setup () {
129 confutils_require_any kvm xen
130 }
131
132 src_prepare () {
133 epatch "${FILESDIR}/${PN}-fix-start-stop.patch"
134 }
135
136 src_configure () {
137 local myconf
138 if use filestorage ; then
139 myconf="--with-file-storage-dir=/var/lib/ganeti-storage/file"
140 else
141 myconf="--with-file-storage-dir=no"
142 fi
143 if use kvm && [ -f /usr/bin/qemu-kvm ] ; then
144 myconf="--with-kvm-path=/usr/bin/qemu-kvm"
145 fi
146 econf --localstatedir=/var \
147 --docdir=/usr/share/doc/${P} \
148 --with-ssh-initscript=/etc/init.d/sshd \
149 --with-export-dir=/var/lib/ganeti-storage/export \
150 --with-os-search-path=/usr/share/ganeti/os \
151 $(use_enable syslog) \
152 ${myconf}
153 }
154
155 src_install () {
156 emake DESTDIR="${D}" install || die "emake install failed"
157 newinitd "${FILESDIR}"/ganeti-2.1.initd ganeti
158 newconfd "${FILESDIR}"/ganeti.confd ganeti
159 use kvm && newinitd "${FILESDIR}"/ganeti-kvm-poweroff.initd ganeti-kvm-poweroff
160 use kvm && newconfd "${FILESDIR}"/ganeti-kvm-poweroff.confd ganeti-kvm-poweroff
161 newbashcomp doc/examples/bash_completion ganeti
162 dodoc INSTALL UPGRADE NEWS README doc/*.rst
163 rm -rf "${D}"/usr/share/doc/ganeti
164 docinto examples
165 #dodoc doc/examples/{basic-oob,ganeti.cron,gnt-config-backup}
166 dodoc doc/examples/{ganeti.cron,gnt-config-backup}
167 docinto examples/hooks
168 dodoc doc/examples/hooks/{ipsec,ethers}
169
170 keepdir /var/{lib,log,run}/ganeti/
171 keepdir /usr/share/ganeti/os/
172 keepdir /var/lib/ganeti-storage/{export,file}/
173 }