summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorotis <otis@pkgsrc.org>2019-12-10 21:14:58 +0000
committerotis <otis@pkgsrc.org>2019-12-10 21:14:58 +0000
commitc153a99578da6f27eb5f11aa7b5e9443cf2495cb (patch)
treea4d4015fa86ccbb396bbce59771e4fa3a5575d51 /sysutils
parent5a262146636daa799d7995e8b53e685672e9b798 (diff)
downloadpkgsrc-c153a99578da6f27eb5f11aa7b5e9443cf2495cb.tar.gz
virt-what: A script to detect if being run in virtual or bare metal environment
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/virt-what/DESCR8
-rw-r--r--sysutils/virt-what/Makefile15
-rw-r--r--sysutils/virt-what/PLIST4
-rw-r--r--sysutils/virt-what/distinfo6
4 files changed, 33 insertions, 0 deletions
diff --git a/sysutils/virt-what/DESCR b/sysutils/virt-what/DESCR
new file mode 100644
index 00000000000..e5ed3b3aeb2
--- /dev/null
+++ b/sysutils/virt-what/DESCR
@@ -0,0 +1,8 @@
+virt-what is a shell script which can be used to detect if the program
+is running in a virtual machine.
+
+virt-what supports a very large number of different hypervisor types,
+including common open source hypervisors (KVM, Xen, QEMU, VirtualBox),
+mainframe systems like IBM Systemz, LPAR, z/VM, hardware partitioning
+schemes like Hitachi Virtage, proprietary hypervisors like VMWare,
+Microsoft Hyper-V and much more.
diff --git a/sysutils/virt-what/Makefile b/sysutils/virt-what/Makefile
new file mode 100644
index 00000000000..960f448204c
--- /dev/null
+++ b/sysutils/virt-what/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1 2019/12/10 21:14:58 otis Exp $
+
+DISTNAME= virt-what-1.20
+CATEGORIES= sysutils
+MASTER_SITES= https://people.redhat.com/~rjones/virt-what/files/
+
+MAINTAINER= juraj@lutter.sk
+HOMEPAGE= https://people.redhat.com/~rjones/virt-what/
+COMMENT= Utility to determine whether it is being run in virtual environment
+LICENSE= gnu-gpl-v2
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= pod2man
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/virt-what/PLIST b/sysutils/virt-what/PLIST
new file mode 100644
index 00000000000..908b4268a07
--- /dev/null
+++ b/sysutils/virt-what/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2019/12/10 21:14:58 otis Exp $
+libexec/virt-what-cpuid-helper
+man/man1/virt-what.1
+sbin/virt-what
diff --git a/sysutils/virt-what/distinfo b/sysutils/virt-what/distinfo
new file mode 100644
index 00000000000..14ff34c5b5c
--- /dev/null
+++ b/sysutils/virt-what/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/12/10 21:14:58 otis Exp $
+
+SHA1 (virt-what-1.20.tar.gz) = 0ca1802b454290c5b676609aa585f3f3d7597e47
+RMD160 (virt-what-1.20.tar.gz) = e613845491394f7d0d6f4a23f13ef3827d4bd3d9
+SHA512 (virt-what-1.20.tar.gz) = edf74903122bfb422c7a5ecba711bb64d6ef668828f208dfc0571ef14f2643456c14bc9a77dfea209df3d93869ac0a2c9fd039779922eddc6ebd9d988585dea4
+Size (virt-what-1.20.tar.gz) = 459243 bytes