diff options
Diffstat (limited to 'app-emulation/qemu-init-scripts')
-rw-r--r-- | app-emulation/qemu-init-scripts/Manifest | 3 | ||||
-rw-r--r-- | app-emulation/qemu-init-scripts/metadata.xml | 12 | ||||
-rw-r--r-- | app-emulation/qemu-init-scripts/qemu-init-scripts-0.3.0.ebuild | 38 |
3 files changed, 53 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..94f4c0607aa8 --- /dev/null +++ b/app-emulation/qemu-init-scripts/Manifest @@ -0,0 +1,3 @@ +DIST qemu-init-scripts-0.3.0.tar.xz 4584 BLAKE2B 836cdf49b5c85333a18fb9c18efb012598474617ffa35d2ff2eea717546da0f1f0374b98b315ad67a1fedc32bd65f3879f6553915aec2f3e230644a93862909b SHA512 49427572ce0636400ad3e389ed143fa9b1d637a7a89649cd5e265e409d3d745babe28f6af8cac3d9a249a8d5cc6554b321c0613f35824d604dcd814a44033c51 +EBUILD qemu-init-scripts-0.3.0.ebuild 930 BLAKE2B c34c3c6489cdba91e51ca3676439bfc3260b259e1c9cc35b1de434f44a3f01eab636716394455a234c025be109bbe5413aef1d914362b941964b3f04e26259cb SHA512 3f19d39cf2b662b3e924f29b69bd8c274eb4ef7e69a7ea665dd9f7e328c9c50fb802042bf59a810a94933b2ba590b08f60e7841fe77d7faa28e12c68decefb29 +MISC metadata.xml 360 BLAKE2B 847b11592ee02f8894809907bf04f974798e2d280a73fe578eeed7427e7af3d9386c3d7633f337c74a89e0a35da00b12c54ae2be17b1c1c72775fd74b1e93d95 SHA512 54b1475832c925059926edac8b587049c2e940969623a5626e080cf2d3cbea749ca7b33c2907f6624c036a157fca3f626ff3749eb0c32f4d10f510ebb50d0b55 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..59777cd58737 --- /dev/null +++ b/app-emulation/qemu-init-scripts/qemu-init-scripts-0.3.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Kvm and qemu init scripts" +HOMEPAGE="https://gitweb.gentoo.org/proj/kvm-tools.git/" + +SRC_URI="https://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" +} |