summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2012-10-29 07:00:46 +0000
committerDoug Goldstein <cardoe@gentoo.org>2012-10-29 07:00:46 +0000
commit3dc29d75bdb806175773c5334b80f7a89a45ea2a (patch)
treed65c85d82ef5fc6a8c1a35d658e1788caedd7919 /app-emulation/qemu-guest-agent
parentBump (diff)
downloadgentoo-2-3dc29d75bdb806175773c5334b80f7a89a45ea2a.tar.gz
gentoo-2-3dc29d75bdb806175773c5334b80f7a89a45ea2a.tar.bz2
gentoo-2-3dc29d75bdb806175773c5334b80f7a89a45ea2a.zip
Version bump. Always install systemd files.
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/qemu-guest-agent')
-rw-r--r--app-emulation/qemu-guest-agent/ChangeLog8
-rw-r--r--app-emulation/qemu-guest-agent/qemu-guest-agent-1.2.0.ebuild64
2 files changed, 71 insertions, 1 deletions
diff --git a/app-emulation/qemu-guest-agent/ChangeLog b/app-emulation/qemu-guest-agent/ChangeLog
index 3eb32aa0b6ae..40e0bb41bbe0 100644
--- a/app-emulation/qemu-guest-agent/ChangeLog
+++ b/app-emulation/qemu-guest-agent/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-emulation/qemu-guest-agent
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-guest-agent/ChangeLog,v 1.3 2012/10/09 20:47:53 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-guest-agent/ChangeLog,v 1.4 2012/10/29 07:00:46 cardoe Exp $
+
+*qemu-guest-agent-1.2.0 (29 Oct 2012)
+
+ 29 Oct 2012; Doug Goldstein <cardoe@gentoo.org>
+ +qemu-guest-agent-1.2.0.ebuild:
+ Version bump. Always install systemd files.
09 Oct 2012; Doug Goldstein <cardoe@gentoo.org>
qemu-guest-agent-1.1.1.ebuild:
diff --git a/app-emulation/qemu-guest-agent/qemu-guest-agent-1.2.0.ebuild b/app-emulation/qemu-guest-agent/qemu-guest-agent-1.2.0.ebuild
new file mode 100644
index 000000000000..b9480e6b7e02
--- /dev/null
+++ b/app-emulation/qemu-guest-agent/qemu-guest-agent-1.2.0.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-guest-agent/qemu-guest-agent-1.2.0.ebuild,v 1.1 2012/10/29 07:00:46 cardoe Exp $
+
+EAPI=4
+
+inherit systemd
+
+MY_PN="qemu"
+MY_P="${MY_PN}-${PV}"
+
+if [[ ${PV} = *9999* ]]; then
+ EGIT_REPO_URI="git://git.qemu.org/qemu.git"
+ inherit git-2
+ SRC_URI=""
+ KEYWORDS=""
+else
+ SRC_URI="http://wiki.qemu.org/download/${MY_P}.tar.bz2"
+ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
+fi
+
+DESCRIPTION="QEMU Guest Agent (qemu-ga) for use when running inside a VM"
+HOMEPAGE="http://wiki.qemu.org/Features/QAPI/GuestAgent"
+
+LICENSE="GPL-2 BSD-2"
+SLOT="0"
+IUSE=""
+
+DEPEND=">=dev-libs/glib-2.22"
+RDEPEND="${DEPEND}
+ !<app-emulation/qemu-1.1.1-r1"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ ./configure
+}
+
+src_compile() {
+ emake qemu-ga
+}
+
+src_install() {
+ dobin qemu-ga
+
+ # Normal init stuff
+ newinitd "${FILESDIR}/qemu-ga.init" qemu-guest-agent
+ newconfd "${FILESDIR}/qemu-ga.conf" qemu-guest-agent
+
+ insinto /etc/logrotate.d/
+ newins "${FILESDIR}/qemu-ga.logrotate" qemu-guest-agent
+
+ # systemd stuff
+ insinto /lib/udev/rules.d/
+ newins "${FILESDIR}/qemu-ga-systemd.udev" 99-qemu-guest-agent.rules
+
+ systemd_newunit "${FILESDIR}/qemu-ga-systemd.service" \
+ qemu-guest-agent.service
+}
+
+pkg_postinst() {
+ elog "You should add 'qemu-guest-agent' to the default runlevel."
+ elog "e.g. rc-update add qemu-guest-agent default"
+}