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_rc0.ebuild
Date: Sun, 07 Nov 2010 01:04:42
Message-Id: 20101107010437.A81EE20051@flycatcher.gentoo.org
1 ramereth 10/11/07 01:04:37
2
3 Modified: ChangeLog
4 Added: ganeti-2.3.0_rc0.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.32 app-emulation/ganeti/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?rev=1.32&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?rev=1.32&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?r1=1.31&r2=1.32
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v
19 retrieving revision 1.31
20 retrieving revision 1.32
21 diff -u -r1.31 -r1.32
22 --- ChangeLog 19 Oct 2010 18:18:30 -0000 1.31
23 +++ ChangeLog 7 Nov 2010 01:04:37 -0000 1.32
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-emulation/ganeti
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v 1.31 2010/10/19 18:18:30 ramereth Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v 1.32 2010/11/07 01:04:37 ramereth Exp $
29 +
30 +*ganeti-2.3.0_rc0 (07 Nov 2010)
31 +
32 + 07 Nov 2010; Lance Albertson <ramereth@g.o>
33 + +ganeti-2.3.0_rc0.ebuild:
34 + version bump
35
36 *ganeti-2.2.1 (19 Oct 2010)
37
38
39
40
41 1.1 app-emulation/ganeti/ganeti-2.3.0_rc0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ganeti-2.3.0_rc0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ganeti-2.3.0_rc0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: ganeti-2.3.0_rc0.ebuild
47 ===================================================================
48 # Copyright 1999-2010 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.3.0_rc0.ebuild,v 1.1 2010/11/07 01:04:37 ramereth Exp $
51
52 EAPI=2
53
54 inherit eutils confutils bash-completion
55
56 MY_PV="${PV/_rc/~rc}"
57 #MY_PV="${PV/_beta/~beta}"
58 MY_P="${PN}-${MY_PV}"
59 DESCRIPTION="Ganeti is a virtual server management software tool"
60 HOMEPAGE="http://code.google.com/p/ganeti/"
61 SRC_URI="http://ganeti.googlecode.com/files/${MY_P}.tar.gz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="kvm xen drbd +filestorage syslog ipv6"
67
68 S="${WORKDIR}/${MY_P}"
69
70 DEPEND="xen? ( >=app-emulation/xen-3.0 )
71 kvm? ( app-emulation/qemu-kvm )
72 drbd? ( >=sys-cluster/drbd-8.0 )
73 ipv6? ( net-misc/ndisc6 )
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 }