From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC343138335 for ; Tue, 2 Oct 2018 21:43:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85BE3E08D6; Tue, 2 Oct 2018 21:43:43 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 464E8E08D6 for ; Tue, 2 Oct 2018 21:43:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 71BDD335CFF for ; Tue, 2 Oct 2018 21:43:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BD7843D3 for ; Tue, 2 Oct 2018 21:43:32 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1538516458.6e7ae9ee54570463d3d67653594983f0908a3c4f.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/nemu/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/nemu/Manifest app-emulation/nemu/nemu-2.1.0.ebuild X-VCS-Directories: app-emulation/nemu/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 6e7ae9ee54570463d3d67653594983f0908a3c4f X-VCS-Branch: master Date: Tue, 2 Oct 2018 21:43:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2b29cf71-f3ad-4399-928c-42f03fe6bd3f X-Archives-Hash: 638b64cfe3f9b4012069c399f0c16559 commit: 6e7ae9ee54570463d3d67653594983f0908a3c4f Author: Patrice Clement gentoo org> AuthorDate: Sun Sep 30 18:28:32 2018 +0000 Commit: Patrice Clement gentoo org> CommitDate: Tue Oct 2 21:40:58 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e7ae9ee app-emulation/nemu: version bump. Signed-off-by: Patrice Clement gentoo.org> Package-Manager: Portage-2.3.43, Repoman-2.3.9 app-emulation/nemu/Manifest | 1 + app-emulation/nemu/nemu-2.1.0.ebuild | 69 ++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) diff --git a/app-emulation/nemu/Manifest b/app-emulation/nemu/Manifest index 2f9727c7cc9..06297fc30b4 100644 --- a/app-emulation/nemu/Manifest +++ b/app-emulation/nemu/Manifest @@ -4,3 +4,4 @@ DIST nemu-1.3.0.tar.gz 70769 BLAKE2B 73108346c70f7ececd2b20cc91da323f2ecb4049140 DIST nemu-1.4.0.tar.gz 84398 BLAKE2B 46ed3dfa392e8be472047612f4131e80ae3675c30b975320dbd21672bb8c5b3fc74dc0c5d1c4a5397f04c4bd725902d3f9b7d10808cab10fc89bb8199568cc10 SHA512 262b2eb7ead79b644110ecd4ea1858ef8d9775f3076e4df9f9c83149c148baf2b6db4645395301fabbda07f1e9e5577fe4f56a7eee010433ce02aa298fcee1a5 DIST nemu-1.4.1.tar.gz 82891 BLAKE2B 2f2d85631fbde50513b56e86deb87c7ab8bf5478473ad8c1d3a5e6f276ce2a6b476667129ef3ee872de825736d1765d30db8a393c0a8e8b4308b6b5788095334 SHA512 b96388e3cf5106a21f189b375cedcb23f885b0f24c3c9b0e54bb51c04299c061ce2890b9dd168deb0b3afc70effa132e673f1475e42278fc6a6d703f7071c398 DIST nemu-2.0.0.tar.gz 85769 BLAKE2B daadbd5925d56d3747b59a3a8f28ceeeb24a674e57f003cf07c67c24dc0ed73f024d35e2f02836d89c7568b7ac51bfc3c6131afb4864febdd6ac6f86a827bfee SHA512 74c489e35b96699fcc5f9cabdbe4445c1cdad5b06c2a18928e2270e169b76e009463177990c4f4d80b160e06118b0b4e87209132cc0ae0ee3d77e2d811865f5a +DIST nemu-2.1.0.tar.gz 89117 BLAKE2B a44bf67990d79af0b73caf077266c4775f302ffc81d2394993da45870a72f462d487a92d63abdbe875c382d11b8d691f446a5e0b7270355770838ea86328fb1d SHA512 7e655227e22f5e2dd5ec1f77ef1635f1aaab2e57e417fb33d83d35cc67d7b802c35fa9174cf4282287213a1a825714743773260b96b452a382a8248fbef238bf diff --git a/app-emulation/nemu/nemu-2.1.0.ebuild b/app-emulation/nemu/nemu-2.1.0.ebuild new file mode 100644 index 00000000000..fad6abdf378 --- /dev/null +++ b/app-emulation/nemu/nemu-2.1.0.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit cmake-utils linux-info + +DESCRIPTION="ncurses interface for QEMU" +HOMEPAGE="https://lib.void.so/nemu" +SRC_URI="http://lib.void.so/src/${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+vnc-client +ovf savevm debug" + +RDEPEND=" + virtual/udev:= + dev-db/sqlite:3= + virtual/libusb:1 + app-emulation/qemu[vnc,virtfs] + sys-libs/ncurses:0=[unicode] + ovf? ( + dev-libs/libxml2 + app-arch/libarchive + ) + vnc-client? ( net-misc/tigervnc )" + +DEPEND=" + ${RDEPEND} + sys-devel/gettext" + +src_configure() { + local mycmakeargs=( + -DNM_WITH_VNC_CLIENT=$(usex vnc-client) + -DNM_DEBUG=$(usex debug) + -DNM_SAVEVM_SNAPSHOTS=$(usex savevm) + -DNM_WITH_OVF_SUPPORT=$(usex ovf) + ) + cmake-utils_src_configure +} + +pkg_pretend() { + if use kernel_linux; then + if ! linux_config_exists; then + eerror "Unable to check your kernel" + else + CONFIG_CHECK="~VETH ~MACVTAP" + ERROR_VETH="You will need the Virtual ethernet pair device driver compiled" + ERROR_VETH+=" into your kernel or loaded as a module to use the" + ERROR_VETH+=" local network settings feature." + ERROR_MACVTAP="You will also need support for MAC-VLAN based tap driver." + + check_extra_config + fi + fi +} + +pkg_postinst() { + elog "For non-root usage execute script:" + elog "/usr/share/nemu/scripts/setup_nemu_nonroot.sh linux " + elog "and add udev rule:" + elog "cp /usr/share/nemu/scripts/42-net-macvtap-perm.rules /lib/udev/rules.d" + if use savevm; then + elog "" + elog "QEMU must be patched with qemu-qmp-savevm-VERSION.patch" + elog "Get this patch from nEMU repository" + fi +}