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.4.0_rc3.ebuild ganeti-2.4.0_rc2.ebuild
Date: Tue, 01 Mar 2011 17:27:12
Message-Id: 20110301172702.62B5F2004F@flycatcher.gentoo.org
1 ramereth 11/03/01 17:27:02
2
3 Modified: ChangeLog
4 Added: ganeti-2.4.0_rc3.ebuild
5 Removed: ganeti-2.4.0_rc2.ebuild
6 Log:
7 Version bump for a critical bug
8
9 (Portage version: 2.1.9.25/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.43 app-emulation/ganeti/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?rev=1.43&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?rev=1.43&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ChangeLog?r1=1.42&r2=1.43
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v
21 retrieving revision 1.42
22 retrieving revision 1.43
23 diff -u -r1.42 -r1.43
24 --- ChangeLog 22 Feb 2011 17:12:09 -0000 1.42
25 +++ ChangeLog 1 Mar 2011 17:27:02 -0000 1.43
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.42 2011/02/22 17:12:09 ramereth Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ChangeLog,v 1.43 2011/03/01 17:27:02 ramereth Exp $
31 +
32 +*ganeti-2.4.0_rc3 (01 Mar 2011)
33 +
34 + 01 Mar 2011; Lance Albertson <ramereth@g.o>
35 + -ganeti-2.4.0_rc2.ebuild, +ganeti-2.4.0_rc3.ebuild:
36 + Version bump for a critical bug
37
38 *ganeti-2.4.0_rc2 (22 Feb 2011)
39
40
41
42
43 1.1 app-emulation/ganeti/ganeti-2.4.0_rc3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ganeti-2.4.0_rc3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/ganeti/ganeti-2.4.0_rc3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: ganeti-2.4.0_rc3.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.4.0_rc3.ebuild,v 1.1 2011/03/01 17:27:02 ramereth Exp $
53
54 EAPI=2
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 DESCRIPTION="Ganeti is a virtual server management software tool"
62 HOMEPAGE="http://code.google.com/p/ganeti/"
63 SRC_URI="http://ganeti.googlecode.com/files/${MY_P}.tar.gz"
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="kvm xen drbd +filestorage syslog ipv6"
69
70 S="${WORKDIR}/${MY_P}"
71
72 DEPEND="xen? ( >=app-emulation/xen-3.0 )
73 kvm? ( app-emulation/qemu-kvm )
74 drbd? ( >=sys-cluster/drbd-8.3 )
75 ipv6? ( net-misc/ndisc6 )
76 dev-libs/openssl
77 dev-python/paramiko
78 dev-python/pyopenssl
79 dev-python/pyparsing
80 dev-python/pycurl
81 dev-python/pyinotify
82 dev-python/simplejson
83 net-analyzer/arping
84 net-misc/bridge-utils
85 net-misc/curl[ssl]
86 net-misc/openssh
87 net-misc/socat
88 sys-apps/iproute2
89 sys-fs/lvm2"
90 RDEPEND="${DEPEND}"
91
92 pkg_setup () {
93 confutils_require_any kvm xen
94 }
95
96 src_configure () {
97 local myconf
98 if use filestorage ; then
99 myconf="--with-file-storage-dir=/var/lib/ganeti-storage/file"
100 else
101 myconf="--with-file-storage-dir=no"
102 fi
103 econf --localstatedir=/var \
104 --docdir=/usr/share/doc/${P} \
105 --with-ssh-initscript=/etc/init.d/sshd \
106 --with-export-dir=/var/lib/ganeti-storage/export \
107 --with-os-search-path=/usr/share/ganeti/os \
108 $(use_enable syslog) \
109 ${myconf}
110 }
111
112 src_install () {
113 emake DESTDIR="${D}" install || die "emake install failed"
114 newinitd "${FILESDIR}"/ganeti-2.1.initd ganeti
115 newconfd "${FILESDIR}"/ganeti.confd ganeti
116 use kvm && newinitd "${FILESDIR}"/ganeti-kvm-poweroff.initd ganeti-kvm-poweroff
117 use kvm && newconfd "${FILESDIR}"/ganeti-kvm-poweroff.confd ganeti-kvm-poweroff
118 dobashcompletion doc/examples/bash_completion ganeti
119 dodoc INSTALL UPGRADE NEWS README doc/*.rst
120 rm -rf "${D}"/usr/share/doc/ganeti
121 docinto examples
122 #dodoc doc/examples/{basic-oob,ganeti.cron,gnt-config-backup}
123 dodoc doc/examples/{ganeti.cron,gnt-config-backup}
124 docinto examples/hooks
125 dodoc doc/examples/hooks/{ipsec,ethers}
126
127 keepdir /var/{lib,log,run}/ganeti/
128 keepdir /usr/share/ganeti/os/
129 keepdir /var/lib/ganeti-storage/{export,file}/
130 }
131
132 pkg_postinst () {
133 bash-completion_pkg_postinst
134 }