diff options
Diffstat (limited to 'app-emulation/virt-what')
-rw-r--r-- | app-emulation/virt-what/Manifest | 2 | ||||
-rw-r--r-- | app-emulation/virt-what/virt-what-1.25.ebuild | 24 |
2 files changed, 26 insertions, 0 deletions
diff --git a/app-emulation/virt-what/Manifest b/app-emulation/virt-what/Manifest index 3e46192e0d6d..34205acf2d05 100644 --- a/app-emulation/virt-what/Manifest +++ b/app-emulation/virt-what/Manifest @@ -1,3 +1,5 @@ DIST virt-what-1.21.tar.gz 478767 BLAKE2B 7c48b84d9f1fe5f734921f68848b84beee2e5687a6ebfbc422a1349063e6a83c932a89cb2936239da6be033b72e6010694314cf106486cd6c54cd02652bc61a6 SHA512 14ace184c4aee5a09b855c1f5acaa619057aed1b9bf03c91ed1003e6a39ea69162c9fe452ea8162c7fe29825e0e2202cfc7d76e82f0cecea3e32405e5eb9f717 +DIST virt-what-1.25.tar.gz 516445 BLAKE2B 3f3403a3954e359005754e1ad2aba545a824ff9eb77e787615235c1042735f99a58d89f755c265324c16a9d0467e8332a67dff88b3ac15ae21a4f4f7a6dd3136 SHA512 0147b4b44ae0ee685977aa34dfa9bf30ae8e0eb31b7a6d5c0097d16f830fa6fb6afd7156964fc79f3fd5e82b2f68d921fd5306245cc63a2140f6dddc7fdd0e98 EBUILD virt-what-1.21.ebuild 620 BLAKE2B 4008314e92bcadd5725fdbec003aa62b7a10b765aec2059637d12403ca3095eb667d7c50446f7874680fc376880546b4fab2317120de627af88c692b9cd671cc SHA512 bebd7e82b06e1417e009989dd4c5dec2dc2f0c5902cc6a9d4ba7815627422f3fe95ca1f57ed9ea11e836000a13769f208d78e40e8baa0a7bb4f7d14e76ecc20d +EBUILD virt-what-1.25.ebuild 627 BLAKE2B aa0da9fc1b884ecb775e2812023a47f5b3cc769d30247d3ded3f5104a61eed2308a68d6a70b6a23382cef0f8047496caa2773ccc4e308210a2f7ecc6a0f65f22 SHA512 5d2e16c2e3a086efd4a143d00b395a33995a56e814d37a52f289868fdf739e4c7123b94db83ebb3c188bad8d2f1292b2b935e184fe9b5a2dfbc0f2ce9aa915a4 MISC metadata.xml 352 BLAKE2B 92128dbde8c4210379e7eee058e5621ec0b49c427585b09c130ae99494bf6922120029fa3c7c68414e84281a4a1aea0018bc7b3ec23189f97d6de9dae88a234b SHA512 4a5d1cbc2aaaf055bcca21bd542514a7bd45f36c78d2029438b191919fb4e139d9716036b58e13b4901e4702fb4ecf8d471686a1dec7402a973ca65c43f90e8b 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 +} |