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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5DE65158010 for ; Wed, 25 Jan 2023 07:21:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 69BCFE085A; Wed, 25 Jan 2023 07:21:45 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 54A23E085A for ; Wed, 25 Jan 2023 07:21:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 86B05340F7C for ; Wed, 25 Jan 2023 07:21:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E697284D for ; Wed, 25 Jan 2023 07:21:41 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1674630887.c5a5d8a318235f13e1c46719d77bc45ea574421a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/virt-what/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/virt-what/Manifest app-emulation/virt-what/virt-what-1.25.ebuild X-VCS-Directories: app-emulation/virt-what/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c5a5d8a318235f13e1c46719d77bc45ea574421a X-VCS-Branch: master Date: Wed, 25 Jan 2023 07:21:41 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3a73317c-bbff-4926-8b0f-b4faa45d181e X-Archives-Hash: aa0bc61d23335ce99102d50dcfab242d commit: c5a5d8a318235f13e1c46719d77bc45ea574421a Author: Sam James gentoo org> AuthorDate: Wed Jan 25 07:14:47 2023 +0000 Commit: Sam James gentoo org> CommitDate: Wed Jan 25 07:14:47 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5a5d8a3 app-emulation/virt-what: add 1.25 Signed-off-by: Sam James gentoo.org> app-emulation/virt-what/Manifest | 1 + app-emulation/virt-what/virt-what-1.25.ebuild | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/app-emulation/virt-what/Manifest b/app-emulation/virt-what/Manifest index de8d111b70bc..266b97d053ce 100644 --- a/app-emulation/virt-what/Manifest +++ b/app-emulation/virt-what/Manifest @@ -1 +1,2 @@ DIST virt-what-1.21.tar.gz 478767 BLAKE2B 7c48b84d9f1fe5f734921f68848b84beee2e5687a6ebfbc422a1349063e6a83c932a89cb2936239da6be033b72e6010694314cf106486cd6c54cd02652bc61a6 SHA512 14ace184c4aee5a09b855c1f5acaa619057aed1b9bf03c91ed1003e6a39ea69162c9fe452ea8162c7fe29825e0e2202cfc7d76e82f0cecea3e32405e5eb9f717 +DIST virt-what-1.25.tar.gz 516445 BLAKE2B 3f3403a3954e359005754e1ad2aba545a824ff9eb77e787615235c1042735f99a58d89f755c265324c16a9d0467e8332a67dff88b3ac15ae21a4f4f7a6dd3136 SHA512 0147b4b44ae0ee685977aa34dfa9bf30ae8e0eb31b7a6d5c0097d16f830fa6fb6afd7156964fc79f3fd5e82b2f68d921fd5306245cc63a2140f6dddc7fdd0e98 diff --git a/app-emulation/virt-what/virt-what-1.25.ebuild b/app-emulation/virt-what/virt-what-1.25.ebuild new file mode 100644 index 000000000000..d078ced80f50 --- /dev/null +++ b/app-emulation/virt-what/virt-what-1.25.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Detects if the current machine is running in a virtual machine" +HOMEPAGE="https://people.redhat.com/~rjones/virt-what/" +SRC_URI="https://people.redhat.com/~rjones/virt-what/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="dmi" + +DEPEND="dev-lang/perl" +RDEPEND="app-shells/bash + dmi? ( sys-apps/dmidecode )" + +src_prepare() { + default + + # Pretends to be POSIX sh while it is not + sed -e 's:/bin/sh:/bin/bash:' -i virt-what.in || die +}