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