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.3.0.ebuild ganeti-2.3.0_rc1.ebuild ganeti-2.3.0_rc0.ebuild
Date: Wed, 01 Dec 2010 17:27:16
Message-Id: 20101201172657.77EB320054@flycatcher.gentoo.org
1 ramereth 10/12/01 17:26:57
2
3 Modified: ChangeLog
4 Added: ganeti-2.3.0.ebuild
5 Removed: ganeti-2.3.0_rc1.ebuild ganeti-2.3.0_rc0.ebuild
6 Log:
7 bump to version 2.3.0
8 (Portage version: 2.1.8.3/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.36 app-emulation/ganeti/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?rev=1.36&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?rev=1.36&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?r1=1.35&r2=1.36
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v
20 retrieving revision 1.35
21 retrieving revision 1.36
22 diff -u -r1.35 -r1.36
23 --- ChangeLog 23 Nov 2010 15:43:30 -0000 1.35
24 +++ ChangeLog 1 Dec 2010 17:26:57 -0000 1.36
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.35 2010/11/23 15:43:30 ramereth Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v 1.36 2010/12/01 17:26:57 ramereth Exp $
30 +
31 +*ganeti-2.3.0 (01 Dec 2010)
32 +
33 + 01 Dec 2010; Lance Albertson <ramereth@g.o>
34 + -ganeti-2.3.0_rc0.ebuild, -ganeti-2.3.0_rc1.ebuild, +ganeti-2.3.0.ebuild:
35 + bump to version 2.3.0
36
37 23 Nov 2010; Lance Albertson <ramereth@g.o> ganeti-2.2.0.ebuild,
38 ganeti-2.2.1.ebuild, ganeti-2.2.2.ebuild, ganeti-2.3.0_rc0.ebuild,
39
40
41
42 1.1 app-emulation/ganeti/ganeti-2.3.0.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ganeti-2.3.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ganeti-2.3.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ganeti-2.3.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.3.0.ebuild,v 1.1 2010/12/01 17:26:57 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 ipv6"
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.3 )
74 ipv6? ( net-misc/ndisc6 )
75 dev-libs/openssl
76 dev-python/paramiko
77 dev-python/pyopenssl
78 dev-python/pyparsing
79 dev-python/pycurl
80 dev-python/pyinotify
81 dev-python/simplejson
82 net-analyzer/arping
83 net-misc/bridge-utils
84 net-misc/curl[ssl]
85 net-misc/openssh
86 net-misc/socat
87 sys-apps/iproute2
88 sys-fs/lvm2"
89 RDEPEND="${DEPEND}"
90
91 pkg_setup () {
92 confutils_require_any kvm xen
93 }
94
95 src_configure () {
96 local myconf
97 if use filestorage ; then
98 myconf="--with-file-storage-dir=/var/lib/ganeti-storage/file"
99 else
100 myconf="--with-file-storage-dir=no"
101 fi
102 econf --localstatedir=/var \
103 --docdir=/usr/share/doc/${P} \
104 --with-ssh-initscript=/etc/init.d/sshd \
105 --with-export-dir=/var/lib/ganeti-storage/export \
106 --with-os-search-path=/usr/share/ganeti/os \
107 $(use_enable syslog) \
108 ${myconf}
109 }
110
111 src_install () {
112 emake DESTDIR="${D}" install || die "emake install failed"
113 newinitd "${FILESDIR}"/ganeti-2.1.initd ganeti
114 newconfd "${FILESDIR}"/ganeti.confd ganeti
115 dobashcompletion doc/examples/bash_completion ganeti
116 dodoc INSTALL NEWS README doc/*.rst
117 rm -rf "${D}"/usr/share/doc/ganeti
118 docinto examples
119 dodoc doc/examples/{dumb-allocator,ganeti.cron,gnt-config-backup}
120 docinto examples/hooks
121 dodoc doc/examples/hooks/{ipsec,ethers}
122
123 keepdir /var/{lib,log,run}/ganeti/
124 keepdir /usr/share/ganeti/os/
125 keepdir /var/lib/ganeti-storage/{export,file}/
126 }
127
128 pkg_postinst () {
129 bash-completion_pkg_postinst
130 }