debian/0000755000000000000000000000000012206613266007172 5ustar debian/control0000644000000000000000000000422612206613266010601 0ustar Source: imvirt Section: admin Priority: optional Maintainer: Patrick Matthäi Build-Depends: debhelper (>= 9), hardening-wrapper, libfile-which-perl, libfile-slurp-perl, libmodule-find-perl Standards-Version: 3.9.4 Homepage: http://micky.ibh.net/~liske/imvirt.html Package: imvirt Architecture: all Pre-Depends: dpkg (>= 1.15.6~) Depends: ${misc:Depends}, ${perl:Depends}, libimvirt-perl (= ${source:Version}) Description: detects several virtualizations This Perl script tries to detect if it is run in a virtualization container. . In this version it is able to detect the following virtualization technologies: ARAnyM KVM lguest LXC OpenVZ/Virtuozzo QEMU UML VMware GSX, ESX, Workstation Virtual PC/Virtual Server VirtualBox Xen (para and non-para virtualized) . And much more. Package: libimvirt-perl Architecture: all Section: perl Pre-Depends: dpkg (>= 1.15.6~) Depends: ${misc:Depends}, ${perl:Depends}, imvirt-helper (>= ${source:Version}), libmodule-find-perl, libfile-slurp-perl, libfile-which-perl, pciutils Suggests: dmidecode Description: Perl module for detecting several virtualizations This Perl module is able to determine, on which virtualization it is running. . In this version it is able to detect the following virtualization technologies: ARAnyM KVM lguest LXC OpenVZ/Virtuozzo QEMU UML VMware GSX, ESX, Workstation Virtual PC/Virtual Server VirtualBox Xen (para and non-para virtualized) . And much more. Package: imvirt-helper Architecture: any Pre-Depends: dpkg (>= 1.15.6~) Depends: ${misc:Depends}, ${shlibs:Depends}, libmime-lite-perl Recommends: libimvirt-perl Suggests: imvirt Breaks: imvirt (<< 0.9.3-3) Replaces: imvirt (<< 0.9.3-3) Description: helper programs to detect several virtualizations This package includes several helper programs from imvirt to test for several virtualizations. . In this version it is able to detect the following virtualization technologies: ARAnyM KVM lguest LXC OpenVZ/Virtuozzo QEMU UML VMware GSX, ESX, Workstation Virtual PC/Virtual Server VirtualBox Xen (para and non-para virtualized) . And much more. debian/imvirt-helper.install0000644000000000000000000000002712206613266013350 0ustar imvirt-report usr/bin/ debian/changelog0000644000000000000000000002274312206613266011054 0ustar imvirt (0.9.6-1) unstable; urgency=low * New upstream release. - Handle undefined %cpuinfo entries gracefully. Closes: #697961 - Do not die if /proc/cpuinfo is not available. Remove merged Debian patch 01-do-not-die-on-missing-cpuinfo. Closes: #709420, #693278 * Replace my old e-mail address in debian/copyright. * Point debian/watch to github. * Limit helper installation also only for Linux systems. This solves the Hurd FTBFS. * Add patch 01-spelling-error to fix an spelling error in the manpage. -- Patrick Matthäi Mon, 26 Aug 2013 10:46:18 +0200 imvirt (0.9.5-3) unstable; urgency=low * Bump compat level to 9. * Migrate package to minimal debhelper. * Uploading to unstable. -- Patrick Matthäi Mon, 20 May 2013 21:23:33 +0200 imvirt (0.9.5-2) experimental; urgency=low * Also add new build dependencies libfile-slurp-perl and libmodule-find-perl. * Install the binary imvirt-helper modules only on i386 and amd64 architectures. This fixes a FTBFS on all other architectures. * Add upstream patch 01-do-not-die-on-missing-cpuinfo to not die, if /proc/cpuinfo is unavailable, like on GNU/Hurd. Closes: #693278 -- Patrick Matthäi Thu, 22 Nov 2012 09:53:05 +0100 imvirt (0.9.5-1) experimental; urgency=low * New upstream release. - Remove merged patch 01-lxc-procfs-read. - Remove merged patch 02-kvm-double-dmesg-count. - Remove merged patch 03-lxc-physical. - imvirt-report manpage has been merged, install it from upstream. - Add new build dependency libfile-which-perl. -- Patrick Matthäi Mon, 19 Nov 2012 10:28:35 +0100 imvirt (0.9.4-5) experimental; urgency=low * Bump Standards-Version to 3.9.4 (no changes needed). * Switch to xz compression and add a Pre-Depends on dpkg. * Add missing word to long description of libimvirt-perl. Thanks Martin! Closes: #688663 * Package imvirt-helper should recommend libimvirt-perl. Closes: #688106 -- Patrick Matthäi Tue, 25 Sep 2012 09:48:36 +0200 imvirt (0.9.4-4) unstable; urgency=low * Add upstream patch 03-lxc-physical to fix an missdetection of physical hosts as LXC ones. -- Patrick Matthäi Sat, 01 Sep 2012 13:06:07 +0200 imvirt (0.9.4-3) unstable; urgency=low * Add upstream patch 01-lxc-procfs-read: LXC: Remove inapplicable /proc from procfs_read() parameter. * Add upstream patch 02-kvm-double-dmesg-count: KVM: Do not count dmesg line twice. * Merge 0.9.4-2~bpo60+1 changelog. -- Patrick Matthäi Mon, 13 Aug 2012 09:44:26 +0200 imvirt (0.9.4-2~bpo60+1) squeeze-backports; urgency=low * Rebuild for squeeze-backports. -- Patrick Matthäi Thu, 19 Jul 2012 08:55:15 +0200 imvirt (0.9.4-2) unstable; urgency=low * Move imvirt-report from /usr/lib/imvirt to /usr/bin and provide a manpage for it. -- Patrick Matthäi Sun, 20 May 2012 13:01:11 +0200 imvirt (0.9.4-1) unstable; urgency=low * New upstream release. - This should realy fix now the i386 FTBFS. - Drop patch 01-vmware-ftbfs. * Update long description with the current supported virtualizations. * Add libfile-which-perl dependency to the libimvirt-perl package. * Move dmidecode to suggests. * Add new architecture any imvirt-helper package and convert imvirt to architecture all to reflect the correct dependencies between libimvirt-perl and imvirt-helper. * Overwrite false positive lintian warnings about hardening-no-stackprotector. -- Patrick Matthäi Thu, 17 May 2012 23:21:18 +0200 imvirt (0.9.3-2) unstable; urgency=high * Add patch 01-vmware-ftbfs to fix another FTBFS on i386. -- Patrick Matthäi Tue, 15 May 2012 11:49:32 +0200 imvirt (0.9.3-1) unstable; urgency=high * New upstream release. - Fixed FTBFS on i386 with enabled hardening. - Add detection support for ARAnyM. Closes: #658914 - Add new imvirt-report binary. -- Patrick Matthäi Mon, 14 May 2012 20:22:04 +0200 imvirt (0.9.2-2) unstable; urgency=low * Bump Standards-Version to 3.9.3 (no changes needed). * Build with hardening-wrapper. -- Patrick Matthäi Sun, 22 Apr 2012 12:27:26 +0200 imvirt (0.9.2-1) unstable; urgency=low * New upstream release. - Better detection support added. Closes: #637416 - Remove all patches and the required automake call, they have been merged by upstream. * Add missing build-arch and build-indep debian/rules target. * Bump debian/compat to version 7. - Use dh_prep instead of dh_clean -k. * Wrap all debian/control lines. -- Patrick Matthäi Sun, 05 Feb 2012 14:08:05 +0100 imvirt (0.9.1-1) unstable; urgency=low * New upstream release. - Improved KVM detection. Closes: #620000 -- Patrick Matthäi Sat, 11 Jun 2011 11:37:41 +0200 imvirt (0.9.0-5) unstable; urgency=low * Bump Standards-Version to 3.9.2 (no changes needed). -- Patrick Matthäi Sat, 30 Apr 2011 16:20:43 +0200 imvirt (0.9.0-4) unstable; urgency=low * Add missing dependency on pciutils. Closes: #612735 -- Patrick Matthäi Tue, 15 Mar 2011 19:57:13 +0100 imvirt (0.9.0-3) unstable; urgency=low * Fix debian/watch. The project has been moved from apt-dater to it is own. * Update Standards-Version to 3.9.1 (no changes needed). -- Patrick Matthäi Tue, 28 Sep 2010 18:31:23 +0200 imvirt (0.9.0-2) unstable; urgency=low * Pass INSTALLDIRS=vendor to Makefile.PL. Much thanks to Ansgar Burchardt for his patch and spotting this problem. Closes: #578798 -- Patrick Matthäi Sun, 02 May 2010 10:01:50 +0200 imvirt (0.9.0-1) unstable; urgency=low * New upstream release. - Add new libimvirt-perl package. * Merge 0.3.1+svn426-1~bpo50+1 changelog. -- Patrick Matthäi Sat, 03 Apr 2010 16:10:26 +0200 imvirt (0.3.2-2~bpo50+1) lenny-backports; urgency=low * Rebuild for lenny-backports. - Revert the 3.0 (quilt) format. -- Patrick Matthäi Wed, 17 Feb 2010 21:09:59 +0100 imvirt (0.3.2-2) unstable; urgency=low * Install a reportbug script, which adds some important information to the bugreport, like the output of detect, imvirt and the content of /proc/cpuinfo. -- Patrick Matthäi Sat, 06 Feb 2010 14:11:55 +0100 imvirt (0.3.2-1) unstable; urgency=low * New upstream release. - Fix false positive detection on P4 systems. Closes: #566656 * Merge 0.3.1+svn426-1~bpo50+1 changelog. * Bump Standards-Version to 3.8.4 (no changes needed). -- Patrick Matthäi Mon, 01 Feb 2010 19:24:54 +0100 imvirt (0.3.1+svn426-1~bpo50+1) lenny-backports; urgency=low * Rebuild for lenny-backports. * Do not use DebSrc format 3.0. -- Patrick Matthäi Sun, 20 Dec 2009 11:44:33 +0100 imvirt (0.3.1+svn426-1) unstable; urgency=low * New upstream subversion snapshot. - Fixes an error which appears in the kernel ring buffer on amd64 systems. * Merge 0.3.1-1~bpo50+1 changelog. * Convert package to the 3.0 (quilt) format. -- Patrick Matthäi Fri, 13 Nov 2009 12:13:34 +0100 imvirt (0.3.1-1~bpo50+1) lenny-backports; urgency=low * Rebuild for lenny-backports. -- Patrick Matthäi Sun, 27 Sep 2009 15:27:36 +0200 imvirt (0.3.1-1) unstable; urgency=low * New upstream release - Package is now arch:any. - Drop manpage, it is in upstreams tarball now. - Adjust debian/copyright informations. * Set homepage location away from sourceforge, so I do not get anymore emails about the pseudo wrong homepage entry. * Bump Standards-Version to 3.8.3 (no changes needed). * Remove useless dirs file. -- Patrick Matthäi Sat, 12 Sep 2009 21:12:12 +0200 imvirt (0.2.1-3) unstable; urgency=low * Fix typo in get-orig-source target. * Merge 0.2-1~bpo50+1 and 0.2.1-1~bpo50+1 changelog. * Bump Standards-Version to 3.8.2 (no changes needed). -- Patrick Matthäi Thu, 18 Jun 2009 08:58:18 +0200 imvirt (0.2.1-2) unstable; urgency=low * Change my email address. * Remove DM-Upload-Allowed control field. * Refer in debian/copyright to the GPL-2 file instead of GPL. This fixes the lintian warning copyright-refers-to-symlink-license. * Install upstreams changelog. -- Patrick Matthäi Thu, 23 Apr 2009 09:01:41 +0200 imvirt (0.2.1-1~bpo50+1) lenny-backports; urgency=low * Rebuild for lenny-backports. -- Patrick Matthäi Tue, 24 Mar 2009 21:30:42 +0200 imvirt (0.2.1-1) unstable; urgency=low * New upstream release. - Properly detect paravirt Xen. Closes: #519207 * Add get-orig-source target. * Bump Standards-Version to 3.8.1 (no changes needed). * Fix copyright-with-old-dh-make-debian-copyright. Thanks lintian. -- Patrick Matthäi Thu, 12 Mar 2009 10:36:04 +0200 imvirt (0.2-1~bpo50+1) lenny-backports; urgency=low * Rebuild for lenny-backports. -- Patrick Matthäi Tue, 17 Feb 2009 18:14:09 +0200 imvirt (0.2-1) unstable; urgency=low * Initial release. Closes: #506984 -- Patrick Matthäi Wed, 26 Nov 2008 19:40:06 +0100 debian/reportbug/0000755000000000000000000000000012206613266011203 5ustar debian/reportbug/script0000755000000000000000000000047112206613266012437 0ustar #!/bin/sh PATH="/sbin:$PATH" exec >&3 if [ -x /usr/lib/imvirt/detect ] ; then printf "detect -c output:\n" /usr/lib/imvirt/detect -c fi printf "\n" if [ -x /usr/bin/imvirt ] ; then printf "imvirt output:\n" /usr/bin/imvirt fi printf "\n" printf "/proc/cpuinfo output:\n" cat /proc/cpuinfo printf "\n" debian/docs0000644000000000000000000000003412206613266010042 0ustar README debian/README.Debian debian/imvirt.manpages0000644000000000000000000000004712206613266012222 0ustar debian/tmp/usr/share/man/man1/imvirt.1 debian/README.Debian0000644000000000000000000000032212206613266011230 0ustar imvirt optionaly also uses dmidecode from the dmidecode package to determine the used virtualization technology. dmidecode could just be called from the user "root", because it also needs access to "/dev/mem". debian/install0000644000000000000000000000005612206613266010564 0ustar debian/reportbug/script usr/share/bug/imvirt/ debian/imvirt-helper.manpages0000644000000000000000000000002412206613266013472 0ustar man/imvirt-report.1 debian/copyright0000644000000000000000000000446412206613266011135 0ustar This package was debianized by Patrick Matthäi on Wed, 26 Nov 2008 19:52:23 +0200. It was downloaded from . Upstream Author: Thomas Liske Copyright: 2008 by IBH IT-Service GmbH License (helper/xen.c, helper/detect.c:): Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License (everything else): This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2 file. The Debian packaging is © 2008-2009, Patrick Matthäi and is licensed under the GPL, see above. debian/libimvirt-perl.manpages0000644000000000000000000000005112206613266013644 0ustar debian/tmp/usr/share/man/man3/ImVirt.3pm debian/watch0000644000000000000000000000013412206613266010221 0ustar version=3 https://github.com/DE-IBH/imvirt/releases \ /DE-IBH/imvirt/archive/v(.+)\.tar\.gz debian/rules0000755000000000000000000000102612206613266010251 0ustar #!/usr/bin/make -f export DEB_BUILD_HARDENING=1 %: dh $@ override_dh_auto_configure: ./configure --prefix=/usr --libexec=/usr/lib override_dh_auto_test: override_dh_install: dh_install ifneq (,$(findstring linux,$(DEB_BUILD_ARCH_OS))) ifneq (,$(findstring i386,$(DEB_BUILD_ARCH))) dh_install -pimvirt-helper "debian/tmp/usr/lib/imvirt/" "usr/lib/" endif ifneq (,$(findstring amd64,$(DEB_BUILD_ARCH))) dh_install -pimvirt-helper "debian/tmp/usr/lib/imvirt/" "usr/lib/" endif endif override_dh_builddeb: dh_builddeb -- -Zxz debian/imvirt.install0000644000000000000000000000004312206613266012071 0ustar debian/tmp/usr/bin/imvirt usr/bin/ debian/libimvirt-perl.install0000644000000000000000000000015212206613266013521 0ustar debian/tmp/usr/share/perl5/ImVirt.pm usr/share/perl5/ debian/tmp/usr/share/perl5/ImVirt/ usr/share/perl5/ debian/patches/0000755000000000000000000000000012206613266010621 5ustar debian/patches/series0000644000000000000000000000002712206613266012035 0ustar 01-spelling-error.diff debian/patches/01-spelling-error.diff0000644000000000000000000000135112206613266014635 0ustar # Fix spelling error in manpage. diff -Naur imvirt-0.9.6.orig/man/imvirt.1 imvirt-0.9.6/man/imvirt.1 --- imvirt-0.9.6.orig/man/imvirt.1 2013-08-23 22:06:01.000000000 +0200 +++ imvirt-0.9.6/man/imvirt.1 2013-08-26 10:44:30.989311568 +0200 @@ -13,7 +13,7 @@ But there is at the moment a restriction if you do not call this script with the administrative root user, because \fBimvirt\fR also uses \fBdmidecode\fR to determine the used virtualization technology. \fBdmidecode\fR itself needs root -privileges to accesss /dev/mem. So on you have to wrap \fBimvirt\fR with sudo +privileges to access /dev/mem. So on you have to wrap \fBimvirt\fR with sudo if you want to detect every virtualization technology. .SH "SEE ALSO" .BR dmidecode (8) debian/source/0000755000000000000000000000000012206613266010472 5ustar debian/source/format0000644000000000000000000000001412206613266011700 0ustar 3.0 (quilt) debian/imvirt-helper.lintian-overrides0000644000000000000000000000020312206613266015334 0ustar imvirt-helper: hardening-no-stackprotector usr/lib/imvirt/pillbox imvirt-helper: hardening-no-stackprotector usr/lib/imvirt/vmware debian/compat0000644000000000000000000000000212206613266010370 0ustar 9