summaryrefslogtreecommitdiff
path: root/app-emulation/qemu-init-scripts
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-02-05 18:44:56 +0000
commit29aabba0ea759c6a2864ff5631735b67ee38e5e0 (patch)
treeab466b4dfa7abecb401b2f8039d08af4689306bb /app-emulation/qemu-init-scripts
parentd42200bec37eef2a7478d88988ff00addd0a9202 (diff)
gentoo resync : 05.02.2020
Diffstat (limited to 'app-emulation/qemu-init-scripts')
-rw-r--r--app-emulation/qemu-init-scripts/Manifest2
-rw-r--r--app-emulation/qemu-init-scripts/files/openrc-run.patch10
-rw-r--r--app-emulation/qemu-init-scripts/qemu-init-scripts-0.3.0-r1.ebuild35
3 files changed, 47 insertions, 0 deletions
diff --git a/app-emulation/qemu-init-scripts/Manifest b/app-emulation/qemu-init-scripts/Manifest
index 22102fb06f54..611783d0e234 100644
--- a/app-emulation/qemu-init-scripts/Manifest
+++ b/app-emulation/qemu-init-scripts/Manifest
@@ -1,3 +1,5 @@
+AUX openrc-run.patch 291 BLAKE2B 68ad9f3a95a97131bb8699c0034c1c56d910ce9fc90fd89947b6612e3ae176904637eabb173c12b30d0c5dcfda40fbb29f5901e0a09de72f989059d64b1d6df4 SHA512 313e201b4040d2550b75c9155871152d6d82c9d20a04bc49e31fb74864ad454b86024b951e8c4ff0776247c4243705d65de0f82d1cef85ddd733cc1ea77c6d4f
DIST qemu-init-scripts-0.3.0.tar.xz 4584 BLAKE2B 836cdf49b5c85333a18fb9c18efb012598474617ffa35d2ff2eea717546da0f1f0374b98b315ad67a1fedc32bd65f3879f6553915aec2f3e230644a93862909b SHA512 49427572ce0636400ad3e389ed143fa9b1d637a7a89649cd5e265e409d3d745babe28f6af8cac3d9a249a8d5cc6554b321c0613f35824d604dcd814a44033c51
+EBUILD qemu-init-scripts-0.3.0-r1.ebuild 896 BLAKE2B fb57e8c0cad605764e74d51e09c48437d288269e9d83a9f8f922e9e96270f9708a1e4fe658c4c7238cd164cc019bdadeed831359b37b6c4d391d36687b3b84b8 SHA512 c5ccf949ec17f6a5a3d445ef696e67cdb4c09d25314f4f5ec53e6c94897ccdfd47a6f0b359d6561b4311e21b06b6237f8a3e894ecd2810b95491480c214adc12
EBUILD qemu-init-scripts-0.3.0.ebuild 899 BLAKE2B 87d9829842fd19720de1039a1bd02a6c0102197a16ed788f856c768e38ed50db6e72ebac194c36bdfec266dafecc79b3b4b9c98bca5eaff7e26aa2d3170300a4 SHA512 8b525350d3725cf6806c5ab45db1093a0a87c1e44cde78cb5177a9658ada754b2c13a020c84aa32342c4d0bbb00d1a6f1c9fac4270f0c6e07492b754a11b43ca
MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33
diff --git a/app-emulation/qemu-init-scripts/files/openrc-run.patch b/app-emulation/qemu-init-scripts/files/openrc-run.patch
new file mode 100644
index 000000000000..5592ff2e1151
--- /dev/null
+++ b/app-emulation/qemu-init-scripts/files/openrc-run.patch
@@ -0,0 +1,10 @@
+diff --git a/qemu-init-script b/qemu-init-script
+index 937ddfe..b2c060f 100755
+--- a/qemu-init-script
++++ b/qemu-init-script
+@@ -1,4 +1,4 @@
+-#!/sbin/runscript
++#!/sbin/openrc-run
+ # Copyright 2009-2013 Gentoo Foundation
+ # Distributed under the terms of the GNU General Public License v2
+
diff --git a/app-emulation/qemu-init-scripts/qemu-init-scripts-0.3.0-r1.ebuild b/app-emulation/qemu-init-scripts/qemu-init-scripts-0.3.0-r1.ebuild
new file mode 100644
index 000000000000..b953a36d13ca
--- /dev/null
+++ b/app-emulation/qemu-init-scripts/qemu-init-scripts-0.3.0-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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"
+
+S="${WORKDIR}/${PN}"
+PATCHES=( "${FILESDIR}"/openrc-run.patch )
+
+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"
+}