--- /dev/null
+<?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>
--- /dev/null
+# 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"
+}