Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-emulation/libvirt: libvirt-0.6.5-r1.ebuild ChangeLog
Date: Tue, 08 Sep 2009 21:24:15
Message-Id: E1Ml8Af-0007nA-2v@stork.gentoo.org
1 patrick 09/09/08 21:24:13
2
3 Modified: ChangeLog
4 Added: libvirt-0.6.5-r1.ebuild
5 Log:
6 Fixing netcat dep #280650 #237277 #283884
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.33 app-emulation/libvirt/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/ChangeLog?rev=1.33&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/ChangeLog?rev=1.33&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/ChangeLog?r1=1.32&r2=1.33
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v
19 retrieving revision 1.32
20 retrieving revision 1.33
21 diff -u -r1.32 -r1.33
22 --- ChangeLog 2 Aug 2009 14:27:07 -0000 1.32
23 +++ ChangeLog 8 Sep 2009 21:24:12 -0000 1.33
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-emulation/libvirt
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v 1.32 2009/08/02 14:27:07 cardoe Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v 1.33 2009/09/08 21:24:12 patrick Exp $
29 +
30 +*libvirt-0.6.5-r1 (08 Sep 2009)
31 +
32 + 08 Sep 2009; Patrick Lauer <patrick@g.o> +libvirt-0.6.5-r1.ebuild:
33 + Fixing netcat dep #280650 #237277 #283884
34
35 02 Aug 2009; Doug Goldstein <cardoe@g.o> libvirt-0.6.3-r3.ebuild,
36 libvirt-0.6.4-r1.ebuild, libvirt-0.6.5.ebuild:
37
38
39
40 1.1 app-emulation/libvirt/libvirt-0.6.5-r1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/libvirt-0.6.5-r1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-emulation/libvirt/libvirt-0.6.5-r1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: libvirt-0.6.5-r1.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.6.5-r1.ebuild,v 1.1 2009/09/08 21:24:12 patrick Exp $
50
51 EAPI="2"
52
53 inherit eutils autotools confutils
54
55 DESCRIPTION="C toolkit to manipulate virtual machines"
56 HOMEPAGE="http://www.libvirt.org/"
57 SRC_URI="http://libvirt.org/sources/${P}.tar.gz"
58 LICENSE="LGPL-2.1"
59 SLOT="0"
60 KEYWORDS="~amd64 ~x86"
61 IUSE="avahi iscsi hal kvm lvm +lxc +network nls numa openvz policykit \
62 parted qemu sasl selinux uml virtualbox xen"
63 # devicekit isn't in portage
64
65 RDEPEND="sys-libs/readline
66 sys-libs/ncurses
67 >=dev-libs/libxml2-2.5
68 >=net-libs/gnutls-1.0.25
69 dev-lang/python
70 sys-fs/sysfsutils
71 >=net-analyzer/netcat6-1.0-r2
72 avahi? ( >=net-dns/avahi-0.6 )
73 hal? ( >=sys-apps/hal-0.5.9 )
74 iscsi? ( sys-block/open-iscsi )
75 kvm? ( app-emulation/kvm )
76 lvm? ( sys-fs/lvm2 )
77 network? ( net-misc/bridge-utils net-dns/dnsmasq net-firewall/iptables )
78 numa? ( sys-process/numactl )
79 openvz? ( sys-kernel/openvz-sources )
80 parted? ( >=sys-apps/parted-1.8 )
81 policykit? ( >=sys-auth/policykit-0.6 )
82 qemu? ( >=app-emulation/qemu-0.10.0 )
83 sasl? ( dev-libs/cyrus-sasl )
84 selinux? ( sys-libs/libselinux )
85 virtualbox? ( || ( >=app-emulation/virtualbox-ose-2.2.0 >=app-emulation/virtualbox-bin-2.2.0 ) )
86 xen? ( app-emulation/xen-tools app-emulation/xen )"
87 DEPEND="${RDEPEND}
88 dev-util/pkgconfig"
89
90 pkg_setup() {
91 confutils_require_any lxc kvm openvz qemu uml virtualbox xen
92 }
93
94 src_configure() {
95 local my_conf=""
96 if use qemu || use kvm ; then
97 my_conf="--with-qemu"
98 else
99 my_conf="--without-qemu"
100 fi
101
102 econf \
103 $(use_with iscsi storage-iscsi) \
104 $(use_with lvm storage-lvm) \
105 $(use_with parted storage-disk) \
106 $(use_with lxc) \
107 $(use_with openvz) \
108 $(use_with uml) \
109 $(use_with virtualbox vbox) \
110 $(use_with xen) \
111 $(use_with xen xen-inotify) \
112 $(use_with avahi) \
113 $(use_with hal) \
114 $(use_with sasl) \
115 $(use_with network) \
116 $(use_with policykit polkit) \
117 $(use_with selinux) \
118 $(use_enable nls) \
119 $(use_with numa numactl) \
120 ${my_conf} \
121 --without-devkit \
122 --with-remote \
123 --disable-iptables-lokkit \
124 --localstatedir=/var \
125 --with-remote-pid-file=/var/run/libvirtd.pid
126 }
127
128 src_install() {
129 emake DESTDIR="${D}" install || die "emake instal lfailed"
130 mv "${D}"/usr/share/doc/{${PN}-python*,${P}/python}
131
132 newinitd "${FILESDIR}/libvirtd.init" libvirtd
133 newconfd "${FILESDIR}/libvirtd.confd" libvirtd
134
135 keepdir /var/lib/libvirt/images
136 }
137
138 pkg_postinst() {
139 elog "To allow normal users to connect to libvirtd you must change the"
140 elog " unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
141 elog
142 ewarn "If you have a DNS server setup on your machine, you will have"
143 ewarn "to configure /etc/dnsmasq.conf to enable the following settings: "
144 ewarn " bind-interfaces"
145 ewarn " interface or except-interface"
146 elog
147 ewarn "Otherwise you might have issues with your existing DNS server."
148 }