summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2010-08-07 02:43:29 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2010-08-07 02:43:29 +0000
commit47761a608fcf74fbae5920261174fc626daf934c (patch)
tree9a8421e91035a742187d21bccaa693e60558cb9f /app-emulation
parentversion bump (diff)
downloadgentoo-2-47761a608fcf74fbae5920261174fc626daf934c.tar.gz
gentoo-2-47761a608fcf74fbae5920261174fc626daf934c.tar.bz2
gentoo-2-47761a608fcf74fbae5920261174fc626daf934c.zip
Don't install the init script if we're not building the daemon; also don't add logs about networking in that case.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/libvirt/ChangeLog7
-rw-r--r--app-emulation/libvirt/libvirt-0.8.3.ebuild13
2 files changed, 16 insertions, 4 deletions
diff --git a/app-emulation/libvirt/ChangeLog b/app-emulation/libvirt/ChangeLog
index 3a97d21a3616..1402ceeaae4d 100644
--- a/app-emulation/libvirt/ChangeLog
+++ b/app-emulation/libvirt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-emulation/libvirt
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v 1.66 2010/08/06 01:48:05 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/ChangeLog,v 1.67 2010/08/07 02:43:29 flameeyes Exp $
+
+ 07 Aug 2010; Diego E. Pettenò <flameeyes@gentoo.org>
+ libvirt-0.8.3.ebuild:
+ Don't install the init script if we're not building the daemon; also don't
+ add logs about networking in that case.
06 Aug 2010; Diego E. Pettenò <flameeyes@gentoo.org>
libvirt-0.8.3.ebuild:
diff --git a/app-emulation/libvirt/libvirt-0.8.3.ebuild b/app-emulation/libvirt/libvirt-0.8.3.ebuild
index 004f7a6bdd26..3b7f753c3266 100644
--- a/app-emulation/libvirt/libvirt-0.8.3.ebuild
+++ b/app-emulation/libvirt/libvirt-0.8.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.8.3.ebuild,v 1.2 2010/08/06 01:48:06 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt/libvirt-0.8.3.ebuild,v 1.3 2010/08/07 02:43:29 flameeyes Exp $
BACKPORTS=2
@@ -168,12 +168,15 @@ src_install() {
EXAMPLE_DIR=/usr/share/doc/${PF}/python/examples \
|| die "emake install failed"
+ find "${D}" -name '*.la' -delete || die
+
+ use libvirtd || return 0
+ # From here, only libvirtd-related instructions, be warned!
+
newinitd "${FILESDIR}/libvirtd.init-r1" libvirtd || die
newconfd "${FILESDIR}/libvirtd.confd-r1" libvirtd || die
keepdir /var/lib/libvirt/images
-
- find "${D}" -name '*.la' -delete || die
}
pkg_preinst() {
@@ -203,6 +206,10 @@ pkg_postinst() {
elog "To allow normal users to connect to libvirtd you must change the"
elog " unix sock group and/or perms in /etc/libvirt/libvirtd.conf"
fi
+
+ use libvirtd || return 0
+ # From here, only libvirtd-related instructions, be warned!
+
elog
elog "For the basic networking support (bridged and routed networks)"
elog "you don't need any extra software. For more complex network modes"