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.5.0_beta3.ebuild ganeti-2.5.0_beta2.ebuild
Date: Mon, 05 Sep 2011 20:17:17
Message-Id: 20110905201706.DF5822004C@flycatcher.gentoo.org
1 ramereth 11/09/05 20:17:06
2
3 Modified: ChangeLog
4 Added: ganeti-2.5.0_beta3.ebuild
5 Removed: ganeti-2.5.0_beta2.ebuild
6 Log:
7 version bump
8
9 (Portage version: 2.1.10.3/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.54 app-emulation/ganeti/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?rev=1.54&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?rev=1.54&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?r1=1.53&r2=1.54
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v
21 retrieving revision 1.53
22 retrieving revision 1.54
23 diff -u -r1.53 -r1.54
24 --- ChangeLog 23 Aug 2011 15:36:10 -0000 1.53
25 +++ ChangeLog 5 Sep 2011 20:17:06 -0000 1.54
26 @@ -1,6 +1,12 @@
27 # ChangeLog for app-emulation/ganeti
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v 1.53 2011/08/23 15:36:10 ramereth Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v 1.54 2011/09/05 20:17:06 ramereth Exp $
31 +
32 +*ganeti-2.5.0_beta3 (05 Sep 2011)
33 +
34 + 05 Sep 2011; Lance Albertson <ramereth@g.o>
35 + -ganeti-2.5.0_beta2.ebuild, +ganeti-2.5.0_beta3.ebuild:
36 + Version bump
37
38 *ganeti-2.4.4 (23 Aug 2011)
39
40
41
42
43 1.1 app-emulation/ganeti/ganeti-2.5.0_beta3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ganeti-2.5.0_beta3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ganeti-2.5.0_beta3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: ganeti-2.5.0_beta3.ebuild
49 ===================================================================
50 # Copyright 1999-2011 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.5.0_beta3.ebuild,v 1.1 2011/09/05 20:17:06 ramereth Exp $
53
54 EAPI="4"
55
56 inherit eutils confutils bash-completion
57
58 #MY_PV="${PV/_rc/~rc}"
59 MY_PV="${PV/_beta/~beta}"
60 MY_P="${PN}-${MY_PV}"
61
62 if [[ ${PV} == "9999" ]] ; then
63 EGIT_REPO_URI="git://git.ganeti.org/ganeti.git"
64 inherit git-2
65 KEYWORDS=""
66 # you will need to pull in the haskell overlay for pandoc
67 GIT_DEPEND="app-text/pandoc
68 dev-python/docutils
69 dev-python/sphinx
70 media-libs/gd[fontconfig,jpeg,png,truetype]
71 media-gfx/graphviz
72 media-fonts/urw-fonts"
73 else
74 SRC_URI="http://ganeti.googlecode.com/files/${MY_P}.tar.gz"
75 KEYWORDS="~amd64 ~x86"
76 fi
77
78 DESCRIPTION="Ganeti is a virtual server management software tool"
79 HOMEPAGE="http://code.google.com/p/ganeti/"
80
81 LICENSE="GPL-2"
82 SLOT="0"
83 IUSE="kvm xen lxc drbd +filestorage sharedstorage htools syslog ipv6"
84
85 S="${WORKDIR}/${MY_P}"
86
87 DEPEND="xen? ( >=app-emulation/xen-3.0 )
88 kvm? ( app-emulation/qemu-kvm )
89 lxc? ( app-emulation/lxc )
90 drbd? ( >=sys-cluster/drbd-8.3 )
91 ipv6? ( net-misc/ndisc6 )
92 htools? (
93 >=dev-lang/ghc-6.10
94 dev-haskell/json
95 dev-haskell/curl
96 dev-haskell/network
97 || (
98 dev-haskell/parallel:1
99 dev-haskell/parallel:2
100 )
101 dev-haskell/parallel )
102 dev-libs/openssl
103 dev-python/paramiko
104 dev-python/pyopenssl
105 >=dev-python/pyparsing-1.4.6
106 dev-python/pycurl
107 dev-python/pyinotify
108 dev-python/simplejson
109 net-analyzer/arping
110 net-misc/bridge-utils
111 net-misc/curl[ssl]
112 net-misc/openssh
113 net-misc/socat
114 sys-apps/iproute2
115 sys-fs/lvm2
116 >=sys-apps/baselayout-2.0
117 ${GIT_DEPEND}"
118 RDEPEND="${DEPEND}
119 !app-emulation/ganeti-htools"
120
121 pkg_setup () {
122 confutils_require_any kvm xen lxc
123 }
124
125 src_prepare() {
126 if [[ ${PV} == "9999" ]] ; then
127 ./autogen.sh
128 fi
129 epatch "${FILESDIR}/${PN}-fix-start-stop.patch"
130 }
131
132 src_configure () {
133 local myconf
134 if use filestorage ; then
135 myconf="--with-file-storage-dir=/var/lib/ganeti-storage/file"
136 else
137 myconf="--with-file-storage-dir=no"
138 fi
139 if use sharedstorage ; then
140 myconf="--with-shared-file-storage-dir=/var/lib/ganeti-storage/shared"
141 else
142 myconf="--with-shared-file-storage-dir=no"
143 fi
144 econf --localstatedir=/var \
145 --docdir=/usr/share/doc/${P} \
146 --with-ssh-initscript=/etc/init.d/sshd \
147 --with-export-dir=/var/lib/ganeti-storage/export \
148 --with-os-search-path=/usr/share/ganeti/os \
149 $(use_enable syslog) \
150 $(use_enable htools) \
151 $(use_enable htools htools-rapi) \
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 dobashcompletion 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,shared}/
173 }
174
175 pkg_postinst () {
176 bash-completion_pkg_postinst
177 }