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