summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2016-03-24 10:34:14 -0700
committerBrian Dolbec <dolsen@gentoo.org>2016-03-24 10:42:55 -0700
commit92661ccb640228b284445e09c20a7b1a722adb8f (patch)
tree3c929527408083a63f8579b8f125432aae32d02f /app-emulation/qemu-init-scripts
parentnet-fs/samba: Adjusted dependencies (bug #578192). (diff)
downloadgentoo-92661ccb640228b284445e09c20a7b1a722adb8f.tar.gz
gentoo-92661ccb640228b284445e09c20a7b1a722adb8f.tar.bz2
gentoo-92661ccb640228b284445e09c20a7b1a722adb8f.zip
app-emulation/qemu-init-scripts: New version (formerly in the qemu-init overlay)
This version is the first in tree version. It includes several updates and additional config variables. The qtap-manipulate script has been updated to use ip addr commands. Package-Manager: portage-2.2.28_p64_p528199
Diffstat (limited to 'app-emulation/qemu-init-scripts')
-rw-r--r--app-emulation/qemu-init-scripts/Manifest1
-rw-r--r--app-emulation/qemu-init-scripts/metadata.xml12
-rw-r--r--app-emulation/qemu-init-scripts/qemu-init-scripts-0.3.0.ebuild39
3 files changed, 52 insertions, 0 deletions
diff --git a/app-emulation/qemu-init-scripts/Manifest b/app-emulation/qemu-init-scripts/Manifest
new file mode 100644
index 000000000000..99cbf936c83e
--- /dev/null
+++ b/app-emulation/qemu-init-scripts/Manifest
@@ -0,0 +1 @@
+DIST qemu-init-scripts-0.3.0.tar.xz 4584 SHA256 c2deb393bac7690b6ea7118ee21f414c1a115c7e9b932ebd3282969bedaa4447 SHA512 49427572ce0636400ad3e389ed143fa9b1d637a7a89649cd5e265e409d3d745babe28f6af8cac3d9a249a8d5cc6554b321c0613f35824d604dcd814a44033c51 WHIRLPOOL 9752dab9172f1b26cdad6e5d1e29b5272878ce8c357fd1cba182afa98dd9c4d746ac57def8fac24a6ff9bb5c53ff3b7fe81495133bd6381a835d29659a6b68b8
diff --git a/app-emulation/qemu-init-scripts/metadata.xml b/app-emulation/qemu-init-scripts/metadata.xml
new file mode 100644
index 000000000000..e5001f234976
--- /dev/null
+++ b/app-emulation/qemu-init-scripts/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>dolsen@gentoo.org</email>
+ <name>Brian Dolbec</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>rafaelmartins@gentoo.org</email>
+ <name>Rafael Martins</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-emulation/qemu-init-scripts/qemu-init-scripts-0.3.0.ebuild b/app-emulation/qemu-init-scripts/qemu-init-scripts-0.3.0.ebuild
new file mode 100644
index 000000000000..6e07fc73e79d
--- /dev/null
+++ b/app-emulation/qemu-init-scripts/qemu-init-scripts-0.3.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="Kvm and qemu init scripts"
+HOMEPAGE="https://gitweb.gentoo.org/proj/kvm-tools.git/"
+
+SRC_URI="http://dev.gentoo.org/~dolsen/releases/${PN}/${P}.tar.xz"
+LICENSE="GPL-2"
+SLOT=0
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ app-emulation/qemu
+ || ( net-misc/socat net-analyzer/netcat6 )"
+
+S="${PORTAGE_BUILDDIR}/work/${PN}"
+
+src_prepare() {
+ epatch_user
+}
+
+src_install() {
+ newinitd "${S}/"qemu-init-script qemu
+ newconfd "${S}/"qemu-conf.example qemu.conf.example
+ newsbin "${S}/"qtap-manipulate qtap-manipulate
+ dosym qemu /etc/init.d/kvm
+}
+
+pkg_postinst() {
+ elog "For bridging networking systems, you need these run time utilities:"
+ elog " net-misc/bridge-utils"
+ elog " sys-apps/usermode-utilities"
+ elog ""
+ elog "We will be updating these scripts to use"
+ elog "iptables exclusively in the future"
+}