Skip to content

Commit

Permalink
app-emulation/qemu-init-scripts: New version (formerly in the qemu-in…
Browse files Browse the repository at this point in the history
…it 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
  • Loading branch information
dol-sen committed Mar 24, 2016
1 parent b6e31c2 commit 92661cc
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-emulation/qemu-init-scripts/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST qemu-init-scripts-0.3.0.tar.xz 4584 SHA256 c2deb393bac7690b6ea7118ee21f414c1a115c7e9b932ebd3282969bedaa4447 SHA512 49427572ce0636400ad3e389ed143fa9b1d637a7a89649cd5e265e409d3d745babe28f6af8cac3d9a249a8d5cc6554b321c0613f35824d604dcd814a44033c51 WHIRLPOOL 9752dab9172f1b26cdad6e5d1e29b5272878ce8c357fd1cba182afa98dd9c4d746ac57def8fac24a6ff9bb5c53ff3b7fe81495133bd6381a835d29659a6b68b8
12 changes: 12 additions & 0 deletions app-emulation/qemu-init-scripts/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>Brian Dolbec</name>
</maintainer>
<maintainer type="person">
<email>[email protected]</email>
<name>Rafael Martins</name>
</maintainer>
</pkgmetadata>
39 changes: 39 additions & 0 deletions app-emulation/qemu-init-scripts/qemu-init-scripts-0.3.0.ebuild
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit 92661cc

Please sign in to comment.