forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-emulation/qemu-init-scripts: New version (formerly in the qemu-in…
…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
Showing
3 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
39
app-emulation/qemu-init-scripts/qemu-init-scripts-0.3.0.ebuild
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |