1
0
Fork 0

Adding debian version 7.0.20-dfsg-1.2.

Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
This commit is contained in:
Daniel Baumann 2025-06-22 09:56:25 +02:00
parent df1bda4fe9
commit aef005766e
Signed by: daniel.baumann
GPG key ID: BCC918A2ABD66424
95 changed files with 8429 additions and 0 deletions

18
debian/LocalConfig.kmk vendored Normal file
View file

@ -0,0 +1,18 @@
VBOX_WITH_ADDITION_DRIVERS =
VBOX_WITH_INSTALLER = 1
VBOX_WITH_LINUX_ADDITIONS = 1
VBOX_WITH_X11_ADDITIONS = 1
VBOX_WITH_TESTCASES =
VBOX_WITH_TESTSUITE =
VBOX_WITH_ORIGIN :=
VBOX_PATH_APP_PRIVATE_ARCH := /usr/lib/virtualbox
VBOX_PATH_SHARED_LIBS := $(VBOX_PATH_APP_PRIVATE_ARCH)
VBOX_WITH_RUNPATH := $(VBOX_PATH_APP_PRIVATE_ARCH)
VBOX_PATH_APP_PRIVATE := /usr/share/virtualbox
VBOX_PATH_APP_DOCS = /usr/share/doc/virtualbox
VBOX_WITH_VBOXBFE :=
VBOX_PATH_DOCBOOK_DTD := /usr/share/xml/docbook/schema/dtd/4/
VBOX_WITH_VBOX_IMG = 1
VBOX_WITH_HOST_SHIPPING_AUDIO_TEST=
VBOX_WITH_VALIDATIONKIT=
VBOX_WITH_VBOXSDL = 1

8
debian/NEWS vendored Normal file
View file

@ -0,0 +1,8 @@
virtualbox (7.0.20-dfsg-1.2) unstable; urgency=medium
In kernel 6.12, KVM initializes virtualization on module loading by default.
This prevents VirtualBox VMs from starting. In order to avoid this, either add
"kvm.enable_virt_at_load=0" parameter into kernel command line or unload
the corresponding kvm_XXX module.
-- Tobias Frost <tobi@debian.org> Fri, 31 Jan 2025 12:01:32 +0100

7
debian/README.Debian.security vendored Normal file
View file

@ -0,0 +1,7 @@
Virtualbox package is in contrib, and upstream refuses to give patches for security bugs.
Their attitude is to update to the latest version, something not feasible for stable
releases, specially when the minor releases of a particular major version are not
published anymore.
For this reason, virtualbox might not be covered by security.debian.org support,
nor by stable-proposed-updates in case the maintaining is impossible due to
lack of upstream support.

22
debian/README.source vendored Normal file
View file

@ -0,0 +1,22 @@
Source repackaging
==================
The upstream tarball used to build this package has been repackaged to
remove unneeded/unwanted files and directories.
You can just call "uscan" to upgrade to a new upstream version
Generating manpages
===================
help2man --section=1 --name="x86 virtualization solution" --version-string="VERSION_STRING" --no-info VBoxHeadless | sed -r 's/( VERSION_STRING|( Version)? [0-9]\.[0-9]\.[0-9]_[a-zA-Z]+)//g' > VBoxHeadless.1
help2man --section=1 --name="x86 virtualization solution" --version-string="VERSION_STRING" --no-info VBoxManage | sed -r 's/( VERSION_STRING|( Version)? [0-9]\.[0-9]\.[0-9]_[a-zA-Z]+)//g' > VBoxManage.1
help2man --section=1 --name="x86 virtualization solution" --version-string="VERSION_STRING" --no-info VBoxSDL | sed -r 's/( VERSION_STRING|( Version)? [0-9]\.[0-9]\.[0-9]_[a-zA-Z]+)//g' > VBoxSDL.1
help2man --section=1 --name="x86 virtualization solution" --version-string="VERSION_STRING" --no-info --no-discard-stderr VBoxBalloonCtrl | sed -r 's/( VERSION_STRING|( Version)? [0-9]\.[0-9]\.[0-9]_[a-zA-Z]+)//g' > VBoxBalloonCtrl.1
help2man --section=1 --name="x86 virtualization solution" --version-string="VERSION_STRING" --no-info --no-discard-stderr vboxwebsrv | sed -r 's/( VERSION_STRING|( Version)? [0-9]\.[0-9]\.[0-9]_[a-zA-Z]+)//g' > vboxwebsrv.1
help2man --section=1 --name="x86 virtualization solution" --version-string="VERSION_STRING" --no-info VirtualBox | sed -r 's/( VERSION_STRING|( Version)? [0-9]\.[0-9]\.[0-9]_[a-zA-Z]+)//g' > VirtualBox.1
help2man --section=1 --name="x86 virtualization solution" --version-string="VERSION_STRING" --no-info VBoxClient | sed -r 's/( VERSION_STRING|( Version)? [0-9]\.[0-9]\.[0-9]_[a-zA-Z]+)//g' > VBoxClient.1
help2man --section=8 --name="x86 virtualization solution" --version-string="VERSION_STRING" --no-info --no-discard-stderr VBoxService | sed -r 's/( VERSION_STRING|( Version)? [0-9]\.[0-9]\.[0-9]_[a-zA-Z]+)//g' > VBoxService.8
help2man --section=8 --name="x86 virtualization solution" --version-string="VERSION_STRING" --no-info VBoxControl | sed -r 's/( VERSION_STRING|( Version)? [0-9]\.[0-9]\.[0-9]_[a-zA-Z]+)//g' > VBoxControl.8
help2man --section=8 --name="x86 virtualization solution" --version-string="VERSION_STRING" --no-info mount.vboxsf | sed -r 's/( VERSION_STRING|( Version)? [0-9]\.[0-9]\.[0-9]_[a-zA-Z]+)//g' > mount.vboxsf.8

11
debian/apport-hook.py vendored Normal file
View file

@ -0,0 +1,11 @@
import apport.hookutils
def add_info(report):
"""Add a list of installed packages matching 'virtualbox' or 'linux-headers'"""
report['VirtualBox.DpkgList'] = apport.hookutils.command_output(["sh", "-c", "dpkg -l | grep -e virtualbox -e linux-headers"])
"""Add information about installed VirtualBox kernel modules"""
report['VirtualBox.ModInfo'] = apport.hookutils.command_output(["sh", "-c",
"find /lib/modules/`uname -r` -name \"vbox*\" | xargs -r modinfo"])
report['LsMod'] = apport.hookutils.command_output(["lsmod"])

3874
debian/changelog vendored Normal file

File diff suppressed because it is too large Load diff

234
debian/control vendored Normal file
View file

@ -0,0 +1,234 @@
Source: virtualbox
Section: contrib/misc
Priority: optional
Maintainer: Debian Virtualbox Team <team+debian-virtualbox@tracker.debian.org>
Uploaders: Ritesh Raj Sarraf <rrs@debian.org>,
Gianfranco Costamagna <locutusofborg@debian.org>
Build-Depends: bzip2,
debhelper-compat (= 13),
default-jdk,
jaxws,
dh-python,
dh-sequence-dkms,
docbook-xml,
docbook-xsl,
dpkg-dev (>= 1.15.6~),
g++-multilib,
genisoimage,
glslang-tools,
gsoap,
acpica-tools,
kbuild (>= 1:0.1.9998svn3589~),
libasound2-dev,
libcap-dev,
libcurl4-gnutls-dev,
libdevmapper-dev,
libdrm-dev,
libegl1-mesa-dev,
libgl-dev,
libglu1-mesa-dev,
libgsoap-dev,
liblzf-dev,
liblzma-dev,
libidl-dev,
libogg-dev,
libpam0g-dev,
libpixman-1-dev,
libpng-dev,
libpulse-dev,
libqt5x11extras5-dev,
libqt5opengl5-dev,
qttools5-dev,
libsdl1.2-dev,
libsdl2-dev,
libssl-dev,
libtpms-dev,
libvncserver-dev,
libvorbis-dev,
libvpx-dev,
libx11-dev,
libxcomposite-dev,
libxcursor-dev,
libxdamage-dev,
libxext-dev,
libxi-dev,
libxinerama-dev,
libxml2-dev,
libxml2-utils,
libxmu-dev,
libxrandr-dev,
libxrender-dev,
libxslt1-dev,
libxt-dev,
lsb-release,
lynx,
makeself,
module-assistant,
nasm,
python3-dev,
texlive-fonts-extra,
texlive-fonts-recommended,
texlive-latex-extra,
texlive-latex-recommended,
uuid-dev,
x11proto-gl-dev,
x11proto-xf86dri-dev,
xserver-xorg-dev,
xsltproc,
yasm,
zlib1g-dev
Standards-Version: 4.7.0
Rules-Requires-Root: no
Homepage: https://www.virtualbox.org
Vcs-Browser: https://salsa.debian.org/pkg-virtualbox-team/virtualbox
Vcs-Git: https://salsa.debian.org/pkg-virtualbox-team/virtualbox.git
Testsuite: autopkgtest-pkg-dkms
Package: virtualbox-qt
Architecture: amd64
Depends: virtualbox (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends}
Breaks: virtualbox (<< 4.1.6-dfsg-2~)
Replaces: virtualbox (<< 4.1.6-dfsg-2~)
Description: x86 virtualization solution - Qt based user interface
VirtualBox is a free x86 virtualization solution allowing a wide range
of x86 operating systems such as Windows, DOS, BSD or Linux to run on a
Linux system.
.
This package provides the Qt based graphical user interface for VirtualBox.
Package: virtualbox
Architecture: amd64
Depends: adduser,
iproute2,
procps,
virtualbox-dkms (>= ${source:Version}) | virtualbox-source (>= ${source:Version}) | virtualbox-modules,
${misc:Depends},
${python3:Depends},
${shlibs:Depends}
Recommends: virtualbox-qt (= ${binary:Version}), ${shlibs:Recommends}
Suggests: vde2, virtualbox-guest-additions-iso
Conflicts: virtualbox-2.0,
virtualbox-2.1,
virtualbox-2.2,
virtualbox-3.0,
virtualbox-3.1,
virtualbox-3.2,
virtualbox-4.0,
virtualbox-4.1,
virtualbox-4.2,
virtualbox-4.3,
virtualbox-5.0,
virtualbox-5.1,
virtualbox-5.2,
virtualbox-6.0,
virtualbox-6.1,
virtualbox-7.0,
Description: x86 virtualization solution - base binaries
VirtualBox is a free x86 virtualization solution allowing a wide range
of x86 operating systems such as Windows, DOS, BSD or Linux to run on a
Linux system.
.
This package provides the binaries for VirtualBox. Either the virtualbox-dkms
or the virtualbox-source package is also required in order to compile the
kernel modules needed for virtualbox. A graphical user interface for
VirtualBox is provided by the package virtualbox-qt.
Package: virtualbox-dkms
Section: contrib/kernel
Architecture: amd64
Depends: ${misc:Depends}
Recommends: virtualbox (>= ${source:Version})
Provides: virtualbox-modules
Description: x86 virtualization solution - kernel module sources for dkms
VirtualBox is a free x86 virtualization solution allowing a wide range
of x86 operating systems such as Windows, DOS, BSD or Linux to run on a
Linux system.
.
This package provides the source code for the virtualbox kernel module to be
build with dkms. Kernel sources or headers are required to compile this
module.
Package: virtualbox-source
Section: contrib/kernel
Architecture: amd64
Depends: build-essential,
bzip2,
debhelper-compat (= 13),
kbuild,
module-assistant,
${misc:Depends}
Recommends: virtualbox (>= ${source:Version})
Description: x86 virtualization solution - kernel module source
VirtualBox is a free x86 virtualization solution allowing a wide range
of x86 operating systems such as Windows, DOS, BSD or Linux to run on a
Linux system.
.
This package provides the source code for the virtualbox kernel module.
The virtualbox package is also required in order to make use of these
modules. Kernel sources or headers are required to compile this module.
.
The source is placed under /usr/src, and after decompression it can
be built to produce a virtualbox-modules-_KVERS_ providing
"virtualbox-modules" package.
Package: virtualbox-guest-x11
Section: contrib/x11
Replaces: virtualbox-guest-x11-hwe (<< 7.0.16-dfsg-5)
Breaks: virtualbox-guest-x11-hwe (<< 7.0.16-dfsg-5)
Architecture: amd64 i386
Depends: libnotify-bin,
x11-xserver-utils,
virtualbox-guest-utils (= ${binary:Version}),
${misc:Depends},
${shlibs:Depends},
${xserver:Depends}
Provides: xorg-driver-video
XB-Modaliases: ${modaliases}
Description: x86 virtualization solution - X11 guest utilities
VirtualBox is a free x86 virtualization solution allowing a wide range
of x86 operating systems such as Windows, DOS, BSD or Linux to run on a
Linux system.
.
This package provides the X11 guest utilities for VirtualBox. These utilities
are meant to be run inside the virtual machine.
They provide closer integration and improve the interactive performance.
Package: virtualbox-guest-utils
Architecture: amd64 i386
Replaces: virtualbox-guest-utils-hwe (<< 7.0.16-dfsg-5)
Breaks: virtualbox-guest-utils-hwe (<< 7.0.16-dfsg-5)
Depends: adduser,
pciutils,
${misc:Depends},
${shlibs:Depends}
#Conflicts: time-daemon, ntp
#Provides: time-daemon
#Replaces: time-daemon
Suggests: virtualbox-guest-x11 (= ${binary:Version})
Description: x86 virtualization solution - non-X11 guest utilities
VirtualBox is a free x86 virtualization solution allowing a wide range
of x86 operating systems such as Windows, DOS, BSD or Linux to run on a
Linux system.
.
This package provides the non-X11 guest utilities for VirtualBox. These
utilities are meant to be run inside the virtual machine.
They provide closer integration and allow to share data through shared folders
between the host system and the virtual machine.
Package: virtualbox-guest-x11-hwe
Section: contrib/oldlibs
Architecture: amd64 i386
Depends: virtualbox-guest-x11,
${misc:Depends}
Description: transitional package for virtualbox-guest-x11
This is a transitional package for virtualbox-guest-x11.
It can safely be removed
Package: virtualbox-guest-utils-hwe
Section: contrib/oldlibs
Architecture: amd64 i386
Depends: virtualbox-guest-utils,
${misc:Depends}
Description: transitional package for virtualbox-guest-utils
This is a transitional package for virtualbox-guest-utils.
It can safely be removed

783
debian/copyright vendored Normal file
View file

@ -0,0 +1,783 @@
This package was debianized by Daniel Baumann <daniel@debian.org> on
Mon, 15 Jan 2007 14:33:00 +0100.
It was downloaded from <https://www.virtualbox.org/>.
This package is not part of the Debian operating system.
It is in the "contrib" area of the Debian archive because it requires a
non-free compiler (Open Watcom) to build the BIOS.
Upstream provides pre-built BIOS images which is used instead.
Upstream Author: Oracle Corporation
Copyright:
Copyright (C) 2004-2023 Oracle Corporation
VirtualBox contains portions of QEMU which is governed by the licenses in and and
Copyright (C) 2003-2005 Fabrice Bellard; Copyright (C) 2004-2005 Vassili Karpov (malc);
Copyright (c) 2004 Antony T Curtis; Copyright (C) 2003 Jocelyn Mayer
VirtualBox contains code which is governed by the license in and
Copyright 2004 by the Massachusetts Institute of Technology.
VirtualBox contains code of the BOCHS VGA BIOS which is governed by the license in and
Copyright (C) 2001, 2002 the LGPL VGABios developers Team.
VirtualBox contains code of the BOCHS ROM BIOS which is governed by the license in and
Copyright (C) 2002 MandrakeSoft S.A.; Copyright (C) 2004 Fabrice Bellard; Copyright (C) 2005 Struan Bartlett.
VirtualBox contains the zlib library which is governed by the license in and
Copyright (C) 1995-2003 Jean-loup Gailly and Mark Adler.
VirtualBox may contain OpenSSL which is governed by the license in and
Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com). This product includes software written by Tim Hudson (tjh@cryptsoft.com).
VirtualBox may contain NSPR and XPCOM which is governed by the license in and
Copyright (C) The Authors.
VirtualBox contains Slirp which is governed by the license in and was written by Danny Gasparovski.
Copyright (C) 1995, 1996 All Rights Reserved.
VirtualBox contains liblzf which is governed by the license in and
Copyright (C) 2000-2005 Marc Alexander Lehmann <schmorp@schmorp.de>
VirtualBox may ship with a modified copy of rdesktop which is governed by the license in and
Copyright (C) Matthew Chapman and others.
VirtualBox may ship with a copy of kchmviewer which is governed by the license in and
Copyright (C) George Yunaev and others.
VirtualBox may contain Etherboot which is governed by the license in with the exception that
aggregating Etherboot with another work does not require the other work to be released under
the same license (see http://etherboot.sourceforge.net/clinks.html). Etherboot is
Copyright (C) Etherboot team.
VirtualBox contains code from Wine which is governed by the license in and
Copyright 1993 Bob Amstadt, Copyright 1996 Albrecht Kleine, Copyright 1997 David Faure,
Copyright 1998 Morten Welinder, Copyright 1998 Ulrich Weigand, Copyright 1999 Ove Koven
VirtualBox contains code from lwIP which is governed by the license in and
Copyright (C) 2001, 2002 Swedish Institute of Computer Science.
VirtualBox contains libxml which is governed by the license in the section called "libxml license" and
Copyright (C) 1998-2003 Daniel Veillard.
VirtualBox contains libxslt which is governed by the license in the section called "libxslt licenses" and
Copyright (C) 2001-2002 Daniel Veillard and Copyright (C) 2001-2002 Thomas Broyer, Charlie Bozeman and
Daniel Veillard.
VirtualBox contains code from the gSOAP XML web services tools, which are licensed under the
license in the section called "gSOAP Public License Version 1.3a" and
Copyright (C) 2000-2007, Robert van Engelen, Genivia Inc., and others.
VirtualBox ships with the application tunctl (shipped as VBoxTunctl) from the User-mode Linux
suite which is governed by the license in and
Copyright (C) 2002 Jeff Dike.
VirtualBox contains code from Chromium, an OpenGL implementation, which is goverened by the
licenses in the section called "Chromium licenses" and
Copyright (C) Stanford University, The Regents of the University of California, Red Hat, and others.
VirtualBox contains libcurl which is governed by the license in the section called "curl license" and
Copyright (C) 1996-2009, Daniel Stenberg.
VirtualBox contains dnsproxy which is governed by the license in the section called "MIT License" and
Copyright (c) 2003, 2004, 2005 Armin Wolfermann.
VirtualBox may contain iniparser which is governed by the license in the section called "MIT License" and
Copyright (c) 2000-2008 by Nicolas Devillard.
VirtualBox contains some code from libgd which is governed by the license in the section
called "libgd license" and
Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Pierre-Alain Joye (pierre@libgd.org).
VirtualBox contains code from the EFI Development Kit II which is governed by the license in
the section called "BSD license from Intel" and
Copyright (c) 2004-2014, Intel Corporation.
VirtualBox contains libjpeg which is governed by the license in the section called "libjpeg License" and
Copyright (C) 1991-2010, Thomas G. Lane, Guido Vollbeding.
VirtualBox may contain x86 SIMD extension for IJG JPEG library which is governed by the
license in the section called "x86 SIMD extension for IJG JPEG library license" and
Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB;
Copyright 2010 D. R. Commander; Copyright (C) 1999-2006, MIYASAKA Masaru.
License:
COPYING file for VirtualBox versions 7.0 and later versions that include this
file
Preliminary notes:
1) The majority of the code in the VirtualBox base package is licensed under
the GNU General Public License, version 3 (GPL). VirtualBox contains many
components developed by Oracle and various third parties. The license for
each component is located in the licensing documentation and/or in the
component's source code.
2) As an exception to the reciprocal license obligations of the GPL listed
below, you may use any VirtualBox header file that is marked by Oracle as
licensed under both the GPL and the Common Development and Distribution
License version 1.0 (CDDL) to invoke the unmodified VirtualBox libraries. In
other words, calling such a multi-licensed interface by dynamically linking
to the unmodified VirtualBox libraries is considered a normal use of
VirtualBox and does not turn the calling code into a derived work of
VirtualBox. In particular, this applies to code that wants to extend
VirtualBox by way of the Extension Pack mechanism declared in the ExtPack.h
header file.
3) Whoever creates or distributes a derived work based on VirtualBox is not
obligated to grant the above exceptions for such a version. The GPL permits
you to release a modified version without the above exception; in addition,
Oracle hereby also allows you to release a modified version which carries
forward these exceptions.
Oracle America, Inc.
---
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license
document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for software and
other kinds of works.
The licenses for most software and other practical works are designed to take
away your freedom to share and change the works. By contrast, the GNU General
Public License is intended to guarantee your freedom to share and change all
versions of a program--to make sure it remains free software for all its
users. We, the Free Software Foundation, use the GNU General Public License
for most of our software; it applies also to any other work released this way
by its authors. You can apply it to your programs, too.
When we speak of free software, we are referring to freedom, not price. Our
General Public Licenses are designed to make sure that you have the freedom
to distribute copies of free software (and charge for them if you wish), that
you receive source code or can get it if you want it, that you can change the
software or use pieces of it in new free programs, and that you know you can
do these things.
To protect your rights, we need to prevent others from denying you these
rights or asking you to surrender the rights. Therefore, you have certain
responsibilities if you distribute copies of the software, or if you modify
it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether gratis or
for a fee, you must pass on to the recipients the same freedoms that you
received. You must make sure that they, too, receive or can get the source
code. And you must show them these terms so they know their rights.
Developers that use the GNU GPL protect your rights with two steps: (1)
assert copyright on the software, and (2) offer you this License giving you
legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains that
there is no warranty for this free software. For both users' and authors'
sake, the GPL requires that modified versions be marked as changed, so that
their problems will not be attributed erroneously to authors of previous
versions.
Some devices are designed to deny users access to install or run modified
versions of the software inside them, although the manufacturer can do so.
This is fundamentally incompatible with the aim of protecting users' freedom
to change the software. The systematic pattern of such abuse occurs in the
area of products for individuals to use, which is precisely where it is most
unacceptable. Therefore, we have designed this version of the GPL to prohibit
the practice for those products. If such problems arise substantially in
other domains, we stand ready to extend this provision to those domains in
future versions of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents. States
should not allow patents to restrict development and use of software on
general-purpose computers, but in those that do, we wish to avoid the special
danger that patents applied to a free program could make it effectively
proprietary. To prevent this, the GPL assures that patents cannot be used to
render the program non-free.
The precise terms and conditions for copying, distribution and modification
follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this License.
Each licensee is addressed as "you". "Licensees" and "recipients" may be
individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work in a
fashion requiring copyright permission, other than the making of an exact
copy. The resulting work is called a "modified version" of the earlier work
or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based on the
Program.
To "propagate" a work means to do anything with it that, without permission,
would make you directly or secondarily liable for infringement under
applicable copyright law, except executing it on a computer or modifying a
private copy. Propagation includes copying, distribution (with or without
modification), making available to the public, and in some countries other
activities as well.
To "convey" a work means any kind of propagation that enables other parties
to make or receive copies. Mere interaction with a user through a computer
network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices" to the
extent that it includes a convenient and prominently visible feature that (1)
displays an appropriate copyright notice, and (2) tells the user that there
is no warranty for the work (except to the extent that warranties are
provided), that licensees may convey the work under this License, and how to
view a copy of this License. If the interface presents a list of user
commands or options, such as a menu, a prominent item in the list meets this
criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work for making
modifications to it. "Object code" means any non-source form of a work.
A "Standard Interface" means an interface that either is an official standard
defined by a recognized standards body, or, in the case of interfaces
specified for a particular programming language, one that is widely used
among developers working in that language.
The "System Libraries" of an executable work include anything, other than the
work as a whole, that (a) is included in the normal form of packaging a Major
Component, but which is not part of that Major Component, and (b) serves only
to enable use of the work with that Major Component, or to implement a
Standard Interface for which an implementation is available to the public in
source code form. A "Major Component", in this context, means a major
essential component (kernel, window system, and so on) of the specific
operating system (if any) on which the executable work runs, or a compiler
used to produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all the
source code needed to generate, install, and (for an executable work) run the
object code and to modify the work, including scripts to control those
activities. However, it does not include the work's System Libraries, or
general-purpose tools or generally available free programs which are used
unmodified in performing those activities but which are not part of the work.
For example, Corresponding Source includes interface definition files
associated with source files for the work, and the source code for shared
libraries and dynamically linked subprograms that the work is specifically
designed to require, such as by intimate data communication or control flow
between those subprograms and other parts of the work.
The Corresponding Source need not include anything that users can regenerate
automatically from other parts of the Corresponding Source.
The Corresponding Source for a work in source code form is that same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of copyright
on the Program, and are irrevocable provided the stated conditions are met.
This License explicitly affirms your unlimited permission to run the
unmodified Program. The output from running a covered work is covered by this
License only if the output, given its content, constitutes a covered work.
This License acknowledges your rights of fair use or other equivalent, as
provided by copyright law.
You may make, run and propagate covered works that you do not convey, without
conditions so long as your license otherwise remains in force. You may convey
covered works to others for the sole purpose of having them make
modifications exclusively for you, or provide you with facilities for running
those works, provided that you comply with the terms of this License in
conveying all material for which you do not control copyright. Those thus
making or running the covered works for you must do so exclusively on your
behalf, under your direction and control, on terms that prohibit them from
making any copies of your copyrighted material outside their relationship
with you.
Conveying under any other circumstances is permitted solely under the
conditions stated below. Sublicensing is not allowed; section 10 makes it
unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological measure
under any applicable law fulfilling obligations under article 11 of the WIPO
copyright treaty adopted on 20 December 1996, or similar laws prohibiting or
restricting circumvention of such measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention is
effected by exercising rights under this License with respect to the covered
work, and you disclaim any intention to limit operation or modification of
the work as a means of enforcing, against the work's users, your or third
parties' legal rights to forbid circumvention of technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you receive
it, in any medium, provided that you conspicuously and appropriately publish
on each copy an appropriate copyright notice; keep intact all notices stating
that this License and any non-permissive terms added in accord with section 7
apply to the code; keep intact all notices of the absence of any warranty;
and give all recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey, and you
may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to produce
it from the Program, in the form of source code under the terms of section 4,
provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified it,
and giving a relevant date.
b) The work must carry prominent notices stating that it is released
under this License and any conditions added under section 7. This requirement
modifies the requirement in section 4 to "keep intact all notices".
c) You must license the entire work, as a whole, under this License to
anyone who comes into possession of a copy. This License will therefore
apply, along with any applicable section 7 additional terms, to the whole of
the work, and all its parts, regardless of how they are packaged. This
License gives no permission to license the work in any other way, but it does
not invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive interfaces
that do not display Appropriate Legal Notices, your work need not make them
do so.
A compilation of a covered work with other separate and independent works,
which are not by their nature extensions of the covered work, and which are
not combined with it such as to form a larger program, in or on a volume of a
storage or distribution medium, is called an "aggregate" if the compilation
and its resulting copyright are not used to limit the access or legal rights
of the compilation's users beyond what the individual works permit. Inclusion
of a covered work in an aggregate does not cause this License to apply to the
other parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms of sections
4 and 5, provided that you also convey the machine-readable Corresponding
Source under the terms of this License, in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the Corresponding
Source fixed on a durable physical medium customarily used for software
interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a written offer,
valid for at least three years and valid for as long as you offer spare parts
or customer support for that product model, to give anyone who possesses the
object code either (1) a copy of the Corresponding Source for all the
software in the product that is covered by this License, on a durable
physical medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this conveying of
source, or (2) access to copy the Corresponding Source from a network server
at no charge.
c) Convey individual copies of the object code with a copy of the written
offer to provide the Corresponding Source. This alternative is allowed only
occasionally and noncommercially, and only if you received the object code
with such an offer, in accord with subsection 6b.
d) Convey the object code by offering access from a designated place
(gratis or for a charge), and offer equivalent access to the Corresponding
Source in the same way through the same place at no further charge. You need
not require recipients to copy the Corresponding Source along with the object
code. If the place to copy the object code is a network server, the
Corresponding Source may be on a different server (operated by you or a third
party) that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the Corresponding
Source, you remain obligated to ensure that it is available for as long as
needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided you
inform other peers where the object code and Corresponding Source of the work
are being offered to the general public at no charge under subsection 6d.
A separable portion of the object code, whose source code is excluded from
the Corresponding Source as a System Library, need not be included in
conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any tangible
personal property which is normally used for personal, family, or household
purposes, or (2) anything designed or sold for incorporation into a dwelling.
In determining whether a product is a consumer product, doubtful cases shall
be resolved in favor of coverage. For a particular product received by a
particular user, "normally used" refers to a typical or common use of that
class of product, regardless of the status of the particular user or of the
way in which the particular user actually uses, or expects or is expected to
use, the product. A product is a consumer product regardless of whether the
product has substantial commercial, industrial or non-consumer uses, unless
such uses represent the only significant mode of use of the product.
"Installation Information" for a User Product means any methods, procedures,
authorization keys, or other information required to install and execute
modified versions of a covered work in that User Product from a modified
version of its Corresponding Source. The information must suffice to ensure
that the continued functioning of the modified object code is in no case
prevented or interfered with solely because modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as part of
a transaction in which the right of possession and use of the User Product is
transferred to the recipient in perpetuity or for a fixed term (regardless of
how the transaction is characterized), the Corresponding Source conveyed
under this section must be accompanied by the Installation Information. But
this requirement does not apply if neither you nor any third party retains
the ability to install modified object code on the User Product (for example,
the work has been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates for
a work that has been modified or installed by the recipient, or for the User
Product in which it has been modified or installed. Access to a network may
be denied when the modification itself materially and adversely affects the
operation of the network or violates the rules and protocols for
communication across the network.
Corresponding Source conveyed, and Installation Information provided, in
accord with this section must be in a format that is publicly documented (and
with an implementation available to the public in source code form), and must
require no special password or key for unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this License
by making exceptions from one or more of its conditions. Additional
permissions that are applicable to the entire Program shall be treated as
though they were included in this License, to the extent that they are valid
under applicable law. If additional permissions apply only to part of the
Program, that part may be used separately under those permissions, but the
entire Program remains governed by this License without regard to the
additional permissions.
When you convey a copy of a covered work, you may at your option remove any
additional permissions from that copy, or from any part of it. (Additional
permissions may be written to require their own removal in certain cases when
you modify the work.) You may place additional permissions on material, added
by you to a covered work, for which you have or can give appropriate
copyright permission.
Notwithstanding any other provision of this License, for material you add to
a covered work, you may (if authorized by the copyright holders of that
material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the terms
of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or author
attributions in that material or in the Appropriate Legal Notices displayed
by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in reasonable
ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some trade
names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that material by
anyone who conveys the material (or modified versions of it) with contractual
assumptions of liability to the recipient, for any liability that these
contractual assumptions directly impose on those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is governed
by this License along with a term that is a further restriction, you may
remove that term. If a license document contains a further restriction but
permits relicensing or conveying under this License, you may add to a covered
work material governed by the terms of that license document, provided that
the further restriction does not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you must
place, in the relevant source files, a statement of the additional terms that
apply to those files, or a notice indicating where to find the applicable
terms.
Additional terms, permissive or non-permissive, may be stated in the form of
a separately written license, or stated as exceptions; the above requirements
apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly provided
under this License. Any attempt otherwise to propagate or modify it is void,
and will automatically terminate your rights under this License (including
any patent licenses granted under the third paragraph of section 11).
However, if you cease all violation of this License, then your license from a
particular copyright holder is reinstated (a) provisionally, unless and until
the copyright holder explicitly and finally terminates your license, and (b)
permanently, if the copyright holder fails to notify you of the violation by
some reasonable means prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is reinstated
permanently if the copyright holder notifies you of the violation by some
reasonable means, this is the first time you have received notice of
violation of this License (for any work) from that copyright holder, and you
cure the violation prior to 30 days after your receipt of the notice.
Termination of your rights under this section does not terminate the licenses
of parties who have received copies or rights from you under this License. If
your rights have been terminated and not permanently reinstated, you do not
qualify to receive new licenses for the same material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or run a copy
of the Program. Ancillary propagation of a covered work occurring solely as a
consequence of using peer-to-peer transmission to receive a copy likewise
does not require acceptance. However, nothing other than this License grants
you permission to propagate or modify any covered work. These actions
infringe copyright if you do not accept this License. Therefore, by modifying
or propagating a covered work, you indicate your acceptance of this License
to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically receives a
license from the original licensors, to run, modify and propagate that work,
subject to this License. You are not responsible for enforcing compliance by
third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered work
results from an entity transaction, each party to that transaction who
receives a copy of the work also receives whatever licenses to the work the
party's predecessor in interest had or could give under the previous
paragraph, plus a right to possession of the Corresponding Source of the work
from the predecessor in interest, if the predecessor has it or can get it
with reasonable efforts.
You may not impose any further restrictions on the exercise of the rights
granted or affirmed under this License. For example, you may not impose a
license fee, royalty, or other charge for exercise of rights granted under
this License, and you may not initiate litigation (including a cross-claim or
counterclaim in a lawsuit) alleging that any patent claim is infringed by
making, using, selling, offering for sale, or importing the Program or any
portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this License
of the Program or a work on which the Program is based. The work thus
licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims owned or
controlled by the contributor, whether already acquired or hereafter
acquired, that would be infringed by some manner, permitted by this License,
of making, using, or selling its contributor version, but do not include
claims that would be infringed only as a consequence of further modification
of the contributor version. For purposes of this definition, "control"
includes the right to grant patent sublicenses in a manner consistent with
the requirements of this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free patent
license under the contributor's essential patent claims, to make, use, sell,
offer for sale, import and otherwise run, modify and propagate the contents
of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent (such
as an express permission to practice a patent or covenant not to sue for
patent infringement). To "grant" such a patent license to a party means to
make such an agreement or commitment not to enforce a patent against the
party.
If you convey a covered work, knowingly relying on a patent license, and the
Corresponding Source of the work is not available for anyone to copy, free of
charge and under the terms of this License, through a publicly available
network server or other readily accessible means, then you must either (1)
cause the Corresponding Source to be so available, or (2) arrange to deprive
yourself of the benefit of the patent license for this particular work, or
(3) arrange, in a manner consistent with the requirements of this License, to
extend the patent license to downstream recipients. "Knowingly relying" means
you have actual knowledge that, but for the patent license, your conveying
the covered work in a country, or your recipient's use of the covered work in
a country, would infringe one or more identifiable patents in that country
that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or arrangement,
you convey, or propagate by procuring conveyance of, a covered work, and
grant a patent license to some of the parties receiving the covered work
authorizing them to use, propagate, modify or convey a specific copy of the
covered work, then the patent license you grant is automatically extended to
all recipients of the covered work and works based on it.
A patent license is "discriminatory" if it does not include within the scope
of its coverage, prohibits the exercise of, or is conditioned on the non-
exercise of one or more of the rights that are specifically granted under
this License. You may not convey a covered work if you are a party to an
arrangement with a third party that is in the business of distributing
software, under which you make payment to the third party based on the extent
of your activity of conveying the work, and under which the third party
grants, to any of the parties who would receive the covered work from you, a
discriminatory patent license (a) in connection with copies of the covered
work conveyed by you (or copies made from those copies), or (b) primarily for
and in connection with specific products or compilations that contain the
covered work, unless you entered into that arrangement, or that patent
license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting any
implied license or other defenses to infringement that may otherwise be
available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not excuse
you from the conditions of this License. If you cannot convey a covered work
so as to satisfy simultaneously your obligations under this License and any
other pertinent obligations, then as a consequence you may not convey it at
all. For example, if you agree to terms that obligate you to collect a
royalty for further conveying from those to whom you convey the Program, the
only way you could satisfy both those terms and this License would be to
refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have permission to
link or combine any covered work with a work licensed under version 3 of the
GNU Affero General Public License into a single combined work, and to convey
the resulting work. The terms of this License will continue to apply to the
part which is the covered work, but the special requirements of the GNU
Affero General Public License, section 13, concerning interaction through a
network will apply to the combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of the
GNU General Public License from time to time. Such new versions will be
similar in spirit to the present version, but may differ in detail to address
new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies that a certain numbered version of the GNU General Public License
"or any later version" applies to it, you have the option of following the
terms and conditions either of that numbered version or of any later version
published by the Free Software Foundation. If the Program does not specify a
version number of the GNU General Public License, you may choose any version
ever published by the Free Software Foundation.
If the Program specifies that a proxy can decide which future versions of the
GNU General Public License can be used, that proxy's public statement of
acceptance of a version permanently authorizes you to choose that version for
the Program.
Later license versions may give you additional or different permissions.
However, no additional obligations are imposed on any author or copyright
holder as a result of your choosing to follow a later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.
SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE
PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE
OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR
DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR
A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH
HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided above
cannot be given local legal effect according to their terms, reviewing courts
shall apply local law that most closely approximates an absolute waiver of
all civil liability in connection with the Program, unless a warranty or
assumption of liability accompanies a copy of the Program in return for a
fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest possible
use to the public, the best way to achieve this is to make it free software
which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest to attach
them to the start of each source file to most effectively state the exclusion
of warranty; and each file should have at least the "copyright" line and a
pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
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 3 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, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short notice like
this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show
w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands might
be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school, if
any, to sign a "copyright disclaimer" for the program, if necessary. For more
information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Lesser General Public
License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
______________
COPYING file last revised: July 22, 2022
The Debian packaging is copyright 2007-2024,
Patrick Winnertz <patrick.winnertz@skolelinux.org>,
Daniel Baumann <daniel@debian.org>,
Philipp Hug <debian@hug.cx>,
Michael Meskes <meskes@debian.org>,
Felix Geyer <fgeyer@debian.org>,
Ritesh Raj Sarraf <rrs@debian.org>,
Gianfranco Costamagna <locutusofborg@debian.org>
and is licensed under the GPL-2+,
see `/usr/share/common-licenses/GPL-2'.

4
debian/gbp.conf vendored Normal file
View file

@ -0,0 +1,4 @@
[DEFAULT]
upstream-branch = upstream
debian-branch = master
pristine-tar = True

73
debian/get-orig-source.sh vendored Executable file
View file

@ -0,0 +1,73 @@
#!/bin/sh
set -ex
if [ $# -ne 2 ]; then
echo "Error: 2 parameters are required."
exit 1
fi
if [ "$1" != "--upstream-version" ]; then
echo "Error: First parameter needs to be --upstream-version."
exit 1
fi
UPSTREAM_VERSION=$2
ORIG_TARBALL=`readlink -e ../`/VirtualBox-${UPSTREAM_VERSION}.tar.bz2
REAL_TARBALL=`readlink -f ${ORIG_TARBALL}`
WORKING_DIR=`dirname ${ORIG_TARBALL}`
ORIG_TARBALL_DFSG=`echo ${ORIG_TARBALL} | sed -e "s/\(${UPSTREAM_VERSION}\)\(\.orig\)/\1-dfsg/g" | sed -e "s/VirtualBox/virtualbox/g"`
ORIG_TARBALL_DIR=`echo ${ORIG_TARBALL_DFSG} | sed -e "s/_\(${UPSTREAM_VERSION}\)/-\1/g" -e "s/\.tar\.bz2//g"`
ORIG_TARBALL_DIR_STRIP=`basename ${ORIG_TARBALL_DIR}`
DEST_TARBALL_NAME=`echo ${ORIG_TARBALL_DIR} | sed -e "s#-\(${UPSTREAM_VERSION}\)#_\1#g"`-dfsg.orig.tar.xz
mkdir -p ${ORIG_TARBALL_DIR}
tar --directory=${ORIG_TARBALL_DIR} --strip 1 -xjf ${REAL_TARBALL} || exit 1
rm -f ${ORIG_TARBALL} ${REAL_TARBALL}
rm -fr ${ORIG_TARBALL_DIR}/debian
rm -fr ${ORIG_TARBALL_DIR}/kBuild
rm -fr ${ORIG_TARBALL_DIR}/tools
rm -fr ${ORIG_TARBALL_DIR}/src/VBox/Additions/os2
rm -fr ${ORIG_TARBALL_DIR}/src/VBox/Additions/WINNT
rm -f ${ORIG_TARBALL_DIR}/VBox/HostDrivers/Support/darwin/load.sh
rm -f ${ORIG_TARBALL_DIR}/include/VBox/VBoxGuest.inc
rm -f ${ORIG_TARBALL_DIR}/include/VBox/VBoxGuest16.h
rm -f ${ORIG_TARBALL_DIR}/include/VBox/VBoxGuest.mac
rm -f ${ORIG_TARBALL_DIR}/src/libs/xpcom18a4/xpcom/MoreFiles/FSCopyObject.c
rm -f ${ORIG_TARBALL_DIR}/src/libs/xpcom18a4/xpcom/MoreFiles/FSCopyObject.h
rm -fr ${ORIG_TARBALL_DIR}/src/libs/curl*
rm -fr ${ORIG_TARBALL_DIR}/src/libs/libpng*
rm -fr ${ORIG_TARBALL_DIR}/src/libs/openssl*
rm -fr ${ORIG_TARBALL_DIR}/src/libs/libxml2*
rm -fr ${ORIG_TARBALL_DIR}/src/libs/libxslt*
rm -fr ${ORIG_TARBALL_DIR}/src/libs/liblzf*
rm -fr ${ORIG_TARBALL_DIR}/src/libs/liblzma*
rm -fr ${ORIG_TARBALL_DIR}/src/libs/libogg*
rm -fr ${ORIG_TARBALL_DIR}/src/libs/libtpms*
rm -fr ${ORIG_TARBALL_DIR}/src/libs/libvorbis*
rm -fr ${ORIG_TARBALL_DIR}/src/libs/zlib*
rm -fr ${ORIG_TARBALL_DIR}/src/VBox/Additions/linux/selinux-fedora
rm -fr ${ORIG_TARBALL_DIR}/src/VBox/Additions/3D/mesa/mesa-*
rm -fr ${ORIG_TARBALL_DIR}/src/VBox/Additions/x11/x11include
rm -fr ${ORIG_TARBALL_DIR}/src/VBox/Additions/x11/x11stubs
rm -fr ${ORIG_TARBALL_DIR}/src/libs/kStuff/kStuff/kLdr/testcase/bin
rm -fr ${ORIG_TARBALL_DIR}/src/VBox/Devices/EFI/Firmware/FatBinPkg/EnhancedFatDxe/AArch64/Fat.efi
rm -fr ${ORIG_TARBALL_DIR}/src/VBox/Devices/EFI/Firmware/FatBinPkg/EnhancedFatDxe/Arm/Fat.efi
rm -fr ${ORIG_TARBALL_DIR}/src/VBox/Devices/EFI/Firmware/FatBinPkg/EnhancedFatDxe/Ebc/Fat.efi
rm -fr ${ORIG_TARBALL_DIR}/src/VBox/Devices/EFI/Firmware/FatBinPkg/EnhancedFatDxe/Ia32/Fat.efi
rm -fr ${ORIG_TARBALL_DIR}/src/VBox/Devices/EFI/Firmware/FatBinPkg/EnhancedFatDxe/Ipf/Fat.efi
rm -fr ${ORIG_TARBALL_DIR}/src/VBox/Devices/EFI/Firmware/FatBinPkg/EnhancedFatDxe/X64/Fat.efi
rm -fr ${ORIG_TARBALL_DIR}/src/VBox/Devices/EFI/Firmware/StdLib/LibC/Main/Ia32/ftol2.obj
rm -fr ${ORIG_TARBALL_DIR}/src/VBox/Devices/EFI/Firmware/BaseTools/Source/Python/UPT/Dll/sqlite3.dll
rm -fr ${ORIG_TARBALL_DIR}/src/VBox/Main/webservice/jaxlibs/*.jar
rm -fr ${ORIG_TARBALL_DIR}/src/VBox/HostDrivers/Support/win/winstub.com
tar --exclude .svn --exclude '.git*' --exclude debian --directory ${WORKING_DIR} -cJf ${DEST_TARBALL_NAME} ${ORIG_TARBALL_DIR_STRIP} || exit 1
rm -rf ${ORIG_TARBALL_DIR}
echo "Done, now you can run:"
echo "gbp import-orig ${DEST_TARBALL_NAME}"

51
debian/lynx-dump-postprocess vendored Executable file
View file

@ -0,0 +1,51 @@
#!/usr/bin/perl
# taken from the exim4 package
open IN, '<&STDIN';
#open IN, 'dump';
{
local $/;
$content=<IN>;
}
close IN;
($title,$body,$links) =
($content =~
/^(.*)\n\s+_+\n\n
(\s+Table\ of\ Contents.*)
(References\n\n\s+1\..*)/sx);
die unless ($title);
print "$title\n".'-' x length($title)."\n\n";
# Sort out local links.
# The regex might not be entirely accurate.
foreach (split /\n/, $links) {
($index, $url) = /^\s*(\d+)\. (.+)$/;
if ($url !~ /file:\/\/.*#.*$/) {
$links[$index] = $url;
}
}
$linkno=0;
# Split paragraphs
foreach (split /\n(?:\s+_+\n)?\n/, $body) {
my $footnote = '';
my $rest = $_;
while ( $rest =~ /^(.*?)\[(\d+)\](.*)$/s ) {
print $1;
if (defined $links[$2]) {
$linkno++;
print "[$linkno]";
$footnote.=" $linkno. $links[$2]\n";
}
$rest = $3;
}
print $rest;
print "\n\n";
if ($footnote ne '') {
print "$footnote\n";
}
}

111
debian/manpages/VBoxBalloonCtrl.1 vendored Normal file
View file

@ -0,0 +1,111 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH VBOXBALLOONCTRL "1" "April 2024" "VBoxBalloonCtrl" "User Commands"
.SH NAME
VBoxBalloonCtrl \- x86 virtualization solution
.SH SYNOPSIS
.B VBoxBalloonCtrl
[\fI\,-v|--verbose\/\fR] [\fI\,-h|-?|--help\/\fR] [\fI\,-P|--pidfile\/\fR]
.SH DESCRIPTION
Oracle VM VirtualBox Watchdog 7.0.16
Copyright \(co 2024 Oracle and/or its affiliates
.IP
[\-F|\-\-logfile=<file>] [\-R|\-\-logrotate=<num>]
[\-S|\-\-logsize=<bytes>] [\-I|\-\-loginterval=<seconds>]
[\-\-balloon\-dec=<MB>] [\-\-balloon\-groups=<string>]
[\-\-balloon\-inc=<MB>] [\-\-balloon\-interval=<ms>]
[\-\-balloon\-lower\-limit=<MB>] [\-\-balloon\-max=<MB>]
[\-\-balloon\-safety\-margin=<MB]
[\-\-apimon\-groups=<string[,stringN]>]
[\-\-apimon\-isln\-response=<cmd>] [\-\-apimon\-isln\-timeout=<ms>]
[\-\-apimon\-resp\-timeout=<ms>]
.SH OPTIONS
.HP
\fB\-\-background\fR, \fB\-b\fR
.IP
Run in background (daemon mode).
.HP
\fB\-\-disable\-\fR<module>
.IP
Disables a module. See module list for built\-in modules.
.HP
\fB\-\-dryrun\fR
.IP
Dryrun mode \fB\-\-\fR do not perform any actions.
.HP
\fB\-\-help\fR, \fB\-h\fR
.IP
Print this help message and exit.
.HP
\fB\-\-verbose\fR, \fB\-v\fR
.HP
\fB\-\-pidfile\fR, \fB\-P\fR
.IP
Name of the PID file which is created when the daemon was started.
.HP
\fB\-\-logfile\fR, \fB\-F\fR
.IP
Name of file to write log to (no file).
.HP
\fB\-\-logrotate\fR, \fB\-R\fR
.IP
Number of log files (0 disables log rotation).
.HP
\fB\-\-logsize\fR, \fB\-S\fR
.IP
Maximum size of a log file to trigger rotation (bytes).
.HP
\fB\-\-loginterval\fR, \fB\-I\fR
.IP
Maximum time interval to trigger log rotation (seconds).
.HP
\fB\-\-balloon\-dec=\fR<MB>
.IP
Sets the ballooning decrement in MB (128 MB).
.HP
\fB\-\-balloon\-groups=\fR<string>
.IP
Sets the VM groups for ballooning (all).
.HP
\fB\-\-balloon\-inc=\fR<MB>
.IP
Sets the ballooning increment in MB (256 MB).
.HP
\fB\-\-balloon\-interval=\fR<ms>
.IP
Sets the check interval in ms (30 seconds).
.HP
\fB\-\-balloon\-lower\-limit=\fR<MB>
.IP
Sets the ballooning lower limit in MB (64 MB).
.HP
\fB\-\-balloon\-max=\fR<MB>
.IP
Sets the balloon maximum limit in MB (0 MB).
Specifying "0" means disabled ballooning.
Set "VBoxInternal/Guest/BalloonSizeMax" for a per\-VM
maximum ballooning size.
.HP
\fB\-\-balloon\-safety\-margin=\fR<MB>
.IP
Free memory when deflating a balloon in MB (1024 MB).
.HP
\fB\-\-apimon\-groups=\fR<string[,...]>
.IP
Sets the VM groups for monitoring (all), comma\-separated list.
.HP
\fB\-\-apimon\-isln\-response=\fR<cmd>
.IP
Sets the isolation response to one of: none, pause, poweroff,
save, or shutdown. Default: none
.HP
\fB\-\-apimon\-isln\-timeout=\fR<ms>
.IP
Sets the isolation timeout in ms (30s).
.HP
\fB\-\-apimon\-resp\-timeout=\fR<ms>
.IP
Sets the response timeout in ms (30s).
.PP
Use environment variable VBOXBALLOONCTRL_RELEASE_LOG for logging options.
.PP
Valid module names are: balloon, apimon

52
debian/manpages/VBoxClient.1 vendored Normal file
View file

@ -0,0 +1,52 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH VBOXCLIENT "1" "April 2024" "VBoxClient" "User Commands"
.SH NAME
VBoxClient \- x86 virtualization solution
.SH SYNOPSIS
.B VBoxClient
\fI\,--clipboard|--draganddrop|--checkhostversion|--seamless|--vmsvga|--vmsvga-session\/\fR
.SH DESCRIPTION
Oracle VM VirtualBox VBoxClient 7.0.16
Copyright \(co 2005\-2024 Oracle and/or its affiliates
.PP
[\-d|\-\-nodaemon]
.SH OPTIONS
.TP
\fB\-\-clipboard\fR
starts the shared clipboard service
.TP
\fB\-\-draganddrop\fR
starts the drag and drop service
.TP
\fB\-\-checkhostversion\fR
starts the host version notifier service
.TP
\fB\-\-seamless\fR
starts the seamless windows service
.TP
\fB\-\-vmsvga\fR
starts VMSVGA dynamic resizing for X11/Wayland guests
.TP
\fB\-\-vmsvga\-session\fR
starts Desktop Environment specific screen assistant for X11/Wayland guests
(VMSVGA graphics adapter only)
.TP
\fB\-\-display\fR
starts VMSVGA dynamic resizing for legacy guests
.TP
\fB\-f\fR, \fB\-\-foreground\fR
run in the foreground (no daemonizing)
.TP
\fB\-d\fR, \fB\-\-nodaemon\fR
continues running as a system service
.TP
\fB\-h\fR, \fB\-\-help\fR
shows this help text
.HP
\fB\-l\fR, \fB\-\-logfile\fR <path> enables logging to a file
.TP
\fB\-v\fR, \fB\-\-verbose\fR
increases logging verbosity level
.TP
\fB\-V\fR, \fB\-\-version\fR
shows version information

31
debian/manpages/VBoxControl.8 vendored Normal file
View file

@ -0,0 +1,31 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH VBOXCONTROL "8" "April 2024" "VBoxControl" "System Administration Utilities"
.SH NAME
VBoxControl \- x86 virtualization solution
.SH DESCRIPTION
Oracle VM VirtualBox Guest Additions Command Line Management Interface Version 7.0.16
Copyright \(co 2008\-2024 Oracle and/or its affiliates
.PP
Usage:
.PP
VBoxControl [\-V|\-\-version] print version number and exit
VBoxControl \fB\-\-nologo\fR ... suppress the logo
.PP
VBoxControl guestproperty get <property> [\-\-verbose]
VBoxControl guestproperty set <property> [<value> [\-\-flags <flags>]]
VBoxControl guestproperty delete|unset <property>
VBoxControl guestproperty enumerate [\-\-patterns <patterns>]
VBoxControl guestproperty wait <patterns>
.TP
[\-\-timestamp <last timestamp>]
[\-\-timeout <timeout in ms>
.PP
VBoxControl sharedfolder list [\-\-automount]
VBoxControl writecoredump
VBoxControl writelog [\-n|\-\-no\-newline] [\-\-] <msg>
VBoxControl takesnapshot
VBoxControl savestate
VBoxControl suspend
VBoxControl poweroff
VBoxControl help [command]
VBoxControl version

57
debian/manpages/VBoxHeadless.1 vendored Normal file
View file

@ -0,0 +1,57 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH VBOXHEADLESS "1" "April 2024" "VBoxHeadless" "User Commands"
.SH NAME
VBoxHeadless \- x86 virtualization solution
.SH DESCRIPTION
Oracle VM VirtualBox Headless Interface 7.0.6
Copyright \(co 2008\-2023 Oracle and/or its affiliates
.SS "Usage:"
.TP
\fB\-s\fR, \fB\-startvm\fR, \fB\-\-startvm\fR <name|uuid>
Start given VM (required argument)
.TP
\fB\-v\fR, \fB\-vrde\fR, \fB\-\-vrde\fR on|off|config
Enable or disable the VRDE server
or don't change the setting (default)
.TP
\fB\-e\fR, \fB\-vrdeproperty\fR, \fB\-\-vrdeproperty\fR <name=[value]> Set a VRDE property:
"TCP/Ports" \- comma\-separated list of
.TP
ports the VRDE server can bind to; dash
between two port numbers specifies range
.TP
"TCP/Address" \- interface IP the VRDE
server will bind to
.TP
\fB\-\-settingspw\fR <pw>
Specify the VirtualBox settings password
.TP
\fB\-\-settingspwfile\fR <file>
Specify a file containing the
VirtualBox settings password
.TP
\fB\-\-password\fR <file>|\-
Specify the VM password. Either file containing
the VM password or "\-" to read it from console
.TP
\fB\-\-password\-id\fR <id>
Specify the password id for the VM password
.TP
\fB\-start\-paused\fR, \fB\-\-start\-paused\fR
Start the VM in paused state
.TP
\fB\-c\fR, \fB\-record\fR, \fB\-\-record\fR
Record the VM screen output to a file
.TP
\fB\-w\fR, \fB\-\-videowidth\fR
Video frame width when recording
.TP
\fB\-h\fR, \fB\-\-videoheight\fR
Video frame height when recording
.TP
\fB\-r\fR, \fB\-\-videobitrate\fR
Recording bit rate when recording
.TP
\fB\-f\fR, \fB\-\-filename\fR
File name when recording. The codec used
will be chosen based on file extension

630
debian/manpages/VBoxManage.1 vendored Normal file
View file

@ -0,0 +1,630 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH VBOXMANAGE "1" "April 2024" "VBoxManage" "User Commands"
.SH NAME
VBoxManage \- x86 virtualization solution
.SH DESCRIPTION
Oracle VM VirtualBox Command Line Management Interface Version 7.0.16
Copyright \(co 2005\-2024 Oracle and/or its affiliates
.PP
Usage \- Oracle VM VirtualBox command\-line interface:
.IP
VBoxManage [\-V | \fB\-\-version]\fR [\-\-dump\-build\-type] [\-q | \fB\-\-nologo]\fR [\-\-settingspw=password] [\-\-settingspwfile=pw\-file] [@response\-file] [[help] subcommand]
.IP
VBoxManage list [\-\-long] [\-\-sorted] [bridgedifs | cloudnets | cloudprofiles | cloudproviders | cpu\-profiles | dhcpservers | dvds | extpacks | floppies | groups | hddbackends | hdds | hostcpuids | hostdrives |
.IP
hostdvds | hostfloppies | hostinfo | hostonlyifs | hostonlynets | intnets | natnets | ostypes | runningvms | screenshotformats | systemproperties | usbfilters | usbhost | vms | webcams]
.IP
VBoxManage showvminfo <uuid | vmname> [\-\-details] [\-\-machinereadable] [\-\-password\-id] [\-\-password]
.IP
VBoxManage showvminfo <uuid | vmname> <\-\-log=index> [\-\-password\-id id] [\-\-password file|\-]
.IP
VBoxManage registervm <filename> \fB\-\-password\fR file
.IP
VBoxManage unregistervm <uuid | vmname> [\-\-delete] [\-\-delete\-all]
.IP
VBoxManage createvm <\-\-name=name> [\-\-basefolder=basefolder] [\-\-default] [\-\-groups=group\-ID,...] [\-\-ostype=ostype] [\-\-register] [\-\-uuid=uuid] [\-\-cipher cipher] [\-\-password\-id password\-id] [\-\-password file]
.TP
VBoxManage modifyvm <uuid | vmname> [\-\-name=name] [\-\-groups=
group [,group...] ] [\-\-description=description] [\-\-os\-type=OS\-type] [\-\-icon\-file=filename] [\-\-memory=size\-in\-MB] [\-\-page\-fusion= on | off ]
.IP
[\-\-vram=size\-in\-MB] [\-\-acpi= on | off ] [\-\-ioapic= on | off ] [\-\-hardware\-uuid=UUID] [\-\-cpus=CPU\-count] [\-\-cpu\-hotplug= on | off ] [\-\-plug\-cpu=CPU\-ID] [\-\-unplug\-cpu=CPU\-ID] [\-\-cpu\-execution\-cap=number]
[\-\-pae= on | off ] [\-\-long\-mode= on | off ] [\-\-ibpb\-on\-vm\-exit= on | off ] [\-\-ibpb\-on\-vm\-entry= on | off ] [\-\-spec\-ctrl= on | off ] [\-\-l1d\-flush\-on\-sched= on | off ] [\-\-l1d\-flush\-on\-vm\-entry= on | off ]
[\-\-mds\-clear\-on\-sched= on | off ] [\-\-mds\-clear\-on\-vm\-entry= on | off ] [\-\-cpu\-profile= host | Intel 8086 | Intel 80286 | Intel 80386 ] [\-\-hpet= on | off ] [\-\-hwvirtex= on | off ] [\-\-triple\-fault\-reset= on
| off ] [\-\-apic= on | off ] [\-\-x2apic= on | off ] [\-\-paravirt\-provider= none | default | legacy | minimal | hyperv | kvm ] [\-\-paravirt\-debug= key=value [,key=value...] ] [\-\-nested\-paging= on | off ]
[\-\-large\-pages= on | off ] [\-\-vtx\-vpid= on | off ] [\-\-vtx\-ux= on | off ] [\-\-nested\-hw\-virt= on | off ] [\-\-virt\-vmsave\-vmload= on | off ] [\-\-accelerate\-3d= on | off ] [\-\-accelerate\-2d\-video= on | off ]
[\-\-chipset= ich9 | piix3 ] [\-\-iommu= none | automatic | amd | intel ] [\-\-tpm\-type= none | 1.2 | 2.0 | host | swtpm ] [\-\-tpm\-location= location ] [\-\-bios\-logo\-fade\-in= on | off ] [\-\-bios\-logo\-fade\-out= on
| off ] [\-\-bios\-logo\-display\-time=msec] [\-\-bios\-logo\-image\-path=pathname] [\-\-bios\-boot\-menu= disabled | menuonly | messageandmenu ] [\-\-bios\-apic= disabled | apic | x2apic ]
[\-\-bios\-system\-time\-offset=msec] [\-\-bios\-pxe\-debug= on | off ] [\-\-system\-uuid\-le= on | off ] [\-\-bootX= none | floppy | dvd | disk | net ] [\-\-rtc\-use\-utc= on | off ] [\-\-graphicscontroller= none | vboxvga |
vmsvga | vboxsvga ] [\-\-snapshot\-folder= default | pathname ] [\-\-firmware= bios | efi | efi32 | efi64 ] [\-\-guest\-memory\-balloon=size\-in\-MB] [\-\-default\-frontend= default | name ] [\-\-vm\-process\-priority=
default | flat | low | normal | high ]
.IP
VBoxManage modifyvm <uuid | vmname> [\-\-nicN= none | null | nat | bridged | intnet | hostonly | hostonlynet | generic | natnetwork | cloud ] [\-\-nic\-typeN= Am79C970A | Am79C973 | 82540EM | 82543GC | 82545EM |
.TP
virtio ] [\-\-cable\-connectedN= on | off ] [\-\-nic\-traceN= on | off ] [\-\-nic\-trace\-fileN=filename] [\-\-nic\-propertyN=name=
[value] ] [\-\-nic\-speedN=kbps] [\-\-nic\-boot\-prioN=priority] [\-\-nic\-promiscN= deny |
.IP
allow\-vms | allow\-all ] [\-\-nic\-bandwidth\-groupN= none | name ] [\-\-bridge\-adapterN= none | device\-name ] [\-\-cloud\-networkN=network\-name] [\-\-host\-only\-adapterN= none | device\-name ]
[\-\-host\-only\-netN=network\-name] [\-\-intnetN=network\-name] [\-\-nat\-networkN=network\-name] [\-\-nic\-generic\-drvN=driver\-name] [\-\-mac\-addressN= auto | MAC\-address ]
.IP
VBoxManage modifyvm <uuid | vmname> [\-\-nat\-netN= network | default ] [\-\-nat\-pfN= [rule\-name],tcp | udp,[host\-IP],hostport,[guest\-IP],guestport ] [\-\-nat\-pfN=delete=rule\-name] [\-\-nat\-tftp\-prefixN=prefix]
.IP
[\-\-nat\-tftp\-fileN=filename] [\-\-nat\-tftp\-serverN=IP\-address] [\-\-nat\-bind\-ipN=IP\-address] [\-\-nat\-dns\-pass\-domainN= on | off ] [\-\-nat\-dns\-proxyN= on | off ] [\-\-nat\-dns\-host\-resolverN= on | off ]
[\-\-nat\-localhostreachableN= on | off ] [\-\-nat\-settingsN=[mtu],[socksnd],[sockrcv],[tcpsnd],[tcprcv]] [\-\-nat\-alias\-modeN= default | [log],[proxyonly],[sameports] ]
.IP
VBoxManage modifyvm <uuid | vmname> [\-\-mouse= ps2 | usb | usbtablet | usbmultitouch | usbmtscreenpluspad ] [\-\-keyboard= ps2 | usb ] [\-\-uartN= off | IO\-baseIRQ ] [\-\-uart\-modeN= disconnected | server pipe |
.IP
client pipe | tcpserver port | tcpclient hostname:port | file filename | device\-name ] [\-\-uart\-typeN= 16450 | 16550A | 16750 ] [\-\-lpt\-modeN=device\-name] [\-\-lptN= off | IO\-baseIRQ ] [\-\-audio\-controller=
ac97 | hda | sb16 ] [\-\-audio\-codec= stac9700 | ad1980 | stac9221 | sb16 ] [\-\-audio\-driver= none | default | null | dsound | was | oss | alsa | pulse | coreaudio ] [\-\-audio\-enabled= on | off ] [\-\-audio\-in=
on | off ] [\-\-audio\-out= on | off ] [\-\-clipboard\-mode= disabled | hosttoguest | guesttohost | bidirectional ] [\-\-drag\-and\-drop= disabled | hosttoguest | guesttohost | bidirectional ]
[\-\-monitor\-count=number] [\-\-usb\-ehci= on | off ] [\-\-usb\-ohci= on | off ] [\-\-usb\-xhci= on | off ] [\-\-usb\-rename=old\-namenew\-name]
.IP
VBoxManage modifyvm <uuid | vmname> [\-\-recording= on | off ] [\-\-recording\-screens= all | none | screen\-ID[,screen\-ID...] ] [\-\-recording\-file=filename] [\-\-recording\-max\-size=MB] [\-\-recording\-max\-time=msec]
.TP
[\-\-recording\-opts=
key=value[,key=value...] ] [\-\-recording\-video\-fps=fps] [\-\-recording\-video\-rate=rate] [\-\-recording\-video\-res=widthheight]
.TP
VBoxManage modifyvm <uuid | vmname> [\-\-vrde= on | off ] [\-\-vrde\-property=property\-name=
[property\-value] ] [\-\-vrde\-extpack= default | name ] [\-\-vrde\-port=port] [\-\-vrde\-address=hostip] [\-\-vrde\-auth\-type= null
.IP
| external | guest ] [\-\-vrde\-auth\-library= default | name ] [\-\-vrde\-multi\-con= on | off ] [\-\-vrde\-reuse\-con= on | off ] [\-\-vrde\-video\-channel= on | off ] [\-\-vrde\-video\-channel\-quality=percent]
.IP
VBoxManage modifyvm <uuid | vmname> [\-\-teleporter= on | off ] [\-\-teleporter\-port=port] [\-\-teleporter\-address= address | empty ] [\-\-teleporter\-password=password] [\-\-teleporter\-password\-file= filename | stdin ]
.IP
[\-\-cpuid\-portability\-level=level] [\-\-cpuid\-set=leaf [:subleaf] eax??ebx??ecx??edx] [\-\-cpuid\-remove=leaf [:subleaf] ] [\-\-cpuid\-remove\-all]
.IP
VBoxManage modifyvm <uuid | vmname> [\-\-tracing\-enabled= on | off ] [\-\-tracing\-config=string] [\-\-tracing\-allow\-vm\-access= on | off ]
.IP
VBoxManage modifyvm <uuid | vmname> [\-\-usb\-card\-reader= on | off ]
.IP
VBoxManage modifyvm <uuid | vmname> [\-\-autostart\-enabled= on | off ] [\-\-autostart\-delay=seconds]
.IP
VBoxManage modifyvm <uuid | vmname> [\-\-guest\-debug\-provider= none | native | gdb | kd ] [\-\-guest\-debug\-io\-provider= none | tcp | udp | ipc ] [\-\-guest\-debug\-address= IP\-Address | path ]
.IP
[\-\-guest\-debug\-port=port]
.IP
VBoxManage modifyvm <uuid | vmname> [\-\-pci\-attach=host\-PCI\-address [@guest\-PCI\-bus\-address] ] [\-\-pci\-detach=host\-PCI\-address]
.IP
VBoxManage modifyvm <uuid | vmname> [\-\-testing\-enabled= on | off ] [\-\-testing\-mmio= on | off ] [\-\-testing\-cfg\-dwordidx=value]
.IP
VBoxManage snapshot <uuid|vmname>
.IP
VBoxManage snapshot <uuid|vmname> take <snapshot\-name> [\-\-description=description] [\-\-live] [\-\-uniquename Number,Timestamp,Space,Force]
.IP
VBoxManage snapshot <uuid|vmname> delete <snapshot\-name>
.IP
VBoxManage snapshot <uuid|vmname> restore <snapshot\-name>
.IP
VBoxManage snapshot <uuid|vmname> restorecurrent
.IP
VBoxManage snapshot <uuid|vmname> edit <snapshot\-name | \fB\-\-current\fR> [\-\-description=description] [\-\-name=new\-name]
.IP
VBoxManage snapshot <uuid|vmname> list [\-\-details | \fB\-\-machinereadable]\fR
.IP
VBoxManage snapshot <uuid|vmname> showvminfo <snapshot\-name>
.IP
VBoxManage clonevm <vmname|uuid> [\-\-basefolder=basefolder] [\-\-groups=group,...] [\-\-mode=machine | \fB\-\-mode\fR=\fI\,machinechildren\/\fR | \fB\-\-mode\fR=\fI\,all]\/\fR [\-\-name=name] [\-\-options=option,...] [\-\-register]
.IP
[\-\-snapshot=snapshot\-name] [\-\-uuid=uuid]
.IP
VBoxManage movevm <uuid | vmname> [\-\-type=basic] [\-\-folder=folder\-name]
.IP
VBoxManage encryptvm <uuid | vmname> setencryption \fB\-\-old\-password\fR file \fB\-\-cipher\fR cipher\-identifier \fB\-\-new\-password\fR file \fB\-\-new\-password\-id\fR password\-identifier \fB\-\-force\fR
.IP
VBoxManage encryptvm <uuid | vmname> checkpassword <file>
.IP
VBoxManage encryptvm <uuid | vmname> addpassword \fB\-\-password\fR file \fB\-\-password\-id\fR password\-identifier
.IP
VBoxManage encryptvm <uuid | vmname> removepassword <password\-identifier>
.IP
VBoxManage startvm <uuid | vmname...> [\-\-putenv=name[=value]] [\-\-type= [gui | headless | sdl | separate] ] \fB\-\-password\fR file \fB\-\-password\-id\fR password identifier
.IP
VBoxManage controlvm <uuid | vmname> pause
.IP
VBoxManage controlvm <uuid | vmname> resume
.IP
VBoxManage controlvm <uuid | vmname> reset
.IP
VBoxManage controlvm <uuid | vmname> poweroff
.IP
VBoxManage controlvm <uuid | vmname> savestate
.IP
VBoxManage controlvm <uuid | vmname> acpipowerbutton
.IP
VBoxManage controlvm <uuid | vmname> acpisleepbutton
.IP
VBoxManage controlvm <uuid | vmname> reboot
.IP
VBoxManage controlvm <uuid | vmname> shutdown [\-\-force]
.IP
VBoxManage controlvm <uuid | vmname> keyboardputscancode <hex> [hex...]
.IP
VBoxManage controlvm <uuid | vmname> keyboardputstring <string> [string...]
.IP
VBoxManage controlvm <uuid | vmname> keyboardputfile <filename>
.IP
VBoxManage controlvm <uuid | vmname> setlinkstateN <on | off>
.IP
VBoxManage controlvm <uuid | vmname> nicN <null | nat | bridged | intnet | hostonly | generic | natnetwork> [device\-name]
.IP
VBoxManage controlvm <uuid | vmname> nictraceN <on | off>
.IP
VBoxManage controlvm <uuid | vmname> nictracefileN <filename>
.IP
VBoxManage controlvm <uuid | vmname> nicpropertyN <prop\-name=prop\-value>
.IP
VBoxManage controlvm <uuid | vmname> nicpromiscN <deny | allow\-vms | allow\-all>
.IP
VBoxManage controlvm <uuid | vmname> natpfN <[rulename] ,tcp | udp, host\-IP, hostport, guest\-IP, guestport>
.IP
VBoxManage controlvm <uuid | vmname> natpfN delete <rulename>
.IP
VBoxManage controlvm <uuid | vmname> guestmemoryballoon <balloon\-size>
.IP
VBoxManage controlvm <uuid | vmname> usbattach <uuid | address> [\-\-capturefile=filename]
.IP
VBoxManage controlvm <uuid | vmname> usbdetach <uuid | address>
.IP
VBoxManage controlvm <uuid | vmname> audioin <on | off>
.IP
VBoxManage controlvm <uuid | vmname> audioout <on | off>
.IP
VBoxManage controlvm <uuid | vmname> clipboard mode <disabled | hosttoguest | guesttohost | bidirectional>
.IP
VBoxManage controlvm <uuid | vmname> clipboard filetransfers <on | off>
.IP
VBoxManage controlvm <uuid | vmname> draganddrop <disabled | hosttoguest | guesttohost | bidirectional>
.IP
VBoxManage controlvm <uuid | vmname> vrde <on | off>
.IP
VBoxManage controlvm <uuid | vmname> vrdeport <port>
.IP
VBoxManage controlvm <uuid | vmname> vrdeproperty <prop\-name=prop\-value>
.IP
VBoxManage controlvm <uuid | vmname> vrdevideochannelquality <percentage>
.TP
VBoxManage controlvm <uuid | vmname> setvideomodehint <xres> <yres> <bpp> [[display]
[enabled:yes | no | x\-origin??y\-origin] ]
.IP
VBoxManage controlvm <uuid | vmname> setscreenlayout <display> <on | primary x\-origin??y\-origin??x\-resolution??y\-resolution??bpp | off>
.IP
VBoxManage controlvm <uuid | vmname> screenshotpng <filename> [display]
.IP
VBoxManage controlvm <uuid | vmname> recording <on | off>
.IP
VBoxManage controlvm <uuid | vmname> recording screens <all | none | screen\-ID[,screen\-ID...]>
.IP
VBoxManage controlvm <uuid | vmname> recording filename <filename>
.IP
VBoxManage controlvm <uuid | vmname> recording videores <widthxheight>
.IP
VBoxManage controlvm <uuid | vmname> recording videorate <rate>
.IP
VBoxManage controlvm <uuid | vmname> recording videofps <fps>
.IP
VBoxManage controlvm <uuid | vmname> recording maxtime <sec>
.IP
VBoxManage controlvm <uuid | vmname> recording maxfilesize <MB>
.TP
VBoxManage controlvm <uuid | vmname> setcredentials <username> \fB\-\-passwordfile=\fR <filename | password>
<domain\-name> \fB\-\-allowlocallogon=\fR <yes | no>
.IP
VBoxManage controlvm <uuid | vmname> teleport <\-\-host=host\-name> <\-\-port=port\-name> [\-\-maxdowntime=msec] [\-\-passwordfile=filename | \fB\-\-password\fR=\fI\,password]\/\fR
.IP
VBoxManage controlvm <uuid | vmname> plugcpu <ID>
.IP
VBoxManage controlvm <uuid | vmname> unplugcpu <ID>
.IP
VBoxManage controlvm <uuid | vmname> cpuexecutioncap <num>
.IP
VBoxManage controlvm <uuid | vmname> vm\-process\-priority <default | flat | low | normal | high>
.IP
VBoxManage controlvm <uuid | vmname> webcam attach [pathname [settings] ]
.IP
VBoxManage controlvm <uuid | vmname> webcam detach [pathname]
.IP
VBoxManage controlvm <uuid | vmname> webcam list
.IP
VBoxManage controlvm <uuid | vmname> addencpassword <ID> <password\-file | \-> [\-\-removeonsuspend= yes | no ]
.IP
VBoxManage controlvm <uuid | vmname> removeencpassword <ID>
.IP
VBoxManage controlvm <uuid | vmname> removeallencpasswords
.IP
VBoxManage controlvm <uuid | vmname> changeuartmodeN disconnected | server pipe\-name | client pipe\-name | tcpserver port | tcpclient hostname:port | file filename | device\-name
.IP
VBoxManage controlvm <uuid | vmname> autostart\-enabledN on | off
.IP
VBoxManage controlvm <uuid | vmname> autostart\-delayseconds
.IP
VBoxManage import <ovfname | ovaname> [\-\-dry\-run] [\-\-options= keepallmacs | keepnatmacs | importtovdi ] [\-\-vsys=n] [\-\-ostype=ostype] [\-\-vmname=name] [\-\-settingsfile=file] [\-\-basefolder=folder] [\-\-group=group]
.IP
[\-\-memory=MB] [\-\-cpus=n] [\-\-description=text] [\-\-eula= show | accept ] [\-\-unit=n] [\-\-ignore] [\-\-scsitype= BusLogic | LsiLogic ] [\-\-disk=path] [\-\-controller=index] [\-\-port=n]
.IP
VBoxManage import OCI:// \fB\-\-cloud\fR [\-\-ostype=ostype] [\-\-vmname=name] [\-\-basefolder=folder] [\-\-memory=MB] [\-\-cpus=n] [\-\-description=text] <\-\-cloudprofile=profile> <\-\-cloudinstanceid=id> [\-\-cloudbucket=bucket]
.IP
VBoxManage export <machines> <\-\-output=name> [\-\-legacy09 | \fB\-\-ovf09\fR | \fB\-\-ovf10\fR | \fB\-\-ovf20]\fR [\-\-manifest] [\-\-options= manifest | iso | nomacs | nomacsbutnat... ] [\-\-vsys=virtual\-system\-number]
.IP
[\-\-description=description\-info] [\-\-eula=license\-text] [\-\-eulafile=filename] [\-\-product=product\-name] [\-\-producturl=product\-URL] [\-\-vendor=vendor\-name] [\-\-vendorurl=vendor\-URL] [\-\-version=version\-info]
[\-\-vmname=vmname]
.IP
VBoxManage export <machine> <\-\-output=cloud\-service\-provider> [\-\-opc10] [\-\-vmname=vmname] [\-\-cloud=virtual\-system\-number] [\-\-cloudprofile=cloud\-profile\-name] [\-\-cloudshape=cloud\-shape\-name]
.IP
[\-\-clouddomain=cloud\-domain] [\-\-clouddisksize=disk\-size\-in\-GB] [\-\-cloudbucket=bucket\-name] [\-\-cloudocivcn=OCI\-VCN\-ID] [\-\-cloudocisubnet=OCI\-subnet\-ID] [\-\-cloudkeepobject= true | false ]
[\-\-cloudlaunchinstance= true | false ] [\-\-cloudlaunchmode= EMULATED | PARAVIRTUALIZED ] [\-\-cloudpublicip= true | false ]
.IP
VBoxManage mediumio <\-\-disk=uuid|filename | \fB\-\-dvd\fR=\fI\,uuid\/\fR|filename | \fB\-\-floppy\fR=\fI\,uuid\/\fR|filename> [\-\-password\-file=\-|filename] formatfat [\-\-quick]
.IP
VBoxManage mediumio <\-\-disk=uuid|filename | \fB\-\-dvd\fR=\fI\,uuid\/\fR|filename | \fB\-\-floppy\fR=\fI\,uuid\/\fR|filename> [\-\-password\-file=\-|filename] cat [\-\-hex] [\-\-offset=byte\-offset] [\-\-size=bytes] [\-\-output=\-|filename]
.IP
VBoxManage mediumio <\-\-disk=uuid|filename | \fB\-\-dvd\fR=\fI\,uuid\/\fR|filename | \fB\-\-floppy\fR=\fI\,uuid\/\fR|filename> [\-\-password\-file=\-|filename] stream [\-\-format=image\-format] [\-\-variant=image\-variant] [\-\-output=\-|filename]
.IP
VBoxManage sharedfolder add <uuid | vmname> <\-\-name=name> <\-\-hostpath=hostpath> [\-\-readonly] [\-\-transient] [\-\-automount] [\-\-auto\-mount\-point=path]
.IP
VBoxManage sharedfolder remove <uuid | vmname> <\-\-name=name> [\-\-transient]
.IP
VBoxManage dhcpserver add <\-\-network=netname | \fB\-\-interface\fR=\fI\,ifname\/\fR> <\-\-server\-ip=address> <\-\-netmask=mask> <\-\-lower\-ip=address> <\-\-upper\-ip=address> <\-\-enable | \fB\-\-disable\fR>
.IP
[\-\-global | \fB\-\-set\-opt\fR=\fI\,dhcp\-opt\-no\/\fR value... | \fB\-\-set\-opt\-hex\fR=\fI\,dhcp\-opt\-no\/\fR hexstring... | \fB\-\-force\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-supress\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-min\-lease\-time\fR=\fI\,seconds\/\fR | \fB\-\-default\-lease\-time\fR=\fI\,seconds\/\fR |
.IP
\fB\-\-max\-lease\-time\fR=\fI\,seconds\/\fR...]
.IP
[\-\-group=name | \fB\-\-set\-opt\fR=\fI\,dhcp\-opt\-no\/\fR value... | \fB\-\-set\-opt\-hex\fR=\fI\,dhcp\-opt\-no\/\fR hexstring... | \fB\-\-force\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-supress\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-incl\-mac\fR=\fI\,address\/\fR... | \fB\-\-excl\-mac\fR=\fI\,address\/\fR... |
.IP
\fB\-\-incl\-mac\-wild\fR=\fI\,pattern\/\fR... | \fB\-\-excl\-mac\-wild\fR=\fI\,pattern\/\fR... | \fB\-\-incl\-vendor\fR=\fI\,string\/\fR... | \fB\-\-excl\-vendor\fR=\fI\,string\/\fR... | \fB\-\-incl\-vendor\-wild\fR=\fI\,pattern\/\fR... | \fB\-\-excl\-vendor\-wild\fR=\fI\,pattern\/\fR... | \fB\-\-incl\-user\fR=\fI\,string\/\fR... |
\fB\-\-excl\-user\fR=\fI\,string\/\fR... | \fB\-\-incl\-user\-wild\fR=\fI\,pattern\/\fR... | \fB\-\-excl\-user\-wild\fR=\fI\,pattern\/\fR... | \fB\-\-min\-lease\-time\fR=\fI\,seconds\/\fR | \fB\-\-default\-lease\-time\fR=\fI\,seconds\/\fR | \fB\-\-max\-lease\-time\fR=\fI\,seconds\/\fR...]
.IP
[\-\-vm=name|uuid | \fB\-\-nic\fR=\fI\,1\-N\/\fR | \fB\-\-set\-opt\fR=\fI\,dhcp\-opt\-no\/\fR value... | \fB\-\-set\-opt\-hex\fR=\fI\,dhcp\-opt\-no\/\fR hexstring... | \fB\-\-force\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-supress\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-min\-lease\-time\fR=\fI\,seconds\/\fR |
.IP
\fB\-\-default\-lease\-time\fR=\fI\,seconds\/\fR | \fB\-\-max\-lease\-time\fR=\fI\,seconds\/\fR | \fB\-\-fixed\-address\fR=\fI\,address\/\fR...]
.IP
[\-\-mac\-address=address | \fB\-\-set\-opt\fR=\fI\,dhcp\-opt\-no\/\fR value... | \fB\-\-set\-opt\-hex\fR=\fI\,dhcp\-opt\-no\/\fR hexstring... | \fB\-\-force\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-supress\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-min\-lease\-time\fR=\fI\,seconds\/\fR |
.IP
\fB\-\-default\-lease\-time\fR=\fI\,seconds\/\fR | \fB\-\-max\-lease\-time\fR=\fI\,seconds\/\fR | \fB\-\-fixed\-address\fR=\fI\,address\/\fR...]
.IP
VBoxManage dhcpserver modify <\-\-network=netname | \fB\-\-interface\fR=\fI\,ifname\/\fR> [\-\-server\-ip=address] [\-\-lower\-ip=address] [\-\-upper\-ip=address] [\-\-netmask=mask] [\-\-enable | \fB\-\-disable]\fR
.IP
[\-\-global | \fB\-\-del\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-set\-opt\fR=\fI\,dhcp\-opt\-no\/\fR value... | \fB\-\-set\-opt\-hex\fR=\fI\,dhcp\-opt\-no\/\fR hexstring... | \fB\-\-force\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-unforce\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-supress\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... |
.IP
\fB\-\-unsupress\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-min\-lease\-time\fR=\fI\,seconds\/\fR | \fB\-\-default\-lease\-time\fR=\fI\,seconds\/\fR | \fB\-\-max\-lease\-time\fR=\fI\,seconds\/\fR | \fB\-\-remove\-config\fR...]
.IP
[\-\-group=name | \fB\-\-set\-opt\fR=\fI\,dhcp\-opt\-no\/\fR value... | \fB\-\-set\-opt\-hex\fR=\fI\,dhcp\-opt\-no\/\fR hexstring... | \fB\-\-force\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-unforce\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-supress\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... |
.IP
\fB\-\-unsupress\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-del\-mac\fR=\fI\,address\/\fR... | \fB\-\-incl\-mac\fR=\fI\,address\/\fR... | \fB\-\-excl\-mac\fR=\fI\,address\/\fR... | \fB\-\-del\-mac\-wild\fR=\fI\,pattern\/\fR... | \fB\-\-incl\-mac\-wild\fR=\fI\,pattern\/\fR... | \fB\-\-excl\-mac\-wild\fR=\fI\,pattern\/\fR... |
\fB\-\-del\-vendor\fR=\fI\,string\/\fR... | \fB\-\-incl\-vendor\fR=\fI\,string\/\fR... | \fB\-\-excl\-vendor\fR=\fI\,string\/\fR... | \fB\-\-del\-vendor\-wild\fR=\fI\,pattern\/\fR... | \fB\-\-incl\-vendor\-wild\fR=\fI\,pattern\/\fR... | \fB\-\-excl\-vendor\-wild\fR=\fI\,pattern\/\fR... | \fB\-\-del\-user\fR=\fI\,string\/\fR... |
\fB\-\-incl\-user\fR=\fI\,string\/\fR... | \fB\-\-excl\-user\fR=\fI\,string\/\fR... | \fB\-\-del\-user\-wild\fR=\fI\,pattern\/\fR... | \fB\-\-incl\-user\-wild\fR=\fI\,pattern\/\fR... | \fB\-\-excl\-user\-wild\fR=\fI\,pattern\/\fR... | \fB\-\-zap\-conditions\fR | \fB\-\-min\-lease\-time\fR=\fI\,seconds\/\fR |
\fB\-\-default\-lease\-time\fR=\fI\,seconds\/\fR | \fB\-\-max\-lease\-time\fR=\fI\,seconds\/\fR | \fB\-\-remove\-config\fR...]
.IP
[\-\-vm=name|uuid | \fB\-\-nic\fR=\fI\,1\-N\/\fR | \fB\-\-del\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-set\-opt\fR=\fI\,dhcp\-opt\-no\/\fR value... | \fB\-\-set\-opt\-hex\fR=\fI\,dhcp\-opt\-no\/\fR hexstring... | \fB\-\-force\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-unforce\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... |
.IP
\fB\-\-supress\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-unsupress\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-min\-lease\-time\fR=\fI\,seconds\/\fR | \fB\-\-default\-lease\-time\fR=\fI\,seconds\/\fR | \fB\-\-max\-lease\-time\fR=\fI\,seconds\/\fR | \fB\-\-fixed\-address\fR=\fI\,address\/\fR | \fB\-\-remove\-config\fR...]
.IP
[\-\-mac\-address=address | \fB\-\-del\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-set\-opt\fR=\fI\,dhcp\-opt\-no\/\fR value... | \fB\-\-set\-opt\-hex\fR=\fI\,dhcp\-opt\-no\/\fR hexstring... | \fB\-\-force\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-unforce\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... |
.IP
\fB\-\-supress\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-unsupress\-opt\fR=\fI\,dhcp\-opt\-no\/\fR... | \fB\-\-min\-lease\-time\fR=\fI\,seconds\/\fR | \fB\-\-default\-lease\-time\fR=\fI\,seconds\/\fR | \fB\-\-max\-lease\-time\fR=\fI\,seconds\/\fR | \fB\-\-fixed\-address\fR=\fI\,address\/\fR | \fB\-\-remove\-config\fR...]
.IP
VBoxManage dhcpserver remove <\-\-network=netname | \fB\-\-interface\fR=\fI\,ifname\/\fR>
.IP
VBoxManage dhcpserver start <\-\-network=netname | \fB\-\-interface\fR=\fI\,ifname\/\fR>
.IP
VBoxManage dhcpserver restart <\-\-network=netname | \fB\-\-interface\fR=\fI\,ifname\/\fR>
.IP
VBoxManage dhcpserver stop <\-\-network=netname | \fB\-\-interface\fR=\fI\,ifname\/\fR>
.IP
VBoxManage dhcpserver findlease <\-\-network=netname | \fB\-\-interface\fR=\fI\,ifname\/\fR> <\-\-mac\-address=mac>
.IP
VBoxManage debugvm <uuid|vmname> dumpvmcore [\-\-filename=name]
.IP
VBoxManage debugvm <uuid|vmname> info <item> [args...]
.IP
VBoxManage debugvm <uuid|vmname> injectnmi
.IP
VBoxManage debugvm <uuid|vmname> log [\-\-release | \fB\-\-debug]\fR [group\-settings...]
.IP
VBoxManage debugvm <uuid|vmname> logdest [\-\-release | \fB\-\-debug]\fR [destinations...]
.IP
VBoxManage debugvm <uuid|vmname> logflags [\-\-release | \fB\-\-debug]\fR [flags...]
.IP
VBoxManage debugvm <uuid|vmname> osdetect
.IP
VBoxManage debugvm <uuid|vmname> osinfo
.IP
VBoxManage debugvm <uuid|vmname> osdmesg [\-\-lines=lines]
.IP
VBoxManage debugvm <uuid|vmname> getregisters [\-\-cpu=id] [reg\-set.reg\-name...]
.IP
VBoxManage debugvm <uuid|vmname> setregisters [\-\-cpu=id] [reg\-set.reg\-name=value...]
.IP
VBoxManage debugvm <uuid|vmname> show [\-\-human\-readable | \fB\-\-sh\-export\fR | \fB\-\-sh\-eval\fR | \fB\-\-cmd\-set]\fR [settings\-item...]
.IP
VBoxManage debugvm <uuid|vmname> stack [\-\-cpu=id]
.IP
VBoxManage debugvm <uuid|vmname> statistics [\-\-reset] [\-\-descriptions] [\-\-pattern=pattern]
.IP
VBoxManage debugvm <uuid|vmname> guestsample [\-\-filename=filename] [\-\-sample\-interval\-us=interval] [\-\-sample\-time\-us=time]
.IP
VBoxManage extpack install [\-\-replace] [\-\-accept\-license=sha256] <tarball>
.IP
VBoxManage extpack uninstall [\-\-force] <name>
.IP
VBoxManage extpack cleanup
.IP
VBoxManage unattended detect <\-\-iso=install\-iso> [\-\-machine\-readable]
.IP
VBoxManage unattended install <uuid|vmname> <\-\-iso=install\-iso> [\-\-user=login] [\-\-password=password] [\-\-password\-file=file] [\-\-full\-user\-name=name] [\-\-key=product\-key] [\-\-install\-additions]
.IP
[\-\-no\-install\-additions] [\-\-additions\-iso=add\-iso] [\-\-install\-txs] [\-\-no\-install\-txs] [\-\-validation\-kit\-iso=testing\-iso] [\-\-locale=ll_CC] [\-\-country=CC] [\-\-time\-zone=tz] [\-\-hostname=fqdn]
[\-\-package\-selection\-adjustment=keyword] [\-\-dry\-run] [\-\-auxiliary\-base\-path=path] [\-\-image\-index=number] [\-\-script\-template=file] [\-\-post\-install\-template=file] [\-\-post\-install\-command=command]
[\-\-extra\-install\-kernel\-parameters=params] [\-\-language=lang] [\-\-start\-vm=session\-type]
.IP
VBoxManage cloud <\-\-provider=name> <\-\-profile=name>
.IP
list instances [\-\-state=string] [\-\-compartment\-id=string]
.IP
VBoxManage cloud <\-\-provider=name> <\-\-profile=name>
.IP
list images <\-\-compartment\-id=string> [\-\-state=string]
.IP
VBoxManage cloud <\-\-provider=name> <\-\-profile=name>
.IP
list vnicattachments <\-\-compartment\-id=string> [\-\-filter=string]
.IP
VBoxManage cloud <\-\-provider=name> <\-\-profile=name>
.IP
instance create <\-\-domain\-name=name> <\-\-image\-id=id | \fB\-\-boot\-volume\-id\fR=\fI\,id\/\fR> <\-\-display\-name=name> <\-\-shape=type> <\-\-subnet=id> [\-\-boot\-disk\-size=size in GB] [\-\-publicip=true/false] [\-\-privateip=IP
.IP
address] [\-\-public\-ssh\-key=key string...] [\-\-launch\-mode=NATIVE/EMULATED/PARAVIRTUALIZED] [\-\-cloud\-init\-script\-path=path to a script]
.IP
VBoxManage cloud <\-\-provider=name> <\-\-profile=name>
.IP
instance info <\-\-id=unique id>
.IP
VBoxManage cloud <\-\-provider=name> <\-\-profile=name>
.IP
instance terminate <\-\-id=unique id>
.IP
VBoxManage cloud <\-\-provider=name> <\-\-profile=name>
.IP
instance start <\-\-id=unique id>
.IP
VBoxManage cloud <\-\-provider=name> <\-\-profile=name>
.IP
instance pause <\-\-id=unique id>
.IP
VBoxManage cloud <\-\-provider=name> <\-\-profile=name>
.IP
instance reset <\-\-id=unique id>
.IP
VBoxManage cloud <\-\-provider=name> <\-\-profile=name>
.IP
image create <\-\-display\-name=name> [\-\-bucket\-name=name] [\-\-object\-name=name] [\-\-instance\-id=unique id]
.IP
VBoxManage cloud <\-\-provider=name> <\-\-profile=name>
.IP
image info <\-\-id=unique id>
.IP
VBoxManage cloud <\-\-provider=name> <\-\-profile=name>
.IP
image delete <\-\-id=unique id>
.IP
VBoxManage cloud <\-\-provider=name> <\-\-profile=name>
.IP
image import <\-\-id=unique id> [\-\-bucket\-name=name] [\-\-object\-name=name]
.IP
VBoxManage cloud <\-\-provider=name> <\-\-profile=name>
.IP
image export <\-\-id=unique id> <\-\-display\-name=name> [\-\-bucket\-name=name] [\-\-object\-name=name]
.IP
VBoxManage cloud <\-\-provider=name> <\-\-profile=name>
.IP
network setup [\-\-gateway\-os\-name=string] [\-\-gateway\-os\-version=string] [\-\-gateway\-shape=string] [\-\-tunnel\-network\-name=string] [\-\-tunnel\-network\-range=string] [\-\-proxy=string] [\-\-compartment\-id=string]
.IP
VBoxManage cloud <\-\-provider=name> <\-\-profile=name>
.IP
network create <\-\-name=string> <\-\-network\-id=string> [\-\-enable | \fB\-\-disable]\fR
.IP
VBoxManage cloud network update <\-\-name=string> [\-\-network\-id=string] [\-\-enable | \fB\-\-disable]\fR
.IP
VBoxManage cloud network delete <\-\-name=string>
.IP
VBoxManage cloud network info <\-\-name=string>
.IP
VBoxManage cloudprofile <\-\-provider=name> <\-\-profile=name> add [\-\-clouduser=unique id] [\-\-fingerprint=MD5 string] [\-\-keyfile=path] [\-\-passphrase=string] [\-\-tenancy=unique id] [\-\-compartment=unique id]
.IP
[\-\-region=string]
.IP
VBoxManage cloudprofile <\-\-provider=name> <\-\-profile=name> update [\-\-clouduser=unique id] [\-\-fingerprint=MD5 string] [\-\-keyfile=path] [\-\-passphrase=string] [\-\-tenancy=unique id] [\-\-compartment=unique id]
.IP
[\-\-region=string]
.IP
VBoxManage cloudprofile <\-\-provider=name> <\-\-profile=name> delete
.IP
VBoxManage cloudprofile <\-\-provider=name> <\-\-profile=name> show
.IP
VBoxManage signova <ova> <\-\-certificate=file> <\-\-private\-key=file> [\-\-private\-key\-password\-file=password\-file | \fB\-\-private\-key\-password\fR=\fI\,password]\/\fR [\-\-digest\-type=type] [\-\-pkcs7 | \fB\-\-no\-pkcs7]\fR
.IP
[\-\-intermediate\-cert=file] [\-\-force] [\-\-verbose] [\-\-quiet] [\-\-dry\-run]
.IP
VBoxManage modifynvram <uuid|vmname> inituefivarstore
.IP
VBoxManage modifynvram <uuid|vmname> enrollmssignatures
.IP
VBoxManage modifynvram <uuid|vmname> enrollorclpk
.IP
VBoxManage modifynvram <uuid|vmname> enrollpk [\-\-platform\-key=filename] [\-\-owner\-uuid=uuid]
.IP
VBoxManage modifynvram <uuid|vmname> enrollmok [\-\-mok=filename] [\-\-owner\-uuid=uuid]
.IP
VBoxManage modifynvram <uuid|vmname> listvars
.IP
VBoxManage modifynvram <uuid|vmname> queryvar [\-\-name=name] [\-\-filename=filename]
.IP
VBoxManage modifynvram <uuid|vmname> deletevar [\-\-name=name] [\-\-owner\-uuid=uuid]
.IP
VBoxManage modifynvram <uuid|vmname> changevar [\-\-name=name] [\-\-filename=filename]
.IP
VBoxManage hostonlynet add <\-\-name=netname> [\-\-id=netid] <\-\-netmask=mask> <\-\-lower\-ip=address> <\-\-upper\-ip=address> [\-\-enable | \fB\-\-disable]\fR
.IP
VBoxManage hostonlynet modify <\-\-name=netname | \fB\-\-id\fR=\fI\,netid\/\fR> [\-\-lower\-ip=address] [\-\-upper\-ip=address] [\-\-netmask=mask] [\-\-enable | \fB\-\-disable]\fR
.IP
VBoxManage hostonlynet remove <\-\-name=netname | \fB\-\-id\fR=\fI\,netid\/\fR>
.IP
VBoxManage updatecheck perform [\-\-machine\-readable]
.IP
VBoxManage updatecheck list [\-\-machine\-readable]
.IP
VBoxManage updatecheck modify [\-\-disable | \fB\-\-enable]\fR [\-\-channel=stable | withbetas | all] [\-\-frequency=days]
.IP
VBoxManage discardstate <uuid | vmname>
.IP
VBoxManage adoptstate <uuid | vmname> <state\-filename>
.IP
VBoxManage closemedium [disk | dvd | floppy] <uuid | filename> [\-\-delete]
.IP
VBoxManage storageattach <uuid | vmname> <\-\-storagectl=name> [\-\-bandwidthgroup= name | none ] [\-\-comment=text] [\-\-device=number] [\-\-discard= on | off ] [\-\-encodedlun=lun] [\-\-forceunmount] [\-\-hotpluggable= on
.IP
| off ] [\-\-initiator=initiator] [\-\-intnet] [\-\-lun=lun] [\-\-medium= none | emptydrive | additions | uuid | filename | host:drive | iscsi ] [\-\-mtype= normal | writethrough | immutable | shareable | readonly
| multiattach ] [\-\-nonrotational= on | off ] [\-\-passthrough= on | off ] [\-\-passwordfile=file] [\-\-password=password] [\-\-port=number] [\-\-server= name | ip ] [\-\-setparentuuid=uuid] [\-\-setuuid=uuid]
[\-\-target=target] [\-\-tempeject= on | off ] [\-\-tport=port] [\-\-type= dvddrive | fdd | hdd ] [\-\-username=username]
.IP
VBoxManage storagectl <uuid | vmname> <\-\-name=controller\-name> [\-\-add= floppy | ide | pcie | sas | sata | scsi | usb ] [\-\-controller= BusLogic | I82078 | ICH6 | IntelAhci | LSILogic | LSILogicSAS | NVMe |
.IP
PIIX3 | PIIX4 | USB | VirtIO ] [\-\-bootable= on | off ] [\-\-hostiocache= on | off ] [\-\-portcount=count] [\-\-remove] [\-\-rename=new\-controller\-name]
.IP
VBoxManage bandwidthctl <uuid | vmname> add <bandwidth\-group\-name> <\-\-limit=bandwidth\-limit[k|m|g|K|M|G]> <\-\-type=disk|network>
.IP
VBoxManage bandwidthctl <uuid | vmname> list [\-\-machinereadable]
.IP
VBoxManage bandwidthctl <uuid | vmname> remove <bandwidth\-group\-name>
.IP
VBoxManage bandwidthctl <uuid | vmname> set <bandwidth\-group\-name> <\-\-limit=bandwidth\-limit[k|m|g|K|M|G]>
.IP
VBoxManage showmediuminfo [disk | dvd | floppy] <uuid | filename>
.IP
VBoxManage createmedium [disk | dvd | floppy] <\-\-filename=filename> [\-\-size=megabytes | \fB\-\-sizebyte\fR=\fI\,bytes]\/\fR [\-\-diffparent= UUID | filename ] [\-\-format= VDI | VMDK | VHD ]
.IP
[\-\-variant Standard,Fixed,Split2G,Stream,ESX,Formatted,RawDisk] \fB\-\-property\fR name=value... \fB\-\-property\-file\fR name=/path/to/file/with/value...
.IP
VBoxManage modifymedium [disk | dvd | floppy] <uuid | filename> [\-\-autoreset=on | off] [\-\-compact] [\-\-description=description] [\-\-move=pathname] [\-\-property=name=[value]]
.IP
[\-\-resize=megabytes | \fB\-\-resizebyte\fR=\fI\,bytes]\/\fR [\-\-setlocation=pathname] [\-\-type=normal | writethrough | immutable | shareable | readonly | multiattach]
.IP
VBoxManage clonemedium <uuid | source\-medium> <uuid | target\-medium> [disk | dvd | floppy] [\-\-existing] [\-\-format= VDI | VMDK | VHD | RAW | other ] [\-\-variant=Standard,Fixed,Split2G,Stream,ESX]
.IP
VBoxManage mediumproperty [disk | dvd | floppy] set <uuid | filename> <property\-name> <property\-value>
.IP
VBoxManage mediumproperty [disk | dvd | floppy] get <uuid | filename> <property\-name>
.IP
VBoxManage mediumproperty [disk | dvd | floppy] delete <uuid | filename> <property\-name>
.IP
VBoxManage encryptmedium <uuid | filename> [\-\-cipher=cipher\-ID] [\-\-newpassword=password] [\-\-newpasswordid=password\-ID] [\-\-oldpassword=password]
.IP
VBoxManage checkmediumpwd <uuid | filename> <password\-file>
.IP
VBoxManage convertfromraw <inputfile> <outputfile> [\-\-format= VDI | VMDK | VHD ] [\-\-uuid=uuid] [\-\-variant=Standard,Fixed,Split2G,Stream,ESX]
.IP
VBoxManage convertfromraw stdin <outputfile> <bytes> [\-\-format= VDI | VMDK | VHD ] [\-\-uuid=uuid] [\-\-variant=Standard,Fixed,Split2G,Stream,ESX]
.IP
VBoxManage setextradata <global | uuid | vmname> <keyword> [value]
.IP
VBoxManage getextradata <global | uuid | vmname> keyword | enumerate
.IP
VBoxManage setproperty <property\-name> <property\-value>
.IP
VBoxManage usbfilter add <index,0\-N> <\-\-target= <uuid | vmname | global> > <\-\-name=string> <\-\-action=ignore | hold> [\-\-active=yes | no] [\-\-vendorid=XXXX] [\-\-productid=XXXX] [\-\-revision=IIFF]
.IP
[\-\-manufacturer=string] [\-\-product=string] [\-\-port=hex] [\-\-remote=yes | no] [\-\-serialnumber=string] [\-\-maskedinterfaces=XXXXXXXX]
.IP
VBoxManage usbfilter modify <index,0\-N> <\-\-target= <uuid | vmname | global> > [\-\-name=string] [\-\-action=ignore | hold] [\-\-active=yes | no] [\-\-vendorid=XXXX | ""] [\-\-productid=XXXX | ""] [\-\-revision=IIFF | ""]
.IP
[\-\-manufacturer=string | ""] [\-\-product=string | ""] [\-\-port=hex] [\-\-remote=yes | no] [\-\-serialnumber=string | ""] [\-\-maskedinterfaces=XXXXXXXX]
.IP
VBoxManage usbfilter remove <index,0\-N> <\-\-target= <uuid | vmname | global> >
.IP
VBoxManage guestproperty get <uuid | vmname> <property\-name> [\-\-verbose]
.IP
VBoxManage guestproperty enumerate <uuid | vmname> [\-\-no\-timestamp] [\-\-no\-flags] [\-\-relative] [\-\-old\-format] [patterns...]
.IP
VBoxManage guestproperty set <uuid | vmname> <property\-name> [property\-value [\-\-flags=flags] ]
.IP
VBoxManage guestproperty unset <uuid | vmname> <property\-name>
.IP
VBoxManage guestproperty wait <uuid | vmname> <patterns> [\-\-timeout=msec] [\-\-fail\-on\-timeout]
.IP
VBoxManage guestcontrol <uuid | vmname> run [\-\-arg0=argument 0] [\-\-domain=domainname] [\-\-dos2unix] [\-\-exe=filename] [\-\-ignore\-orphaned\-processes] [\-\-no\-wait\-stderr | \fB\-\-wait\-stderr]\fR [\-\-no\-wait\-stdout |
.HP
\fB\-\-wait\-stdout]\fR [\-\-passwordfile=password\-file | \fB\-\-password\fR=\fI\,password]\/\fR [\-\-profile] [\-\-putenv=var\-name=[value]] [\-\-quiet] [\-\-timeout=msec] [\-\-unix2dos] [\-\-unquoted\-args] [\-\-username=username] [\-\-verbose] <\-\-
.IP
[argument...] >
.IP
VBoxManage guestcontrol <uuid | vmname> start [\-\-arg0=argument 0] [\-\-domain=domainname] [\-\-exe=filename] [\-\-ignore\-orphaned\-processes] [\-\-passwordfile=password\-file | \fB\-\-password\fR=\fI\,password]\/\fR [\-\-profile]
.IP
[\-\-putenv=var\-name=[value]] [\-\-quiet] [\-\-timeout=msec] [\-\-unquoted\-args] [\-\-username=username] [\-\-verbose] <\-\- [argument...] >
.IP
VBoxManage guestcontrol <uuid | vmname> copyfrom [\-\-dereference] [\-\-domain=domainname] [\-\-passwordfile=password\-file | \fB\-\-password\fR=\fI\,password]\/\fR [\-\-quiet] [\-\-no\-replace] [\-\-recursive]
.IP
[\-\-target\-directory=host\-destination\-dir] [\-\-update] [\-\-username=username] [\-\-verbose] <guest\-source0> guest\-source1 [...] <host\-destination>
.IP
VBoxManage guestcontrol <uuid | vmname> copyto [\-\-dereference] [\-\-domain=domainname] [\-\-passwordfile=password\-file | \fB\-\-password\fR=\fI\,password]\/\fR [\-\-quiet] [\-\-no\-replace] [\-\-recursive]
.IP
[\-\-target\-directory=guest\-destination\-dir] [\-\-update] [\-\-username=username] [\-\-verbose] <host\-source0> host\-source1 [...]
.IP
VBoxManage guestcontrol <uuid | vmname> mkdir [\-\-domain=domainname] [\-\-mode=mode] [\-\-parents] [\-\-passwordfile=password\-file | \fB\-\-password\fR=\fI\,password]\/\fR [\-\-quiet] [\-\-username=username] [\-\-verbose]
.IP
<guest\-directory...>
.IP
VBoxManage guestcontrol <uuid | vmname> rmdir [\-\-domain=domainname] [\-\-passwordfile=password\-file | \fB\-\-password\fR=\fI\,password]\/\fR [\-\-quiet] [\-\-recursive] [\-\-username=username] [\-\-verbose] <guest\-directory...>
.IP
VBoxManage guestcontrol <uuid | vmname> rm [\-\-domain=domainname] [\-\-force] [\-\-passwordfile=password\-file | \fB\-\-password\fR=\fI\,password]\/\fR [\-\-quiet] [\-\-username=username] [\-\-verbose] <guest\-directory...>
.IP
VBoxManage guestcontrol <uuid | vmname> mv [\-\-domain=domainname] [\-\-passwordfile=password\-file | \fB\-\-password\fR=\fI\,password]\/\fR [\-\-quiet] [\-\-username=username] [\-\-verbose] <source...> <destination\-directory>
.IP
VBoxManage guestcontrol <uuid | vmname> mktemp [\-\-directory] [\-\-domain=domainname] [\-\-mode=mode] [\-\-passwordfile=password\-file | \fB\-\-password\fR=\fI\,password]\/\fR [\-\-quiet] [\-\-secure] [\-\-tmpdir=directory\-name]
.IP
[\-\-username=username] [\-\-verbose] <template\-name>
.IP
VBoxManage guestcontrol <uuid | vmname> stat [\-\-domain=domainname] [\-\-passwordfile=password\-file | \fB\-\-password\fR=\fI\,password]\/\fR [\-\-quiet] [\-\-username=username] [\-\-verbose] <filename>
.IP
VBoxManage guestcontrol <uuid | vmname> list <all | files | processes | sessions> [\-\-quiet] [\-\-verbose]
.IP
VBoxManage guestcontrol <uuid | vmname> closeprocess [\-\-session\-id=ID | \fB\-\-session\-name\fR=\fI\,name\-or\-pattern]\/\fR [\-\-quiet] [\-\-verbose] <PID...>
.IP
VBoxManage guestcontrol <uuid | vmname> closesession [\-\-all | \fB\-\-session\-id\fR=\fI\,ID\/\fR | \fB\-\-session\-name\fR=\fI\,name\-or\-pattern]\/\fR [\-\-quiet] [\-\-verbose]
.TP
VBoxManage guestcontrol <uuid | vmname> updatega [\-\-quiet] [\-\-verbose] [\-\-source=guest\-additions.ISO] [\-\-wait\-start] [\-\-
[argument...] ]
.IP
VBoxManage guestcontrol <uuid | vmname> watch [\-\-quiet] [\-\-verbose]
.IP
VBoxManage metrics collect [\-\-detach] [\-\-list] [\-\-period=seconds] [\-\-samples=count] [* | host | vmname metric\-list]
.IP
VBoxManage metrics disable [\-\-list] [* | host | vmname metric\-list]
.IP
VBoxManage metrics enable [\-\-list] [* | host | vmname metric\-list]
.IP
VBoxManage metrics list [* | host | vmname metric\-list]
.IP
VBoxManage metrics query [* | host | vmname metric\-list]
.IP
VBoxManage metrics setup [\-\-list] [\-\-period seconds] [\-\-samples count] [* | host | vmname metric\-list]
.IP
VBoxManage natnetwork add [\-\-disable | \fB\-\-enable]\fR <\-\-netname=name> <\-\-network=network> [\-\-dhcp=on|off] [\-\-ipv6=on|off] [\-\-loopback\-4=rule] [\-\-loopback\-6=rule] [\-\-port\-forward\-4=rule] [\-\-port\-forward\-6=rule]
.IP
VBoxManage natnetwork list [filter\-pattern]
.IP
VBoxManage natnetwork modify [\-\-dhcp=on|off] [\-\-disable | \fB\-\-enable]\fR <\-\-netname=name> <\-\-network=network> [\-\-ipv6=on|off] [\-\-loopback\-4=rule] [\-\-loopback\-6=rule] [\-\-port\-forward\-4=rule] [\-\-port\-forward\-6=rule]
.IP
VBoxManage natnetwork remove <\-\-netname=name>
.IP
VBoxManage natnetwork start <\-\-netname=name>
.IP
VBoxManage natnetwork stop <\-\-netname=name>
.IP
VBoxManage hostonlyif ipconfig <ifname> [\-\-dhcp | \fB\-\-ip\fR=\fI\,IPv4\-address\/\fR \fB\-\-netmask\fR=\fI\,IPv4\-netmask\/\fR | \fB\-\-ipv6\fR=\fI\,IPv6\-address\/\fR \fB\-\-netmasklengthv6\fR=\fI\,length]\/\fR
.IP
VBoxManage hostonlyif create
.IP
VBoxManage hostonlyif remove <ifname>
.IP
VBoxManage usbdevsource add <source\-name> <\-\-backend=backend> <\-\-address=address>
.IP
VBoxManage usbdevsource remove <source\-name>

125
debian/manpages/VBoxSDL.1 vendored Normal file
View file

@ -0,0 +1,125 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH VBOXSDL "1" "April 2024" "VBoxSDL" "User Commands"
.SH NAME
VBoxSDL \- x86 virtualization solution
.SH DESCRIPTION
Oracle VM VirtualBox SDL GUI version 7.0.16
(C) 2005\-2024 Oracle Corporation
All rights reserved.
.SS "Usage:"
.TP
\fB\-\-startvm\fR <uuid|name>
Virtual machine to start, either UUID or name
.TP
\fB\-\-separate\fR
Run a separate VM process or attach to a running VM
.TP
\fB\-\-hda\fR <file>
Set temporary first hard disk to file
.TP
\fB\-\-fda\fR <file>
Set temporary first floppy disk to file
.TP
\fB\-\-cdrom\fR <file>
Set temporary CDROM/DVD to file/device ('none' to unmount)
.TP
\fB\-\-boot\fR <a|c|d|n>
Set temporary boot device (a = floppy, c = 1st HD, d = DVD, n = network)
.TP
\fB\-\-memory\fR <size>
Set temporary memory size in megabytes
.TP
\fB\-\-vram\fR <size>
Set temporary size of video memory in megabytes
.TP
\fB\-\-fullscreen\fR
Start VM in fullscreen mode
.TP
\fB\-\-fullscreenresize\fR
Resize the guest on fullscreen
.HP
\fB\-\-fixedmode\fR <w> <h> <bpp> Use a fixed SDL video mode with given width, height and bits per pixel
.TP
\fB\-\-nofstoggle\fR
Forbid switching to/from fullscreen mode
.TP
\fB\-\-noresize\fR
Make the SDL frame non resizable
.TP
\fB\-\-nohostkey\fR
Disable all hostkey combinations
.TP
\fB\-\-nohostkeys\fR ...
Disable specific hostkey combinations, see below for valid keys
.TP
\fB\-\-nograbonclick\fR
Disable mouse/keyboard grabbing on mouse click w/o additions
.TP
\fB\-\-detecthostkey\fR
Get the hostkey identifier and modifier state
.HP
\fB\-\-hostkey\fR <key> {<key2>} <mod> Set the host key to the values obtained using \fB\-\-detecthostkey\fR
.TP
\fB\-\-termacpi\fR
Send an ACPI power button event when closing the window
.TP
\fB\-\-vrdp\fR <ports>
Listen for VRDP connections on one of specified ports (default if not specified)
.TP
\fB\-\-discardstate\fR
Discard saved state (if present) and revert to last snapshot (if present)
.TP
\fB\-\-settingspw\fR <pw>
Specify the settings password
.TP
\fB\-\-settingspwfile\fR <file>
Specify a file containing the settings password
.TP
\fB\-\-securelabel\fR
Display a secure VM label at the top of the screen
.TP
\fB\-\-seclabelfnt\fR
TrueType (.ttf) font file for secure session label
.TP
\fB\-\-seclabelsiz\fR
Font point size for secure session label (default 12)
.TP
\fB\-\-seclabelofs\fR
Font offset within the secure label (default 0)
.TP
\fB\-\-seclabelfgcol\fR <rgb>
Secure label text color RGB value in 6 digit hexadecimal (eg: FFFF00)
.TP
\fB\-\-seclabelbgcol\fR <rgb>
Secure label background color RGB value in 6 digit hexadecimal (eg: FF0000)
.TP
\fB\-\-[no]rawr0\fR
Enable or disable raw ring 3
.TP
\fB\-\-[no]rawr3\fR
Enable or disable raw ring 0
.TP
\fB\-\-[no]patm\fR
Enable or disable PATM
.TP
\fB\-\-[no]csam\fR
Enable or disable CSAM
.TP
\fB\-\-[no]hwvirtex\fR
Permit or deny the usage of VT\-x/AMD\-V
.SS "Key bindings:"
.TP
<hostkey> +
f Switch to full screen / restore to previous view
h Press ACPI power button
n Take a snapshot and continue execution
p Pause / resume execution
q Power off
r VM reset
s Save state and power off
.TP
<del>
Send <ctrl><alt><del>
.TP
<F1>...<F12>
Send <ctrl><alt><Fx>

156
debian/manpages/VBoxService.8 vendored Normal file
View file

@ -0,0 +1,156 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH VBOXSERVICE "8" "April 2024" "VBoxService" "System Administration Utilities"
.SH NAME
VBoxService \- x86 virtualization solution
.SH SYNOPSIS
.B VBoxService
[\fI\,-f|--foreground\/\fR] [\fI\,-v|--verbose\/\fR] [\fI\,-l|--logfile <file>\/\fR]
.SH DESCRIPTION
.IP
[\-p|\-\-pidfile <file>] [\-i|\-\-interval <seconds>]
[\-\-disable\-<service>] [\-\-enable\-<service>]
[\-\-only\-<service>] [\-h|\-?|\-\-help]
[\-\-control\-interval <ms>]
[\-\-timesync\-interval <ms>] [\-\-timesync\-min\-adjust <ms>]
[\-\-timesync\-latency\-factor <x>] [\-\-timesync\-max\-latency <ms>]
[\-\-timesync\-set\-threshold <ms>]
[\-\-timesync\-set\-start|\-\-timesync\-no\-set\-start]
[\-\-timesync\-set\-on\-restore|\-\-timesync\-no\-set\-on\-restore]
[\-\-timesync\-verbosity <level>]
[\-\-vminfo\-interval <ms>] [\-\-vminfo\-user\-idle\-threshold <ms>]
.SH OPTIONS
.TP
\fB\-i\fR | \fB\-\-interval\fR
The default interval.
.TP
\fB\-f\fR | \fB\-\-foreground\fR
Don't daemonize the program. For debugging.
.TP
\fB\-l\fR | \fB\-\-logfile\fR <file>
Enables logging to a file.
.TP
\fB\-p\fR | \fB\-\-pidfile\fR <file>
Write the process ID to a file.
.TP
\fB\-v\fR | \fB\-\-verbose\fR
Increment the verbosity level. For debugging.
.TP
\fB\-V\fR | \fB\-\-version\fR
Show version information.
.TP
\fB\-h\fR | \-? | \fB\-\-help\fR
Show this message and exit with status 1.
.SS "Service-specific options:"
.TP
\fB\-\-enable\-control\fR
Enables the control service. (default)
.TP
\fB\-\-disable\-control\fR
Disables the control service.
.TP
\fB\-\-only\-control\fR
Only enables the control service.
.TP
\fB\-\-control\-interval\fR
Specifies the interval at which to check for
new control messages. The default is 1000 ms.
.TP
\fB\-\-enable\-timesync\fR
Enables the timesync service. (default)
.TP
\fB\-\-disable\-timesync\fR
Disables the timesync service.
.TP
\fB\-\-only\-timesync\fR
Only enables the timesync service.
.TP
\fB\-\-timesync\-interval\fR
Specifies the interval at which to synchronize the
time with the host. The default is 10000 ms.
.TP
\fB\-\-timesync\-min\-adjust\fR
The minimum absolute drift value measured in
milliseconds to make adjustments for.
The default is 1000 ms on OS/2 and 100 ms elsewhere.
.TP
\fB\-\-timesync\-latency\-factor\fR
The factor to multiply the time query latency with
to calculate the dynamic minimum adjust time.
The default is 8 times.
.TP
\fB\-\-timesync\-max\-latency\fR
The max host timer query latency to accept.
The default is 250 ms.
.TP
\fB\-\-timesync\-set\-threshold\fR
The absolute drift threshold, given as milliseconds,
where to start setting the time instead of trying to
adjust it. The default is 20 min.
.TP
\fB\-\-timesync\-set\-start\fR, \fB\-\-timesync\-no\-set\-start\fR
Set the time when starting the time sync service.
Default: \fB\-\-timesync\-no\-set\-start\fR
.TP
\fB\-\-timesync\-set\-on\-restore\fR, \fB\-\-timesync\-no\-set\-on\-restore\fR
Whether to immediately set the time when the VM is
restored or not. Default: \fB\-\-timesync\-set\-on\-restore\fR
.TP
\fB\-\-timesync\-verbosity\fR
Sets the verbosity level. Defaults to service wide
verbosity level.
.TP
\fB\-\-enable\-vminfo\fR
Enables the vminfo service. (default)
.TP
\fB\-\-disable\-vminfo\fR
Disables the vminfo service.
.TP
\fB\-\-only\-vminfo\fR
Only enables the vminfo service.
.TP
\fB\-\-vminfo\-interval\fR
Specifies the interval at which to retrieve the
VM information. The default is 10000 ms.
.TP
\fB\-\-vminfo\-user\-idle\-threshold\fR <ms>
Specifies the user idle threshold (in ms) for
considering a guest user as being idle. The default
is 5000 (5 seconds).
.TP
\fB\-\-enable\-cpuhotplug\fR
Enables the cpuhotplug service. (default)
.TP
\fB\-\-disable\-cpuhotplug\fR
Disables the cpuhotplug service.
.TP
\fB\-\-only\-cpuhotplug\fR
Only enables the cpuhotplug service.
.TP
\fB\-\-enable\-memballoon\fR
Enables the memballoon service. (default)
.TP
\fB\-\-disable\-memballoon\fR
Disables the memballoon service.
.TP
\fB\-\-only\-memballoon\fR
Only enables the memballoon service.
.TP
\fB\-\-enable\-vmstats\fR
Enables the vmstats service. (default)
.TP
\fB\-\-disable\-vmstats\fR
Disables the vmstats service.
.TP
\fB\-\-only\-vmstats\fR
Only enables the vmstats service.
.TP
\fB\-\-enable\-automount\fR
Enables the automount service. (default)
.TP
\fB\-\-disable\-automount\fR
Disables the automount service.
.TP
\fB\-\-only\-automount\fR
Only enables the automount service.
.IP
Copyright (C) 2009\-2024 Oracle and/or its affiliates

11
debian/manpages/VirtualBox.1 vendored Normal file
View file

@ -0,0 +1,11 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH VIRTUALBOX "1" "April 2024" "VirtualBox" "User Commands"
.SH NAME
VirtualBox \- x86 virtualization solution
.SH DESCRIPTION
Oracle VM VirtualBox VM Selector v7.0.16
Copyright \(co 2005\-2024 Oracle and/or its affiliates
.PP
No special options.
.PP
If you are looking for \fB\-\-startvm\fR and related options, you need to use VirtualBoxVM.

98
debian/manpages/mount.vboxsf.8 vendored Normal file
View file

@ -0,0 +1,98 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH MOUNT.VBOXSF "8" "April 2024" "mount.vboxsf" "System Administration Utilities"
.SH NAME
mount.vboxsf \- x86 virtualization solution
.SH SYNOPSIS
.B mount.vboxsf
[\fI\,OPTIONS\/\fR] \fI\,NAME MOUNTPOINT\/\fR
.SH DESCRIPTION
Mount the VirtualBox shared folder NAME from the host system to MOUNTPOINT.
.TP
\fB\-w\fR
mount the shared folder writable (the default)
.TP
\fB\-r\fR
mount the shared folder read\-only
.TP
\fB\-n\fR
do not create an mtab entry
.TP
\fB\-s\fR
sloppy parsing, ignore unrecognized mount options
.HP
\fB\-o\fR OPTION[,OPTION...] use the mount options specified
.SS "Available mount options are:"
.TP
rw
mount writable (the default)
.TP
ro
mount read only
.TP
uid=UID
set the default file owner user id to UID
.TP
gid=GID
set the default file owner group id to GID
.TP
ttl=MILLIESECSONDS set the "time to live" for both the directory cache
and inode info. \fB\-1\fR for kernel default, 0 disables it.
.TP
dcachettl=MILLIES
set the "time to live" for the directory cache,
overriding the 'ttl' option. Ignored if negative.
.TP
inodettl=MILLIES
set the "time to live" for the inode information,
overriding the 'ttl' option. Ignored if negative.
.TP
maxiopages=PAGES
set the max host I/O buffers size in pages. Uses
default if zero.
.TP
dirbuf=BYTES
set the directory enumeration buffer size in bytes.
Uses default size if zero.
.TP
cache=MODE
set the caching mode for the mount. Allowed values:
.TP
default: use the kernel default (strict)
none: no caching; may experience guest side
.TP
coherence issues between mmap and read.
strict: no caching, except for writably mapped
.TP
files (for guest side coherence)
read: read via the page cache; host changes
.TP
may be completely ignored
readwrite: read and write via the page cache; host
.TP
changes may be completely ignored and
guest changes takes a while to reach the host
.TP
dmode=MODE
override the mode of all directories to (octal) MODE
.TP
fmode=MODE
override the mode of all regular files to (octal) MODE
.TP
umask=UMASK
set the umask to (octal) UMASK
.TP
dmask=UMASK
set the umask applied to directories only
.TP
fmask=UMASK
set the umask applied to regular files only
.TP
iocharset CHARSET
use the character set CHARSET for I/O operations
(default set is utf8)
.TP
convertcp CHARSET
convert the folder name from CHARSET to utf8
.SS "Less common used options:"
.IP
noexec,exec,nodev,dev,nosuid,suid

35
debian/manpages/vboxwebsrv.1 vendored Normal file
View file

@ -0,0 +1,35 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH VBOXWEBSRV "1" "April 2024" "vboxwebsrv" "User Commands"
.SH NAME
vboxwebsrv \- x86 virtualization solution
.SH SYNOPSIS
.B vboxwebsrv
[\fI\,options\/\fR]
.SH DESCRIPTION
Oracle VM VirtualBox web service Version 7.0.16
(C) 2007\-2024 Oracle Corporation
All rights reserved.
.PP
Supported options (default values in brackets):
\fB\-\-help\fR, \fB\-h\fR: Print this help message and exit.
\fB\-\-background\fR, \fB\-b\fR: Run in background (daemon mode).
\fB\-\-host\fR, \fB\-H\fR: The host to bind to (localhost).
\fB\-\-port\fR, \fB\-p\fR: The port to bind to (18083).
\fB\-\-ssl\fR, \fB\-s\fR: Enable SSL/TLS encryption.
\fB\-\-keyfile\fR, \fB\-K\fR: Server key and certificate file, PEM format ("").
\fB\-\-passwordfile\fR, \fB\-a\fR: File name for password to server key ("").
\fB\-\-cacert\fR, \fB\-c\fR: CA certificate file, PEM format ("").
\fB\-\-capath\fR, \fB\-C\fR: CA certificate path ("").
\fB\-\-dhfile\fR, \fB\-D\fR: DH file name or DH key length in bits ("").
\fB\-\-randfile\fR, \fB\-r\fR: File containing seed for random number generator ("").
\fB\-\-timeout\fR, \fB\-t\fR: Session timeout in seconds; 0 = disable timeouts (300).
\fB\-\-check\-interval\fR, \fB\-i\fR: Frequency of timeout checks in seconds (5).
\fB\-\-threads\fR, \fB\-T\fR: Maximum number of worker threads to run in parallel (100).
\fB\-\-keepalive\fR, \fB\-k\fR: Maximum number of requests before a connection will be closed (100).
\fB\-\-authentication\fR, \fB\-A\fR: Authentication method for the webservice ("").
\fB\-\-verbose\fR, \fB\-v\fR: Be verbose.
\fB\-\-pidfile\fR, \fB\-P\fR: Name of the PID file which is created when the daemon was started.
\fB\-\-logfile\fR, \fB\-F\fR: Name of file to write log to (no file).
\fB\-\-logrotate\fR, \fB\-R\fR: Number of log files (0 disables log rotation).
\fB\-\-logsize\fR, \fB\-S\fR: Maximum size of a log file to trigger rotation (bytes).
\fB\-\-loginterval\fR, \fB\-I\fR: Maximum time interval to trigger log rotation (seconds).

14
debian/patches/01-build-arch.patch vendored Normal file
View file

@ -0,0 +1,14 @@
Description: Correctly check build architecture.
Author: Michael Meskes <meskes@debian.org>
--- a/configure
+++ b/configure
@@ -381,7 +381,7 @@ test_execute_path()
check_environment()
{
test_header environment
- BUILD_CPU=`uname -m`
+ BUILD_CPU=`dpkg-architecture -qDEB_HOST_GNU_CPU`
[ "$OS" = "solaris" ] && BUILD_CPU=`isainfo | cut -f 1 -d ' '`
case "$BUILD_CPU" in
i[3456789]86|x86|i86pc|BePC)

14
debian/patches/02-gsoap-build-fix.patch vendored Normal file
View file

@ -0,0 +1,14 @@
Interim build fix for gsoap > 2.8.13
Index: virtualbox/src/VBox/Main/webservice/Makefile.kmk
===================================================================
--- virtualbox.orig/src/VBox/Main/webservice/Makefile.kmk
+++ virtualbox/src/VBox/Main/webservice/Makefile.kmk
@@ -848,7 +848,7 @@
$(RECOMPILE_ON_MAKEFILE_CURRENT) | $$(dir $$@)
$(call MSG_GENERATE,,lots of files,$(GSOAPH_RELEVANT))
$(RM) -f $@
- $(REDIRECT) -C $(VBOXWEB_OUT_DIR) -- $(VBOX_SOAPCPP2) $(VBOXWEB_SOAPCPP2_SKIP_FILES) -L -2 -w -I$(VBOX_PATH_GSOAP_IMPORT) $(GSOAPH_RELEVANT)
+ $(REDIRECT) -C $(VBOXWEB_OUT_DIR) -- $(VBOX_SOAPCPP2) $(VBOXWEB_SOAPCPP2_SKIP_FILES) -z1 -L -2 -w -I$(VBOX_PATH_GSOAP_IMPORT) $(GSOAPH_RELEVANT)
ifeq ($(KBUILD_TARGET),win) # MSC -Wall workaround.
$(CP) -f "$(VBOXWEB_SOAP_CLIENT_H)" "$(VBOXWEB_SOAP_CLIENT_H).tmp"
$(SED) -f $(VBOX_PATH_WEBSERVICE)/stdsoap2.sed --output "$(VBOXWEB_SOAP_CLIENT_H)" "$(VBOXWEB_SOAP_CLIENT_H).tmp"

View file

@ -0,0 +1,77 @@
Description: Change error messages for vboxdrv failure, according to virtualbox-dkms.
Author: Daniel Hahler <ubuntu@thequod.de>
Index: virtualbox/src/VBox/VMM/VMMR3/VM.cpp
===================================================================
--- virtualbox.orig/src/VBox/VMM/VMMR3/VM.cpp
+++ virtualbox/src/VBox/VMM/VMMR3/VM.cpp
@@ -281,12 +281,8 @@
#ifdef RT_OS_LINUX
case VERR_SUPDRV_COMPONENT_NOT_FOUND:
- pszError = N_("One of the kernel modules was not successfully loaded. Make sure "
- "that VirtualBox is correctly installed, and if you are using EFI "
- "Secure Boot that the modules are signed if necessary in the right "
- "way for your host system. Then try to recompile and reload the "
- "kernel modules by executing "
- "'/sbin/vboxconfig' as root");
+ pszError = N_("Please install the virtualbox-dkms package "
+ "and execute 'modprobe vboxdrv' as root");
break;
#endif
@@ -352,12 +348,8 @@
{
case VERR_VM_DRIVER_LOAD_ERROR:
#ifdef RT_OS_LINUX
- pszError = N_("VirtualBox kernel driver not loaded. The vboxdrv kernel module "
- "was either not loaded, /dev/vboxdrv is not set up properly, "
- "or you are using EFI Secure Boot and the module is not signed "
- "in the right way for your system. If necessary, try setting up "
- "the kernel module again by executing "
- "'/sbin/vboxconfig' as root");
+ pszError = N_("Please install the virtualbox-dkms package "
+ "and execute 'modprobe vboxdrv' as root");
#else
pszError = N_("VirtualBox kernel driver not loaded");
#endif
@@ -396,12 +388,8 @@
case VERR_INVALID_HANDLE: /** @todo track down and fix this error. */
case VERR_VM_DRIVER_NOT_INSTALLED:
#ifdef RT_OS_LINUX
- pszError = N_("VirtualBox kernel driver not Installed. The vboxdrv kernel module "
- "was either not loaded, /dev/vboxdrv is not set up properly, "
- "or you are using EFI Secure Boot and the module is not signed "
- "in the right way for your system. If necessary, try setting up "
- "the kernel module again by executing "
- "'/sbin/vboxconfig' as root");
+ pszError = N_("Please install the virtualbox-dkms package "
+ "and execute 'modprobe vboxdrv' as root");
#else
pszError = N_("VirtualBox kernel driver not installed");
#endif
Index: virtualbox/src/VBox/Frontends/VirtualBox/src/main.cpp
===================================================================
--- virtualbox.orig/src/VBox/Frontends/VirtualBox/src/main.cpp
+++ virtualbox/src/VBox/Frontends/VirtualBox/src/main.cpp
@@ -98,8 +98,9 @@
QString g_QStrHintLinuxNoDriver = QApplication::tr(
"The VirtualBox Linux kernel driver is either not loaded or not set "
- "up correctly. Please try setting it up again by executing<br/><br/>"
- " <font color=blue>'/sbin/vboxconfig'</font><br/><br/>"
+ "up correctly. Please reinstall virtualbox-dkms "
+ "package and load the kernel module by executing<br/><br/>"
+ " <font color=blue>'modprobe vboxdrv'</font><br/><br/>"
"as root.<br/><br/>"
"If your system has EFI Secure Boot enabled you may also need to sign "
"the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before "
@@ -118,7 +119,7 @@
"The VirtualBox kernel modules do not match this version of "
"VirtualBox. The installation of VirtualBox was apparently not "
"successful. Executing<br/><br/>"
- " <font color=blue>'/sbin/vboxconfig'</font><br/><br/>"
+ " <font color=blue>'modprobe vboxdrv'</font><br/><br/>"
"may correct this. Make sure that you are not mixing builds "
"of VirtualBox from different sources."
);

22
debian/patches/06-xsession.patch vendored Normal file
View file

@ -0,0 +1,22 @@
Description: Make Xsession.d script ignore errors.
Author: Michael Meskes <meskes@debian.org>
Index: virtualbox/src/VBox/Additions/x11/Installer/98vboxadd-xclient
===================================================================
--- virtualbox.orig/src/VBox/Additions/x11/Installer/98vboxadd-xclient
+++ virtualbox/src/VBox/Additions/x11/Installer/98vboxadd-xclient
@@ -40,9 +40,9 @@
# This script can also be triggered by a connection over SSH, which is not
# what we had in mind, so we do not start VBoxClient in that case. We do
# not use "exit" here as this script is "source"d, not executed.
- /usr/bin/VBoxClient --clipboard
- /usr/bin/VBoxClient --checkhostversion
- /usr/bin/VBoxClient --seamless
- /usr/bin/VBoxClient --draganddrop
- /usr/bin/VBoxClient --vmsvga-session # In case VMSVGA emulation is enabled
+ /usr/bin/VBoxClient --clipboard || true
+ /usr/bin/VBoxClient --checkhostversion || true
+ /usr/bin/VBoxClient --seamless || true
+ /usr/bin/VBoxClient --draganddrop || true
+ /usr/bin/VBoxClient --vmsvga-session || true # In case VMSVGA emulation is enabled
fi

View file

@ -0,0 +1,16 @@
Description: Made error message tell about missing vboxnetflt module.
Author: Michael Meskes <meskes@debian.org>
Index: virtualbox/src/VBox/Devices/Network/DrvIntNet.cpp
===================================================================
--- virtualbox.orig/src/VBox/Devices/Network/DrvIntNet.cpp
+++ virtualbox/src/VBox/Devices/Network/DrvIntNet.cpp
@@ -1991,7 +1991,7 @@
return VERR_PDM_NO_ATTACHED_DRIVER;
}
return PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS,
- N_("Failed to open/create the internal network '%s'"), pThis->szNetwork);
+ N_("Failed to open/create the internal network '%s' (you might need to modprobe vboxnetflt to make it accessible)"), pThis->szNetwork);
}
AssertRelease(OpenReq.hIf != INTNET_HANDLE_INVALID);

14
debian/patches/12-make-module.patch vendored Normal file
View file

@ -0,0 +1,14 @@
Description: Fix ARCH setting in modules Makefiles.
Author: Michael Meskes <meskes@debian.org>, Gianfranco Costamagna <locutusofborg@debian.org>
--- a/src/VBox/Installer/linux/Makefile-header.gmk
+++ b/src/VBox/Installer/linux/Makefile-header.gmk
@@ -60,7 +60,7 @@
#
# VBOX_KBUILD_TARGET_ARCH = amd64|x86
-ifeq ($(filter-out x86_64 amd64 AMD64,$(shell uname -m)),)
+ifeq ($(filter-out x86_64 amd64 AMD64,$(shell dpkg-architecture -qDEB_HOST_GNU_CPU)),)
VBOX_KBUILD_TARGET_ARCH_DEFAULT := amd64
else
VBOX_KBUILD_TARGET_ARCH_DEFAULT := x86

22
debian/patches/13-module-mismatch.patch vendored Normal file
View file

@ -0,0 +1,22 @@
Description: Adjusts failure message with Debian specific solution.
Author: Daniel Baumann <daniel@debian.org>
Index: virtualbox/src/VBox/VMM/VMMR3/VM.cpp
===================================================================
--- virtualbox.orig/src/VBox/VMM/VMMR3/VM.cpp
+++ virtualbox/src/VBox/VMM/VMMR3/VM.cpp
@@ -399,9 +399,11 @@
break;
case VERR_VERSION_MISMATCH:
case VERR_VM_DRIVER_VERSION_MISMATCH:
- pszError = N_("The VirtualBox support driver which is running is from a different "
- "version of VirtualBox. You can correct this by stopping all "
- "running instances of VirtualBox and reinstalling the software.");
+ pszError = N_("The version of the VirtualBox kernel modules and the version of "
+ "VirtualBox application are not matching. You can correct this by "
+ "either installing the correct virtualbox-modules package "
+ "(if available) through apt-get or by building it manually with: "
+ "module-assistant auto-install virtualbox");
break;
default:
pszError = N_("Unknown error initializing kernel driver");

110
debian/patches/16-no-update.patch vendored Normal file
View file

@ -0,0 +1,110 @@
Description: Disable "Check for Updates" action.
Bug-Ubuntu: https://bugs.launchpad.net/bugs/272212
Author: Daniel Hahler <ubuntu@thequod.de>, Felix Geyer <fgeyer@debian.org>, Gianfranco Costamagna <locutusofborg@debian.org>
Index: virtualbox/doc/manual/en_US/user_Introduction.xml
===================================================================
--- virtualbox.orig/doc/manual/en_US/user_Introduction.xml
+++ virtualbox/doc/manual/en_US/user_Introduction.xml
@@ -6090,14 +6090,14 @@
<xref linkend="specialcharacters"/>.
</para>
</listitem>
-
+ <!--
<listitem>
<para>
<emphasis role="bold">Update.</emphasis> Enables you to
specify various settings for Automatic Updates.
</para>
</listitem>
-
+ -->
<listitem>
<para>
<emphasis role="bold">Language.</emphasis> Enables you to
Index: virtualbox/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
===================================================================
--- virtualbox.orig/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
+++ virtualbox/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
@@ -2420,7 +2420,7 @@
bool UIExtraDataManager::applicationUpdateEnabled()
{
/* 'True' unless 'restriction' feature allowed: */
- return !isFeatureAllowed(GUI_PreventApplicationUpdate);
+ return false;
}
QString UIExtraDataManager::applicationUpdateData()
Index: virtualbox/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp
===================================================================
--- virtualbox.orig/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp
+++ virtualbox/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp
@@ -48,10 +48,10 @@
#ifdef VBOX_WS_WIN
# include "UIGlobalSettingsInterface.h"
#endif
-#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
-# include "UIGlobalSettingsProxy.h"
-# include "UIGlobalSettingsUpdate.h"
-#endif
+//#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
+//# include "UIGlobalSettingsProxy.h"
+//# include "UIGlobalSettingsUpdate.h"
+//#endif
/* GUI includes: Machine Settings: */
#include "UIMachineSettingsAudio.h"
@@ -100,7 +100,7 @@
#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
/* Update page: */
- m_pSelector->setItemText(GlobalSettingsPageType_Update, tr("Update"));
+ //m_pSelector->setItemText(GlobalSettingsPageType_Update, tr("Update"));
#endif
/* Language page: */
@@ -111,7 +111,7 @@
#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
/* Proxy page: */
- m_pSelector->setItemText(GlobalSettingsPageType_Proxy, tr("Proxy"));
+ //m_pSelector->setItemText(GlobalSettingsPageType_Proxy, tr("Proxy"));
#endif
#ifdef VBOX_WS_WIN
@@ -227,14 +227,14 @@
}
#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
/* Update page: */
- case GlobalSettingsPageType_Update:
+ /*case GlobalSettingsPageType_Update:
{
pSettingsPage = new UIGlobalSettingsUpdate;
addItem(":/refresh_32px.png", ":/refresh_24px.png", ":/refresh_16px.png",
iPageIndex, "#update", pSettingsPage);
addPageHelpKeyword(iPageIndex, "preferences");
break;
- }
+ }*/
#endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
/* Language page: */
case GlobalSettingsPageType_Language:
@@ -256,14 +256,14 @@
}
#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
/* Proxy page: */
- case GlobalSettingsPageType_Proxy:
+ /*case GlobalSettingsPageType_Proxy:
{
pSettingsPage = new UIGlobalSettingsProxy;
addItem(":/proxy_32px.png", ":/proxy_24px.png", ":/proxy_16px.png",
iPageIndex, "#proxy", pSettingsPage);
addPageHelpKeyword(iPageIndex, "preferences");
break;
- }
+ }*/
#endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
#ifdef VBOX_WS_WIN
/* Interface page: */

View file

@ -0,0 +1,18 @@
Description: Remove check for invalid characters in the build path since we have fixed
kBuild to handle those paths starting from version 1:0.1.98svn2318-7.
Author: Felix Geyer <fgeyer@debian.org>
--- a/configure
+++ b/configure
@@ -195,11 +195,6 @@ BUILD_TYPE="release"
# the restricting tool is ar (mri mode).
INVALID_CHARS="[^A-Za-z0-9/\\$:._-]"
-if (cd `dirname $0`; pwd)|grep -q "$INVALID_CHARS"; then
- echo "Error: VBox base path contains invalid characters!"
- exit 1
-fi
-
# Posix /bin/sh isn't supporting echo -n. Use printf instead.
ECHO_N="printf"

View file

@ -0,0 +1,43 @@
Description: Silently enable the host I/O cache when the image is on an ext4/XFS partition.
No need to warn users about it.
Author: Felix Geyer <fgeyer@debian.org>
Index: virtualbox/src/VBox/Main/src-client/ConsoleImpl2.cpp
===================================================================
--- virtualbox.orig/src/VBox/Main/src-client/ConsoleImpl2.cpp
+++ virtualbox/src/VBox/Main/src-client/ConsoleImpl2.cpp
@@ -4641,34 +4641,12 @@
if ( enmFsTypeFile == RTFSTYPE_EXT4
|| enmFsTypeFile == RTFSTYPE_XFS)
{
- i_atVMRuntimeErrorCallbackF(0, "Ext4PartitionDetected",
- N_("The host I/O cache for at least one controller is disabled "
- "and the medium '%s' for this VM "
- "is located on an %s partition. There is a known Linux "
- "kernel bug which can lead to the corruption of the virtual "
- "disk image under these conditions.\n"
- "Either enable the host I/O cache permanently in the VM "
- "settings or put the disk image and the snapshot folder "
- "onto a different file system.\n"
- "The host I/O cache will now be enabled for this medium"),
- strFile.c_str(), enmFsTypeFile == RTFSTYPE_EXT4 ? "ext4" : "xfs");
*pfUseHostIOCache = true;
}
else if ( ( enmFsTypeSnap == RTFSTYPE_EXT4
|| enmFsTypeSnap == RTFSTYPE_XFS)
&& !mfSnapshotFolderExt4WarningShown)
{
- i_atVMRuntimeErrorCallbackF(0, "Ext4PartitionDetected",
- N_("The host I/O cache for at least one controller is disabled "
- "and the snapshot folder for this VM "
- "is located on an %s partition. There is a known Linux "
- "kernel bug which can lead to the corruption of the virtual "
- "disk image under these conditions.\n"
- "Either enable the host I/O cache permanently in the VM "
- "settings or put the disk image and the snapshot folder "
- "onto a different file system.\n"
- "The host I/O cache will now be enabled for this medium"),
- enmFsTypeSnap == RTFSTYPE_EXT4 ? "ext4" : "xfs");
*pfUseHostIOCache = true;
mfSnapshotFolderExt4WarningShown = true;
}

View file

@ -0,0 +1,18 @@
Description: Don't install the selinux-fedora modules.
Author: Felix Geyer <fgeyer@debian.org>
Index: virtualbox/src/VBox/Additions/linux/Makefile.kmk
===================================================================
--- virtualbox.orig/src/VBox/Additions/linux/Makefile.kmk
+++ virtualbox/src/VBox/Additions/linux/Makefile.kmk
@@ -301,9 +301,7 @@
lnx_add_inst-noexec_SOURCES = \
$(VBOX_REL_X11_ADD_INST)vboxclient.desktop \
$(VBOX_REL_X11_ADD_INST)vboxvideo.ids \
- $(if $(VBOX_WITH_LIGHTDM_GREETER_PACKING),lightdm-greeter/vbox-greeter.desktop,) \
- selinux-fedora/vbox_x11.pp \
- selinux-fedora/vbox_accel.pp
+ $(if $(VBOX_WITH_LIGHTDM_GREETER_PACKING),lightdm-greeter/vbox-greeter.desktop,)
INSTALLS += lnx_add_inst-license
lnx_add_inst-license_INST = $(VBOX_LNX_ADD_INST_OUT_DIR)

View file

@ -0,0 +1,16 @@
Description: Fix FTBFS with ld --as-needed.
Origin: vendor, http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-emulation/virtualbox/files/virtualbox-4.1.4-asneeded.patch?revision=1.2&view=markup
Index: virtualbox/Config.kmk
===================================================================
--- virtualbox.orig/Config.kmk 2015-04-02 15:46:59.611743003 +0200
+++ virtualbox/Config.kmk 2015-04-02 15:46:59.611743003 +0200
@@ -6658,7 +6658,7 @@
TEMPLATE_VBoxBldProg_LDFLAGS.amd64 = -m64
TEMPLATE_VBoxBldProg_LDFLAGS.sparc64 = -m64
ifeq ($(KBUILD_HOST),linux)
-TEMPLATE_VBoxBldProg_LIBS = pthread m rt dl
+TEMPLATE_VBoxBldProg_LIBS = pthread m rt dl crypt
else ifeq ($(KBUILD_HOST),os2)
TEMPLATE_VBoxBldProg_TOOL = GXX3OMF
TEMPLATE_VBoxBldProg_LIBS = socket iconv

View file

@ -0,0 +1,16 @@
Description: Disable notifications about outdated guest additions.
Author: Felix Geyer <fgeyer@debian.org>
Index: virtualbox/src/VBox/Additions/x11/VBoxClient/hostversion.cpp
===================================================================
--- virtualbox.orig/src/VBox/Additions/x11/VBoxClient/hostversion.cpp
+++ virtualbox/src/VBox/Additions/x11/VBoxClient/hostversion.cpp
@@ -94,7 +94,7 @@
* Guest Additions. Distributors are encouraged to customise this. */
RTStrPrintf(szMsg, sizeof(szMsg), "Your virtual machine is currently running the Guest Additions version %s. Since you are running a version of the Guest Additions provided by the operating system you installed in the virtual machine we recommend that you update it to at least version %s using that system's update features, or alternatively that you remove this version and then install the " VBOX_VENDOR_SHORT " Guest Additions package using the install option from the Devices menu. Please consult the documentation for the operating system you are running to find out how to update or remove the current Guest Additions package.", pszGuestVersion, pszHostVersion);
# endif /* VBOX_OSE */
- rc = VBClShowNotify(szTitle, szMsg);
+ //rc = VBClShowNotify(szTitle, szMsg);
}
/* Store host version to not notify again */

View file

@ -0,0 +1,24 @@
Description: Revert http://www.virtualbox.org/changeset/36310
The libvdeplug.so symlink is only shipped in the -dev package.
Author: Felix Geyer <fgeyer@debian.org>
Index: virtualbox/include/VBox/VDEPlugSymDefs.h
===================================================================
--- virtualbox.orig/include/VBox/VDEPlugSymDefs.h
+++ virtualbox/include/VBox/VDEPlugSymDefs.h
@@ -1,5 +1,5 @@
/** @file
- * Symbols from libvdeplug.so to be loaded at runtime for DrvVDE.cpp
+ * Symbols from libvdeplug.so.2 to be loaded at runtime for DrvVDE.cpp
*/
/*
@@ -34,7 +34,7 @@
*/
/** The file name of the DBus library */
-#define VBOX_LIB_VDE_PLUG_NAME "libvdeplug.so"
+#define VBOX_LIB_VDE_PLUG_NAME "libvdeplug.so.2"
#define RT_RUNTIME_LOADER_LIB_NAME VBOX_LIB_VDE_PLUG_NAME
/** The name of the loader function */

View file

@ -0,0 +1,26 @@
Description: fix version string for VNC plugin module.
Index: virtualbox/Config.kmk
===================================================================
--- virtualbox.orig/Config.kmk
+++ virtualbox/Config.kmk
@@ -3862,6 +3862,7 @@
-e 's+@VBOX_VERSION_MINOR@+$(VBOX_VERSION_MINOR)+g' \
-e 's+@VBOX_VERSION_BUILD@+$(VBOX_VERSION_BUILD)+g' \
-e 's+@VBOX_VERSION_STRING@+$(VBOX_VERSION_STRING)+g' \
+ -e 's+@VBOX_VERSION_STRING_RAW@+$(VBOX_VERSION_STRING_RAW)+g' \
-e 's+@VBOX_SVN_REV@+$(VBOX_SVN_REV)+g' \
-e 's+@VBOX_VENDOR@+$(VBOX_VENDOR)+g' \
-e 's+@VBOX_VENDOR_SHORT@+$(VBOX_VENDOR_SHORT)+g' \
Index: virtualbox/src/VBox/ExtPacks/VNC/ExtPack.xml
===================================================================
--- virtualbox.orig/src/VBox/ExtPacks/VNC/ExtPack.xml
+++ virtualbox/src/VBox/ExtPacks/VNC/ExtPack.xml
@@ -2,7 +2,7 @@
<VirtualBoxExtensionPack xmlns="http://www.virtualbox.org/VirtualBoxExtensionPack" version="1.0">
<Name>VNC</Name>
<Description>VNC plugin module</Description>
- <Version revision="@VBOX_SVN_REV@">@VBOX_VERSION_STRING@</Version>
+ <Version revision="@VBOX_SVN_REV@">@VBOX_VERSION_STRING_RAW@</Version>
<MainModule>VBoxVNCMain</MainModule>
<VRDEModule>VBoxVNC</VRDEModule>
<ShowLicense/>

View file

@ -0,0 +1,29 @@
Description: Check if we are running in a virtual machine before wasting time
running virtualbox guest things
Author: Kevin Puetz (puetzk)
Origin: https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1762491/comments/9
Last-Update: 2018-07-19
Index: virtualbox/src/VBox/Additions/x11/Installer/98vboxadd-xclient
===================================================================
--- virtualbox.orig/src/VBox/Additions/x11/Installer/98vboxadd-xclient
+++ virtualbox/src/VBox/Additions/x11/Installer/98vboxadd-xclient
@@ -25,6 +25,17 @@
# SPDX-License-Identifier: GPL-3.0-only
#
+in_virtual_machine()
+{
+ if [ -z "$(lspci -d 80ee:cafe)" ]; then
+ echo "VirtualBox Additions disabled, not in a Virtual Machine" >&2
+ return 1
+ fi
+
+ return 0
+}
+in_virtual_machine || return
+
# Sanity check: if non-writeable PID-files are present in the user home
# directory VBoxClient will fail to start.
for i in $HOME/.vboxclient-*.pid; do

11
debian/patches/python3.13.diff vendored Normal file
View file

@ -0,0 +1,11 @@
--- a/configure
+++ b/configure
@@ -2168,7 +2168,7 @@ extern "C" int main(void)
}
EOF
found=
- SUPPYTHONLIBS="python2.7 python2.6 python3.1 python3.2 python3.3 python3.4 python3.4m python3.5 python3.5m python3.6 python3.6m python3.7 python3.7m python3.8 python3.9 python3.10 python3.11 python3.12"
+ SUPPYTHONLIBS="python2.7 python2.6 python3.1 python3.2 python3.3 python3.4 python3.4m python3.5 python3.5m python3.6 python3.6m python3.7 python3.7m python3.8 python3.9 python3.10 python3.11 python3.12 python3.13"
for p in $PYTHONDIR; do
for d in $SUPPYTHONLIBS; do
for b in lib/x86_64-linux-gnu lib/i386-linux-gnu lib64 lib/64 lib; do

17
debian/patches/series vendored Normal file
View file

@ -0,0 +1,17 @@
01-build-arch.patch
02-gsoap-build-fix.patch
04-vboxdrv-references.patch
06-xsession.patch
07-vboxnetflt-reference.patch
12-make-module.patch
13-module-mismatch.patch
16-no-update.patch
23-remove-invalid-chars-check.patch
27-hide-host-cache-warning.patch
28-no-selinux-fedora.patch
#29-fix-ftbfs-as-needed.patch
32-disable-guest-version-check.patch
35-libvdeplug-soname.patch
36-fix-vnc-version-string.patch
37-do-not-run-if-not-in-vm.patch
python3.13.diff

204
debian/rules vendored Executable file
View file

@ -0,0 +1,204 @@
#!/usr/bin/make -f
# Name of the source packages
psource:=virtualbox-source
pdkms:=virtualbox-dkms
# The short upstream name
sname:=virtualbox
sxname:=virtualbox-qt
gname:=virtualbox-guest
uname:=virtualbox-guest-utils
uxname:=virtualbox-guest-x11
INSTALL_PATH:=/usr/lib/virtualbox
MAKE:=kmk
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NJOBS := -j $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
endif
include /usr/share/dpkg/default.mk
VERSION ?= $(shell echo $(DEB_VERSION_UPSTREAM) |cut -f 1 -d "-")
DIST_NAME := $(shell lsb_release -si)
DIST_RELEASE := $(DIST_NAME)/$(shell lsb_release -sc)
SERVER_DEPENDS = $(shell cat /usr/share/xserver-xorg/videodrvdep 2>/dev/null)
export DEB_BUILD_HARDENING=1
export DEB_BUILD_HARDENING_PIE=0
export DEB_BUILD_HARDENING_FORMAT=0
export DEB_BUILD_HARDENING_BINDNOW=0
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --with python3
override_dh_auto_configure:
@echo Building for $(DIST_RELEASE)
ifeq ($(strip $(SERVER_DEPENDS)),)
@echo 'error: SERVER_DEPENDS is empty'
@exit 1
endif
mkdir -p out
./configure \
--ose \
--odir=$(abspath out) \
--with-linux="/usr" \
--disable-kmods \
--enable-webservice \
--enable-vde \
--enable-vnc
override_dh_python3:
dh_python3 --no-ext-rename
override_dh_auto_build:
# Building package
. out/env.sh && $(MAKE) $(NJOBS) \
AUTOCFG=$(abspath out/AutoConfig.kmk) \
LOCALCFG=$(abspath debian/LocalConfig.kmk) \
PATH_OUT=$(abspath out) \
TOOL_YASM_AS=yasm \
VBOX_USE_SYSTEM_XORG_HEADERS=1 \
VBOX_USE_SYSTEM_GL_HEADERS=1 \
VBOX_NO_LEGACY_XORG_X11=1 \
VBOX_BUILD_PUBLISHER=_$(DIST_NAME) \
VBOX_WITH_REGISTRATION_REQUEST= \
VBOX_WITH_UPDATE_REQUEST= \
KBUILD_VERBOSE=2 \
VBOX_WITH_EXTPACK_VBOXDTRACE=
xsltproc --nonet --stringparam section.autolabel 1 \
-o debian/README.Debian.html \
/usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl \
debian/virtualbox.files/README.Debian.xml
chmod 755 debian/lynx-dump-postprocess
export LC_ALL=C; lynx -force_html -dump debian/README.Debian.html | \
./debian/lynx-dump-postprocess > debian/virtualbox.README.Debian.tmp
mv debian/virtualbox.README.Debian.tmp debian/virtualbox.README.Debian
override_dh_auto_install:
dh_auto_install
ifneq (,$(filter $(sname), $(shell dh_listpackages)))
export VBOX_INSTALL_PATH=$(INSTALL_PATH) && \
cd out/bin/sdk/installer && \
python3 ./vboxapisetup.py install --root $(CURDIR)/debian/$(sname)
endif
sed -e 's/CVERSION/$(VERSION)/g' < debian/$(pdkms).links.in > debian/$(pdkms).links
# Build install files for the dkms'ified sources
sed -e 's/CVERSION/$(VERSION)/g' < debian/$(pdkms).install.in > debian/$(pdkms).install
echo "xserver:Depends=$(SERVER_DEPENDS)" >> debian/$(uxname).substvars
ifeq ($(DIST_NAME),Ubuntu)
echo "modaliases=vboxx11(pci:v000080EEd0000BEEFsv00000000sd00000000bc*sc*i*)" >> debian/$(uxname).substvars
endif
override_dh_install:
ifneq (,$(filter $(sname), $(shell dh_listpackages)))
dh_install -p$(sname) -X out/bin/VBoxDbg.so
endif
dh_install --remaining-packages
#ifneq (,$(filter $(uxname), $(shell dh_listpackages)))
# install -m 644 -p -D out/bin/additions/vboxvideo_drv_system.so \
# debian/$(uxname)/usr/lib/xorg/modules/drivers/vboxvideo_drv.so
#endif
ifeq ($(DIST_NAME),Ubuntu)
install -m 644 -p -D debian/apport-hook.py \
debian/$(sname)/usr/share/apport/package-hooks/source_$(sname).py
endif
override_dh_fixperms:
dh_fixperms
# check if arch-any packages are being built
ifneq (,$(filter $(sname), $(shell dh_listpackages)))
chmod +s debian/$(sname)$(INSTALL_PATH)/VBoxSDL;
chmod +s debian/$(sname)$(INSTALL_PATH)/VBoxHeadless;
chmod +s debian/$(sname)$(INSTALL_PATH)/VBoxNetNAT;
chmod +s debian/$(sname)$(INSTALL_PATH)/VBoxNetDHCP;
chmod +s debian/$(sname)$(INSTALL_PATH)/VBoxNetAdpCtl;
chmod 644 debian/$(sname)$(INSTALL_PATH)/*.r0;
chmod 644 debian/$(sname)$(INSTALL_PATH)/sdk/bindings/xpcom/python/xpcom/*.py;
chmod 644 debian/$(sname)$(INSTALL_PATH)/sdk/bindings/xpcom/python/xpcom/server/*.py;
chmod 644 debian/$(sname)$(INSTALL_PATH)/sdk/bindings/xpcom/python/xpcom/client/*.py;
chmod 644 debian/$(sname)$(INSTALL_PATH)/sdk/bindings/xpcom/java/vboxjxpcom.jar;
chmod 755 debian/$(sname)/usr/share/virtualbox/VBox.sh;
endif
ifneq (,$(filter $(sxname), $(shell dh_listpackages)))
chmod +s debian/$(sxname)$(INSTALL_PATH)/VirtualBoxVM;
endif
ifneq (,$(filter $(uxname), $(shell dh_listpackages)))
chmod 755 debian/$(uxname)/usr/share/virtualbox/x11config.pl;
endif
# check if arch-all packages are being built
ifneq (,$(filter $(psource), $(shell dh_listpackages)))
# These files have incorrect permissions, fixing it.
chmod 755 debian/$(psource)/usr/src/modules/$(sname)/debian/rules
# this needs all prior work to be finished
cd debian/$(psource)/usr/src && \
tar -cjf $(sname).tar.bz2 modules && \
rm -rf modules
chmod 644 debian/$(psource)/usr/src/$(sname).tar.bz2
endif
override_dh_installinit:
dh_installinit -p$(uxname) --no-start --update-rcd-params="start 45 S ."
dh_installinit --remaining-packages --no-start
override_dh_dkms:
dh_dkms -V $(VERSION)
override_dh_strip:
ifneq (,$(filter $(sname), $(shell dh_listpackages)))
dh_strip
# strip files not handled by dh_strip
ifeq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
set -e && for file in debian/$(sname)/usr/lib/virtualbox/*.r0; do \
strip --strip-debug --remove-section=.comment --remove-section=.note $${file}; \
done
endif
# I don't see a reason to have these. If any user complains, we can try ship it.
rm -f debian/$(sname)/usr/lib/virtualbox/VMMRC.debug
rm -f debian/$(sname)/usr/lib/virtualbox/VMMR0.debug
endif
override_dh_shlibdeps:
ifneq (,$(filter $(sname), $(shell dh_listpackages)))
dh_shlibdeps -p$(sname) -X debian/$(sname)$(INSTALL_PATH)/VBoxTestOGL -- \
-dRecommends debian/$(sname)$(INSTALL_PATH)/VBoxTestOGL -dDepends
endif
dh_shlibdeps --remaining-packages
override_dh_compress:
dh_compress -X.pdf -X.qhc -X.qch
override_dh_auto_clean:
dh_auto_clean
# Cleaning package
rm -rf out
rm -f build-stamp
rm -f debian/virtualbox.README.Debian debian/README.Debian.html
rm -f debian/$(pdkms).install
rm -f debian/$(pdkms).links
find . -name "*.pyc" -exec rm -f {} \;

1
debian/source/format vendored Normal file
View file

@ -0,0 +1 @@
3.0 (quilt)

11
debian/virtualbox-dkms.README.Debian vendored Normal file
View file

@ -0,0 +1,11 @@
virtualbox for Debian
-------------------------
- Starting with version 3.0.10 virtualbox uses dkms(8) to build the
modules automatically. The dkms package recommends the linux-headers
package needed to build modules for the current distribution kernel. If this
for whatever reason does not work or you are using a non-distribution kernel
please make sure the right set of kernel headers is installed.
-- Michael Meskes <meskes@debian.org> Wed, 02 Dec 2009 15:29:58 +0100

13
debian/virtualbox-dkms.dkms vendored Normal file
View file

@ -0,0 +1,13 @@
PACKAGE_NAME="virtualbox"
PACKAGE_VERSION="#MODULE_VERSION#"
CLEAN="rm -f *.*o"
BUILT_MODULE_NAME[0]="vboxdrv"
BUILT_MODULE_LOCATION[0]="vboxdrv"
DEST_MODULE_LOCATION[0]="/updates"
BUILT_MODULE_NAME[1]="vboxnetadp"
BUILT_MODULE_LOCATION[1]="vboxnetadp"
DEST_MODULE_LOCATION[1]="/updates"
BUILT_MODULE_NAME[2]="vboxnetflt"
BUILT_MODULE_LOCATION[2]="vboxnetflt"
DEST_MODULE_LOCATION[2]="/updates"
AUTOINSTALL="yes"

3
debian/virtualbox-dkms.files/Makefile vendored Normal file
View file

@ -0,0 +1,3 @@
.NOTPARALLEL:
obj-m = vboxdrv/ vboxnetflt/ vboxnetadp/

View file

@ -0,0 +1,46 @@
#!/bin/sh
#
# This script is used when building kernel modules from DKMS. I don't
# know how to solve the problem of inter-module dependencies better.
#
# Copyright (C) 2008 Sun Microsystems, Inc.
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License (GPL) as published by the Free Software
# Foundation, in version 2 as it comes in the "COPYING" file of the
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#
# The contents of this file may alternatively be used under the terms
# of the Common Development and Distribution License Version 1.0
# (CDDL) only, as it comes in the "COPYING.CDDL" file of the
# VirtualBox OSE distribution, in which case the provisions of the
# CDDL are applicable instead of those of the GPL.
#
# You may elect to license modified versions of this file under the
# terms and conditions of either the GPL or the CDDL or both.
#
# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
# Clara, CA 95054 USA or visit http://www.sun.com if you need
# additional information or have any questions.
#
SYMFILE="/tmp/$1-Module.symvers"
case "$2" in
save)
if [ -f "$3" ]; then
cp "$3" "$SYMFILE"
fi
;;
restore)
if [ -f "$SYMFILE" ]; then
cp "$SYMFILE" "$3"
fi
;;
*)
echo "Usage: <modname> save|restore <location of Module.symvers>"
;;
esac

32
debian/virtualbox-dkms.install.in vendored Normal file
View file

@ -0,0 +1,32 @@
out/bin/src/vboxdrv/*.* /usr/src/virtualbox-CVERSION/vboxdrv
out/bin/src/vboxdrv/linux /usr/src/virtualbox-CVERSION/vboxdrv
out/bin/src/vboxdrv/Makefile /usr/src/virtualbox-CVERSION/vboxdrv
out/bin/src/vboxnetflt/*.* /usr/src/virtualbox-CVERSION/vboxnetflt
out/bin/src/vboxnetflt/linux /usr/src/virtualbox-CVERSION/vboxnetflt
out/bin/src/vboxnetflt/Makefile /usr/src/virtualbox-CVERSION/vboxnetflt
out/bin/src/vboxnetadp/*.* /usr/src/virtualbox-CVERSION/vboxnetadp
out/bin/src/vboxnetadp/linux /usr/src/virtualbox-CVERSION/vboxnetadp
out/bin/src/vboxnetadp/Makefile /usr/src/virtualbox-CVERSION/vboxnetadp
out/bin/src/vboxdrv/*-generated.h /usr/src/virtualbox-CVERSION/include
out/bin/src/vboxdrv/include/iprt/* /usr/src/virtualbox-CVERSION/include/iprt
out/bin/src/vboxdrv/include/VBox/* /usr/src/virtualbox-CVERSION/include/VBox
out/bin/src/vboxdrv/include/internal/* /usr/src/virtualbox-CVERSION/include/internal
out/bin/src/vboxnetflt/include/iprt/* /usr/src/virtualbox-CVERSION/include/iprt
out/bin/src/vboxnetflt/include/VBox/* /usr/src/virtualbox-CVERSION/include/VBox
out/bin/src/vboxnetadp/include/iprt/* /usr/src/virtualbox-CVERSION/include/iprt
out/bin/src/vboxnetadp/include/VBox/* /usr/src/virtualbox-CVERSION/include/VBox
out/bin/src/vboxnetadp/include/internal/* /usr/src/virtualbox-CVERSION/include/internal
out/bin/src/vboxdrv/r0drv /usr/src/virtualbox-CVERSION
out/bin/src/vboxdrv/common /usr/src/virtualbox-CVERSION
out/bin/src/vboxdrv/generic /usr/src/virtualbox-CVERSION
out/bin/src/vboxdrv/math /usr/src/virtualbox-CVERSION
out/bin/src/vboxdrv/VBox /usr/src/virtualbox-CVERSION
out/bin/src/vboxdrv/include/iprt/nocrt /usr/src/virtualbox-CVERSION/include/iprt
debian/virtualbox-dkms.files/Makefile /usr/src/virtualbox-CVERSION

18
debian/virtualbox-dkms.links.in vendored Normal file
View file

@ -0,0 +1,18 @@
/usr/src/virtualbox-CVERSION/r0drv /usr/src/virtualbox-CVERSION/vboxdrv/r0drv
/usr/src/virtualbox-CVERSION/r0drv /usr/src/virtualbox-CVERSION/vboxnetflt/r0drv
/usr/src/virtualbox-CVERSION/r0drv /usr/src/virtualbox-CVERSION/vboxnetadp/r0drv
/usr/src/virtualbox-CVERSION/include /usr/src/virtualbox-CVERSION/vboxdrv/include
/usr/src/virtualbox-CVERSION/include /usr/src/virtualbox-CVERSION/vboxnetflt/include
/usr/src/virtualbox-CVERSION/include /usr/src/virtualbox-CVERSION/vboxnetadp/include
/usr/src/virtualbox-CVERSION/common /usr/src/virtualbox-CVERSION/vboxdrv/common
/usr/src/virtualbox-CVERSION/common /usr/src/virtualbox-CVERSION/vboxnetflt/common
/usr/src/virtualbox-CVERSION/common /usr/src/virtualbox-CVERSION/vboxnetadp/common
/usr/src/virtualbox-CVERSION/generic /usr/src/virtualbox-CVERSION/vboxdrv/generic
/usr/src/virtualbox-CVERSION/generic /usr/src/virtualbox-CVERSION/vboxnetflt/generic
/usr/src/virtualbox-CVERSION/generic /usr/src/virtualbox-CVERSION/vboxnetadp/generic
/usr/src/virtualbox-CVERSION/math /usr/src/virtualbox-CVERSION/vboxdrv/math
/usr/src/virtualbox-CVERSION/math /usr/src/virtualbox-CVERSION/vboxnetflt/math
/usr/src/virtualbox-CVERSION/math /usr/src/virtualbox-CVERSION/vboxnetadp/math
/usr/src/virtualbox-CVERSION/VBox /usr/src/virtualbox-CVERSION/vboxdrv/VBox
/usr/src/virtualbox-CVERSION/VBox /usr/src/virtualbox-CVERSION/vboxnetflt/VBox
/usr/src/virtualbox-CVERSION/VBox /usr/src/virtualbox-CVERSION/vboxnetadp/VBox

12
debian/virtualbox-dkms.postinst vendored Normal file
View file

@ -0,0 +1,12 @@
#!/bin/sh
set -e
#DEBHELPER#
if [ "$1" = configure ]; then
# only restart if VirtualBox isn't running
if test -x /etc/init.d/virtualbox && ! pidof VBoxSVC > /dev/null; then
invoke-rc.d virtualbox restart || true
fi
fi

23
debian/virtualbox-dkms.preinst vendored Normal file
View file

@ -0,0 +1,23 @@
#!/bin/sh
set -e
#DEBHELPER#
case "$1" in
install|upgrade)
# These are no longer used
for mod in vboxdrv vboxnetflt vboxnetadp; do
dkms status -m $mod | while read line; do
if echo "$line" | grep -q added > /dev/null ||
echo "$line" | grep -q built > /dev/null ||
echo "$line" | grep -q installed > /dev/null;
then
version=`echo "$line" | sed "s/$mod,\([^,]*\)[,:].*/\1/;t;d"`
echo "Removing obsolete module $mod version $version"
dkms remove -m $mod -v $version --all
fi
done
done
;;
esac

3
debian/virtualbox-dkms.udev vendored Normal file
View file

@ -0,0 +1,3 @@
KERNEL=="vboxdrv", OWNER="root", GROUP="root", MODE="0600"
KERNEL=="vboxdrvu", OWNER="root", GROUP="root", MODE="0666"
KERNEL=="vboxnetctl", OWNER="root", GROUP="root", MODE="0600"

102
debian/virtualbox-guest-utils.init vendored Normal file
View file

@ -0,0 +1,102 @@
#!/bin/sh
# (C) 2007 Michael Meskes <meskes@debian.org>
### BEGIN INIT INFO
# Provides: vboxguest virtualbox-guest-utils
# Short-Description: VirtualBox Linux Additions
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
### END INIT INFO
PATH=$PATH:/bin:/sbin:/usr/sbin
. /lib/lsb/init-functions
test -d /usr/share/doc/virtualbox-guest-utils -a -x /usr/sbin/VBoxService || exit 0
in_virtual_machine()
{
if [ -z "$(lspci -d 80ee:cafe)" ]; then
log_warning_msg "VirtualBox Additions disabled, not in a Virtual Machine"
return 1
fi
return 0
}
running()
{
lsmod | grep -q "$1[^_-]"
}
case "$1" in
start)
in_virtual_machine || exit 0
log_begin_msg "Starting VirtualBox Additions"
if ! running vboxguest; then
if ! modprobe vboxguest > /dev/null 2>&1; then
if ! find /lib/modules/`uname -r` -name "vboxguest\.*" 2>/dev/null|grep -q vboxguest; then
log_failure_msg "No suitable module for running kernel found"
else
log_failure_msg "modprobe vboxguest failed. Please use 'dmesg' to find out why"
fi
log_end_msg 1
return 1
fi
fi
if ! running vboxsf; then
if ! modprobe vboxsf > /dev/null 2>&1; then
if ! find /lib/modules/`uname -r` -name "vboxsf\.*" 2>/dev/null|grep -q vboxsf; then
log_failure_msg "No suitable module for running kernel found"
else
log_failure_msg "modprobe vboxsf failed. Please use 'dmesg' to find out why"
fi
log_end_msg 1
return 1
fi
fi
/usr/bin/VBoxClient --vmsvga
start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/VBoxService
if [ $? -ne 0 ]; then
log_end_msg 1
exit 1
fi
log_end_msg 0
;;
stop)
in_virtual_machine || exit 0
log_begin_msg "Stopping VirtualBox Additions"
start-stop-daemon --stop --quiet --oknodo --exec /usr/sbin/VBoxService
if [ $? -ne 0 ]; then
log_end_msg 1
exit 1
fi
log_end_msg 0
;;
restart|force-reload)
$0 stop && $0 start
;;
status)
if ! pgrep -x VBoxService > /dev/null; then
echo "VBoxService daemon isn't running"
exit 3
fi
exit 0
;;
*)
echo "Usage: $0 {start|stop|restart|force-reload|status}"
exit 1
;;
esac

4
debian/virtualbox-guest-utils.install vendored Normal file
View file

@ -0,0 +1,4 @@
out/bin/additions/VBoxService /usr/sbin
out/bin/additions/VBoxControl /usr/sbin
out/bin/additions/mount.vboxsf /usr/sbin
out/bin/additions/pam_vbox.so /usr/lib/security

View file

@ -0,0 +1,3 @@
debian/manpages/VBoxService.8
debian/manpages/VBoxControl.8
debian/manpages/mount.vboxsf.8

16
debian/virtualbox-guest-utils.postinst vendored Normal file
View file

@ -0,0 +1,16 @@
#!/bin/sh
set -e
#DEBHELPER#
if [ "$1" = configure ] && [ -n "$2" ] && \
[ -x /usr/share/update-notifier/notify-reboot-required ] && \
pidof VBoxService > /dev/null;
then
/usr/share/update-notifier/notify-reboot-required || true
fi
if [ "$1" = configure ] && [ -z `getent group vboxsf` ]; then
addgroup --system --quiet vboxsf
fi

9
debian/virtualbox-guest-utils.postrm vendored Normal file
View file

@ -0,0 +1,9 @@
#!/bin/sh
set -e
#DEBHELPER#
if [ "$1" = purge ]; then
delgroup --quiet vboxsf || true
fi

19
debian/virtualbox-guest-utils.service vendored Normal file
View file

@ -0,0 +1,19 @@
[Unit]
Description=Virtualbox guest utils
Conflicts=systemd-timesyncd.service
ConditionVirtualization=oracle
[Service]
Type=forking
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
ExecStart=/etc/init.d/virtualbox-guest-utils start
ExecStop=/etc/init.d/virtualbox-guest-utils stop
[Install]
WantedBy=multi-user.target

2
debian/virtualbox-guest-utils.udev vendored Normal file
View file

@ -0,0 +1,2 @@
KERNEL=="vboxguest", OWNER="root", MODE="0660"
KERNEL=="vboxuser", OWNER="root", MODE="0666"

1
debian/virtualbox-guest-x11.dirs vendored Normal file
View file

@ -0,0 +1 @@
/usr/lib/virtualbox/additions

View file

@ -0,0 +1 @@
/usr/lib/virtualbox/additions

3
debian/virtualbox-guest-x11.install vendored Normal file
View file

@ -0,0 +1,3 @@
out/bin/additions/VBoxClient /usr/bin
src/VBox/Additions/x11/Installer/x11config.pl /usr/share/virtualbox
src/VBox/Additions/x11/Installer/98vboxadd-xclient /etc/X11/Xsession.d

View file

@ -0,0 +1,15 @@
virtualbox-guest-x11: shlib-without-versioned-soname usr/lib/VBoxOGLarrayspu.so VBoxOGLarrayspu.so
virtualbox-guest-x11: shlib-without-versioned-soname usr/lib/VBoxOGLcrutil.so VBoxOGLcrutil.so
virtualbox-guest-x11: shlib-without-versioned-soname usr/lib/VBoxOGLerrorspu.so VBoxOGLerrorspu.so
virtualbox-guest-x11: shlib-without-versioned-soname usr/lib/VBoxOGLpackspu.so VBoxOGLpackspu.so
virtualbox-guest-x11: shlib-without-versioned-soname usr/lib/VBoxOGLfeedbackspu.so VBoxOGLfeedbackspu.so
virtualbox-guest-x11: shlib-without-versioned-soname usr/lib/VBoxOGLpassthroughspu.so VBoxOGLpassthroughspu.so
virtualbox-guest-x11: shlib-without-versioned-soname usr/lib/VBoxOGL.so VBoxOGL.so
virtualbox-guest-x11: package-name-doesnt-match-sonames VBoxOGL VBoxOGLarrayspu VBoxOGLcrutil VBoxOGLerrorspu VBoxOGLfeedbackspu VBoxOGLpackspu VBoxOGLpassthroughspu
virtualbox-guest-x11: no-symbols-control-file usr/lib/VBoxOGLarrayspu.so
virtualbox-guest-x11: no-symbols-control-file usr/lib/VBoxOGLcrutil.so
virtualbox-guest-x11: no-symbols-control-file usr/lib/VBoxOGLerrorspu.so
virtualbox-guest-x11: no-symbols-control-file usr/lib/VBoxOGLpackspu.so
virtualbox-guest-x11: no-symbols-control-file usr/lib/VBoxOGLfeedbackspu.so
virtualbox-guest-x11: no-symbols-control-file usr/lib/VBoxOGLpassthroughspu.so
virtualbox-guest-x11: no-symbols-control-file usr/lib/VBoxOGL.so

View file

@ -0,0 +1 @@
rm_conffile /etc/init.d/virtualbox-guest-x11 5.0.12-dfsg-2~

1
debian/virtualbox-guest-x11.manpages vendored Normal file
View file

@ -0,0 +1 @@
debian/manpages/VBoxClient.1

15
debian/virtualbox-guest-x11.postinst vendored Normal file
View file

@ -0,0 +1,15 @@
#!/bin/sh
set -e
#DEBHELPER#
# remove stale virtualbox-guest-x11 links
case "$1" in
configure)
if dpkg --compare-versions "$2" lt "5.0.12-dfsg-2~" ; then
update-rc.d -f virtualbox-guest-x11 remove > /dev/null || true
fi
;;
esac

9
debian/virtualbox-guest-x11.postrm vendored Normal file
View file

@ -0,0 +1,9 @@
#!/bin/sh
set -e
#DEBHELPER#
if [ "$1" = "remove" ]; then
ldconfig
fi

14
debian/virtualbox-guest-x11.preinst vendored Normal file
View file

@ -0,0 +1,14 @@
#!/bin/sh
set -e
#DEBHELPER#
case "$1" in
install|upgrade)
if dpkg --compare-versions "$2" gt "4.1.22-dfsg" && dpkg --compare-versions "$2" lt "4.2.10-dfsg"; then
# hack to change runlevels from default to S
update-rc.d -f virtualbox-guest-x11 remove > /dev/null || true
fi
;;
esac

1
debian/virtualbox-qt.dirs vendored Normal file
View file

@ -0,0 +1 @@
usr/share/pixmaps

View file

@ -0,0 +1,26 @@
[Desktop Entry]
Name=VirtualBox
GenericName=PC virtualization solution
Type=Application
Exec=VirtualBox %U
TryExec=VirtualBox
Keywords=virtualization;
Keywords[de]=Virtualisierung;
Keywords[ru]=виртуализация;
MimeType=application/x-virtualbox-vbox;application/x-virtualbox-vbox-extpack;application/x-virtualbox-ovf;application/x-virtualbox-ova;
Icon=virtualbox
Categories=Emulator;System;Utility;
Actions=Manager;
Comment=Run several virtual systems on a single host computer
Comment[de]=Mehrere virtuelle Maschinen auf einem einzigen Rechner ausführen
Comment[it]=Esegui più macchine virtuali su un singolo computer
Comment[ko]=
Comment[pl]=Uruchamianie wielu systemów wirtualnych na jednym komputerze gospodarza
Comment[ru]=Запуск нескольких виртуальных машин на одном компьютере
Comment[sv]=Kör flera virtuella system på en enda värddator
[Desktop Action Manager]
Exec=VirtualBox
Name=Open Oracle VM Manager
Name[de]=Oracle VM Manager öffnen

24
debian/virtualbox-qt.install vendored Normal file
View file

@ -0,0 +1,24 @@
debian/virtualbox-qt.files/virtualbox.desktop /usr/share/applications
out/bin/VirtualBox* /usr/lib/virtualbox
out/bin/VBoxDbg.so /usr/lib/virtualbox
out/bin/UICommon.so /usr/lib/virtualbox
out/bin/nls /usr/share/virtualbox
out/bin/icons/16x16/virtualbox.png /usr/share/icons/hicolor/16x16/apps
out/bin/icons/32x32/virtualbox.png /usr/share/icons/hicolor/32x32/apps
out/bin/icons/48x48/virtualbox.png /usr/share/icons/hicolor/48x48/apps
out/bin/icons/64x64/virtualbox.png /usr/share/icons/hicolor/64x64/apps
out/bin/icons/16x16/virtualbox-*.png /usr/share/icons/hicolor/16x16/mimetypes
out/bin/icons/24x24/virtualbox-*.png /usr/share/icons/hicolor/24x24/mimetypes
out/bin/icons/32x32/virtualbox-*.png /usr/share/icons/hicolor/32x32/mimetypes
out/bin/icons/48x48/virtualbox-*.png /usr/share/icons/hicolor/48x48/mimetypes
out/bin/icons/64x64/virtualbox-*.png /usr/share/icons/hicolor/64x64/mimetypes
out/bin/icons/72x72/virtualbox-*.png /usr/share/icons/hicolor/72x72/mimetypes
out/bin/icons/96x96/virtualbox-*.png /usr/share/icons/hicolor/96x96/mimetypes
out/bin/icons/128x128/virtualbox-*.png /usr/share/icons/hicolor/128x128/mimetypes
out/bin/icons/256x256/virtualbox-*.png /usr/share/icons/hicolor/256x256/mimetypes
out/bin/virtualbox.xml /usr/share/mime/packages

7
debian/virtualbox-qt.links vendored Normal file
View file

@ -0,0 +1,7 @@
/usr/share/virtualbox/VBox.sh /usr/bin/virtualbox
/usr/share/virtualbox/VBox.sh /usr/bin/VirtualBox
/usr/lib/virtualbox/VirtualBoxVM /usr/bin/virtualboxvm
/usr/lib/virtualbox/VirtualBoxVM /usr/bin/VirtualBoxVM
/usr/share/man/man1/VirtualBox.1 /usr/share/man/man1/virtualbox.1

View file

@ -0,0 +1 @@
virtualbox-qt: setuid-gid-binary usr/lib/virtualbox/VirtualBox 6755 root/root

1
debian/virtualbox-qt.manpages vendored Normal file
View file

@ -0,0 +1 @@
debian/manpages/VirtualBox.1

24
debian/virtualbox-source.README.Debian vendored Normal file
View file

@ -0,0 +1,24 @@
virtualbox for Debian
-------------------------
The Debian virtualbox-source package can be used in several ways,
- Using module-assistant(8) commands provided by the module-assistant Debian
package:
# module-assistant prepare virtualbox
# module-assistant auto-install virtualbox
- Using the make-kpkg(1) command provided by the kernel-package Debian
package. See the "modules_image" section of the make-kpkg(1) man page.
- Unpacking /usr/src/virtualbox-*.tar.bz2 and installing the module on your own.
-- Patrick Winnertz <patrick.winnertz@skolelinux.org> Tue, 4 Sep 2007 22:17:00 +0200
- Starting with version 3.0.10 virtualbox can use dkms(8) to build the
modules automatically. If you prefer using dkms, please install
virtualbox-dkms instead.
-- Michael Meskes <meskes@debian.org> Wed, 02 Dec 2009 15:29:23 +0100

View file

@ -0,0 +1,3 @@
.NOTPARALLEL:
obj-m = vboxdrv/ vboxnetflt/ vboxnetadp/

View file

@ -0,0 +1,27 @@
Source: virtualbox
Section: contrib/misc
Priority: optional
Maintainer: Debian Virtualbox Team <team+debian-virtualbox@tracker.debian.org>
Uploaders: Ritesh Raj Sarraf <rrs@debian.org>,
Gianfranco Costamagna <locutusofborg@debian.org>
Build-Depends: debhelper-compat (= 13), kbuild
Standards-Version: 4.7.0
Homepage: https://www.virtualbox.org
Vcs-Browser: https://salsa.debian.org/pkg-virtualbox-team/virtualbox
Vcs-Git: https://salsa.debian.org/pkg-virtualbox-team/virtualbox.git
Package: virtualbox-modules-_KVERS_
Section: contrib/kernel
Architecture: amd64 i386
Depends: linux-modules-_KVERS_ | linux-image-_KVERS_ | linux-image-_KVERS_-unsigned
Recommends: virtualbox
Provides: virtualbox-modules
Description: VirtualBox modules for Linux (kernel _KVERS_)
This package contains the set of loadable kernel modules for VirtualBox.
.
This package contains the compiled kernel modules for _KVERS_
.
If you have compiled your own kernel, you will most likely need to build
your own virtualbox-modules. The virtualbox-source package has been
provided for use with the Debian's module-assistant or kernel-package
utilities to produce a version of virtualbox-modules for your kernel.

View file

@ -0,0 +1,23 @@
#!/bin/sh
set -e
#DEBHELPER#
case "${1}" in
configure)
# only restart if VirtualBox isn't running
if test -x /etc/init.d/virtualbox && ! pidof VBoxSVC > /dev/null; then
invoke-rc.d virtualbox restart || true
fi
;;
abort-upgrade|abort-deconfigure|abort-remove)
;;
*)
echo "${0} called with unknown argument \`${1}'" 1>&2
exit 1
;;
esac

77
debian/virtualbox-source.files/rules vendored Normal file
View file

@ -0,0 +1,77 @@
#!/usr/bin/make -f
# some default definitions, important!
#
# Name of the source package
psource:=virtualbox-source
gsource:=virtualbox-guest-source
# The short upstream name, used for the module source directory
sname:=virtualbox
uname:=virtualbox-guest-utils
### KERNEL SETUP
### Setup the stuff needed for making kernel module packages
### taken from /usr/share/kernel-package/sample.module.rules
# prefix of the target package name
PACKAGE := virtualbox-modules
# modifieable for experiments or debugging m-a
MA_DIR ?= /usr/share/modass
# load generic variable handling
-include $(MA_DIR)/include/generic.make
# load default rules, including kdist, kdist_image, ...
-include $(MA_DIR)/include/common-rules.make
# module assistant calculates all needed things for us and sets
# following variables:
# KSRC (kernel source directory), KVERS (kernel version string), KDREV
# (revision of the Debian kernel-image package), CC (the correct
# compiler), VERSION (the final package version string), PKGNAME (full
# package name with KVERS included), DEB_DESTDIR (path to store DEBs)
# The kdist_configure target is called by make-kpkg modules_config and
# by kdist* rules by dependency. It should configure the module so it is
# ready for compilation (mostly useful for calling configure).
# prep-deb-files from module-assistant creates the neccessary debian/ files
kdist_configure: prep-deb-files
# the kdist_clean target is called by make-kpkg modules_clean and from
# kdist* rules. It is responsible for cleaning up any changes that have
# been made by the other kdist_commands (except for the .deb files created)
kdist_clean: clean
$(MAKE) $(MFLAGS) -f debian/rules clean
#
### end KERNEL SETUP
#see bug #785161
#MAKE:=kmk
clean:
$(MAKE) -C vboxdrv clean
$(MAKE) -C vboxnetflt clean
$(MAKE) -C vboxnetadp clean
dh_clean
binary-modules: prep-deb-files
dh_testroot
dh_prep
# Build the module
$(MAKE) -C $(KSRC) M=$(CURDIR)
# Install the module
dh_install vboxdrv/vboxdrv.ko /lib/modules/$(KVERS)/misc/
dh_install vboxnetflt/vboxnetflt.ko /lib/modules/$(KVERS)/misc/
dh_install vboxnetadp/vboxnetadp.ko /lib/modules/$(KVERS)/misc/
dh_installudev
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installmodules
dh_installdeb
dh_gencontrol -- -v$(VERSION)
dh_md5sums
dh_builddeb --destdir=$(DEB_DESTDIR)
dh_prep
.PHONY: build clean binary-arch binary-indep binary install binary-modules kdist kdist_configure kdist_image kdist_clean

3
debian/virtualbox-source.files/udev vendored Normal file
View file

@ -0,0 +1,3 @@
KERNEL=="vboxdrv", OWNER="root", GROUP="root", MODE="0600"
KERNEL=="vboxdrvu", OWNER="root", GROUP="root", MODE="0666"
KERNEL=="vboxnetctl", OWNER="root", GROUP="root", MODE="0600"

38
debian/virtualbox-source.install vendored Normal file
View file

@ -0,0 +1,38 @@
out/bin/src/vboxdrv/*.* /usr/src/modules/virtualbox/vboxdrv
out/bin/src/vboxdrv/linux /usr/src/modules/virtualbox/vboxdrv
out/bin/src/vboxdrv/Makefile /usr/src/modules/virtualbox/vboxdrv
out/bin/src/vboxnetflt/*.* /usr/src/modules/virtualbox/vboxnetflt
out/bin/src/vboxnetflt/linux /usr/src/modules/virtualbox/vboxnetflt
out/bin/src/vboxnetflt/Makefile /usr/src/modules/virtualbox/vboxnetflt
out/bin/src/vboxnetadp/*.* /usr/src/modules/virtualbox/vboxnetadp
out/bin/src/vboxnetadp/linux /usr/src/modules/virtualbox/vboxnetadp
out/bin/src/vboxnetadp/Makefile /usr/src/modules/virtualbox/vboxnetadp
out/bin/src/vboxdrv/*-generated.h /usr/src/modules/virtualbox/include
out/bin/src/vboxdrv/include/iprt/* /usr/src/modules/virtualbox/include/iprt
out/bin/src/vboxdrv/include/VBox/* /usr/src/modules/virtualbox/include/VBox
out/bin/src/vboxdrv/include/internal/* /usr/src/modules/virtualbox/include/internal
out/bin/src/vboxnetflt/include/iprt/* /usr/src/modules/virtualbox/include/iprt
out/bin/src/vboxnetflt/include/VBox/* /usr/src/modules/virtualbox/include/VBox
out/bin/src/vboxnetadp/include/iprt/* /usr/src/modules/virtualbox/include/iprt
out/bin/src/vboxnetadp/include/VBox/* /usr/src/modules/virtualbox/include/VBox
out/bin/src/vboxnetadp/include/internal/* /usr/src/modules/virtualbox/include/internal
out/bin/src/vboxdrv/r0drv /usr/src/modules/virtualbox
out/bin/src/vboxdrv/common /usr/src/modules/virtualbox
out/bin/src/vboxdrv/generic /usr/src/modules/virtualbox
out/bin/src/vboxdrv/math /usr/src/modules/virtualbox
out/bin/src/vboxdrv/VBox /usr/src/modules/virtualbox
out/bin/src/vboxdrv/include/iprt/nocrt /usr/src/modules/virtualbox/include/iprt
debian/control debian/changelog debian/copyright /usr/src/modules/virtualbox/debian
debian/virtualbox-source.files/control.modules.in /usr/src/modules/virtualbox/debian
debian/virtualbox-source.files/postinst.modules.in /usr/src/modules/virtualbox/debian
debian/virtualbox-source.files/udev /usr/src/modules/virtualbox/debian
debian/virtualbox-source.files/rules /usr/src/modules/virtualbox/debian
debian/virtualbox-source.files/Makefile /usr/src/modules/virtualbox

20
debian/virtualbox-source.links vendored Normal file
View file

@ -0,0 +1,20 @@
#/usr/share/modass/packages/default.sh /usr/share/modass/overrides/virtualbox-source
/usr/src/modules/virtualbox/r0drv /usr/src/modules/virtualbox/vboxdrv/r0drv
/usr/src/modules/virtualbox/r0drv /usr/src/modules/virtualbox/vboxnetflt/r0drv
/usr/src/modules/virtualbox/r0drv /usr/src/modules/virtualbox/vboxnetadp/r0drv
/usr/src/modules/virtualbox/include /usr/src/modules/virtualbox/vboxdrv/include
/usr/src/modules/virtualbox/include /usr/src/modules/virtualbox/vboxnetflt/include
/usr/src/modules/virtualbox/include /usr/src/modules/virtualbox/vboxnetadp/include
/usr/src/modules/virtualbox/common /usr/src/modules/virtualbox/vboxdrv/common
/usr/src/modules/virtualbox/common /usr/src/modules/virtualbox/vboxnetflt/common
/usr/src/modules/virtualbox/common /usr/src/modules/virtualbox/vboxnetadp/common
/usr/src/modules/virtualbox/generic /usr/src/modules/virtualbox/vboxdrv/generic
/usr/src/modules/virtualbox/generic /usr/src/modules/virtualbox/vboxnetflt/generic
/usr/src/modules/virtualbox/generic /usr/src/modules/virtualbox/vboxnetadp/generic
/usr/src/modules/virtualbox/math /usr/src/modules/virtualbox/vboxdrv/math
/usr/src/modules/virtualbox/math /usr/src/modules/virtualbox/vboxnetflt/math
/usr/src/modules/virtualbox/math /usr/src/modules/virtualbox/vboxnetadp/math
/usr/src/modules/virtualbox/VBox /usr/src/modules/virtualbox/vboxdrv/VBox
/usr/src/modules/virtualbox/VBox /usr/src/modules/virtualbox/vboxnetflt/VBox
/usr/src/modules/virtualbox/VBox /usr/src/modules/virtualbox/vboxnetadp/VBox

2
debian/virtualbox.README.rebuild vendored Normal file
View file

@ -0,0 +1,2 @@
For information about a rebuild of the orig.tar.gz please have a look into
the dfsg-free target of debian/rules.

23
debian/virtualbox.default vendored Normal file
View file

@ -0,0 +1,23 @@
# Defaults for virtualbox initscript
# sourced by /etc/init.d/virtualbox
# installed at /etc/default/virtualbox by the maintainer scripts
#
# This is a POSIX shell fragment
#
# Set this to 1 if you would like the virtualbox modules to be loaded by
# the init script.
LOAD_VBOXDRV_MODULE=1
# SHUTDOWN_USERS="foo bar"
# check for running VMs of user 'foo' and user 'bar'
# 'all' checks for all active users
# SHUTDOWN=poweroff
# SHUTDOWN=acpibutton
# SHUTDOWN=savestate
# select one of these shutdown methods for running VMs
# acpibutton and savestate causes the init script to wait
# 30 seconds for the VMs to shutdown
SHUTDOWN_USERS=""
SHUTDOWN=poweroff

2
debian/virtualbox.docs vendored Normal file
View file

@ -0,0 +1,2 @@
debian/README.Debian.html
out/bin/UserManual.*

View file

@ -0,0 +1,173 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.docbook.org/xml/4.4/docbookx.dtd">
<article>
<title>Virtualbox OSE for Debian</title>
<section>
<title>Guest utilities</title>
<para>
The guest utilities are provided as separate Debian packages. These
packages contain all features virtualbox-ose offers for Debian guests.
Guest utilities for operating systems not offering virtualbox-ose
packages have to be downloaded from the internet. The upstream provided
ISO images cannot be distributed with this package for licensing reasons.
The same holds for the externally provided WineD3D extensions.
</para>
</section>
<section>
<title>Different versions</title>
<para>
The Open Source Edition of VirtualBox contains most but not all
features of the closed-source VirtualBox product that is
distributed under different terms and available from the
<ulink url="http://virtualbox.org/wiki/Downloads"> Virtualbox
homepage</ulink>. Missing are:
</para>
<itemizedlist>
<listitem>
<para>
Remote Display Protocol (RDP) Server
</para>
<para>
This component implements a complete RDP server on top of
the virtual hardware and allows users to connect to a
virtual machine remotely using any RDP compatible client.
</para>
</listitem>
<listitem>
<para>USB support</para>
<para>
VirtualBox implements a virtual USB controller and supports
passing through USB 1.1 and USB 2.0 devices to virtual
machines.
</para>
</listitem>
<listitem>
<para>USB over RDP</para>
<para>
This is a combination of the RDP server and USB support
allowing users to make USB devices available to virtual
machines running remotely.
</para>
</listitem>
<listitem>
<para>iSCSI initiator</para>
<para>
VirtualBox contains a builtin iSCSI initiator making it
possible to use iSCSI targets as virtual disks without the
guest requiring support for iSCSI.
</para>
</listitem>
</itemizedlist>
</section>
<section>
<title>64-bit guests</title>
<para>
Starting with version 2.0.0 VirtualBox also supports 64-bit guest operating systems,
under the following conditions:
</para>
<itemizedlist>
<listitem>
<para>
You need a 64-bit processor with hardware virtualization support
and a 64-bit host operating system.
</para>
</listitem>
<listitem>
<para>
You must run a 64-bit version of VirtualBox on that OS. This can
then run both 32-bit and 64-bit VMs; a 32-bit VirtualBox can only run 32-bit
VMs, regardless of the hardware.
</para>
</listitem>
<listitem>
<para>
You must enable hardware virtualization; software virtualization is not supported
for 64-bit VMs.
</para>
</listitem>
</itemizedlist>
<para>
There is no specific setting to enable 64-bit support for a guest.
However, you should enable the I/O APIC for virtual machines that you intend to
use in 64-bit mode.
</para>
</section>
<section>
<title>How to provide networking to virtual machines</title>
<section>
<title>Mechanism</title>
<para>
VirtualBox can use three alternative mechanisms to provide
Ethernet networking to its virtual machines:b
</para>
<section>
<title>NAT</title>
<para>
This is the easiest to use type of setup: The virtual
ethernet interface is connected to a virtual NAT router
including a DHCP server that is implemented within
the VirtualBox host software.
</para>
<para>
This is the default mode. It usually does not require
any extra configuration on the host.
</para>
</section>
<section>
<title>Internal network</title>
<para>
In this mode, there is only connectivity within an
emulated network shared between two or more virtual
machines running in the same VirtualBox instance.
</para>
</section>
<section>
<title>Host interface</title>
<para>
The virtual ethernet interface is connected to a
real device on the host filtering out its traffic.
</para>
</section>
</section>
</section>
<section>
<title>Incompatibilities</title>
<para>
When upgrading from a pre 2.0.0 version to virtualbox might complaing
about a missing format attribute in the HardDisk tag of
<filename>~/.VirtualBox/VirtualBox.xml</filename>. Manually adding
'format="vdi"' solves this.
</para>
<para>
A bug appeared in kernel 2.6.29 RC5 that broke virtualbox-ose. The fix
was added in 2.6.29.1. If you happen to use 2.6.29 and epxerience
problems starting your VMs please upgrade. In Debian all
linux-image-2.6.29 versions starting with Debian version 2.6.29-2 are
fine.
</para>
</section>
<section>
<title>See also</title>
<para>
Additional and updated information may be found on
<itemizedlist>
<listitem>
<para>
the
<ulink url="http://virtualbox.org/wiki/End-user_documentation">
End-user documentation</ulink> section of the official
VirtualBox site.
</para>
</listitem>
<listitem>
<para>
the
<ulink url="http://wiki.debian.org/VirtualBox">VirtualBox</ulink>
page in the Debian Wiki.
</para>
</listitem>
</itemizedlist>
</para>
</section>
</article>

90
debian/virtualbox.files/VBox.sh vendored Executable file
View file

@ -0,0 +1,90 @@
#!/bin/sh
## @file
# Oracle VM VirtualBox startup script, Linux hosts.
#
# written by Patrick Winnertz <patrick.winnertz@skolelinux.org> and
# Michael Meskes <meskes@debian.org>
# and placed under GPLv2
#
# this is based on a script by
# Oracle VirtualBox
#
# Copyright (C) 2006-2015 Oracle Corporation
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License (GPL) as published by the Free Software
# Foundation, in version 2 as it comes in the "COPYING" file of the
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#
PATH="/usr/bin:/bin:/usr/sbin:/sbin"
# VirtualBox installation directory
INSTALL_DIR="/usr/lib/virtualbox"
# Note: This script must not fail if the module was not successfully installed
# because the user might not want to run a VM but only change VM params!
if [ ! -c /dev/vboxdrv ]; then
cat << EOF
WARNING: The character device /dev/vboxdrv does not exist.
Please install the virtualbox-dkms package and the appropriate
headers, most likely linux-headers-$(uname -r | cut -d- -f3).
You will not be able to start VMs until this problem is fixed.
EOF
fi
SERVER_PID=`ps -U \`whoami\` | grep VBoxSVC | awk '{ print $1 }'`
if [ -z "$SERVER_PID" ]; then
# Server not running yet/anymore, cleanup socket path.
# See IPC_GetDefaultSocketPath()!
if [ -n "$LOGNAME" ]; then
rm -rf /tmp/.vbox-$LOGNAME-ipc > /dev/null 2>&1
else
rm -rf /tmp/.vbox-$USER-ipc > /dev/null 2>&1
fi
fi
APP=`basename $0`
case "$APP" in
VirtualBox|virtualbox)
exec "$INSTALL_DIR/VirtualBox" "$@"
;;
VirtualBoxVM|virtualboxvm)
exec "$INSTALL_DIR/VirtualBoxVM" "$@"
;;
VBoxManage|vboxmanage)
exec "$INSTALL_DIR/VBoxManage" "$@"
;;
VBoxSDL|vboxsdl)
exec "$INSTALL_DIR/VBoxSDL" "$@"
;;
VBoxVRDP|VBoxHeadless|vboxheadless)
exec "$INSTALL_DIR/VBoxHeadless" "$@"
;;
VBoxAutostart|vboxautostart)
exec "$INSTALL_DIR/VBoxAutostart" "$@"
;;
VBoxBalloonCtrl|vboxballoonctrl)
exec "$INSTALL_DIR/VBoxBalloonCtrl" "$@"
;;
VBoxBugReport|vboxbugreport)
exec "$INSTALL_DIR/VBoxBugReport" "$@"
;;
VBoxDTrace|vboxdtrace)
exec "$INSTALL_DIR/VBoxDTrace" "$@"
;;
vboxwebsrv)
exec "$INSTALL_DIR/vboxwebsrv" "$@"
;;
*)
echo "Unknown application - $APP"
exit 1
;;
esac
exit 0

247
debian/virtualbox.init vendored Normal file
View file

@ -0,0 +1,247 @@
#! /bin/sh
# Sun VirtualBox
# Linux kernel module init script
#
# Copyright (C) 2006-2009 Sun Microsystems, Inc.
#
# This file is part of VirtualBox Open Source Edition (OSE), as
# available from http://www.virtualbox.org. This file is free software;
# you can redistribute it and/or modify it under the terms of the GNU
# General Public License (GPL) as published by the Free Software
# Foundation, in version 2 as it comes in the "COPYING" file of the
# VirtualBox OSE distribution. VirtualBox OSE is distributed in the
# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
#
# chkconfig: 35 30 70
# description: VirtualBox Linux kernel module
#
### BEGIN INIT INFO
# Provides: virtualbox
# Required-Start: $remote_fs $network
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: VirtualBox Linux kernel module
### END INIT INFO
. /lib/lsb/init-functions
test -d /usr/share/doc/virtualbox -a -x /usr/bin/VBoxHeadless || exit 0
# Include virtualbox defaults if available
[ -r /etc/default/virtualbox ] && . /etc/default/virtualbox
# set list of all active users if asked to do so
if [ "$SHUTDOWN_USERS" = "all" ]; then
SHUTDOWN_USERS=""
for i in /tmp/.vbox-*-ipc; do
SHUTDOWN_USERS="$SHUTDOWN_USERS $(echo $i|cut -d'-' -f2)"
done
fi
if [ "$LOAD_VBOXDRV_MODULE" != 1 ]; then
log_success_msg "virtualbox disabled; edit /etc/default/virtualbox"
exit 0
fi
running()
{
lsmod | grep -q "$1[^_-]"
}
start()
{
log_begin_msg "Loading VirtualBox kernel modules..."
if ! running vboxdrv; then
if ! modprobe vboxdrv > /dev/null 2>&1; then
if ! find /lib/modules/`uname -r` -name "vboxdrv\.*" 2>/dev/null|grep -q vboxdrv; then
log_failure_msg "No suitable module for running kernel found"
else
log_failure_msg "modprobe vboxdrv failed. Please use 'dmesg' to find out why"
fi
log_end_msg 1
return 1
else
log_progress_msg "vboxdrv"
fi
fi
if ! running vboxnetflt; then
if ! modprobe vboxnetflt > /dev/null 2>&1; then
if ! find /lib/modules/`uname -r` -name "vboxnetflt\.*" 2>/dev/null|grep -q vboxnetflt; then
log_failure_msg "No suitable vboxnetflt module for running kernel found"
else
log_failure_msg "modprobe vboxnetflt failed. Please use 'dmesg' to find out why"
fi
log_end_msg 1
return 1
else
log_progress_msg "vboxnetflt"
fi
fi
if ! running vboxnetadp; then
if ! modprobe vboxnetadp > /dev/null 2>&1; then
if ! find /lib/modules/`uname -r` -name "vboxnetadp\.*" 2>/dev/null|grep -q vboxnetadp; then
log_failure_msg "No suitable vboxnetadp module for running kernel found"
else
log_failure_msg "modprobe vboxnetadp failed. Please use 'dmesg' to find out why"
fi
log_end_msg 1
return 1
else
log_progress_msg "vboxnetadp"
fi
fi
log_end_msg 0
}
stop()
{
log_begin_msg "Unloading VirtualBox kernel modules..."
if running vboxnetadp; then
if ! rmmod vboxnetadp 2>/dev/null; then
log_failure_msg "Cannot unload module vboxnetadp"
log_end_msg 1
return 1
else
log_progress_msg "vboxnetadp"
fi
fi
if running vboxnetflt; then
if ! rmmod vboxnetflt 2>/dev/null; then
log_failure_msg "Cannot unload module vboxnetflt"
log_end_msg 1
return 1
else
log_progress_msg "vboxnetflt"
fi
fi
if running vboxpci; then
if ! rmmod vboxpci 2>/dev/null; then
log_failure_msg "Cannot unload module vboxpci"
log_end_msg 1
return 1
else
log_progress_msg "vboxpci"
fi
fi
if running vboxdrv; then
if ! rmmod vboxdrv 2>/dev/null; then
log_failure_msg "Cannot unload module vboxdrv"
log_end_msg 1
return 1
else
log_progress_msg "vboxdrv"
fi
fi
log_end_msg 0
}
# enter the following variables in /etc/default/virtualbox:
# SHUTDOWN_USERS="foo bar"
# check for running VMs of user foo and user bar
# SHUTDOWN=poweroff
# SHUTDOWN=acpibutton
# SHUTDOWN=savestate
# select one of these shutdown methods for running VMs
stop_vms()
{
if ! pidof VBoxSVC > /dev/null; then
return 0
fi
wait=0
for i in $SHUTDOWN_USERS; do
if [ -d /tmp/.vbox-$i-ipc ]; then
export VBOX_IPC_SOCKETID="$i"
VMS=`VBoxManage --nologo list runningvms 2>/dev/null`
if [ $? -eq 0 -a -n "$VMS" ]; then
VMS=`echo "$VMS" | sed -e 's/^".*".*{\(.*\)}/\1/'`
if [ "$SHUTDOWN" = "poweroff" ]; then
log_action_msg "Powering off remaining VMs from user $i"
for v in $VMS; do
VBoxManage --nologo controlvm $v poweroff
wait=10
done
elif [ "$SHUTDOWN" = "acpibutton" ]; then
log_action_msg "Sending ACPI power button event to remaining VMs from user $i"
for v in $VMS; do
VBoxManage --nologo controlvm $v acpipowerbutton
wait=30
done
elif [ "$SHUTDOWN" = "savestate" ]; then
log_action_msg "Saving state of remaining VMs from user $i"
for v in $VMS; do
VBoxManage --nologo controlvm $v savestate
wait=30
done
fi
fi
fi
done
# wait for some seconds when doing ACPI shutdown
if [ "$wait" -ne 0 ]; then
log_action_begin_msg "Waiting for $wait seconds for VM shutdown"
sleep $wait
log_action_end_msg 0
fi
return 0
}
dmnstatus()
{
if running vboxdrv && running vboxnetflt && running vboxnetadp && running vboxpci; then
echo "VirtualBox kernel modules are loaded."
for i in $SHUTDOWN_USERS; do
if [ -d /tmp/.vbox-$i-ipc ]; then
export VBOX_IPC_SOCKETID="$i"
VMS=`VBoxManage --nologo list runningvms 2>/dev/null`
if [ $? -eq 0 -a -n "$VMS" ]; then
VMS=`echo "$VMS" | sed -e 's/^".*".*{\(.*\)}/\1/'`
echo "The following VMs are currently running:"
for v in $VMS; do
echo " $v"
done
fi
fi
done
return 0
else
echo "VirtualBox kernel module is not loaded."
return 3
fi
}
case "$1" in
start)
start
;;
stop)
stop_vms && stop
;;
stop_vms)
stop_vms
;;
restart|force-reload)
stop_vms && stop && start
;;
status)
dmnstatus
;;
*)
echo "Usage: $0 {start|stop|stop_vms|restart|force-reload|status}"
exit 1
esac

38
debian/virtualbox.install vendored Normal file
View file

@ -0,0 +1,38 @@
debian/virtualbox.files/*.sh /usr/share/virtualbox
out/bin/components /usr/lib/virtualbox
out/bin/ExtensionPacks /usr/lib/virtualbox
out/bin/VBox*.so /usr/lib/virtualbox
out/bin/VBox*.r0 /usr/lib/virtualbox
out/bin/VBoxAutostart /usr/lib/virtualbox
out/bin/VBoxBalloonCtrl /usr/lib/virtualbox
out/bin/VBoxBugReport /usr/lib/virtualbox
out/bin/VBoxCpuReport /usr/lib/virtualbox
out/bin/VBoxDTrace /usr/lib/virtualbox
out/bin/VBoxEFI* /usr/lib/virtualbox
out/bin/VBoxExtPackHelperApp /usr/lib/virtualbox
out/bin/VBoxHeadless /usr/lib/virtualbox
out/bin/VBoxManage* /usr/lib/virtualbox
out/bin/VBoxNet* /usr/lib/virtualbox
out/bin/VBoxSDL /usr/lib/virtualbox
out/bin/VBoxSVC /usr/lib/virtualbox
out/bin/VBoxSysInfo.sh /usr/lib/virtualbox
out/bin/VBoxTestOGL /usr/lib/virtualbox
out/bin/VBoxVMM* /usr/lib/virtualbox
out/bin/VBoxVolInfo /usr/lib/virtualbox
out/bin/VBoxXPCOM* /usr/lib/virtualbox
out/bin/VMM* /usr/lib/virtualbox
out/bin/vboxshell.py /usr/lib/virtualbox
out/bin/vboxwebsrv /usr/lib/virtualbox
out/bin/vbox-img /usr/lib/virtualbox
out/bin/webtest /usr/lib/virtualbox
out/bin/libvboxjxpcom.so /usr/lib/virtualbox
out/bin/vboxweb-service.sh /usr/lib/virtualbox
out/bin/vboximg-mount /usr/lib/virtualbox
out/bin/sdk/bindings/xpcom/java /usr/lib/virtualbox/sdk/bindings/xpcom
out/bin/sdk/bindings/xpcom/python /usr/lib/virtualbox/sdk/bindings/xpcom
out/bin/VBoxCreateUSBNode.sh /usr/lib/udev
out/bin/VBoxSysInfo.sh /usr/share/virtualbox
out/bin/UnattendedTemplates /usr/share/virtualbox

16
debian/virtualbox.links vendored Normal file
View file

@ -0,0 +1,16 @@
/usr/share/virtualbox/VBox.sh /usr/bin/vboxheadless
/usr/share/virtualbox/VBox.sh /usr/bin/vboxmanage
/usr/share/virtualbox/VBox.sh /usr/bin/vboxsdl
/usr/share/virtualbox/VBox.sh /usr/bin/vboxballoonctrl
/usr/share/virtualbox/VBox.sh /usr/bin/vboxwebsrv
/usr/share/virtualbox/VBox.sh /usr/bin/VBoxHeadless
/usr/share/virtualbox/VBox.sh /usr/bin/VBoxManage
/usr/share/virtualbox/VBox.sh /usr/bin/VBoxSDL
/usr/share/virtualbox/VBox.sh /usr/bin/VBoxBalloonCtrl
/usr/lib/virtualbox/vbox-img /usr/bin/vbox-img
/usr/lib/virtualbox/vboximg-mount /usr/bin/vboximg-mount
/usr/share/man/man1/VBoxHeadless.1 /usr/share/man/man1/vboxheadless.1
/usr/share/man/man1/VBoxManage.1 /usr/share/man/man1/vboxmanage.1
/usr/share/man/man1/VBoxSDL.1 /usr/share/man/man1/vboxsdl.1

19
debian/virtualbox.lintian-overrides vendored Normal file
View file

@ -0,0 +1,19 @@
virtualbox: shlib-with-non-pic-code usr/lib/virtualbox/VBoxDD.so
virtualbox: shlib-with-non-pic-code usr/lib/virtualbox/VBoxDD2.so
virtualbox: shlib-with-non-pic-code usr/lib/virtualbox/VBoxDDU.so
virtualbox: shlib-with-non-pic-code usr/lib/virtualbox/VBoxRT.so
virtualbox: shlib-with-non-pic-code usr/lib/virtualbox/VBoxVMM.so
virtualbox: shlib-with-non-pic-code usr/lib/virtualbox/components/VBoxC.so
virtualbox: shlib-with-non-pic-code usr/lib/virtualbox/components/VBoxSVCM.so
virtualbox: unstripped-binary-or-object usr/lib/virtualbox/VBoxDD2RC.rc
virtualbox: unstripped-binary-or-object usr/lib/virtualbox/VBoxDD2R0.r0
virtualbox: unstripped-binary-or-object usr/lib/virtualbox/VBoxDDRC.rc
virtualbox: unstripped-binary-or-object usr/lib/virtualbox/VBoxDDR0.r0
virtualbox: unstripped-binary-or-object usr/lib/virtualbox/VMMRC.rc
virtualbox: unstripped-binary-or-object usr/lib/virtualbox/VMMR0.r0
virtualbox: setuid-gid-binary usr/lib/virtualbox/VBoxHeadless 6755 root/root
virtualbox: setuid-gid-binary usr/lib/virtualbox/VBoxNetAdpCtl 6755 root/root
virtualbox: setuid-gid-binary usr/lib/virtualbox/VBoxNetDHCP 6755 root/root
virtualbox: setuid-gid-binary usr/lib/virtualbox/VBoxSDL 6755 root/root
virtualbox: jar-not-in-usr-share usr/lib/virtualbox/sdk/bindings/xpcom/java/vboxjxpcom.jar
virtualbox: embedded-library usr/lib/virtualbox/VBoxXPCOM.so: nspr

4
debian/virtualbox.manpages vendored Normal file
View file

@ -0,0 +1,4 @@
debian/manpages/VBoxHeadless.1
debian/manpages/VBoxManage.1
debian/manpages/VBoxSDL.1
debian/manpages/vboxwebsrv.1

27
debian/virtualbox.postinst vendored Normal file
View file

@ -0,0 +1,27 @@
#!/bin/sh
set -e
#DEBHELPER#
if [ "$1" = configure ]; then
if [ -z `getent group vboxusers` ]; then
addgroup --system --quiet vboxusers
fi
# Build usb device tree
for i in /sys/bus/usb/devices/*; do
if test -r "$i/dev"; then
dev="`cat "$i/dev" 2> /dev/null || true`"
major="`expr "$dev" : '\(.*\):' 2> /dev/null || true`"
minor="`expr "$dev" : '.*:\(.*\)' 2> /dev/null || true`"
class="`cat $i/bDeviceClass 2> /dev/null || true`"
/usr/lib/udev/VBoxCreateUSBNode.sh "$major" "$minor" "$class" vboxusers 2>/dev/null || true
fi
done
# only restart if VirtualBox isn't running
if test -x /etc/init.d/virtualbox && ! pidof VBoxSVC > /dev/null; then
invoke-rc.d virtualbox restart || true
fi
fi

16
debian/virtualbox.postrm vendored Normal file
View file

@ -0,0 +1,16 @@
#!/bin/sh
set -e
#DEBHELPER#
#case "$1" in
# remove|purge)
# # Remove usb device tree
# rm -rf /dev/vboxusb
# ;;
#esac
if [ "$1" = "purge" ]; then
delgroup --quiet vboxusers || true
fi

9
debian/virtualbox.prerm vendored Normal file
View file

@ -0,0 +1,9 @@
#!/bin/sh
set -e
if [ -x "/etc/init.d/virtualbox" ] && [ "$1" = remove ]; then
invoke-rc.d virtualbox stop || true
fi
#DEBHELPER#

4
debian/virtualbox.udev vendored Normal file
View file

@ -0,0 +1,4 @@
SUBSYSTEM=="usb_device", ACTION=="add", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh $major $minor $attr{bDeviceClass} vboxusers"
SUBSYSTEM=="usb_device", ACTION=="remove", RUN+="VBoxCreateUSBNode.sh --remove $major $minor"
SUBSYSTEM=="usb", ACTION=="remove", ENV{DEVTYPE}=="usb_device", RUN+="VBoxCreateUSBNode.sh --remove $major $minor"

5
debian/watch vendored Normal file
View file

@ -0,0 +1,5 @@
version=4
opts=downloadurlmangle=s/^/http:/,dversionmangle=s/-dfsg\d*$//,uversionmangle=s/-.*// \
https://download.virtualbox.org/virtualbox/([\d\.\-]+)/VirtualBox-([\d\.\-]+).tar.bz2 \
debian /bin/sh debian/get-orig-source.sh