--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-source.README.Debian
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-source.README.Debian
@@ -0,0 +1,17 @@
+virtualbox-ose for Debian
+-------------------------
+
+The Debian virtualbox-ose-source package can be used in several ways,
+
+ - Using module-assistant(8) commands provided by the module-assistant Debian
+   package:
+
+	# module-assistant prepare virtualbox-ose
+	# module-assistant auto-install virtualbox-ose
+
+ - 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
--- virtualbox-ose-1.6.6-dfsg.orig/debian/compat
+++ virtualbox-ose-1.6.6-dfsg/debian/compat
@@ -0,0 +1 @@
+5
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.postrm
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.postrm
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+	purge)
+		# Removing vboxusers group
+		if [ -x /usr/sbin/delgroup ]
+		then
+			# delgroup may return error status 3 if there is a non-system group
+			# "vboxusers". The postrm should not fail in this case!
+			delgroup --quiet --system vboxusers || true
+		fi
+		;;
+
+	remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+		;;
+
+	*)
+		echo "postrm called with unknown argument \`${1}'" >&2
+		exit 1
+		;;
+esac
+
+#DEBHELPER#
+
+exit 0
--- virtualbox-ose-1.6.6-dfsg.orig/debian/source.lintian-overrides
+++ virtualbox-ose-1.6.6-dfsg/debian/source.lintian-overrides
@@ -0,0 +1,2 @@
+virtualbox-ose source: outdated-autotools-helper-file src/VBox/RDP/client/config.sub 2003-06-18
+virtualbox-ose source: outdated-autotools-helper-file src/VBox/RDP/client/config.guess 2003-06-17
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.docs
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.docs
@@ -0,0 +1,2 @@
+debian/README.Debian.html
+debian/virtualbox-ose.files/wiki.html
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.README.rebuild
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.README.rebuild
@@ -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.
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-guest-utils.dirs
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-guest-utils.dirs
@@ -0,0 +1,7 @@
+usr/share/virtualbox
+usr/lib/xorg/modules/drivers
+usr/lib/xorg/modules/input
+usr/sbin
+usr/bin
+sbin
+etc/X11/Xsession.d
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.default
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.default
@@ -0,0 +1,11 @@
+# Defaults for virtualbox-ose initscript
+# sourced by /etc/init.d/virtualbox-ose
+# installed at /etc/default/virtualbox-ose by the maintainer scripts
+
+#
+# This is a POSIX shell fragment
+#
+
+# Set this to 1 if you would like the vboxdrv module to be loaded by
+# the init script.
+LOAD_VBOXDRV_MODULE=0
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-source.links
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-source.links
@@ -0,0 +1 @@
+/usr/share/modass/packages/default.sh   /usr/share/modass/overrides/virtualbox-ose-source
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-guest-utils.init
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-guest-utils.init
@@ -0,0 +1,65 @@
+#!/bin/sh
+# (C) 2007 Michael Meskes <meskes@debian.org>
+
+### BEGIN INIT INFO
+# Provides:          vboxadd
+# 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
+
+in_virtual_machine()
+{
+	if [ -z "$(lspci -d 80ee:beef)" ]; then
+		log_warning_msg 'VirtualBox Additions Disabled, not in a Virtual Machine';
+		return 1
+	fi
+
+	return 0
+}
+
+case "$1" in
+  start)
+  	in_virtual_machine || exit 0
+  	log_action_begin_msg 'Starting VirtualBox Additions';
+	# udev should have already handled this module
+	# double check if kernel support is present or die
+	modprobe --quiet vboxadd
+	if [ "$?" -ne 0 ]; then
+		# vboxadd not installed, or has a problem
+		log_failure_msg 'cannot modprobe vboxadd kernel module';
+		log_end_msg 1
+		exit 0
+	fi
+
+	start-stop-daemon --start --quiet --exec /usr/sbin/vboxadd-timesync -- --daemonize
+	log_end_msg $?
+	;;
+  stop)
+  	in_virtual_machine || exit 0
+  	log_action_begin_msg 'Stopping VirtualBox Additions';
+	start-stop-daemon --stop --quiet --oknodo --exec /usr/sbin/vboxadd-timesync
+	log_end_msg $?
+	;;
+  restart|force-reload)
+	#
+	#       If the "reload" option is implemented, move the "force-reload"
+	#       option to the "reload" entry. If not, "force-reload" is
+	#       just the same as "restart".
+	#
+	$0 stop
+	$0 start
+	;;
+  *)
+  	echo "Usage: $0 {start|stop|restart|force-reload}" >&2
+	exit 1
+	;;
+esac
+
+exit 0
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.if-pre-up
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.if-pre-up
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+set -e
+
+case "${IFACE}" in
+    vbox*)
+        ARGS="-t ${IFACE}"
+        ;;
+    *)
+        exit 0
+        ;;
+esac
+
+test -x /usr/lib/virtualbox/VBoxTunctl || exit 0
+
+if [ -n "${IF_VIRTUALBOX_USER}" ]; then
+    ARGS="-u ${IF_VIRTUALBOX_USER} $ARGS"
+fi
+# if [ -n "${IF_VIRTUALBOX_GROUP}" ]; then
+#     ARGS="-g ${IF_VIRTUALBOX_GROUP} $ARGS"
+# fi
+
+/usr/lib/virtualbox/VBoxTunctl $ARGS
--- virtualbox-ose-1.6.6-dfsg.orig/debian/copyright
+++ virtualbox-ose-1.6.6-dfsg/debian/copyright
@@ -0,0 +1,1142 @@
+This package was debianized by Daniel Baumann <daniel@debian.org> on
+Mon, 15 Jan 2007 14:33:00 +0100.
+
+It was downloaded from <http://www.virtualbox.org/>.
+
+Upstream Author: innotek GmbH <info@innotek.de>
+
+License:
+
+        Copyright (C) 2004-2008 innotek GmbH
+
+        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 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.
+
+Some files are dual licensed and also carry the CDDL as listed below.
+
+This applies to the complete sourcetree with the execptions mentioned below:
+
+The following files are licensed under GPLv2:
+
+./src/VBox/Installer/linux/tunctl.c
+	Copyright 2002 Jeff Dike
+
+./src/VBox/HostDrivers/VBoxTAP/
+        Copyright (C) Damion K. Wilson, 2003
+
+./src/VBox/Runtime/generic/semrw-generic.cpp
+./src/VBox/Runtime/table/avl_Base.cpp.h
+./src/VBox/Runtime/table/avl_Destroy.cpp.h
+./src/VBox/Runtime/table/avl_DoWithAll.cpp.h
+./src/VBox/Runtime/table/avlgcptr.cpp
+./src/VBox/Runtime/table/avl_GetBestFit.cpp.h
+./src/VBox/Runtime/table/avl_Get.cpp.h
+./src/VBox/Runtime/table/avlhcphys.cpp
+./src/VBox/Runtime/table/avlogcphys.cpp
+./src/VBox/Runtime/table/avlogcptr.cpp
+./src/VBox/Runtime/table/avlohcphys.cpp
+./src/VBox/Runtime/table/avloioport.cpp
+./src/VBox/Runtime/table/avlpv.cpp
+./src/VBox/Runtime/table/avl_Range.cpp.h
+./src/VBox/Runtime/table/avl_RemoveBestFit.cpp.h
+./src/VBox/Runtime/table/avlrgcptr.cpp
+./src/VBox/Runtime/table/avlrogcptr.cpp
+./src/VBox/Runtime/table/avlroioport.cpp
+./src/VBox/Runtime/table/avlroogcptr.cpp
+./src/VBox/Runtime/table/avlu32.cpp
+./src/VBox/Runtime/table/avlul.cpp
+./src/VBox/Runtime/table/table.cpp
+./src/VBox/Devices/VBoxDDUDeps.cpp
+        Copyright (c) 2005-2007 knut st. osmundsen <bird-src-spam@anduin.net>
+
+./include/avl.h
+        Copyright (c) 2005-2007 knut st. osmundsen <bird-src-spam@anduin.net>
+        Copyright (C) 2006-2007 innotek GmbH
+
+./src/VBox/Devices/PC/Etherboot-src/
+        this subtree is licensed as mentioned in ./src/VBox/Devices/PC/Etherboot-src/README-vbox
+        with the execptions which are listed here.
+
+./src/VBox/Devices/PC/Etherboot-src/arch/i386/drivers/net/undi.h
+./src/VBox/Devices/PC/Etherboot-src/arch/i386/drivers/net/undi.c
+./src/VBox/Devices/PC/Etherboot-src/core/pxe_export.c
+        Copyright: 2003 Michael Brown <mbrown@fensystems.co.uk>
+
+./src/VBox/Devices/PC/Etherboot-src/include/string.h
+./src/VBox/Devices/PC/Etherboot-src/core/string.c
+        Copyright: 1991, 1992 Linus Torvalds
+        Copyright: 2004 Tobias Lorenz
+
+./src/VBox/Devices/PC/Etherboot-src/include/i82365.h
+./src/VBox/Devices/PC/Etherboot-src/core/i82365.c
+        Copyright: 1999 David A. Hinds
+
+./src/VBox/Devices/PC/Etherboot-src/include/isapnp.h
+./src/VBox/Devices/PC/Etherboot-src/core/isapnp.c
+        Copyright: 2001 P.J.H.Fox
+
+./src/VBox/Devices/PC/BIOS/rombios.c
+        Copyright: 2002 MandrakeSoft S.A
+
+./src/VBox/Devices/Graphics/BIOS/vbe.c
+        Copyright: 2002 Jeroen Janssen
+
+./src/VBox/Devices/Graphics/BIOS/clext.c
+        Copyright: (c) 2004 Makoto Suzuki (suzu)
+
+./src/VBox/HostDrivers/VBoxTAP/config-win32.h
+        Copyright: 2002-2005 OpenVPN Solutions LLC
+
+./src/VBox/Devices/PC/Etherboot-src/include/mii.h
+        Copyright (C) 1996, 1999, 2001 David S. Miller
+
+./src/VBox/Devices/PC/Etherboot-src/core/proto_eth_slow.c
+        Copyright 2004 Linux Networx
+
+./src/VBox/Devices/PC/Etherboot-src/util/getopt.c
+        Copyright (c) 1990-1995 by Eberhard Mattes
+
+./src/VBox/RDP
+	Copyright (C) Matthew Chapman 1999-2000
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in /usr/share/common-licenses/GPL-2 file.
+
+-------------------------------------------------------------------------------
+
+The MPL applies to the complete subtree of ./src/libs/xpcom18a4, which was
+synced from mozilla-cvs (the copyright file is in mozilla/COPYRIGHT and
+synced were only mozilla/xpcom, mozilla/nsprpub and mozilla/ipc )
+
+The license is attached below.
+
+-------------------------------------------------------------------------------
+
+The BSD License applies to the complete subtree of:
+
+./src/libs/liblzf-1.51/
+        Copyright (c) 2000-2005 Marc Alexander Lehmann
+
+./src/VBox/Devices/Audio/coreaudio.h
+        Copyright (c) 2005 Mike Kronenberg
+
+./src/VBox/Devices/Network/slirp
+        Copyright (c),  1995,1996 Danny Gasparovski
+        Slirp uses code that is copyrighted by the following people:
+                Juha Pirkola.
+                Gregory M. Christy.
+                The Regents of the University of California.
+                Carnegie Mellon University.
+                The Australian National University.
+                RSA Data Security, Inc.
+
+./src/VBox/HostDrivers/Support/freebsd/SUPDrv-freebsd.c
+./src/VBox/HostDrivers/Support/os2/SUPDrv-os2.cpp
+./src/VBox/Runtime/r0drv/freebsd/
+./src/VBox/Runtime/r0drv/os2/
+./src/VBox/Runtime/r3/os2/time-os2.cpp
+./src/VBox/Runtime/r0drv/freebsd/memobj-r0drv-freebsd.c
+./src/VBox/Runtime/r0drv/freebsd/time-r0drv-freebsd.c
+./src/VBox/Runtime/r0drv/freebsd/timer-r0drv-freebsd.c
+        Copyright (c) 2007 knut st. osmundsen <bird-src-spam@anduin.net>
+
+./src/VBox/Runtime/include/internal/ldrELF32.h
+./src/VBox/Runtime/include/internal/lldrELF64.h
+./src/VBox/Runtime/include/internal/lldrELFAmd64.h
+./src/VBox/Runtime/include/internal/lldrELFCommon.h
+./src/VBox/Runtime/include/internal/lldrELFi386.h
+        Copyright (c) 1996-1998 John D. Polstra.
+
+./src/VBox/Devices/Audio/alsaaudio.c
+./src/VBox/Devices/Audio/audio.c
+./src/VBox/Devices/Audio/audio.h
+./src/VBox/Devices/Audio/audio_int.h
+./src/VBox/Devices/Audio/audio_template.h
+./src/VBox/Devices/Audio/dsoundaudio.c
+./src/VBox/Devices/Audio/dsound_template.h
+./src/VBox/Devices/Audio/mixeng_template.h
+./src/VBox/Devices/Audio/noaudio.c
+./src/VBox/Devices/Audio/ossaudio.c
+        Copyright (c) 2005 Vassili Karpov (malc)
+
+./src/VBox/Devices/Audio/mixeng.c
+./src/VBox/Devices/Audio/reate_template.h
+        Copyright (c) 2005 Vassili Karpov (malc)
+        Copyright 1998 Fabrice Bellard
+
+./src/VBox/Devices/Audio/sys-queue.h
+./src/VBox/Runtime/math/gcc/*
+        Copyright (c) 1991, 1993 The Regents of the University of California.
+
+./src/VBox/Runtime/testcase/soundcard.h
+        Copyright by Hannu Savolainen 1993-1997
+
+./src/VBox/Devices/Network/slirp/tftp.c
+     Copyright: (c) 2004 Magnus Damm
+
+./src/VBox/Devices/PC/Etherboot-src/core/proto_fsp.c
+     Copyright: (c) 2005 by Radim Kolar
+
+./include/Box/HostServices/glext.h
+./include/VBox/HostServices/wglext.h
+./include/VBox/HostServices/glxext.h
+        Copyright: (c) 2007 The Khronos Group Inc
+
+On Debian systems, the complete text of the BSD License
+can be found in /usr/share/common-licenses/BSD file.
+
+-------------------------------------------------------------------------------
+
+The LGPL applies to the complete subtree of:
+
+./src/recompiler/
+         Copyright (c) 2003 Fabrice Bellard
+    with the exeption of:
+        ./src/recompiler/InnoTek (GPLv2)
+                Copyright (C) 2004-2006 InnoTek Systemberatung GmbH <info@innotek.de>
+        ./src/recompiler/a.out.h (Cygwin License, see below)
+                Copyright 1997, 1998, 1999, 2001 Red Hat, Inc.
+        ./src/recompiler/vl.h (BSD)
+                Copyright: (c) 2003 Fabrice Bellard
+        ./src/recompiler/dyngen.c (GPLv2)
+                Copyright: (c) 2003 Fabrice Bellard
+
+./src/recompiler/fpu
+        Copyright (C)  John R. Hauser.
+
+./src/VBox/Devices/Graphics/BIOS
+        Copyright (c) 2004 Makoto Suzuki (suzu)
+        Copyright (C) 2002 Jeroen Janssen
+
+./src/VBox/Devices/PC/BIOS/
+        Copyright (C) 2004 Fabrice Bellard
+        Copyright (C) 2005 Struan Bartlett
+
+./src/VBox/Frontends/src/linux/keyboard.c
+        Copyright 1993 Bob Amstadt
+        Copyright 1996 Albrecht Kleine
+        Copyright 1997 David Faure
+        Copyright 1998 Morten Welinder
+        Copyright 1998 Ulrich Weigand
+        Copyright 1999 Ove Kåven
+
+./src/VBox/Frontends/src/linux/keyboard_outofwine.h
+
+./src/VBox/Runtime/math/x86/fenv-x86.c
+        Copyright (c) 2004-2005 David Schultz <das@FreeBSD.ORG>
+
+./src/VBox/Devices/Graphics/BIOS/vgabios.c
+        Copyright: 2001,2002 the LGPL VGABios developers Team
+
+./src/libs/kStuff
+	Copyright (C) 2007 Sun Microsystems, Inc.
+
+On Debian systems, the complete text of the LGPL License
+can be found in /usr/share/common-licenses/LGPL file.
+
+-------------------------------------------------------------------------------
+The Cygwin License applies to:
+
+./src/recompiler/a.out.h
+        Copyright 1997, 1998, 1999, 2001 Red Hat, Inc.
+
+A copy of this license is appended below.
+
+-------------------------------------------------------------------------------
+Large part of the ./src/VBox/Additions/Linux/ subtree is taken from the X
+sources and still carries the original license. Some work under
+./src/VBox/Additions/Linux was derived from the X sources and carries both, the
+original X license and the innotek GPL license. The remaining sources under
+./src/VBox/Additions/Linux only carry the innotek GPL license.
+
+-------------------------------------------------------------------------------
+
+Due to license issues, parts of the Guest Additions have to be removed from the
+sourcecode. Some of the files were (c) Microsoft with an license which have to be
+considered non-free.
+
+Below a copy of the MPL:
+###############################################################################
+                          MOZILLA PUBLIC LICENSE
+                                Version 1.1
+
+                              ---------------
+
+1. Definitions.
+
+     1.0.1. "Commercial Use" means distribution or otherwise making the
+     Covered Code available to a third party.
+
+     1.1. "Contributor" means each entity that creates or contributes to
+     the creation of Modifications.
+
+     1.2. "Contributor Version" means the combination of the Original
+     Code, prior Modifications used by a Contributor, and the Modifications
+     made by that particular Contributor.
+
+     1.3. "Covered Code" means the Original Code or Modifications or the
+     combination of the Original Code and Modifications, in each case
+     including portions thereof.
+
+     1.4. "Electronic Distribution Mechanism" means a mechanism generally
+     accepted in the software development community for the electronic
+     transfer of data.
+
+     1.5. "Executable" means Covered Code in any form other than Source
+     Code.
+
+     1.6. "Initial Developer" means the individual or entity identified
+     as the Initial Developer in the Source Code notice required by Exhibit
+     A.
+
+     1.7. "Larger Work" means a work which combines Covered Code or
+     portions thereof with code not governed by the terms of this License.
+
+     1.8. "License" means this document.
+
+     1.8.1. "Licensable" means having the right to grant, to the maximum
+     extent possible, whether at the time of the initial grant or
+     subsequently acquired, any and all of the rights conveyed herein.
+
+     1.9. "Modifications" means any addition to or deletion from the
+     substance or structure of either the Original Code or any previous
+     Modifications. When Covered Code is released as a series of files, a
+     Modification is:
+          A. Any addition to or deletion from the contents of a file
+          containing Original Code or previous Modifications.
+
+          B. Any new file that contains any part of the Original Code or
+          previous Modifications.
+
+     1.10. "Original Code" means Source Code of computer software code
+     which is described in the Source Code notice required by Exhibit A as
+     Original Code, and which, at the time of its release under this
+     License is not already Covered Code governed by this License.
+
+     1.10.1. "Patent Claims" means any patent claim(s), now owned or
+     hereafter acquired, including without limitation,  method, process,
+     and apparatus claims, in any patent Licensable by grantor.
+
+     1.11. "Source Code" means the preferred form of the Covered Code for
+     making modifications to it, including all modules it contains, plus
+     any associated interface definition files, scripts used to control
+     compilation and installation of an Executable, or source code
+     differential comparisons against either the Original Code or another
+     well known, available Covered Code of the Contributor's choice. The
+     Source Code can be in a compressed or archival form, provided the
+     appropriate decompression or de-archiving software is widely available
+     for no charge.
+
+     1.12. "You" (or "Your")  means an individual or a legal entity
+     exercising rights under, and complying with all of the terms of, this
+     License or a future version of this License issued under Section 6.1.
+     For legal entities, "You" includes any entity which controls, is
+     controlled by, or is under common control with You. For purposes of
+     this definition, "control" means (a) the power, direct or indirect,
+     to cause the direction or management of such entity, whether by
+     contract or otherwise, or (b) ownership of more than fifty percent
+     (50%) of the outstanding shares or beneficial ownership of such
+     entity.
+
+2. Source Code License.
+
+     2.1. The Initial Developer Grant.
+     The Initial Developer hereby grants You a world-wide, royalty-free,
+     non-exclusive license, subject to third party intellectual property
+     claims:
+          (a)  under intellectual property rights (other than patent or
+          trademark) Licensable by Initial Developer to use, reproduce,
+          modify, display, perform, sublicense and distribute the Original
+          Code (or portions thereof) with or without Modifications, and/or
+          as part of a Larger Work; and
+
+          (b) under Patents Claims infringed by the making, using or
+          selling of Original Code, to make, have made, use, practice,
+          sell, and offer for sale, and/or otherwise dispose of the
+          Original Code (or portions thereof).
+
+          (c) the licenses granted in this Section 2.1(a) and (b) are
+          effective on the date Initial Developer first distributes
+          Original Code under the terms of this License.
+
+          (d) Notwithstanding Section 2.1(b) above, no patent license is
+          granted: 1) for code that You delete from the Original Code; 2)
+          separate from the Original Code;  or 3) for infringements caused
+          by: i) the modification of the Original Code or ii) the
+          combination of the Original Code with other software or devices.
+
+     2.2. Contributor Grant.
+     Subject to third party intellectual property claims, each Contributor
+     hereby grants You a world-wide, royalty-free, non-exclusive license
+
+          (a)  under intellectual property rights (other than patent or
+          trademark) Licensable by Contributor, to use, reproduce, modify,
+          display, perform, sublicense and distribute the Modifications
+          created by such Contributor (or portions thereof) either on an
+          unmodified basis, with other Modifications, as Covered Code
+          and/or as part of a Larger Work; and
+
+          (b) under Patent Claims infringed by the making, using, or
+          selling of  Modifications made by that Contributor either alone
+          and/or in combination with its Contributor Version (or portions
+          of such combination), to make, use, sell, offer for sale, have
+          made, and/or otherwise dispose of: 1) Modifications made by that
+          Contributor (or portions thereof); and 2) the combination of
+          Modifications made by that Contributor with its Contributor
+          Version (or portions of such combination).
+
+          (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
+          effective on the date Contributor first makes Commercial Use of
+          the Covered Code.
+
+          (d)    Notwithstanding Section 2.2(b) above, no patent license is
+          granted: 1) for any code that Contributor has deleted from the
+          Contributor Version; 2)  separate from the Contributor Version;
+          3)  for infringements caused by: i) third party modifications of
+          Contributor Version or ii)  the combination of Modifications made
+          by that Contributor with other software  (except as part of the
+          Contributor Version) or other devices; or 4) under Patent Claims
+          infringed by Covered Code in the absence of Modifications made by
+          that Contributor.
+
+3. Distribution Obligations.
+
+     3.1. Application of License.
+     The Modifications which You create or to which You contribute are
+     governed by the terms of this License, including without limitation
+     Section 2.2. The Source Code version of Covered Code may be
+     distributed only under the terms of this License or a future version
+     of this License released under Section 6.1, and You must include a
+     copy of this License with every copy of the Source Code You
+     distribute. You may not offer or impose any terms on any Source Code
+     version that alters or restricts the applicable version of this
+     License or the recipients' rights hereunder. However, You may include
+     an additional document offering the additional rights described in
+     Section 3.5.
+
+     3.2. Availability of Source Code.
+     Any Modification which You create or to which You contribute must be
+     made available in Source Code form under the terms of this License
+     either on the same media as an Executable version or via an accepted
+     Electronic Distribution Mechanism to anyone to whom you made an
+     Executable version available; and if made available via Electronic
+     Distribution Mechanism, must remain available for at least twelve (12)
+     months after the date it initially became available, or at least six
+     (6) months after a subsequent version of that particular Modification
+     has been made available to such recipients. You are responsible for
+     ensuring that the Source Code version remains available even if the
+     Electronic Distribution Mechanism is maintained by a third party.
+
+     3.3. Description of Modifications.
+     You must cause all Covered Code to which You contribute to contain a
+     file documenting the changes You made to create that Covered Code and
+     the date of any change. You must include a prominent statement that
+     the Modification is derived, directly or indirectly, from Original
+     Code provided by the Initial Developer and including the name of the
+     Initial Developer in (a) the Source Code, and (b) in any notice in an
+     Executable version or related documentation in which You describe the
+     origin or ownership of the Covered Code.
+
+     3.4. Intellectual Property Matters
+          (a) Third Party Claims.
+          If Contributor has knowledge that a license under a third party's
+          intellectual property rights is required to exercise the rights
+          granted by such Contributor under Sections 2.1 or 2.2,
+          Contributor must include a text file with the Source Code
+          distribution titled "LEGAL" which describes the claim and the
+          party making the claim in sufficient detail that a recipient will
+          know whom to contact. If Contributor obtains such knowledge after
+          the Modification is made available as described in Section 3.2,
+          Contributor shall promptly modify the LEGAL file in all copies
+          Contributor makes available thereafter and shall take other steps
+          (such as notifying appropriate mailing lists or newsgroups)
+          reasonably calculated to inform those who received the Covered
+          Code that new knowledge has been obtained.
+
+          (b) Contributor APIs.
+          If Contributor's Modifications include an application programming
+          interface and Contributor has knowledge of patent licenses which
+          are reasonably necessary to implement that API, Contributor must
+          also include this information in the LEGAL file.
+
+               (c)    Representations.
+          Contributor represents that, except as disclosed pursuant to
+          Section 3.4(a) above, Contributor believes that Contributor's
+          Modifications are Contributor's original creation(s) and/or
+          Contributor has sufficient rights to grant the rights conveyed by
+          this License.
+
+     3.5. Required Notices.
+     You must duplicate the notice in Exhibit A in each file of the Source
+     Code.  If it is not possible to put such notice in a particular Source
+     Code file due to its structure, then You must include such notice in a
+     location (such as a relevant directory) where a user would be likely
+     to look for such a notice.  If You created one or more Modification(s)
+     You may add your name as a Contributor to the notice described in
+     Exhibit A.  You must also duplicate this License in any documentation
+     for the Source Code where You describe recipients' rights or ownership
+     rights relating to Covered Code.  You may choose to offer, and to
+     charge a fee for, warranty, support, indemnity or liability
+     obligations to one or more recipients of Covered Code. However, You
+     may do so only on Your own behalf, and not on behalf of the Initial
+     Developer or any Contributor. You must make it absolutely clear than
+     any such warranty, support, indemnity or liability obligation is
+     offered by You alone, and You hereby agree to indemnify the Initial
+     Developer and every Contributor for any liability incurred by the
+     Initial Developer or such Contributor as a result of warranty,
+     support, indemnity or liability terms You offer.
+
+     3.6. Distribution of Executable Versions.
+     You may distribute Covered Code in Executable form only if the
+     requirements of Section 3.1-3.5 have been met for that Covered Code,
+     and if You include a notice stating that the Source Code version of
+     the Covered Code is available under the terms of this License,
+     including a description of how and where You have fulfilled the
+     obligations of Section 3.2. The notice must be conspicuously included
+     in any notice in an Executable version, related documentation or
+     collateral in which You describe recipients' rights relating to the
+     Covered Code. You may distribute the Executable version of Covered
+     Code or ownership rights under a license of Your choice, which may
+     contain terms different from this License, provided that You are in
+     compliance with the terms of this License and that the license for the
+     Executable version does not attempt to limit or alter the recipient's
+     rights in the Source Code version from the rights set forth in this
+     License. If You distribute the Executable version under a different
+     license You must make it absolutely clear that any terms which differ
+     from this License are offered by You alone, not by the Initial
+     Developer or any Contributor. You hereby agree to indemnify the
+     Initial Developer and every Contributor for any liability incurred by
+     the Initial Developer or such Contributor as a result of any such
+     terms You offer.
+
+     3.7. Larger Works.
+     You may create a Larger Work by combining Covered Code with other code
+     not governed by the terms of this License and distribute the Larger
+     Work as a single product. In such a case, You must make sure the
+     requirements of this License are fulfilled for the Covered Code.
+
+4. Inability to Comply Due to Statute or Regulation.
+
+     If it is impossible for You to comply with any of the terms of this
+     License with respect to some or all of the Covered Code due to
+     statute, judicial order, or regulation then You must: (a) comply with
+     the terms of this License to the maximum extent possible; and (b)
+     describe the limitations and the code they affect. Such description
+     must be included in the LEGAL file described in Section 3.4 and must
+     be included with all distributions of the Source Code. Except to the
+     extent prohibited by statute or regulation, such description must be
+     sufficiently detailed for a recipient of ordinary skill to be able to
+     understand it.
+
+5. Application of this License.
+
+     This License applies to code to which the Initial Developer has
+     attached the notice in Exhibit A and to related Covered Code.
+
+6. Versions of the License.
+
+     6.1. New Versions.
+     Netscape Communications Corporation ("Netscape") may publish revised
+     and/or new versions of the License from time to time. Each version
+     will be given a distinguishing version number.
+
+     6.2. Effect of New Versions.
+     Once Covered Code has been published under a particular version of the
+     License, You may always continue to use it under the terms of that
+     version. You may also choose to use such Covered Code under the terms
+     of any subsequent version of the License published by Netscape. No one
+     other than Netscape has the right to modify the terms applicable to
+     Covered Code created under this License.
+
+     6.3. Derivative Works.
+     If You create or use a modified version of this License (which you may
+     only do in order to apply it to code which is not already Covered Code
+     governed by this License), You must (a) rename Your license so that
+     the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
+     "MPL", "NPL" or any confusingly similar phrase do not appear in your
+     license (except to note that your license differs from this License)
+     and (b) otherwise make it clear that Your version of the license
+     contains terms which differ from the Mozilla Public License and
+     Netscape Public License. (Filling in the name of the Initial
+     Developer, Original Code or Contributor in the notice described in
+     Exhibit A shall not of themselves be deemed to be modifications of
+     this License.)
+
+7. DISCLAIMER OF WARRANTY.
+
+     COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
+     WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+     WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
+     DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
+     THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
+     IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
+     YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
+     COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
+     OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
+     ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
+
+8. TERMINATION.
+
+     8.1.  This License and the rights granted hereunder will terminate
+     automatically if You fail to comply with terms herein and fail to cure
+     such breach within 30 days of becoming aware of the breach. All
+     sublicenses to the Covered Code which are properly granted shall
+     survive any termination of this License. Provisions which, by their
+     nature, must remain in effect beyond the termination of this License
+     shall survive.
+
+     8.2.  If You initiate litigation by asserting a patent infringement
+     claim (excluding declatory judgment actions) against Initial Developer
+     or a Contributor (the Initial Developer or Contributor against whom
+     You file such action is referred to as "Participant")  alleging that:
+
+     (a)  such Participant's Contributor Version directly or indirectly
+     infringes any patent, then any and all rights granted by such
+     Participant to You under Sections 2.1 and/or 2.2 of this License
+     shall, upon 60 days notice from Participant terminate prospectively,
+     unless if within 60 days after receipt of notice You either: (i)
+     agree in writing to pay Participant a mutually agreeable reasonable
+     royalty for Your past and future use of Modifications made by such
+     Participant, or (ii) withdraw Your litigation claim with respect to
+     the Contributor Version against such Participant.  If within 60 days
+     of notice, a reasonable royalty and payment arrangement are not
+     mutually agreed upon in writing by the parties or the litigation claim
+     is not withdrawn, the rights granted by Participant to You under
+     Sections 2.1 and/or 2.2 automatically terminate at the expiration of
+     the 60 day notice period specified above.
+
+     (b)  any software, hardware, or device, other than such Participant's
+     Contributor Version, directly or indirectly infringes any patent, then
+     any rights granted to You by such Participant under Sections 2.1(b)
+     and 2.2(b) are revoked effective as of the date You first made, used,
+     sold, distributed, or had made, Modifications made by that
+     Participant.
+
+     8.3.  If You assert a patent infringement claim against Participant
+     alleging that such Participant's Contributor Version directly or
+     indirectly infringes any patent where such claim is resolved (such as
+     by license or settlement) prior to the initiation of patent
+     infringement litigation, then the reasonable value of the licenses
+     granted by such Participant under Sections 2.1 or 2.2 shall be taken
+     into account in determining the amount or value of any payment or
+     license.
+
+     8.4.  In the event of termination under Sections 8.1 or 8.2 above,
+     all end user license agreements (excluding distributors and resellers)
+     which have been validly granted by You or any distributor hereunder
+     prior to termination shall survive termination.
+
+9. LIMITATION OF LIABILITY.
+
+     UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
+     (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
+     DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
+     OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
+     ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
+     CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
+     WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
+     COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
+     INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
+     LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
+     RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
+     PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
+     EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
+     THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
+
+10. U.S. GOVERNMENT END USERS.
+
+     The Covered Code is a "commercial item," as that term is defined in
+     48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
+     software" and "commercial computer software documentation," as such
+     terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
+     C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
+     all U.S. Government End Users acquire Covered Code with only those
+     rights set forth herein.
+
+11. MISCELLANEOUS.
+
+     This License represents the complete agreement concerning subject
+     matter hereof. If any provision of this License is held to be
+     unenforceable, such provision shall be reformed only to the extent
+     necessary to make it enforceable. This License shall be governed by
+     California law provisions (except to the extent applicable law, if
+     any, provides otherwise), excluding its conflict-of-law provisions.
+     With respect to disputes in which at least one party is a citizen of,
+     or an entity chartered or registered to do business in the United
+     States of America, any litigation relating to this License shall be
+     subject to the jurisdiction of the Federal Courts of the Northern
+     District of California, with venue lying in Santa Clara County,
+     California, with the losing party responsible for costs, including
+     without limitation, court costs and reasonable attorneys' fees and
+     expenses. The application of the United Nations Convention on
+     Contracts for the International Sale of Goods is expressly excluded.
+     Any law or regulation which provides that the language of a contract
+     shall be construed against the drafter shall not apply to this
+     License.
+
+12. RESPONSIBILITY FOR CLAIMS.
+
+     As between Initial Developer and the Contributors, each party is
+     responsible for claims and damages arising, directly or indirectly,
+     out of its utilization of rights under this License and You agree to
+     work with Initial Developer and Contributors to distribute such
+     responsibility on an equitable basis. Nothing herein is intended or
+     shall be deemed to constitute any admission of liability.
+
+13. MULTIPLE-LICENSED CODE.
+
+     Initial Developer may designate portions of the Covered Code as
+     "Multiple-Licensed".  "Multiple-Licensed" means that the Initial
+     Developer permits you to utilize portions of the Covered Code under
+     Your choice of the NPL or the alternative licenses, if any, specified
+     by the Initial Developer in the file described in Exhibit A.
+
+EXHIBIT A -Mozilla Public License.
+
+     ``The contents of this file are subject to the Mozilla Public License
+     Version 1.1 (the "License"); you may not use this file except in
+     compliance with the License. You may obtain a copy of the License at
+     http://www.mozilla.org/MPL/
+
+     Software distributed under the License is distributed on an "AS IS"
+     basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+     License for the specific language governing rights and limitations
+     under the License.
+
+     The Original Code is ______________________________________.
+
+     The Initial Developer of the Original Code is ________________________.
+     Portions created by ______________________ are Copyright (C) ______
+     _______________________. All Rights Reserved.
+
+     Contributor(s): ______________________________________.
+
+     Alternatively, the contents of this file may be used under the terms
+     of the _____ license (the  "[___] License"), in which case the
+     provisions of [______] License are applicable instead of those
+     above.  If you wish to allow use of your version of this file only
+     under the terms of the [____] License and not to allow others to use
+     your version of this file under the MPL, indicate your decision by
+     deleting  the provisions above and replace  them with the notice and
+     other provisions required by the [___] License.  If you do not delete
+     the provisions above, a recipient may use your version of this file
+     under either the MPL or the [___] License."
+
+     [NOTE: The text of this Exhibit A may differ slightly from the text of
+     the notices in the Source Code files of the Original Code. You should
+     use the text of this Exhibit A rather than the text found in the
+     Original Code Source Code for Your Modifications.]
+
+
+The Cygwin License:
+###############################################################################
+ This program 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 version 2 of the License.
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty
+ of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ See the GNU General Public License for more details.
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the
+ Free Software Foundation, Inc.,
+ 51 Franklin St -
+ Fifth Floor, Boston,
+ MA 02110-1301, USA.
+
+ *** NOTE ***
+ In accordance with section 10 of the GPL, Red Hat permits programs whose sources
+ are distributed under a license that complies with the Open Source definition
+ to be linked with libcygwin.a/cygwin1.dll without libcygwin.a/cygwin1.dll itself
+ causing the resulting program to be covered by the GNU GPL.
+ This means that you can port an Open Source(tm) application to cygwin, and
+ distribute that executable as if it didn't include a copy of
+ libcygwin.a/cygwin1.dll linked into it. Note that this does not apply to the
+ cygwin DLL itself. If you distribute a (possibly modified) version of the DLL
+ you must adhere to the terms of the GPL, i.e. you must provide sources
+ for the cygwin DLL.
+
+ See http://www.opensource.org/docs/osd/ for the precise Open Source
+ Definition referenced above.
+
+The COMMON DEVELOPMENT AND DISTRIBUTION LICENSE Version 1.0
+
+1. Definitions.
+
+    1.1. "Contributor" means each individual or entity that creates
+         or contributes to the creation of Modifications.
+
+    1.2. "Contributor Version" means the combination of the Original
+         Software, prior Modifications used by a Contributor (if any),
+         and the Modifications made by that particular Contributor.
+
+    1.3. "Covered Software" means (a) the Original Software, or (b)
+         Modifications, or (c) the combination of files containing
+         Original Software with files containing Modifications, in
+         each case including portions thereof.
+
+    1.4. "Executable" means the Covered Software in any form other
+         than Source Code.
+
+    1.5. "Initial Developer" means the individual or entity that first
+         makes Original Software available under this License.
+
+    1.6. "Larger Work" means a work which combines Covered Software or
+         portions thereof with code not governed by the terms of this
+         License.
+
+    1.7. "License" means this document.
+
+    1.8. "Licensable" means having the right to grant, to the maximum
+         extent possible, whether at the time of the initial grant or
+         subsequently acquired, any and all of the rights conveyed
+         herein.
+
+    1.9. "Modifications" means the Source Code and Executable form of
+         any of the following:
+
+        A. Any file that results from an addition to, deletion from or
+           modification of the contents of a file containing Original
+           Software or previous Modifications;
+
+        B. Any new file that contains any part of the Original
+           Software or previous Modifications; or
+
+        C. Any new file that is contributed or otherwise made
+           available under the terms of this License.
+
+    1.10. "Original Software" means the Source Code and Executable
+          form of computer software code that is originally released
+          under this License.
+
+    1.11. "Patent Claims" means any patent claim(s), now owned or
+          hereafter acquired, including without limitation, method,
+          process, and apparatus claims, in any patent Licensable by
+          grantor.
+
+    1.12. "Source Code" means (a) the common form of computer software
+          code in which modifications are made and (b) associated
+          documentation included in or with such code.
+
+    1.13. "You" (or "Your") means an individual or a legal entity
+          exercising rights under, and complying with all of the terms
+          of, this License.  For legal entities, "You" includes any
+          entity which controls, is controlled by, or is under common
+          control with You.  For purposes of this definition,
+          "control" means (a) the power, direct or indirect, to cause
+          the direction or management of such entity, whether by
+          contract or otherwise, or (b) ownership of more than fifty
+          percent (50%) of the outstanding shares or beneficial
+          ownership of such entity.
+
+2. License Grants.
+
+    2.1. The Initial Developer Grant.
+
+    Conditioned upon Your compliance with Section 3.1 below and
+    subject to third party intellectual property claims, the Initial
+    Developer hereby grants You a world-wide, royalty-free,
+    non-exclusive license:
+
+        (a) under intellectual property rights (other than patent or
+            trademark) Licensable by Initial Developer, to use,
+            reproduce, modify, display, perform, sublicense and
+            distribute the Original Software (or portions thereof),
+            with or without Modifications, and/or as part of a Larger
+            Work; and
+
+        (b) under Patent Claims infringed by the making, using or
+            selling of Original Software, to make, have made, use,
+            practice, sell, and offer for sale, and/or otherwise
+            dispose of the Original Software (or portions thereof).
+
+        (c) The licenses granted in Sections 2.1(a) and (b) are
+            effective on the date Initial Developer first distributes
+            or otherwise makes the Original Software available to a
+            third party under the terms of this License.
+
+        (d) Notwithstanding Section 2.1(b) above, no patent license is
+            granted: (1) for code that You delete from the Original
+            Software, or (2) for infringements caused by: (i) the
+            modification of the Original Software, or (ii) the
+            combination of the Original Software with other software
+            or devices.
+
+    2.2. Contributor Grant.
+
+    Conditioned upon Your compliance with Section 3.1 below and
+    subject to third party intellectual property claims, each
+    Contributor hereby grants You a world-wide, royalty-free,
+    non-exclusive license:
+
+        (a) under intellectual property rights (other than patent or
+            trademark) Licensable by Contributor to use, reproduce,
+            modify, display, perform, sublicense and distribute the
+            Modifications created by such Contributor (or portions
+            thereof), either on an unmodified basis, with other
+            Modifications, as Covered Software and/or as part of a
+            Larger Work; and
+
+        (b) under Patent Claims infringed by the making, using, or
+            selling of Modifications made by that Contributor either
+            alone and/or in combination with its Contributor Version
+            (or portions of such combination), to make, use, sell,
+            offer for sale, have made, and/or otherwise dispose of:
+            (1) Modifications made by that Contributor (or portions
+            thereof); and (2) the combination of Modifications made by
+            that Contributor with its Contributor Version (or portions
+            of such combination).
+
+        (c) The licenses granted in Sections 2.2(a) and 2.2(b) are
+            effective on the date Contributor first distributes or
+            otherwise makes the Modifications available to a third
+            party.
+
+        (d) Notwithstanding Section 2.2(b) above, no patent license is
+            granted: (1) for any code that Contributor has deleted
+            from the Contributor Version; (2) for infringements caused
+            by: (i) third party modifications of Contributor Version,
+            or (ii) the combination of Modifications made by that
+            Contributor with other software (except as part of the
+            Contributor Version) or other devices; or (3) under Patent
+            Claims infringed by Covered Software in the absence of
+            Modifications made by that Contributor.
+
+3. Distribution Obligations.
+
+    3.1. Availability of Source Code.
+
+    Any Covered Software that You distribute or otherwise make
+    available in Executable form must also be made available in Source
+    Code form and that Source Code form must be distributed only under
+    the terms of this License.  You must include a copy of this
+    License with every copy of the Source Code form of the Covered
+    Software You distribute or otherwise make available.  You must
+    inform recipients of any such Covered Software in Executable form
+    as to how they can obtain such Covered Software in Source Code
+    form in a reasonable manner on or through a medium customarily
+    used for software exchange.
+
+    3.2. Modifications.
+
+    The Modifications that You create or to which You contribute are
+    governed by the terms of this License.  You represent that You
+    believe Your Modifications are Your original creation(s) and/or
+    You have sufficient rights to grant the rights conveyed by this
+    License.
+
+    3.3. Required Notices.
+
+    You must include a notice in each of Your Modifications that
+    identifies You as the Contributor of the Modification.  You may
+    not remove or alter any copyright, patent or trademark notices
+    contained within the Covered Software, or any notices of licensing
+    or any descriptive text giving attribution to any Contributor or
+    the Initial Developer.
+
+    3.4. Application of Additional Terms.
+
+    You may not offer or impose any terms on any Covered Software in
+    Source Code form that alters or restricts the applicable version
+    of this License or the recipients' rights hereunder.  You may
+    choose to offer, and to charge a fee for, warranty, support,
+    indemnity or liability obligations to one or more recipients of
+    Covered Software.  However, you may do so only on Your own behalf,
+    and not on behalf of the Initial Developer or any Contributor.
+    You must make it absolutely clear that any such warranty, support,
+    indemnity or liability obligation is offered by You alone, and You
+    hereby agree to indemnify the Initial Developer and every
+    Contributor for any liability incurred by the Initial Developer or
+    such Contributor as a result of warranty, support, indemnity or
+    liability terms You offer.
+
+    3.5. Distribution of Executable Versions.
+
+    You may distribute the Executable form of the Covered Software
+    under the terms of this License or under the terms of a license of
+    Your choice, which may contain terms different from this License,
+    provided that You are in compliance with the terms of this License
+    and that the license for the Executable form does not attempt to
+    limit or alter the recipient's rights in the Source Code form from
+    the rights set forth in this License.  If You distribute the
+    Covered Software in Executable form under a different license, You
+    must make it absolutely clear that any terms which differ from
+    this License are offered by You alone, not by the Initial
+    Developer or Contributor.  You hereby agree to indemnify the
+    Initial Developer and every Contributor for any liability incurred
+    by the Initial Developer or such Contributor as a result of any
+    such terms You offer.
+
+    3.6. Larger Works.
+
+    You may create a Larger Work by combining Covered Software with
+    other code not governed by the terms of this License and
+    distribute the Larger Work as a single product.  In such a case,
+    You must make sure the requirements of this License are fulfilled
+    for the Covered Software.
+
+4. Versions of the License.
+
+    4.1. New Versions.
+
+    Sun Microsystems, Inc. is the initial license steward and may
+    publish revised and/or new versions of this License from time to
+    time.  Each version will be given a distinguishing version number.
+    Except as provided in Section 4.3, no one other than the license
+    steward has the right to modify this License.
+
+    4.2. Effect of New Versions.
+
+    You may always continue to use, distribute or otherwise make the
+    Covered Software available under the terms of the version of the
+    License under which You originally received the Covered Software.
+    If the Initial Developer includes a notice in the Original
+    Software prohibiting it from being distributed or otherwise made
+    available under any subsequent version of the License, You must
+    distribute and make the Covered Software available under the terms
+    of the version of the License under which You originally received
+    the Covered Software.  Otherwise, You may also choose to use,
+    distribute or otherwise make the Covered Software available under
+    the terms of any subsequent version of the License published by
+    the license steward.
+
+    4.3. Modified Versions.
+
+    When You are an Initial Developer and You want to create a new
+    license for Your Original Software, You may create and use a
+    modified version of this License if You: (a) rename the license
+    and remove any references to the name of the license steward
+    (except to note that the license differs from this License); and
+    (b) otherwise make it clear that the license contains terms which
+    differ from this License.
+
+5. DISCLAIMER OF WARRANTY.
+
+    COVERED SOFTWARE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS"
+    BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED,
+    INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED
+    SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR
+    PURPOSE OR NON-INFRINGING.  THE ENTIRE RISK AS TO THE QUALITY AND
+    PERFORMANCE OF THE COVERED SOFTWARE IS WITH YOU.  SHOULD ANY
+    COVERED SOFTWARE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE
+    INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY
+    NECESSARY SERVICING, REPAIR OR CORRECTION.  THIS DISCLAIMER OF
+    WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE.  NO USE OF
+    ANY COVERED SOFTWARE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS
+    DISCLAIMER.
+
+6. TERMINATION.
+
+    6.1. This License and the rights granted hereunder will terminate
+    automatically if You fail to comply with terms herein and fail to
+    cure such breach within 30 days of becoming aware of the breach.
+    Provisions which, by their nature, must remain in effect beyond
+    the termination of this License shall survive.
+
+    6.2. If You assert a patent infringement claim (excluding
+    declaratory judgment actions) against Initial Developer or a
+    Contributor (the Initial Developer or Contributor against whom You
+    assert such claim is referred to as "Participant") alleging that
+    the Participant Software (meaning the Contributor Version where
+    the Participant is a Contributor or the Original Software where
+    the Participant is the Initial Developer) directly or indirectly
+    infringes any patent, then any and all rights granted directly or
+    indirectly to You by such Participant, the Initial Developer (if
+    the Initial Developer is not the Participant) and all Contributors
+    under Sections 2.1 and/or 2.2 of this License shall, upon 60 days
+    notice from Participant terminate prospectively and automatically
+    at the expiration of such 60 day notice period, unless if within
+    such 60 day period You withdraw Your claim with respect to the
+    Participant Software against such Participant either unilaterally
+    or pursuant to a written agreement with Participant.
+
+    6.3. In the event of termination under Sections 6.1 or 6.2 above,
+    all end user licenses that have been validly granted by You or any
+    distributor hereunder prior to termination (excluding licenses
+    granted to You by any distributor) shall survive termination.
+
+7. LIMITATION OF LIABILITY.
+
+    UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
+    (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE
+    INITIAL DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF
+    COVERED SOFTWARE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE
+    LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
+    CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT
+    LIMITATION, DAMAGES FOR LOST PROFITS, LOSS OF GOODWILL, WORK
+    STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
+    COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
+    INFORMED OF THE POSSIBILITY OF SUCH DAMAGES.  THIS LIMITATION OF
+    LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL
+    INJURY RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT
+    APPLICABLE LAW PROHIBITS SUCH LIMITATION.  SOME JURISDICTIONS DO
+    NOT ALLOW THE EXCLUSION OR LIMITATION OF INCIDENTAL OR
+    CONSEQUENTIAL DAMAGES, SO THIS EXCLUSION AND LIMITATION MAY NOT
+    APPLY TO YOU.
+
+8. U.S. GOVERNMENT END USERS.
+
+    The Covered Software is a "commercial item," as that term is
+    defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial
+    computer software" (as that term is defined at 48
+    C.F.R. 252.227-7014(a)(1)) and "commercial computer software
+    documentation" as such terms are used in 48 C.F.R. 12.212
+    (Sept. 1995).  Consistent with 48 C.F.R. 12.212 and 48
+    C.F.R. 227.7202-1 through 227.7202-4 (June 1995), all
+    U.S. Government End Users acquire Covered Software with only those
+    rights set forth herein.  This U.S. Government Rights clause is in
+    lieu of, and supersedes, any other FAR, DFAR, or other clause or
+    provision that addresses Government rights in computer software
+    under this License.
+
+9. MISCELLANEOUS.
+
+    This License represents the complete agreement concerning subject
+    matter hereof.  If any provision of this License is held to be
+    unenforceable, such provision shall be reformed only to the extent
+    necessary to make it enforceable.  This License shall be governed
+    by the law of the jurisdiction specified in a notice contained
+    within the Original Software (except to the extent applicable law,
+    if any, provides otherwise), excluding such jurisdiction's
+    conflict-of-law provisions.  Any litigation relating to this
+    License shall be subject to the jurisdiction of the courts located
+    in the jurisdiction and venue specified in a notice contained
+    within the Original Software, with the losing party responsible
+    for costs, including, without limitation, court costs and
+    reasonable attorneys' fees and expenses.  The application of the
+    United Nations Convention on Contracts for the International Sale
+    of Goods is expressly excluded.  Any law or regulation which
+    provides that the language of a contract shall be construed
+    against the drafter shall not apply to this License.  You agree
+    that You alone are responsible for compliance with the United
+    States export administration regulations (and the export control
+    laws and regulation of any other countries) when You use,
+    distribute or otherwise make available any Covered Software.
+
+10. RESPONSIBILITY FOR CLAIMS.
+
+    As between Initial Developer and the Contributors, each party is
+    responsible for claims and damages arising, directly or
+    indirectly, out of its utilization of rights under this License
+    and You agree to work with Initial Developer and Contributors to
+    distribute such responsibility on an equitable basis.  Nothing
+    herein is intended or shall be deemed to constitute any admission
+    of liability.
+
+--------------------------------------------------------------------
+
+NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND
+DISTRIBUTION LICENSE (CDDL)
+
+For Covered Software in this distribution, this License shall be
+governed by the laws of Germany. Legal venue shall be Stuttgart,
+Germany.
+
+The Debian packaging is (C) 2007, Patrick Winnertz <patrick.winnertz@skolelinux.org>,
+Daniel Baumann <daniel@debian.org>, Philipp Hug <debian@hug.cx> and is licensed under
+the GPL, see `/usr/share/common-licenses/GPL'.
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-source.install
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-source.install
@@ -0,0 +1,4 @@
+out/bin/src/* /usr/src/modules/virtualbox-ose
+
+debian/control debian/changelog debian/copyright debian/compat /usr/src/modules/virtualbox-ose/debian
+debian/virtualbox-ose-source.files/* /usr/src/modules/virtualbox-ose/debian
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.install
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.install
@@ -0,0 +1,32 @@
+debian/virtualbox-ose.files/vbox.cfg /etc/vbox
+debian/virtualbox-ose.files/interfaces /etc/vbox
+debian/virtualbox-ose.files/*.sh /usr/share/virtualbox
+debian/virtualbox-ose.files/virtualbox-ose.desktop /usr/share/applications
+debian/virtualbox-ose.files/virtualbox-ose.xpm /usr/share/pixmaps
+
+debian/lintian/virtualbox-ose /usr/share/lintian/overrides
+
+out/bin/components /usr/lib/virtualbox
+out/bin/SUP* /usr/lib/virtualbox
+out/bin/VBoxREM* /usr/lib/virtualbox
+out/bin/VBox*.so /usr/lib/virtualbox
+out/bin/VBox*.gc /usr/lib/virtualbox
+out/bin/VBox*.r0 /usr/lib/virtualbox
+out/bin/VBoxBFE /usr/lib/virtualbox
+out/bin/VBoxHeadless /usr/lib/virtualbox
+out/bin/VBoxManage /usr/lib/virtualbox
+out/bin/VBoxSDL /usr/lib/virtualbox
+out/bin/VBoxSVC /usr/lib/virtualbox
+out/bin/VBoxTunctl /usr/lib/virtualbox
+out/bin/VBoxXPCOM* /usr/lib/virtualbox
+out/bin/vditool /usr/lib/virtualbox
+out/bin/VirtualBox* /usr/lib/virtualbox
+out/bin/VirtualBox* /usr/lib/virtualbox
+out/bin/VMM* /usr/lib/virtualbox
+
+out/bin/nls /usr/share/virtualbox
+out/bin/sdk /usr/share/virtualbox
+out/bin/VBox.png /usr/share/virtualbox
+out/bin/VBoxAddIF.sh /usr/share/virtualbox
+
+out/bin/sdk/bin/xpidl /usr/lib/virtualbox
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.templates
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.templates
@@ -0,0 +1,16 @@
+# These templates have been reviewed by the debian-l10n-english
+# team
+#
+# If modifications/additions/rewording are needed, please ask
+# debian-l10n-english@lists.debian.org for advice.
+#
+# Even minor modifications require translation updates and such
+# changes should be coordinated with translators and reviewers.
+
+Template: virtualbox-ose/upstream_version_change
+Type: boolean
+Default: false
+_Description: Proceed with virtualbox-ose upgrade despite losing snapshots?
+ You are currently upgrading virtualbox-ose to a new upstream version. All
+ snapshots will be discarded by this upgrade, because snapshots are
+ version-specific.
--- virtualbox-ose-1.6.6-dfsg.orig/debian/changelog
+++ virtualbox-ose-1.6.6-dfsg/debian/changelog
@@ -0,0 +1,767 @@
+virtualbox-ose (1.6.6-dfsg-3~bpo40+1) etch-backports; urgency=low
+
+  * Rebuild for etch-backports.
+
+ -- Michael Meskes <meskes@debian.org>  Tue, 11 Nov 2008 08:42:34 +0000
+
+virtualbox-ose (1.6.6-dfsg-3) unstable; urgency=high
+
+  * Added upstream patch to support kernel 2.6.27, closes: #502068
+  * Added upstream patch to prevent potential symlink attack, closes: #504149
+
+ -- Michael Meskes <meskes@debian.org>  Mon, 13 Oct 2008 16:38:47 +0200
+
+virtualbox-ose (1.6.6-dfsg-2~bpo40+1) etch-backports; urgency=low
+
+  * Rebuild for etch-backports.
+
+ -- Michael Meskes <meskes@debian.org>  Thu, 16 Oct 2008 11:08:12 +0200
+
+virtualbox-ose (1.6.6-dfsg-2) unstable; urgency=low
+
+  * Added NOTPARALLEL option in guest sources Makefile, that somehow got lost,
+    closes: #494475
+  * Stop spamming log files by using patch provided by Stefan Lippers-Hollmann
+    <s.L-H@gmx.de>, closes: #500484
+
+ -- Michael Meskes <meskes@debian.org>  Fri, 03 Oct 2008 17:17:10 +0200
+
+virtualbox-ose (1.6.6-dfsg-1) unstable; urgency=low
+
+  [ Michael Meskes ]
+  * New upstream version
+    - no longer able to select disk in use for new VM, closes: #495028
+  * Removed patch 05-vboxadd-udev which was applied upstream.
+  * Removed absolute paths in maintainer scripts.
+  * Override lintian error in RDP subdir because the client is not build anyway.
+ 
+  [ Patrick Winnertz ]
+  * New upstream version fixes compilation error of -modules with kernelversion
+    2.6.27 (Closes: #499623)
+
+ -- Patrick Winnertz <winnie@debian.org>  Sun, 21 Sep 2008 22:29:58 +0200
+
+virtualbox-ose (1.6.2-dfsg-6~bpo40+1) etch-backports; urgency=low
+
+  * Rebuild for etch-backports.
+
+ -- Michael Meskes <meskes@debian.org>  Wed, 24 Sep 2008 16:22:00 +0200
+
+virtualbox-ose (1.6.2-dfsg-6) unstable; urgency=medium
+
+  * Apply changesets 12299, 12303, 12305, 12307 and 12308 from upstream SVN
+    to fix errors running 2.6.26-686 kernels in a Virtual Machine. Patch
+    created by Frans Pop <fjp@debian.org>. Closes: #497505.
+
+ -- Michael Meskes <meskes@debian.org>  Mon, 15 Sep 2008 10:01:21 +0200
+
+virtualbox-ose (1.6.2-dfsg-5) unstable; urgency=low
+
+  [ Michael Meskes ]
+  * Updated initscript to better handle LSB compatibility, yet again
+    closes: #474089
+  * Added a short note to README.Debian asking user to use only the 486 version
+    of the 2.6.26 kernel. This documents a workaround for #497505 and #497875.
+  * In VBox.sh honor LD_LIBRARY_PATH if already set, closes: #496953
+  * Changed rules file for guest-module to correctly build modules with
+    symbols, thanks to Bastian Blank for the hint.
+  * Do not build guest modules in parallel, closes: #494475
+
+  [ Loic Minier ]
+  * Demote module-assistant deps to Recommends; closes: #495671.
+  * Don't prepend current directory to LD_LIBRARY_PATH if it isn't set.
+
+ -- Michael Meskes <meskes@debian.org>  Sat, 09 Aug 2008 21:46:44 +0200
+
+virtualbox-ose (1.6.2-dfsg-4) unstable; urgency=medium
+
+  * Adding patch from Gonéri Le Bouder <goneri@rulezlan.org> to fix FTBFS with
+    dash as /bin/sh (Closes: #493402).
+  * Adding patch from Gonéri Le Bouder <goneri@rulezlan.org> to fix FTBFS with
+    LC_ALL set to fr_FR.UTF-8 (Closes: #494157).
+  * Adding Swedish debconf translation from Martin Ågren
+    <martin.agren@gmail.com> (Closes: #492162).
+
+ -- Daniel Baumann <daniel@debian.org>  Thu,  7 Aug 2008 11:38:00 -0300
+
+virtualbox-ose (1.6.2-dfsg-3) unstable; urgency=medium
+
+  [ Daniel Baumann ]
+  * Removing empty lines at EOF and whitespaces at EOL.
+  * Including vboxvideo.ids in virtualbox-ose-guest-utils to allow xserver to
+    automagically detect the display adapter, thanks to Avi Rozen
+    <avi.rozen@gmail.com> (Closes: #490541).
+  * Adding Turkish debconf translation from Mert Dirik <mertdirik@gmail.com>
+    (Closes: #490725).
+
+  [ Loic Minier ]
+  * Drop useless subshells in rules files and export environment vars
+    explicitely; also change "cd foo; $(MAKE)" patterns to "$(MAKE) -C foo".
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 14 Jul 2008 07:14:00 +0200
+
+virtualbox-ose (1.6.2-dfsg-2) unstable; urgency=low
+
+  [ Daniel Baumann ]
+  * Using dpkg-architecture rather than dpkg --print-architecture in
+    01-no-64bit-guest.dpatch in order to be more accurate for ia32 subarchs
+    like lpia, thanks to Loic Minier <lool@debian.org>.
+  * Rediffing 02-config-kmk.dpatch.
+  * Adding patch to adjust failure message with Debian specific solution when
+    experiencing kernel module version mismatch.
+
+  [ Hilko Bengen ]
+  * Re-added watch file: Innotek/Sun still want us to use their INTERSHOP
+    system to download the tarball, but luckily, there is an alternative
+    download location.
+  * Enhanced README.Debian
+
+  [ Patrick Winnertz ]
+  * Adding VBoxHeadless to virtualbox. Thanks to Stefan Lippers-Hollmann.
+    (Closes: #486544)
+
+  [ Michael Meskes ]
+  * Remove LocalConfig.kmk in clean target.
+  * Source env.sh before starting to build.
+  * Include our wiki page as simple html file under
+    /usr/share/doc/virtualbox-ose. (Closes: #484998)
+  * Install VBoxRandR into guest-utils package.
+  * Moved udev rule from virtualbox-ose-guest-modules package to
+    virtualbox-ose-guest-utils package. (Closes: #488455)
+
+  [ Loic Minier ]
+  * Build virtualbox-ose, virtualbox-ose-dbg, and virtualbox-ose-guest-utils
+    for lpia.
+  * Wrap uploaders, bdeps, and deps on multiple lines to get cleaner diffs.
+  * Cleanup upstreamversion computation and compute it only once.
+  * Set VBOX_WITH_X11_ADDITIONS in rules when the DEB_HOST_ARCH is i386 or
+    lpia instead of using dpkg --print-architecture.
+  * Use the -s flag to dh_ commands instead of 3 debhelper calls and a shell
+    test; as a bonus, this provides additional detached symbols in -dbg.
+  * Move all -a flags to -s.
+  * Install files into virtualbox-ose-guest-utils unconditionally and ignore
+    errors -- even if these exist, the package is disabled on amd64.
+  * Cleanup rules slightly.
+  * Add ${misc:Depends} as this is recommended nowadays.
+  * Drop now empty debian/virtualbox-ose-guest-utils.postinst which used to
+    call /usr/lib/virtualbox/x11config.pl in the past.
+  * Cleanup debian/virtualbox-ose-source.files/rules and
+    debian/virtualbox-ose-guest-source.files/rules slightly.
+  * Drop trailing exit 0 from "set -e"-ed postinst templates.
+
+ -- Michael Meskes <meskes@debian.org>  Tue, 17 Jun 2008 14:52:36 +0200
+
+virtualbox-ose (1.6.2-dfsg-1~bpo40+1) etch-backports; urgency=low
+
+  * Rebuild for etch-backports.
+
+ -- Michael Meskes <meskes@debian.org>  Tue, 17 Jun 2008 12:11:19 +0200
+
+virtualbox-ose (1.6.2-dfsg-1) unstable; urgency=low
+
+  [ Michael Meskes ]
+  * New upstream version, closes: #479744, #482504, #483592
+  * Removed unneeded xalan build dependency.
+  * Added build dependency on libxslt and libxml.
+  * Fixed LocalConfig.kmk to list new variables.
+  * Use upstream provided X session file, but patch our changes in there.
+  * Build with gcc/g++ 4.2.
+  * Bumped Standards-Version to 3.8.0.
+
+  [ Daniel Baumann ]
+  * Removing ffmpeg recursively in dfsg-free target in rules.
+  * Rediffing all patches.
+  * Renumbering all patches.
+  * Sanitizing dpatch headers.
+  * Stripping off embedded copy of libpng in dfsg-free target of rules.
+  * Stripping off embedded copy of libxml2 in dfsg-free target of rules.
+  * Stripping off embedded copy of libxslt in dfsg-free target of rules.
+  * Stripping off embedded copy of zlib in dfsg-free target of rules.
+  * Improving long description of virtualbox-ose-guest-utils.
+  * Correcting wrong virtualbox-ose-guest-utils package name in long
+    description of virtuabox-ose-guest-source.
+  * Adding note about kernel module requirement in virtualbox-ose long
+    description.
+
+ -- Michael Meskes <meskes@debian.org>  Sun, 11 May 2008 22:48:59 +0200
+
+virtualbox-ose (1.5.6-dfsg-7~bpo40+1) etch-backports; urgency=low
+
+  * Rebuild for etch-backports, this hopefully closes: #481100
+
+ -- Michael Meskes <meskes@debian.org>  Thu, 15 May 2008 12:54:58 +0200
+
+virtualbox-ose (1.5.6-dfsg-7) unstable; urgency=low
+
+  [ Michael Meskes ]
+  * Made virtualbox-ose-modules recommend virtualbox-ose-guest-utils.
+  * Added recommendation on up-to-date xserver-xorg-core and conflict on
+    older versions to guest-utils, closes: #476526
+  * Provide xserver-xorg-input-2 and xserver-xorg-video-2 with guest-utils.
+  * Removed watch file, I couldn't find a way to get the orig tarball without
+    first accepting a license.
+  * Rewrote debian/rules for both source packages, hopefully this
+    finally closes: #469882
+  * Patched module Makefile to allow amd64 build in linux-modules-extra-2.6.
+  * Added patch by Pascal Volk <user@localhost.localdomain.org> to prevent
+    init script from overwriting values, closes: #475193
+  * Added patch from upstream SVN to fix FTBFS in xpcom, closes: #479910
+  * Took another change from SVN to update sed file for newer buildchain.
+  * Recompiled against latest libxalan110, closes: #480739
+
+  [ Daniel Baumann ]
+  * Correcting wrong module-assistant manpage section in
+    virtualbox-ose-*source.README.Debian.
+  * Removing some reimported useless whitespaces.
+  * Sanitizing all po headers.
+
+  [ Patrick Winnertz ]
+  * Added patch to make virtualbox-ose-guest-source build with kernels >=
+    2.6.25. Thanks to Stefan Lippers-Hollmann. (Closes: 478373, 478333, 480736)
+
+ -- Michael Meskes <meskes@debian.org>  Sun, 11 May 2008 22:48:50 +0200
+
+virtualbox-ose (1.5.6-dfsg-6) unstable; urgency=low
+
+  * Added two patches from upstream SVN to make virtualbox-ose build with
+    gcc-4.3. However, this compiler is not yet officially supported.
+    Closes: #474907
+
+ -- Michael Meskes <meskes@debian.org>  Tue, 08 Apr 2008 09:58:35 +0200
+
+virtualbox-ose (1.5.6-dfsg-5) unstable; urgency=low
+
+  [ Hilko Bengen ]
+  * Don't fail in guest-utils init script if the vboxadd module cannot
+    get loaded (Closes: #474195)
+
+  [ Michael Meskes ]
+  * Fixed default ARCH setting in module Makefile, closes: #474196
+  * Made initscript even more LSB compliant by using LSB logging
+    functions, closes: #474089
+
+ -- Michael Meskes <meskes@debian.org>  Fri, 04 Apr 2008 10:16:48 +0200
+
+virtualbox-ose (1.5.6-dfsg-4) unstable; urgency=low
+
+  [ Michael Meskes  ]
+  * Set default architecture in debian/rules for module source package.
+  * Fixed and rearranged patches against init script.
+
+  [ Patrick Winnertz ]
+  * Improve init.d script patch to write done also on the first startup.
+    (Closes: #473059)
+
+ -- Michael Meskes <meskes@debian.org>  Wed, 02 Apr 2008 12:08:30 +0200
+
+virtualbox-ose (1.5.6-dfsg-3) unstable; urgency=low
+
+  [ Michael Meskes ]
+  * Fixed arch check in virtualbox-ose-source rules file, closes: #469882
+  * Added just another patch to the initscript. This patch makes sure the tun
+    module is only loaded if it is needed, closes: #470172
+  * Made desktop file comply to the Free Desktop specification, closes: #470937
+  * Replaced $(PWD) with $(CURDIR) in rules file.
+  * Bumped build dependency for debhelper to version >= 5.0.44~ because of
+    dh_installifupdown.
+  * Moved to Hilko's docbook version of README.Debian.
+  * Also added information about VBoxADDIF to README.Debian.
+  * Copied lynx-dump-postprocess script from exim4 package.
+
+  [ Hilko Bengen ]
+  * Added scripts for managing `vbox' interfaces from
+    /etc/network/interfaces
+
+ -- Michael Meskes <meskes@debian.org>  Tue, 18 Mar 2008 15:13:39 +0100
+
+virtualbox-ose (1.5.6-dfsg-2~bpo40+1) etch-backports; urgency=low
+
+  * Rebuild for Etch backports.
+
+ -- Michael Meskes <meskes@debian.org>  Wed, 05 Mar 2008 15:58:08 +0100
+
+virtualbox-ose (1.5.6-dfsg-2) unstable; urgency=low
+
+  [ Daniel Baumann ]
+  * Added Brazilian-Portuguese debconf translation from Eder L. Marques
+    <eder@edermarques.net> (Closes: #467452).
+
+  [ Michael Meskes ]
+  * Added patch by Frans Pop <elendil@planet.nl> to make modules compile with
+    kernel 2.6.25, closes: #468864
+  * Suggest bridge-utils which is needed for static host networking.
+  * Added patch against init script to remove newly created file again on
+    failure, closes: #468419
+  * Fixed watch file to cope with -1 upstream release.
+
+ -- Michael Meskes <meskes@debian.org>  Sun, 02 Mar 2008 10:38:31 +0100
+
+virtualbox-ose (1.5.6-dfsg-1) unstable; urgency=low
+
+  [ Michael Meskes ]
+  * New upstream version
+  * Fixed LSB headers in init.d scripts, closes: #466311
+  * list x11config.pl with correct path in README file, closes: #466621
+  * Added last changes made by the translation projects, thanks to
+    Christian Perrier <bubulle@debian.org>.
+  * Tweaked dfsg-free target in rules file so it is really executable, first
+    steps made by Hilko.
+
+  [ Hilko Bengen ]
+  * Make module loading in initscript configurable (disabled by default).
+
+  [ Patrick Winnertz ]
+  * prevent initscript from failing if module doesn't exist. (Closes: #466851)
+
+ -- Michael Meskes <meskes@debian.org>  Sat, 23 Feb 2008 10:49:28 +0100
+
+virtualbox-ose (1.5.4-dfsg-5) unstable; urgency=low
+
+  [ Daniel Baumann ]
+  * Again removing reimported useless whitespaces at EOL and EOF in debian/*.
+  * Unified headers of debconf template translations.
+  * Rediffed patches and again fixed their headers.
+  * Added Portuguese debconf translation from Ricardo Silva <ardoric@gmail.com>
+    (Closes: #464761).
+  * Removed extra whitespace in maintainer field of control, thanks to
+    Christoph Berg <myon@debian.org> (Closes: #465327).
+
+  [ Michael Meskes ]
+  * Added Basque debconf translation, closes: #460348
+  * Added Japanese debconf translation, closes: #465682
+  * Added French debconf translation, closes: #465779
+  * Added Russian debconf translation, closes: #466092
+  * Added Italian debconf translation, closes: #466095
+  * Added Dutch debconf translation, closes: #466113
+  * Added Spanish debconf translation, closes: #466280
+  * Updated German translation.
+  * Really use runtime assertion patch.
+  * Replaced two patches for module build process by upstream changes taken
+    from SVN.
+  * Added ARCH setting to virtualbox-ose-source rules file so we can cross
+    compile the module.
+  * Insert module in initscript.
+
+  [ Patrick Winnertz ]
+  * Fix error of postrm if vboxusers is a non-system group (maybe added
+    manually before installation of virtualbox-ose). (Closes: #462885)
+  * Added reviewed debconf templates and translations.
+      (Closes: #463283) Thanks to Christian Perrier
+      (Closes: #463828) Thanks to Jacobo Tarrio.
+      (Closes: #463959) Thanks to Esko Arajärvi
+      (Closes: #464043) Thanks to Miroslav Kure
+      (Closes: #464509) Thanks to Clytie Siddall
+
+ -- Michael Meskes <meskes@debian.org>  Sun, 17 Feb 2008 19:08:04 +0100
+
+virtualbox-ose (1.5.4-dfsg-4~bpo40+2) etch-backports; urgency=low
+
+  * Added a workaround for bug #381854 that was closed one upload after etch
+    release.
+
+ -- Michael Meskes <meskes@debian.org>  Sun,  3 Feb 2008 16:29:34 +0000
+
+virtualbox-ose (1.5.4-dfsg-4~bpo40+1) etch-backports; urgency=low
+
+  * Rebuild for Etch backports.
+
+ -- Michael Meskes <meskes@debian.org>  Sat, 26 Jan 2008 11:10:55 +0100
+
+virtualbox-ose (1.5.4-dfsg-4) unstable; urgency=low
+
+  [ Daniel Baumann ]
+  * Again removing reimported useless whitespaces at EOL and EOF in debian/*.
+
+  [ Patrick Winnertz ]
+  * Fixed broken symlink (Closes: #458991)
+
+ -- Patrick Winnertz <winnie@debian.org>  Tue, 15 Jan 2008 11:49:18 +0100
+
+virtualbox-ose (1.5.4-dfsg-3) unstable; urgency=low
+
+  * Added patch from SVN send by Frank Mehnert <frank@innotek.de> to fix
+    runtime assertions.
+  * Improved debconf text.
+  * Check for package upgrade in preinst.
+  * Pre-Depend on debconf.
+
+ -- Michael Meskes <meskes@debian.org>  Thu, 10 Jan 2008 15:14:26 +0100
+
+virtualbox-ose (1.5.4-dfsg-2) unstable; urgency=low
+
+  [ Hilko Bengen ]
+  * Added debian/watch
+
+  [ Daniel Baumann ]
+  * Rediffed 02-module-in-kernel.dpatch.
+  * Again removing reimported useless whitespaces at EOL and EOF in debian/*.
+
+  [ Michael Meskes ]
+  * Removed two additional include files from guest-sources again because they
+    were only needed for amd64.
+  * Install VBoxAddIF.sh which was lost during transition, closes: #458991.
+  * Added a recommend to libhal, see #448347 for details.
+  * Added debconf support.
+  * Tell the user about losing snapshots and ask via debconf whether to
+    proceed, closes: #458842.
+  * Clarified error message coming up if module is not loaded, closes: #459440.
+
+ -- Michael Meskes <meskes@debian.org>  Mon, 07 Jan 2008 17:41:32 +0100
+
+virtualbox-ose (1.5.4-dfsg-1) unstable; urgency=low
+
+  [ Michael Meskes ]
+  * Do not build guest-utils on amd64 because 64bit guests are nor support
+    yet.
+  * Removed build time dependency on i32-libs that is not really needed.
+  * New upstream version.
+  * Removed some new files because of licensing problems:
+    ./src/VBox/Additions/linux/selinux-fedora
+    ./src/VBox/Additions/linux/xmouse/Imakefile
+    ./src/VBox/HostServices/SharedClipboard/linux-stub.cpp
+  * Removed the following patches because they are not needed anymore:
+    01-configure.dpatch
+    08-no-kernel.dpatch
+    09-fix-initscript.dpatch
+    12-kcompat-2.6.24.dpatch
+  * Replaced our registration patch by the new config option taken from SVN.
+  * Rediffed and renumbered some of the remaining patches.
+  * Added build dependency on libpulse-dev.
+  * Moved shell scripts from /usr/lib to /usr/share.
+  * g++-multilib on amd64 depends on libc6-dev-i386, no need to specify both
+    as build dependency.
+  * Manually install missing include files for guest-sources.
+  * Changed layout of guest-sources package to not have to patch the Makefile.
+  * Changed patch accordingly.
+  * Removed old 02-host-module patch, it wasn't needed anymore.
+  * Added new patch 02-module-in-kernel to make sure modules build in a kernel
+    build environment.
+
+  [ Hilko Bengen ]
+  * Make dh_strip ignore symlink(s) in /usr/share
+
+  [ Daniel Baumann ]
+  * Again fixing dpatch headers.
+  * Again removing reimported useless whitespaces at EOL and EOF in debian/*.
+  * Correcting the name of Phillip in copyright.
+  * Syncronising Uploaders of control with control.module.in.
+  * Rediffed all patches properly.
+
+ -- Michael Meskes <meskes@debian.org>  Tue, 01 Jan 2008 14:26:51 +0100
+
+virtualbox-ose (1.5.2-dfsg2-7) unstable; urgency=low
+
+  [ Patrick Winnertz ]
+  * Do only recommend the virtualbox-ose-modules package. Maybe someone
+    would like to compile it on it's own, or not with m-a. (Closes: #456989)
+
+  [ Hilko Bengen ]
+  * Build system: a large move towards using dh_install
+    - This requires that we force the build output dir to a fixed location.
+    - The dh_install call needs to go to the `install' target.
+  * Leave out code/data for test cases from virtualbox-ose binary package
+
+  [ Michael Meskes ]
+  * Only suggest guest-sources in guest-utils. With l-m-e expected to include
+    the guest-modules in the near future, this should be sufficient.
+  * Rearranged parts of the debian dir.
+  * Replaced our patch to not need kernel sources by new configure option
+    taken from svn.
+
+  [ Daniel Baumann ]
+  * Bumping policy also in module controls, no other changes needed.
+
+ -- Michael Meskes <meskes@debian.org>  Thu, 20 Dec 2007 15:51:13 +0100
+
+virtualbox-ose (1.5.2-dfsg2-6) unstable; urgency=low
+
+  [ Daniel Baumann ]
+  * Again removing reimported useless whitespaces at EOL and EOF in debian/*.
+  * Fixing dpatch headers.
+  * Rediffed dpatches 6-12.
+  * Removed svn:executable on dpatch 9 and 12.
+
+  [ Michael Meskes ]
+  * Fixed rules file to correctly install module sources, closes: #456916
+
+ -- Michael Meskes <meskes@debian.org>  Tue, 18 Dec 2007 16:21:33 +0100
+
+virtualbox-ose (1.5.2-dfsg2-5) unstable; urgency=low
+
+  [ Daniel Baumann ]
+  * Upgrading virtualbox-ose-modules recommends to depends.
+  * Downgrading virtualbox-ose-source recommends to suggests.
+  * Bumping policy version, no other changes needed.
+
+  [ Hilko Bengen ]
+  * Added support for vditool to VBox.sh
+  * Build system:
+    - Cleaned up patch/config phase
+    - Added copy of init script to debian directory -- no longer copy it
+      from src/VBox/Installer/linux/vboxnet.sh
+    - symlinks/directories in packages are now created using debhelper
+  * Add 2.6.24 compatibility fix (Closes: #456464)
+
+  [ Patrick Winnertz ]
+  * Moved initscript again out of debian, we should use the upstream one
+    and created a patch for this one. (in order to fix lintian warning)
+  * Add description to 02-host-module.dpatch
+
+ -- Patrick Winnertz <winnie@debian.org>  Mon, 17 Dec 2007 17:37:52 +0100
+
+virtualbox-ose (1.5.2-dfsg2-4~bpo40+1) etch-backports; urgency=low
+
+  * Updated to 1.5.2-dfsg2-4 that just made it into testing.
+  * Install correct video driver for etch, closes: #456389
+
+ -- Michael Meskes <meskes@debian.org>  Tue, 18 Dec 2007 09:06:47 +0000
+
+virtualbox-ose (1.5.2-dfsg2-4) unstable; urgency=low
+
+  [ Patrick Winnertz ]
+  * Changed my maintainer address
+
+  [ meskes@debian.org ]
+  * Made virtualbox-ose-guest-source compile under linux-modules-extra.
+  * Made virtualbox-ose-guest-modules i386 only.
+  * Re-encoded copyright file in UTF-8.
+  * Removed empty /usr/sbin directory in virtualbox-ose package.
+  * Removed /usr/lib/virtualbox/VBox.png, doesn't seem to be needed.
+  * Also removed override for this file.
+  * Moved binary file xpidl from /usr/share back to /usr/lib.
+
+ -- Michael Meskes <meskes@debian.org>  Thu, 06 Dec 2007 09:11:51 +0100
+
+virtualbox-ose (1.5.2-dfsg2-3) unstable; urgency=low
+
+  * Added patch to remove registration form, closes: #447626, #453784
+  * Added just another patch to make sure module is build with the correct
+    name when build by linux-modules-extra, closes: #453681, #454123
+  * Patched Makefile for guest modules for the same reason.
+
+ -- Michael Meskes <meskes@debian.org>  Sun, 02 Dec 2007 18:06:27 +0100
+
+virtualbox-ose (1.5.2-dfsg2-2~bpo40+2) etch-backports; urgency=low
+
+  * Changed menu file to adhere old standard.
+
+ -- Michael Meskes <meskes@debian.org>  Fri, 07 Dec 2007 09:49:21 +0000
+
+virtualbox-ose (1.5.2-dfsg2-2~bpo40+1) etch-backports; urgency=low
+
+  * Fixed typo in version number.
+
+ -- Michael Meskes <meskes@debian.org>  Tue, 20 Nov 2007 19:17:12 +0100
+
+virtualbox-ose (1.5.2-dfsg2-1~bpo40+1) etch-backports; urgency=low
+
+  * Initial backport
+  * Changed build dependency "g++-multilib [amd64]" to "g++".
+
+ -- Michael Meskes <meskes@debian.org>  Mon, 19 Nov 2007 10:56:31 +0100
+
+virtualbox-ose (1.5.2-dfsg2-2) unstable; urgency=low
+
+  [ Michael Meskes ]
+  * Removed superfluous build dependencies:
+    - libqt3-mt-dev depends on zlib1g-dev and libxcursor-dev
+    - libxalan110-dev depends on libxerces27-dev
+    - bcc depends on bin86
+  * Remove guest libs from debug package.
+  * Call "invoke-rc.d udev reload" conditionally in modules postinst.
+  * Do not call modprobe in postinst script, closes: #451743, #451742
+  * Made grep command in vboxnet.sh be quiet, closes: #451741
+  * Do not start guest utils if not inside the vm.
+  * Disabled modprobing of vboxadd because udev seems to be able to handle it.
+  * Applied patch by Kel Modderman <kel@otaku42.de> improving
+    guest utils init script.
+  * Do not change xorg.conf in postinst, closes: #451745
+
+  [ Daniel Baumann ]
+  * Removing again whitespaces at EOL.
+  * Removing empty virtualbox-ose-guest-utils.postrm.
+
+ -- Michael Meskes <meskes@debian.org>  Mon, 19 Nov 2007 10:56:31 +0100
+
+virtualbox-ose (1.5.2-dfsg2-1) unstable; urgency=low
+
+  [ Daniel Baumann ]
+  * Added debug package.
+  * Converting XS-* fields to their official counterparts.
+  * Removed some re-imported useless whitespaces.
+
+  [ Michael Meskes ]
+  * Made sure modules postinst calls debmod before modprobe.
+  * Added reference to http://wiki.debian.org/VirtualBox to README.Debian.
+  * Moved architecture independant files from /usr/lib to /usr/share, closes: #448951
+  * Checked license of linux installer and additions.
+  * Repackaged dfsg orig tarball accordingly.
+  * Added linux installer tools, closes: #448749
+  * Provide programs with upstream upper/lower case mix as used by upstream.
+  * Added linux additions in two seperate packages, closes: #440517, #449315
+  * Install vboxnet.sh as init script.
+  * Changed build system to work without kernel sources.
+
+ -- Michael Meskes <meskes@debian.org>  Tue, 12 Nov 2007 20:26:35 +0100
+
+virtualbox-ose (1.5.2-dfsg-2) unstable; urgency=low
+
+  * Adding depends to adduser (Closes: #447271).
+  * Conditionally call delgroup in virtualbox-ose.postrm.
+  * Replacing virtualbox-modules with virtualbox-ose-modules in
+    scripts/VBox.sh.
+  * Sorting recommends.
+  * Adding patch from Daniel Hahler <ubuntu@thequod.de> to change the error
+    message for vboxdrv failure, according to virtualbox-ose-modules.
+
+ -- Daniel Baumann <daniel@debian.org>  Sat, 20 Oct 2007 06:40:00 +0200
+
+virtualbox-ose (1.5.2-dfsg-1) unstable; urgency=low
+
+  [ Michael Meskes ]
+  * Made build process install menu file, closes: #444842
+  * Move virtualbox to Apps/System.
+  * Syncronized desktop and menu file.
+  * Documented features missing in Open-Source-Edition in
+    README.Debian, closes: #444941
+  * Changed menu section to Applications/Emulators.
+
+  [ Daniel Baumann ]
+  * Removing useless whitespaces at EOL and EOF in debian/*.
+  * Sorting architectures.
+  * Sorting build-depends.
+  * Sorting control fields.
+  * Adding VCS control fields.
+  * Adding Homepage control fields.
+  * Renaming virtualbox.desktop and virtualbox.xpm to virtualbox-ose.desktop
+    and virtualbox-ose.xpm.
+  * Using the term 'VirtualBox OSE' consistently in virtualbox-ose.desktop,
+    virtualbox-ose-source.README.Debian and virtualbox-ose.menu.
+  * Renaming README.Debian and README.rebuild to virtualbox-ose.README.Debian
+    and virtualbox-ose.README.rebuild for consistency reasons.
+  * Rediffed, cleaned up and properly named all dpatches.
+  * Added forgotton changelog from the 1.5.0-dfsg-1 upload.
+  * Using install -D call to install the lintian override.
+  * Removed comment in rules about "dh_lintian"; this will not be implemented
+    in debhelper anyway, see #109642 for more information.
+  * Fixed spelling error and improved language in
+    virtualbox-ose.README.rebuild.
+  * Cleaned, simplified and refractored postinst.modules.in,
+    virtualbox-ose.postinst and virtualbox-ose.postrm.
+  * Added m-a override link for virtualbox-ose-source.
+  * Re-applied improvements to dfsg-target in rules from 1.5.0-dfsg-1 upload.
+  * Removing not needed debhelper calls in binary-indep target in rules.
+  * Moving debian/virtualbox-ose.lintian-overrides to
+    debian/lintian/virtualbox-ose for consistency reasons.
+  * Moving debian/VBox.sh to debian/scripts/VBox.sh for consistency reasons.
+  * Updated menu file to new menu policy.
+  * Updated fsf address in copyright.
+  * New upstream release:
+    - Updating dfsg-free target in rules.
+    - Updating 01-configure.dpatch.
+
+ -- Michael Meskes <meskes@debian.org>  Fri, 19 Oct 2007 10:19:49 +0200
+
+virtualbox-ose (1.5.0-dfsg2-2) unstable; urgency=low
+
+  [ Patrick Winnertz ]
+  * Added README.Debian to virtualbox-ose in order to document that the
+    configuration xml files of the machines are not compatible between
+    1.4.0-svn4130 and the 1.5.0 release. (Closes: #441634)
+  * Build only binary-dep packages in binary-dep target and only binary-indep
+    packages in binary-indep target.
+  * Added postrm to virtualbox-ose in order to remove the vboxusers group on
+    purge. (Closes: #442396)
+
+  [ Michael Meskes ]
+  * Force udev to reload the rules in postinst. Hopefully this makes sure that
+    the device always belongs to the right group.
+
+ -- Michael Meskes <meskes@debian.org>  Sun, 23 Sep 2007 13:55:37 +0200
+
+virtualbox-ose (1.5.0-dfsg2-1) unstable; urgency=low
+
+  * Improved README.Debian for virtualbox-ose-source (Closes: #440793 )
+  * Fixed error using different kernel sources than the one which is running
+    (Closes: #440693 )
+    Thanks to Stefan Lippers-Hollmann
+  * The kernel module for virtualbox will only build on amd64 and i386
+    (Closes: #440564)
+  * Merge some changes that Daniel Baumann made in his own package before.
+    Thanks.
+  * Set the alioth ML as maintainer address, since this list will be used to
+    discuss issues from now on.
+  * Removed one patch for makefile. Instead use variables now.
+    - Improved patch localconfig-kmk.dpatch
+  * Upload of 1.5.0 fixes scrolling issue. (Closes: #440773 )
+
+ -- Patrick Winnertz <patrick.winnertz@skolelinux.org>  Thu, 06 Sep 2007 09:52:48 +0200
+
+virtualbox-ose (1.5.0-dfsg-1) unstable; urgency=low
+
+  * New upstream release.
+  * Re-added myself as co-maintainer as I'm the original maintainer.
+  * Updated dfsg-free target in rules for new upstream version.
+  * Don't forkbomb in dfsg-free target, use xargs.
+  * Don't do a subshell in dfsg-free target, not required.
+  * Cleaned the 'dh_make'-template header in postinst.modules.in.
+  * Rediffed all patches with the same diff options.
+  * Properly named all patches and adjusted their dpatch headers.
+
+ -- Daniel Baumann <daniel@debian.org>  Wed,  5 Sep 2007 06:58:00 +0200
+
+virtualbox-ose (1.4.0svn4130-dfsg-1) unstable; urgency=low
+
+  [ Patrick Winnertz ]
+  * Rename virtualbox to virtualbox-ose since innotek has a trademark on this
+    name and they prohibit us to use this name together with the open-source edition.
+    See http://www.virtualbox.org/wiki/Licensing_FAQ point 8 for details.
+  * If module is not loadable on this kernel don't fail to install kernel
+    module. (Closes: #440509)
+  * Adjusted Upstream Authors name. The name of the company has changed.
+  * Adjusted copyright. virtualbox is GPLv2 *only*.
+
+  [ Michael Meskes ]
+  * Added Build-Dependancy to g++-multilib on amd64.
+
+ -- Michael Meskes <meskes@debian.org>  Mon, 03 Sep 2007 14:27:30 +0200
+
+virtualbox (1.4.0svn4130-dfsg-1) unstable; urgency=low
+
+  [ Daniel Baumann ]
+  * Initial release (Closes: #406992, #407001, #409711).
+
+  [ Philipp Hug ]
+  * Stripped kbuild and yasm from source tarball
+  * Use Debian's kbuild and yasm instead
+  * Added myself as uploader
+  * Build target for module is now all instead of module
+  * Build against correct kernel source
+  * Integrated changes by Patrick Winnertz
+  * clean: rm env.sh AutoConfig.kmk configure.log
+  * Install udev rules to automatically create device
+  * Automatically create vboxusers group
+  * Binary names are now lowercase
+  * Disabled stripping for VMM because it breaks VirtualBox
+  * Don't require kernel module, recommend it instead
+
+  [ Patrick Winnertz ]
+  * Remove Microsoft license stuff from orig.tar.gz (repackaged it )
+    See dfsg-free section in debian/rules for details.
+  * Added patch to use own yasm
+  * Added patch to remove Additions from the Makefile.kmk
+  * Remove ./src/libs/xpcom18a4/nsprpub/build/autoconf from source tarball.
+  * Doesn't depend on gcc-3.4 and g++-3.4 since they are going to be removed from
+    debian. Use default instead.
+    Therefore I removed the patch, too.
+  * Don't call dh_installdeb twice.  (build-dep & build-indep)
+  * Added section to create dfsg tarball automatically to debian/rules (experimental!!)
+  * Added lintian.overrides for -fPIC since somehow virtualbox doesn't work with
+  * Added patch to prevent building modules and kernel code when building the
+    gui.
+  * Install udev rule with virtualbox and not with the module, since several
+    modules for several kernels could be there.
+  * Improved copyright statements in copyright file.
+  * Corrected .desktop file
+
+ -- Patrick Winnertz <patrick.winnertz@skolelinux.org>  Thu, 30 Aug 2007 12:35:51 +0200
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-guest-source.links
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-guest-source.links
@@ -0,0 +1,5 @@
+/usr/share/modass/packages/default.sh   /usr/share/modass/overrides/virtualbox-ose-guest-source
+/usr/src/modules/virtualbox-ose-guest/r0drv /usr/src/modules/virtualbox-ose-guest/vboxadd/r0drv
+/usr/src/modules/virtualbox-ose-guest/r0drv /usr/src/modules/virtualbox-ose-guest/vboxvfs/r0drv
+/usr/src/modules/virtualbox-ose-guest/include /usr/src/modules/virtualbox-ose-guest/vboxadd/include
+/usr/src/modules/virtualbox-ose-guest/include /usr/src/modules/virtualbox-ose-guest/vboxvfs/include
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-guest-source.install
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-guest-source.install
@@ -0,0 +1,23 @@
+out/bin/additions/src/vboxadd/*.* /usr/src/modules/virtualbox-ose-guest/vboxadd
+out/bin/additions/src/vboxadd/build_in_tmp /usr/src/modules/virtualbox-ose-guest/vboxadd
+out/bin/additions/src/vboxadd/Makefile /usr/src/modules/virtualbox-ose-guest/vboxadd
+
+out/bin/additions/src/vboxvfs/*.* /usr/src/modules/virtualbox-ose-guest/vboxvfs
+out/bin/additions/src/vboxvfs/build_in_tmp /usr/src/modules/virtualbox-ose-guest/vboxvfs
+out/bin/additions/src/vboxvfs/Makefile /usr/src/modules/virtualbox-ose-guest/vboxvfs
+
+out/bin/additions/src/vboxadd/include/iprt/* /usr/src/modules/virtualbox-ose-guest/include/iprt
+out/bin/additions/src/vboxadd/include/VBox/* /usr/src/modules/virtualbox-ose-guest/include/VBox
+out/bin/additions/src/vboxadd/include/internal/* /usr/src/modules/virtualbox-ose-guest/include/internal
+
+out/bin/additions/src/vboxvfs/include/iprt/* /usr/src/modules/virtualbox-ose-guest/include/iprt
+out/bin/additions/src/vboxvfs/include/VBox/* /usr/src/modules/virtualbox-ose-guest/include/VBox
+out/bin/additions/src/vboxvfs/include/internal/* /usr/src/modules/virtualbox-ose-guest/include/internal
+
+out/bin/additions/src/vboxadd/r0drv /usr/src/modules/virtualbox-ose-guest/
+
+debian/control debian/changelog debian/copyright debian/compat /usr/src/modules/virtualbox-ose-guest/debian
+debian/virtualbox-ose-guest-source.files/Makefile /usr/src/modules/virtualbox-ose-guest
+debian/virtualbox-ose-guest-source.files/control.modules.in /usr/src/modules/virtualbox-ose-guest/debian
+debian/virtualbox-ose-guest-source.files/postinst.modules.in /usr/src/modules/virtualbox-ose-guest/debian
+debian/virtualbox-ose-guest-source.files/rules /usr/src/modules/virtualbox-ose-guest/debian
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.files/VBox.sh
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.files/VBox.sh
@@ -0,0 +1,95 @@
+#!/bin/sh
+#
+# 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
+# InnoTek VirtualBox
+#
+# Copyright (C) 2006 InnoTek Systemberatung GmbH
+#
+# 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 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"
+CONFIG="/etc/vbox/vbox.cfg"
+
+if [ "$VBOX_USER_HOME" = "" ]; then
+    if [ ! -d "$HOME/.VirtualBox" ]; then
+        mkdir -p "$HOME/.VirtualBox"
+    fi
+    LOG="$HOME/.VirtualBox/VBoxSVC.log"
+else
+    if [ ! -d "$VBOX_USER_HOME" ]; then
+        mkdir -p "$VBOX_USER_HOME"
+    fi
+    LOG="$VBOX_USER_HOME/VBoxSVC.log"
+fi
+
+if [ ! -r "$CONFIG" ]; then
+    echo "Could not find VirtualBox installation. Please reinstall."
+    exit 1
+fi
+
+. "$CONFIG_DIR/$CONFIG"
+
+# 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-ose-modules package for your kernel and
+	 load the module named vboxdrv into your system.
+
+	 You will not be able to start VMs until this problem is fixed.
+EOF
+elif [ ! -w /dev/vboxdrv ]; then
+    if [ "`id | grep vboxusers`" = "" ]; then
+        cat << EOF
+WARNING: You are not a member of the "vboxusers" group.  Please add yourself
+         to this group before starting VirtualBox.
+
+	 You will not be able to start VMs until this problem is fixed.
+EOF
+    else
+        cat << EOF
+WARNING: /dev/vboxdrv not writable for some reason. If you recently added the
+         current user to the vboxusers group then you have to logout and
+	 re-login to take the change effect.
+
+	 You will not be able to start VMs until this problem is fixed.
+EOF
+    fi
+fi
+
+export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$INSTALL_DIR"
+
+APP=`which $0`
+APP=${APP##/*/}
+case "$APP" in
+  VirtualBox|virtualbox)
+    exec "$INSTALL_DIR/VirtualBox" "$@"
+  ;;
+  VBoxHeadless|vboxheadless)
+    exec "$INSTALL_DIR/VBoxHeadless" "$@"
+  ;;
+  VBoxManage|vboxmanage)
+    exec "$INSTALL_DIR/VBoxManage" "$@"
+  ;;
+  VBoxSDL|vboxsdl)
+    exec "$INSTALL_DIR/VBoxSDL" "$@"
+  ;;
+  vditool)
+    exec "$INSTALL_DIR/vditool" "$@"
+  ;;
+  *)
+    echo "Unknown application - $APP"
+  ;;
+esac
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.files/interfaces
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.files/interfaces
@@ -0,0 +1,4 @@
+# Linux static host networking interface configuration
+#
+# <interface> <user> <bridge>
+# vbox0 guest br0
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.files/vbox.cfg
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.files/vbox.cfg
@@ -0,0 +1,2 @@
+# VirtualBox installation directory
+INSTALL_DIR="/usr/lib/virtualbox"
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.files/virtualbox-ose.xpm
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.files/virtualbox-ose.xpm
@@ -0,0 +1,851 @@
+/* XPM */
+static char * virtualbox_ose_xpm[] = {
+"32 32 816 2",
+"  	c None",
+". 	c #A1C5D2",
+"+ 	c #A0C6D3",
+"@ 	c #A1C9D6",
+"# 	c #9DC6D5",
+"$ 	c #99C4D4",
+"% 	c #93C0D2",
+"& 	c #92C2D4",
+"* 	c #8DBED1",
+"= 	c #89BBD0",
+"- 	c #83B7CD",
+"; 	c #7DB4CA",
+"> 	c #77B0C8",
+", 	c #6AA6BF",
+"' 	c #63A2BD",
+") 	c #5C9DB9",
+"! 	c #599CB9",
+"~ 	c #4F97B5",
+"{ 	c #4792B0",
+"] 	c #3B8AA9",
+"^ 	c #3688A9",
+"/ 	c #2983A5",
+"( 	c #1D7DA0",
+"_ 	c #0F789D",
+": 	c #04759B",
+"< 	c #006D94",
+"[ 	c #006A92",
+"} 	c #006690",
+"| 	c #006490",
+"1 	c #00608E",
+"2 	c #005A89",
+"3 	c #005687",
+"4 	c #005485",
+"5 	c #9FC5D2",
+"6 	c #FEFEFE",
+"7 	c #FDFEFE",
+"8 	c #F6FEFE",
+"9 	c #F0FEFE",
+"0 	c #EBFEFE",
+"a 	c #EAFEFE",
+"b 	c #E6FEFE",
+"c 	c #DDFEFE",
+"d 	c #D5FEFE",
+"e 	c #D3FEFE",
+"f 	c #CEFEFE",
+"g 	c #C6FAFE",
+"h 	c #C1F6FE",
+"i 	c #BDF3FE",
+"j 	c #B6EFFE",
+"k 	c #AFE8FE",
+"l 	c #AAE5FE",
+"m 	c #A8E3FE",
+"n 	c #A4E1FE",
+"o 	c #9EDDFE",
+"p 	c #99D9FC",
+"q 	c #005284",
+"r 	c #9CC4D1",
+"s 	c #D9FEFE",
+"t 	c #B8E5F7",
+"u 	c #B7E6F8",
+"v 	c #B2E3F6",
+"w 	c #B2E4F9",
+"x 	c #AFE3F9",
+"y 	c #A5DCF2",
+"z 	c #9FD8F0",
+"A 	c #96D2EB",
+"B 	c #8FCEE9",
+"C 	c #86C6E2",
+"D 	c #79BCD9",
+"E 	c #70B6D4",
+"F 	c #69B2D0",
+"G 	c #62AECD",
+"H 	c #5BA9C9",
+"I 	c #54A5C5",
+"J 	c #479FC1",
+"K 	c #3C9ABD",
+"L 	c #3195B9",
+"M 	c #2890B5",
+"N 	c #218BB1",
+"O 	c #1983AC",
+"P 	c #1881AB",
+"Q 	c #177CAA",
+"R 	c #177AA9",
+"S 	c #1678A8",
+"T 	c #5097C1",
+"U 	c #95D6FB",
+"V 	c #005084",
+"W 	c #97C0CF",
+"X 	c #B5E2F4",
+"Y 	c #BAE9FB",
+"Z 	c #BBECFE",
+"` 	c #B8EAFE",
+" .	c #B1E5FB",
+"..	c #AEE5FB",
+"+.	c #A4DDF5",
+"@.	c #9DD9F2",
+"#.	c #92D1EC",
+"$.	c #88C9E5",
+"%.	c #82C4E1",
+"&.	c #7ABEDC",
+"*.	c #6AB4D3",
+"=.	c #63B0CF",
+"-.	c #58AACA",
+";.	c #50A5C6",
+">.	c #48A1C3",
+",.	c #409DC0",
+"'.	c #3598BC",
+").	c #238FB5",
+"!.	c #218EB5",
+"~.	c #1F8AB3",
+"{.	c #1981AD",
+"].	c #167BA9",
+"^.	c #1276A4",
+"/.	c #1274A4",
+"(.	c #1676A7",
+"_.	c #1472A4",
+":.	c #92D5FB",
+"<.	c #004D82",
+"[.	c #8FBACA",
+"}.	c #B2E1F3",
+"|.	c #B6E7FA",
+"1.	c #FFFFFF",
+"2.	c #F8FEFE",
+"3.	c #C9FDFE",
+"4.	c #E5FEFE",
+"5.	c #DFFEFE",
+"6.	c #D2FEFE",
+"7.	c #CCFEFE",
+"8.	c #A6E2FE",
+"9.	c #BFF7FE",
+"0.	c #BBF4FF",
+"a.	c #B5F0FE",
+"b.	c #B1ECFE",
+"c.	c #A9E6FE",
+"d.	c #A2E1FE",
+"e.	c #8DCDF2",
+"f.	c #1573A5",
+"g.	c #136EA2",
+"h.	c #8DD2F8",
+"i.	c #00497F",
+"j.	c #8CB9CB",
+"k.	c #AEDFF2",
+"l.	c #B4E6FB",
+"m.	c #FEFEFF",
+"n.	c #FCFEFE",
+"o.	c #EFFEFE",
+"p.	c #96D5F2",
+"q.	c #DCFEFE",
+"r.	c #D0FEFE",
+"s.	c #CBFEFE",
+"t.	c #6CB2D5",
+"u.	c #BCF5FE",
+"v.	c #B7F2FE",
+"w.	c #B2EDFE",
+"x.	c #ADEAFE",
+"y.	c #A5E4FE",
+"z.	c #A0E0FE",
+"A.	c #9BDDFE",
+"B.	c #146FA3",
+"C.	c #126BA0",
+"D.	c #8BD1F7",
+"E.	c #00467F",
+"F.	c #89B9CB",
+"G.	c #AEE0F5",
+"H.	c #ADE1F7",
+"I.	c #F7FEFE",
+"J.	c #61B0D1",
+"K.	c #C8FDFE",
+"L.	c #DAFEFE",
+"M.	c #CDFEFE",
+"N.	c #C7FDFE",
+"O.	c #B4EEFE",
+"P.	c #4396BC",
+"Q.	c #A9E5FE",
+"R.	c #B4EFFE",
+"S.	c #AEEBFE",
+"T.	c #A7E6FE",
+"U.	c #A3E3FE",
+"V.	c #9CDEFE",
+"W.	c #97DAFD",
+"X.	c #136CA1",
+"Y.	c #12699F",
+"Z.	c #86CCF5",
+"`.	c #00417C",
+" +	c #86B7CA",
+".+	c #A8DCF2",
+"++	c #A6DDF3",
+"@+	c #FBFEFE",
+"#+	c #45A6C9",
+"$+	c #7EC7E8",
+"%+	c #C2FBFE",
+"&+	c #99D6F8",
+"*+	c #1F80AB",
+"=+	c #6BAFD6",
+"-+	c #AEECFE",
+";+	c #A8E7FE",
+">+	c #A4E4FE",
+",+	c #96D9FD",
+"'+	c #93D8FC",
+")+	c #10679D",
+"!+	c #0D619A",
+"~+	c #80C9F2",
+"{+	c #003C78",
+"]+	c #81B3C8",
+"^+	c #9FD6EC",
+"/+	c #9ED7EF",
+"(+	c #FEFFFF",
+"_+	c #FDFFFF",
+":+	c #F3FEFF",
+"<+	c #6EBFE0",
+"[+	c #54ABCF",
+"}+	c #4AA5C8",
+"|+	c #C5FDFE",
+"1+	c #BFF8FE",
+"2+	c #79BDE2",
+"3+	c #197EAC",
+"4+	c #4492BB",
+"5+	c #9FDEFE",
+"6+	c #A5E5FE",
+"7+	c #9EE0FE",
+"8+	c #98DBFD",
+"9+	c #8ED4FA",
+"0+	c #0E629B",
+"a+	c #095995",
+"b+	c #7AC5EF",
+"c+	c #003774",
+"d+	c #78ACC2",
+"e+	c #94CDE5",
+"f+	c #92CEE7",
+"g+	c #F9FEFE",
+"h+	c #F2FEFE",
+"i+	c #43A9CE",
+"j+	c #7CC7E9",
+"k+	c #2796BD",
+"l+	c #BAF4FE",
+"m+	c #AEE9FE",
+"n+	c #3991BD",
+"o+	c #56A0CC",
+"p+	c #277EAB",
+"q+	c #92D1F6",
+"r+	c #A1E3FE",
+"s+	c #9ADDFD",
+"t+	c #95DAFD",
+"u+	c #90D6FB",
+"v+	c #88CFF7",
+"w+	c #0C5C98",
+"x+	c #0A5995",
+"y+	c #76C2ED",
+"z+	c #003171",
+"A+	c #6CA3B9",
+"B+	c #8AC6DF",
+"C+	c #87C6E1",
+"D+	c #F5FEFE",
+"E+	c #ECFEFE",
+"F+	c #B3F0FE",
+"G+	c #31A2C8",
+"H+	c #9BDFFD",
+"I+	c #2795BC",
+"J+	c #7DC0E3",
+"K+	c #BBF6FE",
+"L+	c #88C9EE",
+"M+	c #2487B6",
+"N+	c #98D8FD",
+"O+	c #1272A3",
+"P+	c #599CC6",
+"Q+	c #97DCFD",
+"R+	c #91D7FB",
+"S+	c #89D0F8",
+"T+	c #82CBF4",
+"U+	c #0B5A96",
+"V+	c #0C5996",
+"W+	c #74C1ED",
+"X+	c #00296B",
+"Y+	c #649DB5",
+"Z+	c #82C1DC",
+"`+	c #82C3DF",
+" @	c #F4FEFE",
+".@	c #EDFFFF",
+"+@	c #E3FEFE",
+"@@	c #70C0E2",
+"#@	c #2C9BC2",
+"$@	c #C1FCFE",
+"%@	c #2690BA",
+"&@	c #5CA5CC",
+"*@	c #B8F3FE",
+"=@	c #4A97C1",
+"-@	c #2082B2",
+";@	c #9CDCFE",
+">@	c #2978A9",
+",@	c #2D79A9",
+"'@	c #8DD1F7",
+")@	c #91D7FC",
+"!@	c #7DC8F2",
+"~@	c #0B5895",
+"{@	c #0B5595",
+"]@	c #6DBDEA",
+"^@	c #002266",
+"/@	c #5E9AB3",
+"(@	c #78B9D5",
+"_@	c #E7FEFE",
+":@	c #EDFEFE",
+"<@	c #E0FEFE",
+"[@	c #D4FEFE",
+"}@	c #2B9AC1",
+"|@	c #2794BC",
+"1@	c #6EB5DD",
+"2@	c #1E83B1",
+"3@	c #A4E2FE",
+"4@	c #1D7FAF",
+"5@	c #569FCA",
+"6@	c #A0E2FE",
+"7@	c #4D92C1",
+"8@	c #0B6499",
+"9@	c #7DC1EA",
+"0@	c #8BD2FA",
+"a@	c #84CDF6",
+"b@	c #7CC7F1",
+"c@	c #78C4EF",
+"d@	c #095393",
+"e@	c #064B8F",
+"f@	c #65B8E5",
+"g@	c #001B61",
+"h@	c #5796B1",
+"i@	c #72B4D0",
+"j@	c #71B7D5",
+"k@	c #A1DDF8",
+"l@	c #A6E1FD",
+"m@	c #A6E2FD",
+"n@	c #BDF5FE",
+"o@	c #D8FEFE",
+"p@	c #D6FEFE",
+"q@	c #73BCE0",
+"r@	c #BDF8FE",
+"s@	c #97D6FB",
+"t@	c #1C7FAE",
+"u@	c #7FC1E6",
+"v@	c #1B7BAC",
+"w@	c #74BAE1",
+"x@	c #84C8EF",
+"y@	c #0B6298",
+"z@	c #5395C4",
+"A@	c #87D0F9",
+"B@	c #82CDF7",
+"C@	c #7BC7F2",
+"D@	c #76C4EF",
+"E@	c #05498D",
+"F@	c #61B5E3",
+"G@	c #001C64",
+"H@	c #5192AE",
+"I@	c #65A9C6",
+"J@	c #66AECC",
+"K@	c #5BAAC9",
+"L@	c #56A8C9",
+"M@	c #4AA2C4",
+"N@	c #85CBEA",
+"O@	c #CFFDFE",
+"P@	c #CEFDFE",
+"Q@	c #8CCFF1",
+"R@	c #9CDBFC",
+"S@	c #A4E3FE",
+"T@	c #187AAA",
+"U@	c #4390BB",
+"V@	c #1775A7",
+"W@	c #88CCF3",
+"X@	c #8BD0F7",
+"Y@	c #075B94",
+"Z@	c #2E73AB",
+"`@	c #7CC6F0",
+" #	c #72C0EB",
+".#	c #6EBEEB",
+"+#	c #03448A",
+"@#	c #5EB3E3",
+"##	c #002771",
+"$#	c #4A8DAA",
+"%#	c #60A5C3",
+"&#	c #59A5C3",
+"*#	c #B7EDFE",
+"=#	c #C0F4FE",
+"-#	c #58ACCE",
+";#	c #3197BC",
+">#	c #CDFDFE",
+",#	c #C0F8FE",
+"'#	c #4F9DC3",
+")#	c #308CB9",
+"!#	c #B0ECFE",
+"~#	c #B2F0FE",
+"{#	c #579DC9",
+"]#	c #4B93C2",
+"^#	c #93D8FD",
+"/#	c #478CBE",
+"(#	c #085793",
+"_#	c #61A9D7",
+":#	c #69BCE9",
+"<#	c #014088",
+"[#	c #5CB2E3",
+"}#	c #002370",
+"|#	c #3C84A2",
+"1#	c #58A0BE",
+"2#	c #4D9CBB",
+"3#	c #CAFCFE",
+"4#	c #73BEE0",
+"5#	c #1E8FB5",
+"6#	c #B3EDFE",
+"7#	c #ABE6FE",
+"8#	c #157DA9",
+"9#	c #63AAD3",
+"0#	c #AFECFE",
+"a#	c #AAE9FE",
+"b#	c #A6E6FE",
+"c#	c #7DC0E8",
+"d#	c #116CA0",
+"e#	c #68ADD8",
+"f#	c #8DD3F9",
+"g#	c #8AD1F9",
+"h#	c #83CCF5",
+"i#	c #63ABD9",
+"j#	c #05528F",
+"k#	c #044E8E",
+"l#	c #6EBDEA",
+"m#	c #67BAE7",
+"n#	c #63B7E5",
+"o#	c #013F87",
+"p#	c #003683",
+"q#	c #57AFE1",
+"r#	c #001D6C",
+"s#	c #35809E",
+"t#	c #CDFCFE",
+"u#	c #4F9BBA",
+"v#	c #4296B6",
+"w#	c #C7FAFE",
+"x#	c #C5F9FE",
+"y#	c #98D6F6",
+"z#	c #1887AE",
+"A#	c #84C6E8",
+"B#	c #B7F0FE",
+"C#	c #7DBDE1",
+"D#	c #1176A4",
+"E#	c #7EC0E6",
+"F#	c #9FE1FD",
+"G#	c #92D4FB",
+"H#	c #1C6C9F",
+"I#	c #78BDE6",
+"J#	c #80CBF5",
+"K#	c #71BDE9",
+"L#	c #2B6FA8",
+"M#	c #03488C",
+"N#	c #519CCD",
+"O#	c #60B2E1",
+"P#	c #60B6E5",
+"Q#	c #003380",
+"R#	c #51ABDD",
+"S#	c #001364",
+"T#	c #2D7C9B",
+"U#	c #C8F9FF",
+"V#	c #4193B4",
+"W#	c #3691B2",
+"X#	c #C2F6FE",
+"Y#	c #BFF4FE",
+"Z#	c #B2EAFE",
+"`#	c #1D8BB2",
+" $	c #519EC4",
+".$	c #197CAB",
+"+$	c #91D2F6",
+"@$	c #A2E2FE",
+"#$	c #9BDDFD",
+"$$	c #91D6FB",
+"%$	c #4288B8",
+"&$	c #7FCAF4",
+"*$	c #7CC8F3",
+"=$	c #73C1EC",
+"-$	c #448CC0",
+";$	c #04488C",
+">$	c #25629E",
+",$	c #2A67A5",
+"'$	c #2661A0",
+")$	c #00327F",
+"!$	c #002E7D",
+"~$	c #4EA9DB",
+"{$	c #000E62",
+"]$	c #287A9B",
+"^$	c #C3F4FE",
+"/$	c #298AAD",
+"($	c #2288AD",
+"_$	c #BEF3FE",
+":$	c #BBF1FE",
+"<$	c #B9F2FE",
+"[$	c #55A3CA",
+"}$	c #318AB4",
+"|$	c #A0DDFE",
+"1$	c #167AA8",
+"2$	c #428FBC",
+"3$	c #8FD4FA",
+"4$	c #63AAD7",
+"5$	c #81CAF3",
+"6$	c #79C5F0",
+"7$	c #6FBDE8",
+"8$	c #69B9E6",
+"9$	c #60AEDD",
+"0$	c #458BC0",
+"a$	c #003C84",
+"b$	c #003582",
+"c$	c #002D7C",
+"d$	c #002879",
+"e$	c #4CA7DA",
+"f$	c #00085F",
+"g$	c #1C7698",
+"h$	c #BEF1FE",
+"i$	c #1D83A8",
+"j$	c #1182A8",
+"k$	c #B4ECFE",
+"l$	c #B1EAFE",
+"m$	c #6BB2D7",
+"n$	c #157AA8",
+"o$	c #7ABBE1",
+"p$	c #1173A3",
+"q$	c #599FCA",
+"r$	c #99DBFD",
+"s$	c #8ED3F9",
+"t$	c #8AD0F6",
+"u$	c #87CEF6",
+"v$	c #7FC8F2",
+"w$	c #69B8E5",
+"x$	c #64B7E4",
+"y$	c #5CB2E1",
+"z$	c #55ACDE",
+"A$	c #4CA8DA",
+"B$	c #4098CD",
+"C$	c #002677",
+"D$	c #002075",
+"E$	c #49A5D8",
+"F$	c #00045C",
+"G$	c #117194",
+"H$	c #BAEEFE",
+"I$	c #1485AB",
+"J$	c #1080A6",
+"K$	c #B2EBFE",
+"L$	c #ADE6FE",
+"M$	c #86C7EA",
+"N$	c #1174A3",
+"O$	c #5DA2CA",
+"P$	c #1373A4",
+"Q$	c #7ABEE5",
+"R$	c #93D6FC",
+"S$	c #77C3EE",
+"T$	c #60B4E2",
+"U$	c #59B0E0",
+"V$	c #54ACDE",
+"W$	c #43A2D5",
+"X$	c #45A3D6",
+"Y$	c #002176",
+"Z$	c #001C73",
+"`$	c #44A2D6",
+" %	c #00005A",
+".%	c #00698E",
+"+%	c #B1E6FE",
+"@%	c #1181A7",
+"#%	c #0D7CA2",
+"$%	c #ABE4FE",
+"%%	c #A7E2FE",
+"&%	c #A6E1FE",
+"*%	c #93D1F5",
+"=%	c #096B9B",
+"-%	c #277BA9",
+";%	c #3380AF",
+">%	c #94D7FC",
+",%	c #90D5FB",
+"'%	c #8CD2F8",
+")%	c #5EB2E0",
+"!%	c #5BB1E0",
+"~%	c #4AA5D8",
+"{%	c #3B9CD1",
+"]%	c #001D74",
+"^%	c #001871",
+"/%	c #3E9FD4",
+"(%	c #00658B",
+"_%	c #ADE3FE",
+":%	c #1180A6",
+"<%	c #0D7BA2",
+"[%	c #A4DFFE",
+"}%	c #A1DFFE",
+"|%	c #3681AF",
+"1%	c #0B699B",
+"2%	c #4C92C0",
+"3%	c #83CAF2",
+"4%	c #7FC8F1",
+"5%	c #7BC6F0",
+"6%	c #74C0EB",
+"7%	c #6CBAE5",
+"8%	c #67B7E4",
+"9%	c #62B5E2",
+"0%	c #5BAFDD",
+"a%	c #57ADDC",
+"b%	c #51A9DB",
+"c%	c #4CA7D9",
+"d%	c #43A0D3",
+"e%	c #3E9ED1",
+"f%	c #379ACF",
+"g%	c #3396CD",
+"h%	c #001770",
+"i%	c #001170",
+"j%	c #399CD2",
+"k%	c #000057",
+"l%	c #006188",
+"m%	c #A7E0FD",
+"n%	c #0F7CA4",
+"o%	c #0E78A2",
+"p%	c #A2DDFD",
+"q%	c #9EDBFD",
+"r%	c #9BDAFD",
+"s%	c #98D8FB",
+"t%	c #6CB1DA",
+"u%	c #076296",
+"v%	c #69AED8",
+"w%	c #89CFF5",
+"x%	c #84CBF3",
+"y%	c #7BC4ED",
+"z%	c #76C1EB",
+"A%	c #73BFEA",
+"B%	c #68B7E4",
+"C%	c #61B4E1",
+"D%	c #58AEDD",
+"E%	c #54AADC",
+"F%	c #409FD2",
+"G%	c #3C9BD0",
+"H%	c #3697CD",
+"I%	c #2F94CA",
+"J%	c #2C91C9",
+"K%	c #000B6D",
+"L%	c #389BD1",
+"M%	c #000056",
+"N%	c #006088",
+"O%	c #A4DDFD",
+"P%	c #0E79A3",
+"Q%	c #0E76A2",
+"R%	c #9CD9FB",
+"S%	c #97D6F9",
+"T%	c #95D5F8",
+"U%	c #92D4F8",
+"V%	c #80C4EB",
+"W%	c #3279A9",
+"X%	c #7DC3EA",
+"Y%	c #7FC6EE",
+"Z%	c #7AC3EC",
+"`%	c #72BEE9",
+" &	c #70BEE9",
+".&	c #6BBAE7",
+"+&	c #53A9DB",
+"@&	c #4AA5D7",
+"#&	c #429FD2",
+"$&	c #3B9BCF",
+"%&	c #3496CD",
+"&&	c #2F92C9",
+"*&	c #288DC6",
+"=&	c #258BC5",
+"-&	c #000A6C",
+";&	c #000269",
+">&	c #3599D0",
+",&	c #000055",
+"'&	c #005B85",
+")&	c #9FDAFB",
+"!&	c #0C719F",
+"~&	c #0C6F9E",
+"{&	c #96D5F8",
+"]&	c #94D4F7",
+"^&	c #90D2F6",
+"/&	c #8CCFF5",
+"(&	c #88CDF3",
+"_&	c #4D93C0",
+":&	c #7EC5ED",
+"<&	c #77C2EC",
+"[&	c #68B8E5",
+"}&	c #56ACDB",
+"|&	c #50A7D9",
+"1&	c #46A2D4",
+"2&	c #409ED1",
+"3&	c #3799CD",
+"4&	c #3295CB",
+"5&	c #2D91C9",
+"6&	c #288CC5",
+"7&	c #2185C1",
+"8&	c #2084C0",
+"9&	c #000066",
+"0&	c #3398CF",
+"a&	c #000051",
+"b&	c #005884",
+"c&	c #9CD7F9",
+"d&	c #0B6F9D",
+"e&	c #0B6D9D",
+"f&	c #82C1E7",
+"g&	c #8FD1F5",
+"h&	c #8BCEF4",
+"i&	c #84CAF0",
+"j&	c #62A7D2",
+"k&	c #78C1EA",
+"l&	c #79C4EE",
+"m&	c #6EBCE7",
+"n&	c #66B7E4",
+"o&	c #60B3E1",
+"p&	c #5BAFDE",
+"q&	c #54AADA",
+"r&	c #4EA6D8",
+"s&	c #45A1D3",
+"t&	c #419FD1",
+"u&	c #3494CB",
+"v&	c #2D90C8",
+"w&	c #268BC4",
+"x&	c #1F84BF",
+"y&	c #1D80BD",
+"z&	c #1979B7",
+"A&	c #000065",
+"B&	c #3197CE",
+"C&	c #000050",
+"D&	c #005482",
+"E&	c #0A6C9C",
+"F&	c #0B6B9C",
+"G&	c #096498",
+"H&	c #096297",
+"I&	c #085F95",
+"J&	c #055992",
+"K&	c #03528E",
+"L&	c #03508C",
+"M&	c #034F8C",
+"N&	c #024C8C",
+"O&	c #014589",
+"P&	c #004185",
+"Q&	c #003F85",
+"R&	c #003880",
+"S&	c #002E7B",
+"T&	c #002C79",
+"U&	c #002978",
+"V&	c #002273",
+"W&	c #001C71",
+"X&	c #001A71",
+"Y&	c #00156E",
+"Z&	c #000E6D",
+"`&	c #00086A",
+" *	c #00036A",
+".*	c #000063",
+"+*	c #2E95CD",
+"@*	c #00004D",
+"#*	c #005180",
+"$*	c #95D4F7",
+"%*	c #478EB8",
+"&*	c #0A689A",
+"**	c #086196",
+"=*	c #065D93",
+"-*	c #045891",
+";*	c #04538F",
+">*	c #02508C",
+",*	c #014488",
+"'*	c #004286",
+")*	c #003E84",
+"!*	c #003A82",
+"~*	c #00317E",
+"{*	c #002877",
+"]*	c #002475",
+"^*	c #001D72",
+"/*	c #001970",
+"(*	c #000F6E",
+"_*	c #000167",
+":*	c #000064",
+"<*	c #002B80",
+"[*	c #2992CB",
+"}*	c #004E7F",
+"|*	c #91D1F4",
+"1*	c #8DCEF3",
+"2*	c #87CCF2",
+"3*	c #83C9EF",
+"4*	c #80C6EF",
+"5*	c #7DC6EF",
+"6*	c #75C1EC",
+"7*	c #73BFEB",
+"8*	c #6FBDEA",
+"9*	c #69BAE7",
+"0*	c #64B6E4",
+"a*	c #5FB3E2",
+"b*	c #5BB0E0",
+"c*	c #56ADDE",
+"d*	c #53ABDC",
+"e*	c #50A9DB",
+"f*	c #4FA8DA",
+"g*	c #4DA7D9",
+"h*	c #4BA5D8",
+"i*	c #4AA4D7",
+"j*	c #49A3D6",
+"k*	c #47A2D5",
+"l*	c #45A0D4",
+"m*	c #439ED3",
+"n*	c #409CD1",
+"o*	c #3C9ACF",
+"p*	c #2490C9",
+"q*	c #00004B",
+"r*	c #004C7D",
+"s*	c #004A7C",
+"t*	c #004C80",
+"u*	c #004E83",
+"v*	c #004B81",
+"w*	c #004881",
+"x*	c #004681",
+"y*	c #004480",
+"z*	c #00427F",
+"A*	c #003D7D",
+"B*	c #00397B",
+"C*	c #003478",
+"D*	c #002E74",
+"E*	c #002A72",
+"F*	c #002670",
+"G*	c #00206D",
+"H*	c #001968",
+"I*	c #000E63",
+"J*	c #000059",
+"K*	c #000058",
+"L*	c #000053",
+"M*	c #000054",
+"N*	c #00004F",
+"O*	c #00004C",
+". + @ # $ % & * = - ; > , ' ) ! ~ { ] ^ / ( _ : < [ } | 1 2 3 4 ",
+"5 6 6 6 6 6 6 6 6 6 6 7 8 9 0 a b c d e f g h i j k l m n o p q ",
+"r 6 s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V ",
+"W 6 X Y Z `  ...+.@.#.$.%.&.*.=.-.;.>.,.'.).!.~.{.].^./.(._.:.<.",
+"[.6 }.|.1.6 6 6 6 6 6 7 2.9 3.4.5.6.f 7.8.9.0.a.b.c.d.e.f.g.h.i.",
+"j.6 k.l.6 m.6 6 6 m.6 n.2.o.p.4.q.r.s.3.t.u.v.w.x.y.z.A.B.C.D.E.",
+"F.6 G.H.6 m.6 6 6 6 6 n.I.d J.K.L.M.N.O.P.Q.R.S.T.U.V.W.X.Y.Z.`.",
+" +6 .+++6 6 6 6 6 1.7 @+8 y.#+$+d K.%+&+*+=+-+;+>+V.,+'+)+!+~+{+",
+"]+6 ^+/+6 6 6 1.(+(+_+8 :+<+[+}+f |+1+2+3+4+5+6+7+8+'+9+0+a+b+c+",
+"d+7 e+f+6 6 6 1.(+(+g+h+5.i+j+k+l+%+m+n+o+p+q+r+s+t+u+v+w+x+y+z+",
+"A+2.B+C+n.n.7 7 6 @+D+E+F+G+H+I+J+K+L+M+N+O+P+s+Q+R+S+T+U+V+W+X+",
+"Y+9 Z+`+I.8 8 I. @h+.@+@@@#@$@%@&@*@=@-@;@>@,@'@)@S+~+!@~@{@]@^@",
+"/@0 (@D _@o.:@0 a b <@[@}@|@%+1@2@3@4@5@6@7@8@9@0@a@b@c@d@e@f@g@",
+"h@b i@j@k@l@m@n@q.o@p@1+I+q@r@s@t@u@v@w@s+x@y@z@A@B@C@D@e@E@F@G@",
+"H@<@I@J@K@L@M@N@d O@P@Q@%@R@*@S@T@U@V@W@t+X@Y@Z@`@C@ #.#E@+#@###",
+"$#L.%#&#*#=#-#;#>#3.,#'#)#!#~#T.{#_.]#^#9+0@/#(#_# #.#:#+#<#[#}#",
+"|#6.1#2#>#3#4#5#6#,#7#8#9#0#a#b#c#d#e#f#g#h#i#j#k#l#m#n#o#p#q#r#",
+"s#t#u#v#w#x#y#z#A#B#C#D#E#T.>+F#G#H#I#S+a@J#K#L#M#N#O#P#p#Q#R#S#",
+"T#U#V#W#X#Y#Z#`# $w.3+.$+$@$#$8+$$%$S+h#&$*$=$-$;$>$,$'$)$!$~${$",
+"]$^$/$($_$:$<$[$}$|$1$2$@$#$,+3$D.4$5$!@6$7$8$9$0$a$b$)$c$d$e$f$",
+"g$h$i$j$*#k$l$m$n$o$p$q$r$:.s$t$u$v$b@c@7$w$x$F@y$z$A$B$C$D$E$F$",
+"G$H$I$J$K$L$l M$N$O$P$Q$R$s$D.v+h#b@S$7$w$x$T$U$V$A$W$X$Y$Z$`$ %",
+".%+%@%#%$%%%&%*%=%-%;%>%,%'%v+T+!@y+7$8$x$)%!%V$~%W${%{%]%^%/% %",
+"(%_%:%<%&%[%}%o |%1%2%s$t$3%4%5%6%7%8%9%0%a%b%c%d%e%f%g%h%i%j%k%",
+"l%m%n%o%p%q%r%s%t%u%v%w%x%y%z%A%7$B%C%)%D%E%~%F%G%H%I%J%i%K%L%M%",
+"N%O%P%Q%R%S%T%U%V%W%X%Y%Z%z%`% &.&9%0%a%+&@&#&$&%&&&*&=&-&;&>&,&",
+"'&)&!&~&{&]&^&/&(&_&:&Z%<&`%7$[&9%0%}&|&1&2&3&4&5&6&7&8&;&9&0&a&",
+"b&c&d&e&f&g&h&(&i&j&k&l&A%m&n&o&p&q&r&s&t&$&u&v&w&x&y&z&9&A&B&C&",
+"D&&+E&F&1%G&H&I&J&K&L&M&N&O&P&Q&R&S&T&U&V&W&X&Y&Z&`& *A&A&.*+*@*",
+"#*$*%*&*G&**=*-*;*>*M&N&,*'*)*!*~*S&{*]*^*/*Y&(*`&_*9&9&:*<*[*@*",
+"}*|*1*h&2*3*4*5*b+6*7*8*9*0*a*b*c*d*e*f*g*h*i*j*k*l*m*n*o*H%p*q*",
+"r*s*t*u*v*w*x*y*z*A*B*C*D*E*F*G*H*S#I*f$J*M%K*M%L*M*M*L*N*N*O*q*"};
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.files/wiki.html
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.files/wiki.html
@@ -0,0 +1,309 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
+<meta name="robots" content="index,nofollow">
+
+<title>VirtualBox - Debian Wiki</title>
+<script type="text/javascript" src="/htdocs/common/js/common.js"></script>
+
+<script type="text/javascript">
+<!--// common functions
+
+// We keep here the state of the search box
+searchIsDisabled = false;
+
+function searchChange(e) {
+    // Update search buttons status according to search box content.
+    // Ignore empty or whitespace search term.
+    var value = e.value.replace(/\s+/, '');
+    if (value == '' || searchIsDisabled) {
+        searchSetDisabled(true);
+    } else {
+        searchSetDisabled(false);
+    }
+}
+
+function searchSetDisabled(flag) {
+    // Enable or disable search
+    document.getElementById('fullsearch').disabled = flag;
+    document.getElementById('titlesearch').disabled = flag;
+}
+
+function searchFocus(e) {
+    // Update search input content on focus
+    if (e.value == 'Search') {
+        e.value = '';
+        e.className = '';
+        searchIsDisabled = false;
+    }
+}
+
+function searchBlur(e) {
+    // Update search input content on blur
+    if (e.value == '') {
+        e.value = 'Search';
+        e.className = 'disabled';
+        searchIsDisabled = true;
+    }
+}
+
+function actionsMenuInit(title) {
+    // Initialize action menu
+    for (i = 0; i < document.forms.length; i++) {
+        var form = document.forms[i];
+        if (form.className == 'actionsmenu') {
+            // Check if this form needs update
+            var div = form.getElementsByTagName('div')[0];
+            var label = div.getElementsByTagName('label')[0];
+            if (label) {
+                // This is the first time: remove label and do buton.
+                div.removeChild(label);
+                var dobutton = div.getElementsByTagName('input')[0];
+                div.removeChild(dobutton);
+                // and add menu title
+                var select = div.getElementsByTagName('select')[0];
+                var item = document.createElement('option');
+                item.appendChild(document.createTextNode(title));
+                item.value = 'show';
+                select.insertBefore(item, select.options[0]);
+                select.selectedIndex = 0;
+            }
+        }
+    }
+}
+//-->
+</script>
+
+
+<link rel="stylesheet" type="text/css" charset="utf-8" media="all" href="/htdocs/rightsidebar/css/common.css">
+<link rel="stylesheet" type="text/css" charset="utf-8" media="screen" href="/htdocs/rightsidebar/css/screen.css">
+<link rel="stylesheet" type="text/css" charset="utf-8" media="print" href="/htdocs/rightsidebar/css/print.css">
+<link rel="stylesheet" type="text/css" charset="utf-8" media="projection" href="/htdocs/rightsidebar/css/projection.css">
+<link rel="alternate" title="Debian Wiki Recent Changes" href="/RecentChanges?action=rss_rc&amp;ddiffs=1&amp;unique=1" type="application/rss+xml">
+
+<link rel="Start" href="/FrontPage">
+<link rel="Alternate" title="Wiki Markup" href="/VirtualBox?action=raw">
+<link rel="Alternate" media="print" title="Print View" href="/VirtualBox?action=print">
+<link rel="Appendix" title="error-1909-VERR_VM_DRIVER_NOT_ACCESSIBLE.png" href="/VirtualBox?action=AttachFile&amp;do=view&amp;target=error-1909-VERR_VM_DRIVER_NOT_ACCESSIBLE.png">
+<link rel="Appendix" title="logo.png" href="/VirtualBox?action=AttachFile&amp;do=view&amp;target=logo.png">
+<link rel="Search" href="/FindPage">
+<link rel="Index" href="/TitleIndex">
+<link rel="Glossary" href="/WordIndex">
+<link rel="Help" href="/HelpOnFormatting">
+</head>
+
+<body  lang="en" dir="ltr">
+
+<div id="header">
+
+<form id="searchform" method="get" action="">
+<div>
+<input type="hidden" name="action" value="fullsearch">
+<input type="hidden" name="context" value="180">
+<label for="searchinput">Search:</label>
+<input id="searchinput" type="text" name="value" value="" size="20"
+    onfocus="searchFocus(this)" onblur="searchBlur(this)"
+    onkeyup="searchChange(this)" onchange="searchChange(this)" alt="Search">
+<input id="titlesearch" name="titlesearch" type="submit"
+    value="Titles" alt="Search Titles">
+<input id="fullsearch" name="fullsearch" type="submit"
+    value="Text" alt="Search Full Text">
+</div>
+</form>
+<script type="text/javascript">
+<!--// Initialize search form
+var f = document.getElementById('searchform');
+f.getElementsByTagName('label')[0].style.display = 'none';
+var e = document.getElementById('searchinput');
+searchChange(e);
+searchBlur(e);
+//-->
+</script>
+
+<div id="logo"><a href="/FrontPage">Debian Wiki</a></div>
+<div id="locationline">
+
+
+<ul id="pagelocation">
+<li><a class="backlink" title="Click to do a full-text search for this title" href="/VirtualBox?action=fullsearch&amp;value=linkto%3A%22VirtualBox%22&amp;context=180">VirtualBox</a></li>
+</ul>
+
+</div>
+
+</div>
+
+<div id="sidebar">
+<div class="sidepanel">
+<h1>Wiki</h1>
+
+<ul id="navibar">
+<li class="wikilink"><a href="/FrontPage">FrontPage</a></li><li class="wikilink"><a href="/RecentChanges">RecentChanges</a></li><li class="wikilink"><a href="/FindPage">FindPage</a></li><li class="wikilink"><a href="/HelpContents">HelpContents</a></li><li class="current"><a href="/VirtualBox">VirtualBox</a></li>
+</ul>
+
+</div>
+<div class="sidepanel">
+<h1>Page</h1>
+<ul class="editbar"><li><span class="disabled">Immutable Page</span></li><li><a href="/VirtualBox?action=info">Info</a></li><li><a href="/VirtualBox?action=AttachFile">Attachments</a></li><li>
+<form class="actionsmenu" method="get" action="">
+<div>
+    <label>More Actions:</label>
+    <select name="action"
+        onchange="if ((this.selectedIndex != 0) &&
+                      (this.options[this.selectedIndex].disabled == false)) {
+                this.form.submit();
+            }
+            this.selectedIndex = 0;">
+        <option value="raw">Raw Text</option>
+<option value="print">Print View</option>
+<option value="RenderAsDocbook">Render as Docbook</option>
+<option value="refresh">Delete Cache</option>
+<option value="show" disabled class="disabled">------------</option>
+<option value="SpellCheck">Check Spelling</option>
+<option value="LikePages">Like Pages</option>
+<option value="LocalSiteMap">Local Site Map</option>
+<option value="show" disabled class="disabled">------------</option>
+<option value="RenamePage" disabled class="disabled">Rename Page</option>
+<option value="DeletePage" disabled class="disabled">Delete Page</option>
+<option value="show" disabled class="disabled">------------</option>
+<option value="MyPages">My Pages</option>
+<option value="SubscribeUser">Subscribe User</option>
+<option value="show" disabled class="disabled">------------</option>
+<option value="Despam">Remove Spam</option>
+<option value="PackagePages">Package Pages</option>
+    </select>
+    <input type="submit" value="Do">
+</div>
+<script type="text/javascript">
+<!--// Init menu
+actionsMenuInit('More Actions:');
+//-->
+</script>
+</form>
+</li></ul>
+
+</div>
+<div class="sidepanel">
+<h1>User</h1>
+<ul id="username"><li><a href="/VirtualBox?action=login" id="login">Login</a></li></ul>
+</div>
+</div>
+
+<div id="page" lang="en" dir="ltr">
+<div dir="ltr" id="content" lang="en"><span class="anchor" id="top"></span>
+<span class="anchor" id="line-9"></span><div><table style="width: 100%"><tbody><tr>  <td style="border: 0px hidden ;"><p class="line891"><small>Translation(s): <a class="nonexistent" href="/German/VirtualBox">Deutsch</a> - <a class="nonexistent" href="/French/VirtualBox">Français</a> - <a href="/Spanish/VirtualBox">Español</a> -  <a class="nonexistent" href="/Dutch/VirtualBox">Nederlands</a> - <a class="nonexistent" href="/Polish/VirtualBox">Polski</a> - <a class="nonexistent" href="/PortugueseBR/VirtualBox">Português - Brasileiro</a> - <a class="nonexistent" href="/Russian/VirtualBox">Русский</a></small> </td>
+  <td style="border: 0px hidden ;  text-align: right;"><p class="line862"> <img alt="(!)" height="15" src="/htdocs/rightsidebar/img/idea.png" title="(!)" width="15" /> <a class="nonexistent" href="/VirtualBox/Discussion">/Discussion</a> </td>
+</tr>
+</tbody></table></div><span class="anchor" id="line-10"></span><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-11"></span><span class="anchor" id="line-12"></span><div><table style="width: 100%"><tbody><tr>  <td style="border: 0px hidden ;"><p class="line862"> <img src="/VirtualBox?action=AttachFile&amp;do=get&amp;target=logo.png" title="attachment:logo.png" /> </td>
+  <td style="border: 0px hidden ;"><p class="line891">VirtualBox is an x86 emulator developed by <a class="http" href="http://www.virtualbox.org/wiki/innotek">innotek</a> <em>(bought by Sun)</em> comparable to <a href="/VMWare">VMWare</a>. It has a version called VirtualBox Open Source Edition (OSE) which is freely available as Open Source Software under the terms of the GNU General Public License (GPL).<br />
+<br />
+Its a relatively new program and still has some minor issues, but in general it is reliable, stable and, above all, very fast. It has been used successfully to do installation tests with Debian Installer.<br />
+<br />
+This page contains some how-to, tips and tricks that can be useful when setting up and using VirtualBox </td>
+</tr>
+</tbody></table></div><span class="anchor" id="line-13"></span><span class="anchor" id="line-14"></span><span class="anchor" id="line-15"></span><p class="line867"><span class="anchor" id="line-16"></span><ul><li style="list-style-type:none"><div class="table-of-contents"><p class="table-of-contents-heading">Contents<ol><li><a href="#head-2e316e5674d20c3b1cb2938e6a78983c8188e9b0">Installation</a><ol><li><a href="#head-f280c164d73bd09301342a49b8e3e0b5e183a2f7">Debian/Etch-backports</a></li><li><a href="#head-1bf4613d14d55bffb78a8fcedd89f82b6dc0a21e">Debian/Testing</a></li><li><a href="#head-75ef23fc62a634cb6fc26329de9723cac3bda93e">Experience</a></li></ol><li><a href="#head-7d4e76488d01c13abf8c2a7b9679320db8dc07e8">Errors</a><ol><li><a href="#head-839c5976dc6419b8d47b83547f4d0c379d9a7d71">32-bit userland with x64_64 kernel</a></li><li><a href="#head-cca23c12225b5e5380c0b1b0a7eb970a33366309">-1909 VERR VM DRIVER NOT ACCESSIBLE</a></li></ol><li><a href="#head-478541556b984173f1c6a6291711d2a8cc4532f3">Tips &amp; tricks</a><ol><li><a href="#head-2f3b70cb6bcaf82ecb9c8c1f3d5f42134006dc40">Switching consoles</a></li><li><a href="#head-5cde2ef27c6b1737b257603f51c2e1e8cbeaf09e">Setting up bridged networking for VirtualBox</a></li><li><a href="#head-7878d5314e89905ec3053a9add70589cc016297c">How to remotely start virtual machines using vnc</a></li></ol><li><a href="#head-9dafea02d17272b5de1d9a1d15281d44c508605e">External Links</a></li></ol></div> <span class="anchor" id="line-17"></span></li></ul><p class="line867"><span class="anchor" id="install"></span> <span class="anchor" id="line-18"></span><span class="anchor" id="line-19"></span><p class="line867">
+<h1 id="head-2e316e5674d20c3b1cb2938e6a78983c8188e9b0">Installation</h1>
+<span class="anchor" id="line-20"></span><p class="line862">Currently <em>(2008/01/01)</em>, VirtualBox is not supported natively by <a href="/Etch">Etch</a>, the 4.0 version of Debian. To install it, you can use different methods: <span class="anchor" id="line-21"></span><span class="anchor" id="line-22"></span><ul><li>Using Debian/Etch-backports repository <span class="anchor" id="line-23"></span></li><li>Using Debian/Testing repository <span class="anchor" id="line-24"></span></li></ul><p class="line867"><span class="anchor" id="install-backport"></span> <span class="anchor" id="line-25"></span><span class="anchor" id="line-26"></span><p class="line867">
+<h2 id="head-f280c164d73bd09301342a49b8e3e0b5e183a2f7">Debian/Etch-backports</h2>
+<span class="anchor" id="line-27"></span><ul><li><p class="line862">Configure <a href="/Backports">Debian/Etch-backports</a> <span class="anchor" id="line-28"></span></li><li><p class="line862">Install these packages: <a class="interwiki" href="http://packages.debian.org/virtualbox-ose" title="DebPkg">virtualbox-ose</a> <a class="interwiki" href="http://packages.debian.org/virtualbox-ose-source" title="DebPkg">virtualbox-ose-source</a> <span class="anchor" id="line-29"></span></li><li><p class="line862">Compile virtualbox kernel module <em>(as <a href="/root">root</a>)</em> <span class="anchor" id="line-30"></span></li></ul><p class="line867"><span class="anchor" id="line-31"></span><pre># cd /usr/src
+<span class="anchor" id="line-32"></span># tar xvjf virtualbox-ose.tar.bz2
+<span class="anchor" id="line-33"></span># cd modules/virtualbox-ose
+<span class="anchor" id="line-34"></span># make
+<span class="anchor" id="line-35"></span># make install
+<span class="anchor" id="line-36"></span># modprobe vboxdrv
+<span class="anchor" id="line-37"></span># lsmod | grep vbox
+<span class="anchor" id="line-38"></span>vboxdrv                55344  0</pre><span class="anchor" id="line-39"></span><ul><li><p class="line862">Or simply use module-assistant <em>(as <a href="/root">root</a>)</em> <span class="anchor" id="line-40"></span></li></ul><p class="line867"><span class="anchor" id="line-41"></span><pre># module-assistant auto-install virtualbox-ose
+<span class="anchor" id="line-42"></span># modprobe vboxdrv
+<span class="anchor" id="line-43"></span># lsmod | grep vbox
+<span class="anchor" id="line-44"></span>vboxdrv                55344  0
+<span class="anchor" id="line-45"></span></pre><span class="anchor" id="line-46"></span><ul><li><p class="line862">Start VirtualBox: <span class="anchor" id="line-47"></span></li></ul><p class="line867"><span class="anchor" id="line-48"></span><pre>KDE &gt; System &gt; VirtualBox OSE
+<span class="anchor" id="line-49"></span>Gnome &gt; Applications &gt; System tools &gt; VirtualBox OSE
+<span class="anchor" id="line-50"></span></pre><span class="anchor" id="line-51"></span><p class="line867"><span class="anchor" id="install-testing"></span> <span class="anchor" id="line-52"></span><span class="anchor" id="line-53"></span><p class="line867">
+<h2 id="head-1bf4613d14d55bffb78a8fcedd89f82b6dc0a21e">Debian/Testing</h2>
+<span class="anchor" id="line-54"></span><p class="line862">Testing repository contains some precompiled kernel module. So you don't need to compile it like previous method. Except that, it's the same mechanism. Be carreful, using testing repository could break your system. Note that virtualbox need to update <a class="interwiki" href="http://packages.debian.org/libc6" title="DebPkg">libc6</a> and <a class="interwiki" href="http://packages.debian.org/linux-image-2.6" title="DebPkg">linux-image-2.6</a> <span class="anchor" id="line-55"></span><span class="anchor" id="line-56"></span><p class="line867">
+<h2 id="head-75ef23fc62a634cb6fc26329de9723cac3bda93e">Experience</h2>
+<span class="anchor" id="line-57"></span><p class="line867"><small><strong><span class="u">Legend :</span></strong> </small> <span class="anchor" id="line-58"></span><span class="anchor" id="line-59"></span><ul><li><p class="line891"><small><img alt="{OK}" height="12" src="/htdocs/rightsidebar/img/thumbs-up.png" title="{OK}" width="14" /> = OK </small> <span class="anchor" id="line-60"></span></li><li><p class="line891"><img alt="/!\" height="15" src="/htdocs/rightsidebar/img/alert.png" title="/!\" width="15" /> = Failed <span class="anchor" id="line-61"></span></li></ul><div><table><tbody><tr>  <td><p class="line891"><strong>Who</strong> </td>
+  <td><p class="line891"><strong>Kernel</strong> </td>
+  <td><p class="line891"><strong>Disribution</strong> </td>
+  <td><p class="line891"><strong>Package Version</strong> </td>
+  <td><p class="line891"><strong>Status</strong> </td>
+</tr>
+<tr>  <td><span class="anchor" id="line-62"></span><p class="line862"> -- <a href="/SalokineTerata">SalokineTerata</a> 2008-01-01 19:52:09 </td>
+  <td><p class="line862"> 2.6.22-6~bpo40+1 </td>
+  <td><p class="line862"> Debian/Etch-backports </td>
+  <td><p class="line862"> 1.5.2-dfsg2-4~bpo40+1 </td>
+  <td><p class="line862"> <img alt="{OK}" height="12" src="/htdocs/rightsidebar/img/thumbs-up.png" title="{OK}" width="14" /> </td>
+</tr>
+</tbody></table></div><span class="anchor" id="line-63"></span><p class="line867">
+<h1 id="head-7d4e76488d01c13abf8c2a7b9679320db8dc07e8">Errors</h1>
+<span class="anchor" id="line-64"></span><p class="line867">
+<h2 id="head-839c5976dc6419b8d47b83547f4d0c379d9a7d71">32-bit userland with x64_64 kernel</h2>
+<span class="anchor" id="line-65"></span><p class="line862">It is know bug that VirtualBox does not work in such scenarios: <a class="http" href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456391">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456391</a> <span class="anchor" id="line-66"></span><span class="anchor" id="line-67"></span><p class="line867">
+<h2 id="head-cca23c12225b5e5380c0b1b0a7eb970a33366309">-1909 VERR VM DRIVER NOT ACCESSIBLE</h2>
+<span class="anchor" id="line-68"></span><p class="line867"><img src="/VirtualBox?action=AttachFile&amp;do=get&amp;target=error-1909-VERR_VM_DRIVER_NOT_ACCESSIBLE.png" title="attachment:error-1909-VERR_VM_DRIVER_NOT_ACCESSIBLE.png" /> <span class="anchor" id="line-69"></span><span class="anchor" id="line-70"></span><p class="line867"><span class="u">Solution: </span> Add your current user in the group <strong>vboxusers</strong>. <span class="anchor" id="line-71"></span><span class="anchor" id="line-72"></span><ul><li>Under KDE: <span class="anchor" id="line-73"></span><ul><li><p class="line891"><tt>K&nbsp;&gt;&nbsp;Configuration&nbsp;Center&nbsp;&gt;&nbsp;System&nbsp;Administration&nbsp;&gt;&nbsp;User&nbsp;Management</tt> <span class="anchor" id="line-74"></span></li><li>Select your user and edit it <span class="anchor" id="line-75"></span></li><li><p class="line862">Go to <strong>Groups</strong> page <span class="anchor" id="line-76"></span></li><li><p class="line862">Select <strong>vboxusers</strong> group and validate <span class="anchor" id="line-77"></span></li></ul></li><li>Reconnect your session <span class="anchor" id="line-78"></span></li><li>Under GNOME: <span class="anchor" id="line-79"></span><ul><li><p class="line862">System &gt; Administration &gt; Users and Groups <span class="anchor" id="line-80"></span></li><li><p class="line862">Click on "<strong>Manage groups</strong>" <span class="anchor" id="line-81"></span></li><li><p class="line862">Select the <strong>vboxusers</strong> group and click "<strong>Properties</strong>" <span class="anchor" id="line-82"></span></li><li>Check your username in the list and click "Ok" <span class="anchor" id="line-83"></span></li><li>Logout and login again <span class="anchor" id="line-84"></span></li></ul></li><li>On the commandline <span class="anchor" id="line-85"></span><ul><li><p class="line862">l<strong>og as user root </strong>either by su or sudo (su [return] - &lt;give root password&gt; [return] OR sudo su [return]) <span class="anchor" id="line-86"></span></li><li><p class="line862">Use the following command: <strong>adduser &lt;youruser&gt; vboxusers</strong> <span class="anchor" id="line-87"></span></li><li>Logout and login again <span class="anchor" id="line-88"></span></li></ul></li></ul><p class="line874">You can verify if your are really member of this group with this command line: <span class="anchor" id="line-89"></span><span class="anchor" id="line-90"></span><p class="line867"><span class="anchor" id="line-91"></span><pre># id MY_USER
+<span class="anchor" id="line-92"></span>uid=1000(MY_USER) gid=1000(MY_USER) groupes=1000(MY_USER),8(mail),...127(vboxusers)
+<span class="anchor" id="line-93"></span></pre><span class="anchor" id="line-94"></span><p class="line867"><span class="anchor" id="tips"></span> <span class="anchor" id="line-95"></span><span class="anchor" id="line-96"></span><p class="line867">
+<h1 id="head-478541556b984173f1c6a6291711d2a8cc4532f3">Tips &amp; tricks</h1>
+<span class="anchor" id="line-97"></span><p class="line867">
+<h2 id="head-2f3b70cb6bcaf82ecb9c8c1f3d5f42134006dc40">Switching consoles</h2>
+<span class="anchor" id="line-98"></span><p class="line862">The normal way to switch consoles in Linux is to use the <tt>ctrl-alt-Fx</tt> key combination. This does not work for a VirtualBox virtual machine (VM); it will switch consoles for the host system instead. <span class="anchor" id="line-99"></span><span class="anchor" id="line-100"></span><p class="line862">You should use <tt>&lt;Host&nbsp;Key&gt;-Fx</tt> instead, where <tt>&lt;Host&nbsp;Key&gt;</tt> is the key defined in <tt>File-&gt;Preferences-&gt;Input</tt>. <span class="anchor" id="line-101"></span><span class="anchor" id="line-102"></span><p class="line862">This also works for <tt>ctrl-alt-del</tt> and <tt>ctrl-alt-backspace</tt> <span class="anchor" id="line-103"></span><span class="anchor" id="line-104"></span><p class="line862">This is documented in the <a class="http" href="http://www.virtualbox.org/download/UserManual.pdf">VirtalBox user manual</a> in the section "Keyboard and mouse support in virtual machines", subsection "Typing special characters". <span class="anchor" id="line-105"></span><span class="anchor" id="line-106"></span><p class="line862">(An alternative method to switch between text consoles is to use <tt>alt-left</tt> and <tt>alt-right</tt>, but that does not work for graphical consoles like XOrg or DirectFB.) <span class="anchor" id="line-107"></span><span class="anchor" id="line-108"></span><p class="line867">
+<h2 id="head-5cde2ef27c6b1737b257603f51c2e1e8cbeaf09e">Setting up bridged networking for VirtualBox</h2>
+<span class="anchor" id="line-109"></span><p class="line862">By default VirtualBox uses NAT for the network interfaces of virtual machines and use an internal DHCP server to obtain an IP address. This works well but the disadvantage is that the machine will not have an IP address visible outside the VM and so you cannot connect to it from the host system or from other systems. <span class="anchor" id="line-110"></span><span class="anchor" id="line-111"></span><p class="line874">By attaching the VM's interface to "Host Interface" and creating a bridge on the host system, the VM can be made visible on the local network. This also allows to do fun stuff like netbooting the VM (boot from LAN using PXE). It is comparable to the "bridged networking" option in VMWare. <span class="anchor" id="line-112"></span><span class="anchor" id="line-113"></span><p class="line867">
+<h3 id="head-ac96d1959e6023cb07c51bdedd7e8f0b376dc944">Preparation</h3>
+<span class="anchor" id="line-114"></span><p class="line862">First install the package <tt>bridge-utils</tt>. <span class="anchor" id="line-115"></span><span class="anchor" id="line-116"></span><p class="line874">Next, change the network configuration of the host system so that the network interface becomes part of a bridge. Note that this requires restarting the network, so be careful when doing this on a remote system! <span class="anchor" id="line-117"></span><span class="anchor" id="line-118"></span><p class="line862">Change the file <tt>/etc/network/interfaces</tt> to look something like this: <span class="anchor" id="line-119"></span><span class="anchor" id="line-120"></span><p class="line867"><span class="anchor" id="line-121"></span><pre># The loopback network interface
+<span class="anchor" id="line-122"></span>auto lo
+<span class="anchor" id="line-123"></span>iface lo inet loopback
+<span class="anchor" id="line-124"></span># An entry for eth0 is no longer needed
+<span class="anchor" id="line-125"></span>#auto eth0
+<span class="anchor" id="line-126"></span>#iface eth0 inet dhcp
+<span class="anchor" id="line-127"></span># Create the bridge (with the regular IP address of the host)
+<span class="anchor" id="line-128"></span>auto br0
+<span class="anchor" id="line-129"></span>iface br0 inet dhcp
+<span class="anchor" id="line-130"></span>        bridge_ports eth0
+<span class="anchor" id="line-131"></span>        bridge_fd 2.5
+<span class="anchor" id="line-132"></span></pre><span class="anchor" id="line-133"></span><p class="line862">In this example the bridge gets its IP address and configuration from DHCP. For static configuration see<br />
+<tt>/usr/share/doc/bridge-utils/README.Debian.gz</tt> <span class="anchor" id="line-134"></span><span class="anchor" id="line-135"></span><p class="line874">Restart the networking of the host system using: <span class="anchor" id="line-136"></span><span class="anchor" id="line-137"></span><p class="line867"><span class="anchor" id="line-138"></span><pre># /etc/init.d/networking restart</pre><span class="anchor" id="line-139"></span><p class="line862">After this <tt>brctl&nbsp;show</tt> should show the bridge and <tt>ifconfig</tt> should show the bridge has the host's IP address. <span class="anchor" id="line-140"></span><span class="anchor" id="line-141"></span><p class="line867">
+<h3 id="head-2533838514373893e1ca2cac71c13586bf086700">Configuring the VirtualBox VM</h3>
+<span class="anchor" id="line-142"></span><p class="line874">There are different ways the TAP interface for the VM can be created: <span class="anchor" id="line-143"></span><span class="anchor" id="line-144"></span><ul><li><p class="line862">statically (before VirtualBox is even started) <span class="anchor" id="line-145"></span></li><li>on demand (when a VM is being started) <span class="anchor" id="line-146"></span></li></ul><p class="line862">See also the chapter on "Virtual networking" in the <a class="http" href="http://www.virtualbox.org/download/UserManual.pdf">VirtalBox user manual</a>. <span class="anchor" id="line-147"></span><span class="anchor" id="line-148"></span><p class="line867">
+<h4 id="head-45ffe54e63a513dbeb24a9be06d2a4eb2ec16928">Static interfaces</h4>
+<span class="anchor" id="line-149"></span><p class="line862">In this case you only need to "define" an interface for use by a particular user once. All defined interfaces are "remembered" in the file <tt>/etc/vbox/interfaces</tt> and recreated by the VirtualBox init script every time the host system is booted. <span class="anchor" id="line-150"></span><span class="anchor" id="line-151"></span><p class="line874">Example to create an interface for a user: <span class="anchor" id="line-152"></span><span class="anchor" id="line-153"></span><p class="line867"><span class="anchor" id="line-154"></span><pre># VBoxAddIF vbox0 &lt;username&gt; br0
+<span class="anchor" id="line-155"></span></pre><span class="anchor" id="line-156"></span><p class="line874">You can of course create multiple interfaces per users, but all interfaces should have unique names. <span class="anchor" id="line-157"></span><span class="anchor" id="line-158"></span><p class="line874">To configure the VM to use static bridged networking, go to the "network" page of the VM's settings and change the following fields: <span class="anchor" id="line-159"></span><span class="anchor" id="line-160"></span><ul><li><p class="line862">Attached to: <tt>Host&nbsp;Interface</tt> <span class="anchor" id="line-161"></span></li><li><p class="line862">Interface Name: <tt>vbox0</tt> <span class="anchor" id="line-162"></span></li><li><p class="line862">Setup Application: &lt;empty&gt; <span class="anchor" id="line-163"></span></li><li><p class="line862">Terminate Application: &lt;empty&gt; <span class="anchor" id="line-164"></span></li></ul><p class="line867">
+<h4 id="head-1330d340c9d435c41fbd1c04c3d29d61e0a8f195">Dynamic interfaces (on demand)</h4>
+<span class="anchor" id="line-165"></span><p class="line874">The example below shows the second method. In the example the name of the interface is hardcoded in the script. If you want to be able to create multiple interfaces, you'll have to adapt the script. Note that the script assumes you can execute the needed commands using sudo. <span class="anchor" id="line-166"></span><span class="anchor" id="line-167"></span><p class="line867"><span class="anchor" id="line-168"></span><pre>#! /bin/sh
+<span class="anchor" id="line-169"></span>set -e
+<span class="anchor" id="line-170"></span>IF=vbox0
+<span class="anchor" id="line-171"></span>BRIDGE=br0
+<span class="anchor" id="line-172"></span>case "$1" in
+<span class="anchor" id="line-173"></span>    up)
+<span class="anchor" id="line-174"></span>        # Create a TAP network device
+<span class="anchor" id="line-175"></span>        sudo VBoxTunctl -u $LOGNAME -t $IF &gt;/dev/null 2&gt;&amp;1
+<span class="anchor" id="line-176"></span>        # Bring it up (without IP address)
+<span class="anchor" id="line-177"></span>        sudo ifconfig $IF up
+<span class="anchor" id="line-178"></span>        # Add it to the bridge
+<span class="anchor" id="line-179"></span>        sudo brctl addif $BRIDGE $IF
+<span class="anchor" id="line-180"></span>        # Tell VirtualBox the name of the interface
+<span class="anchor" id="line-181"></span>        echo $IF
+<span class="anchor" id="line-182"></span>        ;;
+<span class="anchor" id="line-183"></span>    down)
+<span class="anchor" id="line-184"></span>        sudo VBoxTunctl -d $IF &gt;/dev/null 2&gt;&amp;1
+<span class="anchor" id="line-185"></span>        ;;
+<span class="anchor" id="line-186"></span>esac
+<span class="anchor" id="line-187"></span></pre><span class="anchor" id="line-188"></span><p class="line862">Save the script, for example as <tt>~/.VirtualBox/bridge_setup</tt>. The script can be tested by running it from the command line. If successful, <tt>brctl&nbsp;show</tt> should show interface <tt>vbox0</tt> added to the bridge. <span class="anchor" id="line-189"></span><span class="anchor" id="line-190"></span><p class="line874">To configure the VM to use dynamic bridged networking, go to the "network" page of the VM's settings and change the following fields: <span class="anchor" id="line-191"></span><span class="anchor" id="line-192"></span><ul><li><p class="line862">Attached to: <tt>Host&nbsp;Interface</tt> <span class="anchor" id="line-193"></span></li><li><p class="line862">Interface Name: &lt;empty&gt; <span class="anchor" id="line-194"></span></li><li><p class="line862">Setup Application: <tt>~/.VirtualBox/bridge_setup</tt> up <span class="anchor" id="line-195"></span></li><li><p class="line862">Terminate Application: <tt>~/.VirtualBox/bridge_setup</tt> down <span class="anchor" id="line-196"></span></li></ul><p class="line874">When the VM is started after that, the interface should be created automatically and the VM can be used just like it was a system connected directly to your local network. <span class="anchor" id="line-197"></span><span class="anchor" id="line-198"></span><p class="line867">
+<h2 id="head-7878d5314e89905ec3053a9add70589cc016297c">How to remotely start virtual machines using vnc</h2>
+<span class="anchor" id="line-199"></span><p class="line874">Remote: <span class="anchor" id="line-200"></span><span class="anchor" id="line-201"></span><ul><li>log onto your remote box <span class="anchor" id="line-202"></span></li><li>install tightvncserver <span class="anchor" id="line-203"></span></li><li>launch it (you don't need a display), pick a password <span class="anchor" id="line-204"></span></li><li>determine which port it is using, a way to do so: <span class="anchor" id="line-205"></span><ul><li>netstat -tap | grep vnc <span class="anchor" id="line-206"></span></li><li>Let's say it's 5901 <span class="anchor" id="line-207"></span></li></ul></li><li>unlog from there since the server forked in the background <span class="anchor" id="line-208"></span></li></ul><p class="line874">Local: <span class="anchor" id="line-209"></span><span class="anchor" id="line-210"></span><ul><li>install xtightvncviewer <span class="anchor" id="line-211"></span></li><li>create a ssh tunnel to your box: <span class="anchor" id="line-212"></span><ul><li>ssh -L 5901:localhost:5901 you@remote <span class="anchor" id="line-213"></span></li></ul></li><li>use it: (note there are two colons) <span class="anchor" id="line-214"></span><ul><li>xtightvncviewer localhost::5901 <span class="anchor" id="line-215"></span></li></ul></li><li><p class="line862">then VBoxManage startvm $yourvm &amp; <span class="anchor" id="line-216"></span></li><li>and start as many virtual machines as wanted. <span class="anchor" id="line-217"></span></li></ul><p class="line867">
+<h1 id="head-9dafea02d17272b5de1d9a1d15281d44c508605e">External Links</h1>
+<span class="anchor" id="line-218"></span><ul><li><p class="line891"><a class="http" href="http://www.virtualbox.org/download/UserManual.pdf">http://www.virtualbox.org/download/UserManual.pdf</a> Official User Manual <span class="anchor" id="line-219"></span></li></ul><p class="line867"><hr /><p class="line874"> <span class="anchor" id="line-220"></span><ul><li style="list-style-type:none"><p class="line891"><a href="/CategorySystemVirtualization">CategorySystemVirtualization</a> <span class="anchor" id="line-221"></span></li></ul><span class="anchor" id="bottom"></span></div><p id="pageinfo" class="info" lang="en" dir="ltr">VirtualBox  (last edited 2008-02-14 20:50:35 by <span title="SalokineTerata @ lns-bzn-49f-81-56-213-227.adsl.proxad.net[81.56.213.227]"><a href="/SalokineTerata" title="SalokineTerata @ lns-bzn-49f-81-56-213-227.adsl.proxad.net[81.56.213.227]">SalokineTerata</a></span>)</p>
+
+<div id="pagebottom"></div>
+</div>
+
+
+<div id="footer">
+<ul id="credits">
+<li><a href="http://moinmoin.wikiwikiweb.de/">MoinMoin Powered</a></li><li><a href="http://www.python.org/">Python Powered</a></li><li><a href="http://validator.w3.org/check?uri=referer">Valid HTML 4.01</a></li>
+</ul>
+
+
+</div>
+</body>
+</html>
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.files/virtualbox-ose.desktop
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.files/virtualbox-ose.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=VirtualBox OSE
+GenericName=PC virtualization solution
+Type=Application
+Comment=Run several virtual systems on a single host computer
+Exec=virtualbox
+TryExec=virtualbox
+Icon=virtualbox
+Categories=Emulator;System;
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-source.files/control.modules.in
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-source.files/control.modules.in
@@ -0,0 +1,25 @@
+Source: virtualbox-ose
+Section: misc
+Priority: optional
+Maintainer: Debian Virtualbox Team <pkg-virtualbox-devel@lists.alioth.debian.org>
+Uploaders: Philipp Hug <debian@hug.cx>, Marvin Stark <marv@der-marv.de>, Michael Meskes <meskes@debian.org>, Patrick Winnertz <winnie@debian.org>, Daniel Baumann <daniel@debian.org>, Hilko Bengen <bengen@debian.org>
+Build-Depends: debhelper (>= 5), dpatch, kbuild
+Standards-Version: 3.7.3
+Homepage: http://www.virtualbox.org/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-virtualbox/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-virtualbox/trunk
+
+Package: virtualbox-ose-modules-_KVERS_
+Architecture: amd64 i386
+Depends: linux-modules-_KVERS_ | linux-image-_KVERS_
+Recommends: virtualbox-ose
+Provides: virtualbox-ose-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-ose-modules. The virtualbox-ose-source package has been
+ provided for use with the Debian's module-assistant or kernel-package
+ utilities to produce a version of virtualbox-ose-modules for your kernel.
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-source.files/postinst.modules.in
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-source.files/postinst.modules.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+case "${1}" in
+	configure)
+		if [ -x /etc/init.d/udev ]; then
+			if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+				invoke-rc.d udev reload || /bin/true
+			else
+				/etc/init.d/udev reload || /bin/true
+			fi
+		fi
+		;;
+
+	abort-upgrade|abort-deconfigure|abort-remove)
+
+		;;
+
+	*)
+		echo "${0} called with unknown argument \`${1}'" 1>&2
+		exit 1
+		;;
+esac
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-source.files/rules
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-source.files/rules
@@ -0,0 +1,69 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpatch/dpatch.make
+
+# some default definitions, important!
+#
+# Name of the source package
+psource:=virtualbox-ose-source
+gsource:=virtualbox-ose-guest-source
+
+# The short upstream name, used for the module source directory
+sname:=virtualbox-ose
+uname:=virtualbox-ose-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-ose-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
+
+MAKE:=kmk
+
+binary-modules: prep-deb-files
+	dh_testroot
+	dh_clean -k
+	# Build the module
+	$(MAKE) -C $(KSRC) M=$(CURDIR)
+	# Install the module
+	dh_install vboxdrv.ko /lib/modules/$(KVERS)/misc/
+	dh_installdocs
+	dh_installchangelogs
+	dh_compress
+	dh_fixperms
+	dh_installmodules
+	dh_installdeb
+	dh_gencontrol -- -v$(VERSION)
+	dh_md5sums
+	dh_builddeb --destdir=$(DEB_DESTDIR)
+	dh_clean -k
+
+.PHONY: build clean binary-arch binary-indep binary install binary-modules kdist kdist_configure kdist_image kdist_clean
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.postinst
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.postinst
@@ -0,0 +1,34 @@
+#!/bin/sh
+
+set -e
+
+case "${1}" in
+	configure)
+		# Adding vboxusers group
+		if ! getent group vboxusers > /dev/null
+		then
+			if [ -x /usr/sbin/addgroup ]
+			then
+				addgroup --quiet --system vboxusers
+			fi
+		fi
+
+		# In case the system is running without inotify tell udev to
+		# reload the rules
+		if [ -x /sbin/udevcontrol ]
+		then
+			udevcontrol reload_rules || true
+		fi
+		;;
+
+	abort-upgrade|abort-deconfigure|abort-remove)
+
+		;;
+
+	*)
+		echo "${0} called with unknown argument \`${1}'" 1>&2
+		exit 1
+		;;
+esac
+
+#DEBHELPER#
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-guest-utils.udev
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-guest-utils.udev
@@ -0,0 +1 @@
+KERNEL=="vboxadd", NAME="vboxadd", OWNER="root", MODE="0666"
--- virtualbox-ose-1.6.6-dfsg.orig/debian/watch
+++ virtualbox-ose-1.6.6-dfsg/debian/watch
@@ -0,0 +1,4 @@
+version=3
+
+opts=dversionmangle=s/-dfsg\d*$//,uversionmangle=s/-.*// \
+ http://www.virtualbox.org/download/([\d\.\-]+)/VirtualBox-([\d\.\-]+)-OSE.tar.bz2
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.links
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.links
@@ -0,0 +1,19 @@
+/usr/lib/virtualbox/xpidl /usr/share/virtualbox/sdk/bin/xpidl
+
+/usr/share/virtualbox/VBox.sh /usr/bin/vditool
+/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/virtualbox
+/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/VirtualBox
+
+/usr/bin/VBoxTAP /usr/bin/VBoxAddIF
+/usr/bin/VBoxTAP /usr/bin/VBoxDeleteIF
+
+/usr/share/virtualbox/VBox.png /usr/share/icons/virtualbox.png
+
+/usr/lib/virtualbox/VBoxTunctl /usr/bin/VBoxTunctl
+/usr/share/virtualbox/VBoxAddIF.sh /usr/bin/VBoxTAP
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-guest-utils.README.Debian
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-guest-utils.README.Debian
@@ -0,0 +1,6 @@
+To enable guest additions in X either run /usr/share/virtualbox/x11config.pl or
+edit your xorg.conf manually. The video driver has to be set to "vboxvideo" and
+the mouse driver to "vboxmouse". Additionally the options "alwayscore" and
+"sendcoreevents" should be removed from the mouse section.
+
+ -- Michael Meskes <meskes@debian.org>  Mon, 19 Nov 2007 11:17:46 +0100
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.if-post-down
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.if-post-down
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+case "${IFACE}" in
+    vbox*)
+            ARGS="-d ${IFACE}"
+        ;;
+    *)
+        exit 0
+        ;;
+esac
+
+test -x /usr/lib/virtualbox/VBoxTunctl || exit 0
+
+/usr/lib/virtualbox/VBoxTunctl $ARGS
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.README.Debian.xml
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.README.Debian.xml
@@ -0,0 +1,193 @@
+<?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>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>.
+    </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>
+      <listitem>
+        <para>Emulation for Intel e1000 network devices</para>
+      </listitem>
+      <!-- FIXME web services? What else? -->
+    </itemizedlist>
+  </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
+	  <emphasis>TAP</emphasis> device on the host. Adding this
+	  <emphasis>TAP</emphasis> device to a bridging or IP routing
+	  setup is the responsibility of the user.
+	</para>
+      </section>
+    </section>
+    <section>
+      <title>Host interface configuration</title>
+      <para>
+	By attaching the VM's interface to "Host Interface" and
+	creating a corresponding <emphasis>TAP</emphasis> interface
+	the VM can be made visible on the local network.
+      </para>
+      <section>
+	<title>Using <command>VBoxAddIF</command></title>
+	<para>
+	  The VirtualBox includes a helper script,
+	  <command>VBoxAddIF</command> that sets up a
+	  <emphasis>TAP</emphasis> device for a specified user and
+	  optionally connects it to a bridge. This needs to be done
+	  only once for a particular user. Settings for all defined
+	  interfaces are stored in the file
+	  <filename>/etc/vbox/interfaces</filename> and created by the
+	  <filename>/etc/init.d/virtualbox-ose</filename> init script
+	  whenever the host system is booted.
+	  <figure>
+	    <title>Sample commandlines for permanently setting up
+	      <emphasis>TAP</emphasis> interface</title>
+	    <cmdsynopsis>
+	      <command># VBoxAddIF vbox0 luser1 br0</command>
+	      <command># VBoxAddIF vbox1 luser2</command>
+	    </cmdsynopsis>
+	  </figure>
+	  These interfaces can be removed using the
+	  <command>VBoxDeleteIF</command> command.
+	</para>
+	<para>
+	  You can of course create multiple interfaces per user, but
+	  interfaces must have unique names.
+	</para>
+      </section>
+      <section><title><command>ifup</command> /
+	  <command>ifdown</command></title>
+	<para>
+	  Starting with version 1.5.6-3, the virtualbox-ose package
+	  contains helper scripts that allow <emphasis>TAP</emphasis>
+	  interfaces for host-based networking to be configured from
+	  <filename>/etc/network/interfaces</filename>. The names for
+	  such interfaces must start with <code>vbox</code>. The
+	  owner <!-- and group --> for this interface can be set using
+	  the <code>virtualbox-user</code> <!-- and
+	  <code>virtualbox-group</code>keywords respectively.-->
+	  keyword.
+	  <figure>
+	    <title>Configuration of <emphasis>TAP</emphasis> interface
+	    for VirtualBox</title>
+	    <para>
+	      <programlisting>
+iface vbox0 inet static
+	address 192.168.3.1
+	netmask 255.255.255.0
+	virtualbox-user luser
+<!-- #virtualbox-group vboxusers -->
+	      </programlisting>
+	    </para>
+	  </figure>
+	</para>
+	<!-- FIXME: Bridging -->
+      </section>
+    </section>
+  </section>
+  <section>
+    <title>Incompatibilities with previous versions</title>
+    <para>
+      Unfortunately, the configuration files between version version
+      1.4.0-svn4130 and 1.5.0 the configuration files are
+      incompatible. In order to fix this issue please delete the
+      complete <command><![CDATA[<Uart>]]></command> section in any
+      <filename>~/.VirtualBox/Machines/NAME/NAME.xml</filename> files.
+    </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>
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.dirs
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.dirs
@@ -0,0 +1,5 @@
+usr/bin
+usr/lib/virtualbox
+usr/share/virtualbox
+usr/share/icons
+etc/vbox
--- virtualbox-ose-1.6.6-dfsg.orig/debian/control
+++ virtualbox-ose-1.6.6-dfsg/debian/control
@@ -0,0 +1,131 @@
+Source: virtualbox-ose
+Section: misc
+Priority: extra
+Maintainer: Debian Virtualbox Team <pkg-virtualbox-devel@lists.alioth.debian.org>
+Uploaders: Philipp Hug <debian@hug.cx>,
+           Marvin Stark <marv@der-marv.de>,
+           Michael Meskes <meskes@debian.org>,
+           Patrick Winnertz <winnie@debian.org>,
+           Daniel Baumann <daniel@debian.org>,
+           Hilko Bengen <bengen@debian.org>
+Build-Depends: debhelper,
+               dpatch,
+               bcc,
+               bzip2,
+               ia32-libs [amd64],
+               iasl,
+               kbuild,
+               libacl1-dev,
+               libasound-dev,
+	       libc6-dev-i386 [amd64],
+               libhal-dev,
+               libidl-dev,
+               libqt3-mt-dev,
+               libsdl1.2-dev,
+               libxslt1-dev,
+               uuid-dev,
+               yasm (>= 0.7.0),
+               libpulse-dev,
+               po-debconf (>= 0.5.0),
+               docbook-xsl,
+               xsltproc,
+               lynx,
+               docbook-xml
+Standards-Version: 3.8.0
+Homepage: http://www.virtualbox.org/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-virtualbox/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-virtualbox/trunk
+
+Package: virtualbox-ose
+Architecture: amd64 i386 lpia
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         adduser
+Pre-Depends: debconf | debconf-2.0
+Recommends: virtualbox-ose-modules
+Suggests: virtualbox-ose-source, bridge-utils
+Conflicts: virtualbox
+Replaces: virtualbox
+Provides: virtualbox
+Description: x86 virtualization solution - 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 the Open Source Edition of
+ VirtualBox. The virtualbox-ose-source package is also required in order to
+ compile the kernel modules needed for virtualbox-ose.
+
+Package: virtualbox-ose-dbg
+Section: devel
+Priority: extra
+Architecture: amd64 i386 lpia
+Depends: ${misc:Depends},
+         virtualbox-ose (= ${binary:Version})
+Description: x86 virtualization solution - debugging symbols
+ 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 debugging symbols for the Open Source Edition of
+ VirtualBox.
+
+Package: virtualbox-ose-source
+Architecture: all
+Depends: ${misc:Depends},
+         debhelper (>= 5),
+         dpatch,
+         bzip2,
+         kbuild
+Recommends: module-assistant
+Conflicts: virtualbox-source
+Replaces: virtualbox-source
+Provides: virtualbox-source
+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-ose package is also required in order to make use of these
+ modules. Kernel sources or headers are required to compile this module.
+
+Package: virtualbox-ose-guest-source
+Architecture: all
+Depends: ${misc:Depends},
+         debhelper (>= 5),
+         dpatch,
+         bzip2,
+         kbuild
+Recommends: module-assistant
+Description: x86 virtualization solution - guest addition 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 guest addition kernel
+ modules. The virtualbox-ose-guest-utils package is also required in order to
+ make use of these modules. Kernel sources or headers are required to compile
+ these modules.
+
+Package: virtualbox-ose-guest-utils
+Architecture: i386 lpia
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         pciutils
+Recommends: virtualbox-ose-guest-modules,
+            xserver-xorg-core (>= 2:1.1)
+Suggests: virtualbox-ose-guest-source
+Provides: xserver-xorg-video-1.0,
+          xserver-xorg-input-1.0
+Description: x86 virtualization solution - 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 guest utilities of the Open Source Edition of
+ VirtualBox. These utilities are meant to be run inside the virtual machine.
+ They provide closer integration (e.g. mouse pointer, time synchronization),
+ improve the interactive performance (e.g. better video support), and allow to
+ share data through shared folders between the host system and the virtual
+ machine.
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.preinst.in
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.preinst.in
@@ -0,0 +1,21 @@
+#!/bin/sh -e
+
+new=UPSTREAM
+old=`echo $2 | cut -f1 -d"-"`
+
+. /usr/share/debconf/confmodule
+
+if [ "$1" = "upgrade" -a "$new" != "$old" ]; then
+	db_title Upgrading virtualbox-ose
+	db_fset virtualbox-ose/upstream_version_change seen false
+	db_input high virtualbox-ose/upstream_version_change || true
+	db_go
+	db_get virtualbox-ose/upstream_version_change || true
+	if [ "$RET" = false ]; then
+		db_stop
+		exit 1
+	fi
+	db_stop
+fi
+
+#DEBHELPER#
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-source.dirs
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-source.dirs
@@ -0,0 +1 @@
+usr/src/modules/virtualbox-ose/debian
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.menu
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.menu
@@ -0,0 +1,4 @@
+?package(virtualbox-ose):needs="X11" section="Apps/Emulators"\
+  title="VirtualBox OSE" longtitle="PC virtualization solution"\
+  description="Run several virtual systems on a single host computer"\
+  command="/usr/bin/virtualbox" icon="/usr/share/pixmaps/virtualbox-ose.xpm"
--- virtualbox-ose-1.6.6-dfsg.orig/debian/rules
+++ virtualbox-ose-1.6.6-dfsg/debian/rules
@@ -0,0 +1,169 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpatch/dpatch.make
+
+# some default definitions, important!
+#
+# Name of the source packages
+psource:=virtualbox-ose-source
+gsource:=virtualbox-ose-guest-source
+
+# The short upstream name
+sname:=virtualbox-ose
+gname:=virtualbox-ose-guest
+uname:=virtualbox-ose-guest-utils
+
+MAKE:=kmk
+
+upstreamversion := $(shell dpkg-parsechangelog | sed -n 's/^Version: *\([^-]\+\)-.\+/\1/p')
+
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+
+VBOX_WITH_X11_ADDITIONS :=
+ifeq ($(filter-out i386 lpia,$(DEB_HOST_ARCH)),)
+VBOX_WITH_X11_ADDITIONS := 1
+endif
+
+# Generate README.Debian as text/html ...
+debian/README.Debian.html: debian/virtualbox-ose.README.Debian.xml
+	xsltproc --nonet --stringparam section.autolabel 1 \
+	    -o $@ \
+	    /usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl \
+	    $<
+
+# ... and text/plain
+debian/virtualbox-ose.README.Debian: debian/README.Debian.html
+	chmod 755 debian/lynx-dump-postprocess
+	export LC_ALL=C; lynx -force_html -dump $< | ./debian/lynx-dump-postprocess > $@.tmp
+	mv $@.tmp $@
+
+env.sh: patch-stamp
+	dh_testdir
+	./configure \
+	    --with-linux="/usr" \
+	    --disable-kmods 
+ifeq ($(VBOX_WITH_X11_ADDITIONS),)
+	echo "VBOX_WITH_X11_ADDITIONS=" >>LocalConfig.kmk
+else
+	echo "VBOX_WITH_X11_ADDITIONS=1" >>LocalConfig.kmk
+endif
+
+build: build-stamp
+build-stamp: env.sh
+	dh_testdir
+	# Building package
+	. ./env.sh; $(MAKE) \
+		BUILD_TYPE=release \
+		PATH_OUT=$(abspath out)
+	# make sure VBoxAddIF.sh is built, too
+	$(MAKE) -C src/VBox/Installer/linux $(abspath out/bin/VBoxAddIF.sh) \
+		PATH_OUT=$(abspath out)
+	# and vboxnet.sh
+	$(MAKE) -C src/VBox/Installer/linux $(abspath out/obj/src/VBox/Installer/linux/vboxnet.sh) \
+		PATH_OUT=$(abspath out)
+	touch $@
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	# Cleaning package
+	rm -rf out
+	rm -f AutoConfig.kmk configure.log env.sh LocalConfig.kmk
+	rm -f debian/$(sname).init debian/$(sname).preinst
+	rm -f debian/virtualbox-ose.README.Debian debian/README.Debian.html
+	debconf-updatepo
+	dh_clean
+
+#Rebuild the orig.tar.gz
+dfsg-free: clean
+	rm -rf ./kBuild
+	rm -rf ./tools
+	rm -rf ./src/VBox/Additions/os2
+	rm -rf ./src/VBox/Additions/WINNT
+	rm -f ./src/VBox/HostDrivers/VBoxTAP/VBoxTAP.rc
+	rm -f ./src/VBox/HostDrivers/Support/darwin/load.sh
+	rm -f ./include/VBox/VBoxGuest.inc
+	rm -f ./include/VBox/VBoxGuest16.h
+	rm -f ./include/VBox/VBoxGuest.mac
+	rm -f ./src/libs/xpcom18a4/xpcom/MoreFiles/FSCopyObject.c
+	rm -f ./src/libs/xpcom18a4/xpcom/MoreFiles/FSCopyObject.h
+	rm -rf ./src/libs/ffmpeg-20060710
+	rm -rf ./src/libs/libpng*
+	rm -rf ./src/libs/libxml2*
+	rm -rf ./src/libs/libxslt*
+	rm -rf ./src/libs/zlib*
+	rm -f ./src/VBox/HostServices/SharedClipboard/linux-stub.cpp
+	rm -f ./src/VBox/Additions/linux/xmouse/Imakefile
+	rm -rf ./src/VBox/Additions/linux/selinux-fedora
+	cd ..; mv $(CURDIR) virtualbox-ose-$(upstreamversion)-dfsg; \
+	    tar --exclude .svn --exclude '.git*' --exclude debian \
+	        -czf virtualbox-ose_$(upstreamversion)-dfsg.orig.tar.gz \
+	        virtualbox-ose-$(upstreamversion)-dfsg
+
+# install: DH_OPTIONS=
+install: build debian/virtualbox-ose.README.Debian debian/README.Debian.html
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs
+	# This will get installed into the package by dh_installinit
+	install -m 644 out/obj/src/VBox/Installer/linux/vboxnet.sh debian/$(sname).init
+	# We also need to build a preinst file
+	sed -e 's/UPSTREAM/"$(upstreamversion)"/' < debian/$(sname).preinst.in > debian/$(sname).preinst
+	# Install helper scripts for vbox* interfaces
+	# not available in etch debhelper version
+	# dh_installifupdown -p$(sname)
+
+binary-arch: build install
+	dh_testdir -s
+	dh_testroot -s
+	dh_installchangelogs -s
+	dh_installdocs -s
+	dh_installmenu -s
+	dh_install -s
+	chmod 755 debian/$(sname)/usr/share/virtualbox/VBox.sh
+	-chmod 755 debian/$(uname)/usr/share/virtualbox/x11config.pl
+	-install -m 644 out/bin/additions/vboxvideo_drv_71.so debian/$(uname)/usr/lib/xorg/modules/drivers/vboxvideo_drv.so
+	-install -m 644 out/bin/additions/vboxmouse_drv_71.so debian/$(uname)/usr/lib/xorg/modules/input/vboxmouse_drv.so
+	-install -m 755 out/bin/additions/mountvboxsf debian/$(uname)/sbin/mount.vboxsf
+	-install -m 755 src/VBox/Additions/x11/installer/VBoxRandR.sh debian/$(uname)/usr/bin/VBoxRandR
+	dh_strip -s --dbg-package=$(sname)-dbg -X/usr/share/virtualbox/sdk/bin/xpidl
+	dh_link -s
+	dh_compress -s
+	dh_fixperms -s
+	dh_installudev -s
+	dh_installdebconf -s
+	dh_installinit -s
+	dh_installdeb -s
+	dh_shlibdeps -s
+	dh_gencontrol -s
+	dh_md5sums -s
+	dh_builddeb -s
+
+binary-indep: build install
+	dh_testdir -i
+	dh_testroot -i
+	dh_installchangelogs -i
+	dh_installdocs -i
+	dh_install -i
+	# These files have incorrect permissions, fixing it.
+	chmod 755 debian/$(psource)/usr/src/modules/$(sname)/debian/rules
+	chmod 755 debian/$(gsource)/usr/src/modules/$(gname)/debian/rules
+	dh_link -i
+	# Create .tar.bz2 for virtualbox*source
+	cd debian/$(psource)/usr/src && \
+	    tar -cjf $(sname).tar.bz2 modules && \
+	    rm -rf modules
+	cd debian/$(gsource)/usr/src && \
+	    tar -cjf $(gname).tar.bz2 modules && \
+	    rm -rf modules
+	dh_compress -i
+	dh_fixperms -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+binary: binary-arch binary-indep
+.PHONY: patch unpatch \
+	build clean binary-arch binary-indep binary install \
+	binary-modules kdist kdist_configure kdist_image kdist_clean
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-guest-source.README.Debian
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-guest-source.README.Debian
@@ -0,0 +1,23 @@
+virtualbox-ose for Debian
+-------------------------
+
+The Debian virtualbox-ose-guest-source package can be used in several ways,
+
+ - Using module-assistant(8) commands provided by the module-assistant Debian
+   package:
+
+	# module-assistant prepare virtualbox-ose-guest
+	# module-assistant auto-install virtualbox-ose-guest
+
+ - 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
+
+The way the device node is created is kind of ugly, but follows upstream's way.
+http://blino.org/blog/mandriva/kernel/register_vboxadd_device.html suggest a
+better way that might get integrated into the package later on.
+
+ -- Michael Meskes <meskes@debian.org>  Sun, 04 Nov 2007 17:32:10 +0100
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-guest-source.files/Makefile
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-guest-source.files/Makefile
@@ -0,0 +1,3 @@
+.NOTPARALLEL:
+
+obj-m = vboxadd/ vboxvfs/
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-guest-source.files/control.modules.in
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-guest-source.files/control.modules.in
@@ -0,0 +1,25 @@
+Source: virtualbox-ose
+Section: misc
+Priority: optional
+Maintainer: Debian Virtualbox Team <pkg-virtualbox-devel@lists.alioth.debian.org>
+Uploaders: Philipp Hug <debian@hug.cx>, Marvin Stark <marv@der-marv.de>, Michael Meskes <meskes@debian.org>, Patrick Winnertz <winnie@debian.org>, Daniel Baumann <daniel@debian.org>, Hilko Bengen <bengen@debian.org>
+Build-Depends: debhelper (>= 5), dpatch, kbuild
+Standards-Version: 3.7.3
+Homepage: http://www.virtualbox.org/
+Vcs-Svn: svn://svn.debian.org/svn/pkg-virtualbox/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-virtualbox/trunk
+
+Package: virtualbox-ose-guest-modules-_KVERS_
+Architecture: i386
+Depends: linux-modules-_KVERS_ | linux-image-_KVERS_
+Recommends: virtualbox-ose-guest-utils
+Provides: virtualbox-ose-guest-modules
+Description: VirtualBox guest addition modules for Linux (kernel _KVERS_)
+ This package contains the set of loadable kernel modules for VirtualBox Guest Additions.
+ .
+ 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-ose-guest-modules. The virtualbox-ose-guest-source package has been
+ provided for use with the Debian's module-assistant or kernel-package
+ utilities to produce a version of virtualbox-ose-guest-modules for your kernel.
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-guest-source.files/postinst.modules.in
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-guest-source.files/postinst.modules.in
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+set -e
+
+dev=/dev/vboxadd
+
+#DEBHELPER#
+
+case "${1}" in
+	configure)
+		if [ -x /etc/init.d/udev ]; then
+			if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
+				invoke-rc.d udev reload || /bin/true
+			else
+				/etc/init.d/udev reload || /bin/true
+			fi
+		fi
+		;;
+
+	abort-upgrade|abort-deconfigure|abort-remove)
+
+		;;
+
+	*)
+		echo "${0} called with unknown argument \`${1}'" 1>&2
+		exit 1
+		;;
+esac
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-guest-source.files/rules
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-guest-source.files/rules
@@ -0,0 +1,68 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpatch/dpatch.make
+
+# The short upstream name, used for the module source directory
+uname:=virtualbox-ose-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-ose-guest-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
+
+MAKE:=kmk
+
+clean:
+	$(MAKE) -C vboxadd clean
+	$(MAKE) -C vboxvfs clean
+	dh_clean
+
+binary-modules: prep-deb-files
+	dh_testroot
+	dh_clean -k
+	# Build the modules
+	$(MAKE) -C $(KSRC) M=$(CURDIR)
+	# Install the modules
+	dh_install vboxadd/vboxadd.ko /lib/modules/$(KVERS)/misc/
+	dh_install vboxvfs/vboxvfs.ko /lib/modules/$(KVERS)/misc/
+	dh_installdocs
+	dh_installchangelogs
+	dh_compress
+	dh_fixperms
+	dh_installmodules
+	dh_installdeb
+	dh_gencontrol -- -v$(VERSION)
+	dh_md5sums
+	dh_builddeb --destdir=$(DEB_DESTDIR)
+	dh_clean -k
+
+.PHONY: build clean binary-arch binary-indep binary install binary-modules kdist kdist_configure kdist_image kdist_clean
--- virtualbox-ose-1.6.6-dfsg.orig/debian/lintian/virtualbox-ose
+++ virtualbox-ose-1.6.6-dfsg/debian/lintian/virtualbox-ose
@@ -0,0 +1,24 @@
+virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxC.so
+virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxREM.so
+virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxVMM.so
+virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxXML.so
+virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxSVCM.so
+virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxDDU.so
+virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxDD2.so
+virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxDD.so
+virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxRT.so
+virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxSettings.so
+virtualbox-ose: unstripped-binary-or-object ./usr/lib/virtualbox/VBoxDD2GC.gc
+virtualbox-ose: unstripped-binary-or-object ./usr/lib/virtualbox/VBoxDD2R0.r0
+virtualbox-ose: unstripped-binary-or-object ./usr/lib/virtualbox/VBoxDDGC.gc
+virtualbox-ose: unstripped-binary-or-object ./usr/lib/virtualbox/VBoxDDR0.r0
+virtualbox-ose: unstripped-binary-or-object ./usr/lib/virtualbox/VMMGC.gc
+virtualbox-ose: unstripped-binary-or-object ./usr/lib/virtualbox/VMMR0.r0
+virtualbox-ose: unstripped-binary-or-object ./usr/lib/virtualbox/testcase/tstLdrObj.gc
+virtualbox-ose: unstripped-binary-or-object ./usr/lib/virtualbox/testcase/tstLdrObjR0.r0
+virtualbox-ose: unstripped-binary-or-object ./usr/lib/virtualbox/tstMicroGC.gc
+virtualbox-ose: unstripped-binary-or-object ./usr/lib/virtualbox/VBoxREM2.rel
+virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxSharedClipboard.so
+virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxSharedFolders.so
+virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxSharedOpenGL.so
+virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxKeyboard.so
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-guest-utils.install
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-guest-utils.install
@@ -0,0 +1,5 @@
+out/bin/additions/vboxadd-timesync /usr/sbin
+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
+src/VBox/Additions/x11/installer/vboxvideo.ids /usr/share/xserver-xorg/pci
--- virtualbox-ose-1.6.6-dfsg.orig/debian/lynx-dump-postprocess
+++ virtualbox-ose-1.6.6-dfsg/debian/lynx-dump-postprocess
@@ -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";
+  }
+}
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose-guest-source.dirs
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose-guest-source.dirs
@@ -0,0 +1,5 @@
+usr/src/modules/virtualbox-ose-guest/debian
+usr/src/modules/virtualbox-ose-guest/include/iprt
+usr/src/modules/virtualbox-ose-guest/include/VBox
+usr/src/modules/virtualbox-ose-guest/include/internal
+usr/src/modules/virtualbox-ose-guest/r0drv/linux
--- virtualbox-ose-1.6.6-dfsg.orig/debian/virtualbox-ose.udev
+++ virtualbox-ose-1.6.6-dfsg/debian/virtualbox-ose.udev
@@ -0,0 +1 @@
+KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="vboxusers", MODE="0660"
--- virtualbox-ose-1.6.6-dfsg.orig/debian/po/POTFILES.in
+++ virtualbox-ose-1.6.6-dfsg/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] virtualbox-ose.templates
--- virtualbox-ose-1.6.6-dfsg.orig/debian/po/de.po
+++ virtualbox-ose-1.6.6-dfsg/debian/po/de.po
@@ -0,0 +1,34 @@
+# German translation of virtualbox-ose debconf templates.
+# Copyright (C) 2008 Michael Meskes <meskes@debian.org>
+# This file is distributed under the same license as the virtualbox-ose package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: virtualbox-ose-1.5.4-dfsg-2\n"
+"Report-Msgid-Bugs-To: virtualbox-ose@packages.debian.org\n"
+"POT-Creation-Date: 2008-02-03 17:53+0100\n"
+"PO-Revision-Date: 2008-01-07 17:16+0100\n"
+"Last-Translator: Michael Meskes <meskes@debian.org>\n"
+"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid "Proceed with virtualbox-ose upgrade despite losing snapshots?"
+msgstr ""
+"Mit der Aktualisierung fortfahren obwohl alle Snapshots verloren gehen?"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid ""
+"You are currently upgrading virtualbox-ose to a new upstream version. All "
+"snapshots will be discarded by this upgrade, because snapshots are version-"
+"specific."
+msgstr ""
+"Sie aktualisieren virtualbox-ose gerade auf eine neue Entwicklerversion. "
+"Alle Snapshots werden durch diese Aktualisierung unbrauchbar, da Snapshots "
+"versionsabhängig sind."
--- virtualbox-ose-1.6.6-dfsg.orig/debian/po/es.po
+++ virtualbox-ose-1.6.6-dfsg/debian/po/es.po
@@ -0,0 +1,61 @@
+# Spanish translation of virtualbox-ose debconf templates.
+# Copyright (C) 2008 Software in the Public Interest, SPI Inc.
+# This file is distributed under the same license as the virtualbox-ose package.
+#
+# Changes:
+# - Initial translation
+#       Fernando C. Estrada , 2008
+#
+#  Traductores, si no conoce el formato PO, merece la pena leer la
+#  documentación de gettext, especialmente las secciones dedicadas a este
+#  formato, por ejemplo ejecutando:
+#         info -n '(gettext)PO Files'
+#         info -n '(gettext)Header Entry'
+#
+# Equipo de traducción al español, por favor lean antes de traducir
+# los siguientes documentos:
+#
+# - El proyecto de traducción de Debian al español
+#   http://www.debian.org/intl/spanish/
+#   especialmente las notas y normas de traducción en
+#   http://www.debian.org/intl/spanish/notas
+#
+# - La guía de traducción de po's de debconf:
+#   /usr/share/doc/po-debconf/README-trans
+#   o http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+# Si tiene dudas o consultas sobre esta traducción consulte con el último
+# traductor (campo Last-Translator) y ponga en copia a la lista de
+# traducción de Debian al español (<debian-l10n-spanish@lists.debian.org>)
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: virtualbox-ose 1.5.4-dfsg-4\n"
+"Report-Msgid-Bugs-To: virtualbox-ose@packages.debian.org\n"
+"POT-Creation-Date: 2008-02-17 19:09+0100\n"
+"PO-Revision-Date: 2008-02-17 10:13-0600\n"
+"Last-Translator: Fernando C. Estrada <fcestrada@fcestrada.com>\n"
+"Language-Team: Debian Spanish <debian-l10n-spanish@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid "Proceed with virtualbox-ose upgrade despite losing snapshots?"
+msgstr ""
+"¿Desea continuar con la actualización de virtualbox-ose, aunque esto "
+"signifique perder sus instantáneas «snapshots»?"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid ""
+"You are currently upgrading virtualbox-ose to a new upstream version. All "
+"snapshots will be discarded by this upgrade, because snapshots are version-"
+"specific."
+msgstr ""
+"Está actualizando virtualbox-ose a una nueva versión «upstream». Todas las "
+"instantáneas «snapshots» serán descartadas en esta actualización, por "
+"tratarse de instantáneas «snapshots» de una versión específica."
--- virtualbox-ose-1.6.6-dfsg.orig/debian/po/fi.po
+++ virtualbox-ose-1.6.6-dfsg/debian/po/fi.po
@@ -0,0 +1,36 @@
+# Finnish translation of virtualbox-ose debconf templates.
+# 2008 Esko Arajärvi <edu@iki.fi>
+# This file is distributed under the same license as the virtualbox-ose package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: virtualbox-ose\n"
+"Report-Msgid-Bugs-To: virtualbox-ose@packages.debian.org\n"
+"POT-Creation-Date: 2008-02-04 18:02+0100\n"
+"PO-Revision-Date: 2008-02-04 13:13+0200\n"
+"Last-Translator: Esko Arajärvi <edu@iki.fi>\n"
+"Language-Team: Finnish <debian-l10n-finnish@lists.debia.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Finnish\n"
+"X-Poedit-Country: FINLAND\n"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid "Proceed with virtualbox-ose upgrade despite losing snapshots?"
+msgstr ""
+"Jatketaanko virtualbox-osen päivitystä, vaikka tilannevedokset menetetään?"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid ""
+"You are currently upgrading virtualbox-ose to a new upstream version. All "
+"snapshots will be discarded by this upgrade, because snapshots are version-"
+"specific."
+msgstr ""
+"Olet päivittämässä virtualbox-osea uuteen versioon. Kaikki olemassa olevat "
+"tilannevedokset hylätään päivityksen toimesta, koska ne ovat "
+"versiospesifisiä."
--- virtualbox-ose-1.6.6-dfsg.orig/debian/po/gl.po
+++ virtualbox-ose-1.6.6-dfsg/debian/po/gl.po
@@ -0,0 +1,34 @@
+# Galician translation of virtualbox-ose debconf templates.
+# 2008 Jacobo Tarrio <jtarrio@debian.org>
+# This file is distributed under the same license as the virtualbox-ose package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: virtualbox-ose\n"
+"Report-Msgid-Bugs-To: virtualbox-ose@packages.debian.org\n"
+"POT-Creation-Date: 2008-02-04 18:02+0100\n"
+"PO-Revision-Date: 2008-02-03 17:17+0000\n"
+"Last-Translator: Jacobo Tarrio <jtarrio@debian.org>\n"
+"Language-Team: Galician <proxecto@trasno.net>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid "Proceed with virtualbox-ose upgrade despite losing snapshots?"
+msgstr ""
+"¿Quere continuar a actualización de virtualbox-ose aínda que perda as "
+"instantáneas?"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid ""
+"You are currently upgrading virtualbox-ose to a new upstream version. All "
+"snapshots will be discarded by this upgrade, because snapshots are version-"
+"specific."
+msgstr ""
+"Está a actualizar virtualbox-ose a unha nova versión. Esta actualización ha "
+"eliminar tódalas instantáneas, xa que as instantáneas dependen da versión."
--- virtualbox-ose-1.6.6-dfsg.orig/debian/po/ja.po
+++ virtualbox-ose-1.6.6-dfsg/debian/po/ja.po
@@ -0,0 +1,33 @@
+# Japanese translation of virtualbox-ose debconf templates.
+# 2008 Hideki Yamane <henrich@debian.or.jp>
+# This file is distributed under the same license as the virtualbox-ose package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: virtualbox-ose 1.5.4-dfsg-4\n"
+"Report-Msgid-Bugs-To: virtualbox-ose@packages.debian.org\n"
+"POT-Creation-Date: 2008-02-17 19:09+0100\n"
+"PO-Revision-Date: 2008-02-09 00:26+0900\n"
+"Last-Translator: Hideki Yamane (Debian-JP) <henrich@debian.or.jp>\n"
+"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid "Proceed with virtualbox-ose upgrade despite losing snapshots?"
+msgstr "スナップショットを失いますが、virtualbox-ose をアップグレードしますか?"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid ""
+"You are currently upgrading virtualbox-ose to a new upstream version. All "
+"snapshots will be discarded by this upgrade, because snapshots are version-"
+"specific."
+msgstr ""
+"現在、virtualbox-ose を新しいバージョンにアップグレードしようとしています。ス"
+"ナップショットはバージョン依存であるため、このアップグレードによって全てのス"
+"ナップショットは破棄されます。"
--- virtualbox-ose-1.6.6-dfsg.orig/debian/po/fr.po
+++ virtualbox-ose-1.6.6-dfsg/debian/po/fr.po
@@ -0,0 +1,36 @@
+# French translation of virtualbox-ose debconf templates.
+# Copyright (C) 2008 David Kremer <david.kremer.dk@gmail.com>
+# This file is distributed under the same license as the virtualbox-ose package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: virtualbox-ose-20080204.relu-bubulle\n"
+"Report-Msgid-Bugs-To: virtualbox-ose@packages.debian.org\n"
+"POT-Creation-Date: 2008-02-04 18:02+0100\n"
+"PO-Revision-Date: 2008-02-06 23:37+0100\n"
+"Last-Translator: David Kremer <david.kremer.dk@gmail.com>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid "Proceed with virtualbox-ose upgrade despite losing snapshots?"
+msgstr ""
+"Faut-il mettre virtualbox-ose à jour malgré une perte possible des sessions "
+"enregistrées (« snapshots ») ?"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid ""
+"You are currently upgrading virtualbox-ose to a new upstream version. All "
+"snapshots will be discarded by this upgrade, because snapshots are version-"
+"specific."
+msgstr ""
+"Vous êtes en train de mettre virtualbox-ose à jour. Toutes les sessions "
+"enregistrées (« snapshots ») deviendront inutilisables après cette mise à "
+"jour, car celles-ci sont spécifiques à chaque version."
--- virtualbox-ose-1.6.6-dfsg.orig/debian/po/cs.po
+++ virtualbox-ose-1.6.6-dfsg/debian/po/cs.po
@@ -0,0 +1,33 @@
+# Czech translation of virtualbox-ose debconf messages.
+# 2008 Miroslav Kure <kurem@debian.cz>
+# This file is distributed under the same license as the virtualbox-ose package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: virtualbox-ose\n"
+"Report-Msgid-Bugs-To: virtualbox-ose@packages.debian.org\n"
+"POT-Creation-Date: 2008-02-04 18:02+0100\n"
+"PO-Revision-Date: 2008-02-04 21:57+0100\n"
+"Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
+"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid "Proceed with virtualbox-ose upgrade despite losing snapshots?"
+msgstr "Pokračovat v aktualizaci virtualbox-ose i přes ztrátu snímků?"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid ""
+"You are currently upgrading virtualbox-ose to a new upstream version. All "
+"snapshots will be discarded by this upgrade, because snapshots are version-"
+"specific."
+msgstr ""
+"Právě aktualizujete virtualbox-ose na novou hlavní verzi. Všechny snímky "
+"budou při této aktualizaci zahozeny, protože formát snímků se mezi verzemi "
+"liší."
--- virtualbox-ose-1.6.6-dfsg.orig/debian/po/ru.po
+++ virtualbox-ose-1.6.6-dfsg/debian/po/ru.po
@@ -0,0 +1,36 @@
+# Russian translation of virtualbox-ose debconf templates.
+# 2008 Yuri Kozlov <kozlov.y@gmail.com>
+# This file is distributed under the same license as the virtualbox-ose package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: 1.5.4-dfsg-3\n"
+"Report-Msgid-Bugs-To: virtualbox-ose@packages.debian.org\n"
+"POT-Creation-Date: 2008-02-17 19:09+0100\n"
+"PO-Revision-Date: 2008-02-05 20:59+0300\n"
+"Last-Translator: Yuri Kozlov <kozlov.y@gmail.com>\n"
+"Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+"Plural-Forms:  nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%"
+"10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid "Proceed with virtualbox-ose upgrade despite losing snapshots?"
+msgstr "Продолжить обновление virtualbox-ose несмотря на потерю снапшотов?"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid ""
+"You are currently upgrading virtualbox-ose to a new upstream version. All "
+"snapshots will be discarded by this upgrade, because snapshots are version-"
+"specific."
+msgstr ""
+"Производится обновление virtualbox-ose до новой оригинальной версии. Все "
+"снапшоты при обновлении будут удалены, так как они работают только в старой "
+"версии."
--- virtualbox-ose-1.6.6-dfsg.orig/debian/po/it.po
+++ virtualbox-ose-1.6.6-dfsg/debian/po/it.po
@@ -0,0 +1,34 @@
+# Italian translation of virtualbox-ose debconf templates.
+# 2008 Luca Monducci <luca.mo@tiscali.it>
+# Copyright (C) 2008 Free Software Foundation, Inc.
+# This file is distributed under the same license as the virtualbox-ose package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: virtualbox-ose 1.5.4\n"
+"Report-Msgid-Bugs-To: virtualbox-ose@packages.debian.org\n"
+"POT-Creation-Date: 2008-02-17 19:09+0100\n"
+"PO-Revision-Date: 2008-02-15 21:02+0100\n"
+"Last-Translator: Luca Monducci <luca.mo@tiscali.it>\n"
+"Language-Team: Italian <debian-l10n-italian@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid "Proceed with virtualbox-ose upgrade despite losing snapshots?"
+msgstr "Aggiornare virtualbox-ose nonostante la perdita degli snapshot?"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid ""
+"You are currently upgrading virtualbox-ose to a new upstream version. All "
+"snapshots will be discarded by this upgrade, because snapshots are version-"
+"specific."
+msgstr ""
+"Si sta aggiornando virtualbox-ose a una nuova versione. Con questo "
+"aggiornamento tutti gli attuali snapshot diventano inutilizzabili poiché gli "
+"snapshot sono specifici di una versione."
--- virtualbox-ose-1.6.6-dfsg.orig/debian/po/sv.po
+++ virtualbox-ose-1.6.6-dfsg/debian/po/sv.po
@@ -0,0 +1,38 @@
+# Swedish translation of virtualbox-ose debconf templates.
+# Copyright (C) 2008 Martin Ågren <martin.agren@gmail.com>
+# This file is distributed under the same license as the virtualbox-ose package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: virtualbox-ose_1.6.2-dfsg-3_sv\n"
+"Report-Msgid-Bugs-To: virtualbox-ose@packages.debian.org\n"
+"POT-Creation-Date: 2008-02-17 19:22+0100\n"
+"PO-Revision-Date: 2008-07-24 08:36+0200\n"
+"Last-Translator: Martin Ågren <martin.agren@gmail.com>\n"
+"Language-Team: Swedish <debian-l10n-swedish@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+"Plural-Forms:  nplurals=2; plural=(n != 1);\n"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid "Proceed with virtualbox-ose upgrade despite losing snapshots?"
+msgstr ""
+"Fortsätt med uppgradering av virtualbox-ose trots att ögonblicksbilder "
+"kommer förloras?"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid ""
+"You are currently upgrading virtualbox-ose to a new upstream version. All "
+"snapshots will be discarded by this upgrade, because snapshots are version-"
+"specific."
+msgstr ""
+"Du uppgraderar just nu virtualbox-ose till en ny uppströmsversion. "
+"Alla ögonblicksbilder kommer raderas av denna uppgradering "
+"eftersom ögonblicksbilder är versionsspecifika."
+
--- virtualbox-ose-1.6.6-dfsg.orig/debian/po/eu.po
+++ virtualbox-ose-1.6.6-dfsg/debian/po/eu.po
@@ -0,0 +1,35 @@
+# Euskarian translation of virtualbox-ose debconf templates.
+# 2008 Piarres Beobide <pi@beobide.net>
+# This file is distributed under the same license as the virtualbox-ose package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: eu\n"
+"Report-Msgid-Bugs-To: virtualbox-ose@packages.debian.org\n"
+"POT-Creation-Date: 2008-02-04 18:02+0100\n"
+"PO-Revision-Date: 2008-02-14 22:17+0100\n"
+"Last-Translator: Piarres Beobide <pi@beobide.net>\n"
+"Language-Team: Euskara <Librezale@librezale.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid "Proceed with virtualbox-ose upgrade despite losing snapshots?"
+msgstr ""
+"Virtualbox-ose bertsio-berritzearekin jarraitu nahiz egoera-argazkiak galdu?"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid ""
+"You are currently upgrading virtualbox-ose to a new upstream version. All "
+"snapshots will be discarded by this upgrade, because snapshots are version-"
+"specific."
+msgstr ""
+"Une honetan virtualbox-ose jatorrizko bertsio berri batetara bertsio-"
+"berritzen ari zara. Egoera argazki guztiak ezingo dira erabili bertsio berri "
+"honekin egoera-argazkiak bertsio zehatz batetararako dira eta."
--- virtualbox-ose-1.6.6-dfsg.orig/debian/po/templates.pot
+++ virtualbox-ose-1.6.6-dfsg/debian/po/templates.pot
@@ -0,0 +1,30 @@
+# LANGUAGE translation of virtualbox-ose debconf templates.
+# Copyright (C) 2008 FULL NAME <EMAIL@ADDRESS>
+# This file is distributed under the same license as the virtualbox-ose package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: virtualbox-ose@packages.debian.org\n"
+"POT-Creation-Date: 2008-02-17 19:22+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid "Proceed with virtualbox-ose upgrade despite losing snapshots?"
+msgstr ""
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid ""
+"You are currently upgrading virtualbox-ose to a new upstream version. All "
+"snapshots will be discarded by this upgrade, because snapshots are version-"
+"specific."
+msgstr ""
--- virtualbox-ose-1.6.6-dfsg.orig/debian/po/pt_BR.po
+++ virtualbox-ose-1.6.6-dfsg/debian/po/pt_BR.po
@@ -0,0 +1,37 @@
+# Brazilian Portuguese translation of virtualbox-ose debconf templates.
+# 2008 Eder L. Marques <frolic@debian-ce.org>
+# This file is distributed under the same license as the virtualbox-ose package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: virtualbox-ose 1.5.4-dfsg-3\n"
+"Report-Msgid-Bugs-To: virtualbox-ose@packages.debian.org\n"
+"POT-Creation-Date: 2008-02-04 18:02+0100\n"
+"PO-Revision-Date: 2008-02-08 15:53-0300\n"
+"Last-Translator: Eder L. Marques (frolic) <frolic@debian-ce.org>\n"
+"Language-Team: l10n Portuguese <debian-l10n-portuguese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"pt_BR utf-8\n"
+"X-Generator: KBabel 1.11.4\n"
+"Plural-Forms:  nplurals=2; plural=(n > 1);\n"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid "Proceed with virtualbox-ose upgrade despite losing snapshots?"
+msgstr ""
+"Proceder com a atualização do virtualbox-ose mesmo perdendo os snapshots?"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid ""
+"You are currently upgrading virtualbox-ose to a new upstream version. All "
+"snapshots will be discarded by this upgrade, because snapshots are version-"
+"specific."
+msgstr ""
+"Você está atualmente atualizando o virtualbox-ose para uma nova versão do "
+"desenvolvedor (\"upstream version\"). Todos os snapshots serão descartados "
+"por esta atualização, devido eles serem específicos para cada versão."
--- virtualbox-ose-1.6.6-dfsg.orig/debian/po/vi.po
+++ virtualbox-ose-1.6.6-dfsg/debian/po/vi.po
@@ -0,0 +1,36 @@
+# Vietnamese translation of virtualbox-ose debconf templates.
+# 2008 Clytie Siddall <clytie@riverland.net.au>
+# Copyright (C) 2008 Free Software Foundation, Inc.
+# This file is distributed under the same license as the virtualbox-ose package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: virtualbox-ose 1.5.4-dfsg-3\n"
+"Report-Msgid-Bugs-To: virtualbox-ose@packages.debian.org\n"
+"POT-Creation-Date: 2008-02-04 18:02+0100\n"
+"PO-Revision-Date: 2008-02-07 19:52+1030\n"
+"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
+"Language-Team: Vietnamese <vi-VN@googlegroups.com>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: LocFactoryEditor 1.7b1\n"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid "Proceed with virtualbox-ose upgrade despite losing snapshots?"
+msgstr "Tiếp tục nâng cấp virtualbox-ose bất chấp mất bản chụp ảnh không?"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid ""
+"You are currently upgrading virtualbox-ose to a new upstream version. All "
+"snapshots will be discarded by this upgrade, because snapshots are version-"
+"specific."
+msgstr ""
+"Hiện thời bạn đang nâng cấp virtualbox-ose lên một phiên bản gốc mới. Tất cả "
+"các bản chụp ảnh đều sẽ bị hủy trong tiến trình nâng cấp này, vì bản chụp "
+"ảnh có đặc trưng cho phiên bản."
--- virtualbox-ose-1.6.6-dfsg.orig/debian/po/nl.po
+++ virtualbox-ose-1.6.6-dfsg/debian/po/nl.po
@@ -0,0 +1,36 @@
+# Dutch translation of virtualbox-ose debconf templates.
+# 2008 Bart Cornelis <cobaco@skolelinux.no>
+# This file is distributed under the same license as the virtualbox-ose package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: virtualbox-ose\n"
+"Report-Msgid-Bugs-To: virtualbox-ose@packages.debian.org\n"
+"POT-Creation-Date: 2008-02-17 19:09+0100\n"
+"PO-Revision-Date: 2008-02-11 17:53+0100\n"
+"Last-Translator: Bart Cornelis <cobaco@skolelinux.no>\n"
+"Language-Team: debian-l10n-dutch <debian-l10n-dutch@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Dutch\n"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid "Proceed with virtualbox-ose upgrade despite losing snapshots?"
+msgstr ""
+"Wilt u verder gaan met de opwaardering van virtualbox-ose ondanks dat de "
+"bestaande snapshots dan onbruikbaar worden?"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid ""
+"You are currently upgrading virtualbox-ose to a new upstream version. All "
+"snapshots will be discarded by this upgrade, because snapshots are version-"
+"specific."
+msgstr ""
+"U bent bezig virtualbox-ose op te waarderen naar een nieuwe bovenstroomse "
+"versie. Aangezien snapshots versie-specifiek worden alle bestaande snapshots "
+"hierdoor onbruikbaar."
--- virtualbox-ose-1.6.6-dfsg.orig/debian/po/tr.po
+++ virtualbox-ose-1.6.6-dfsg/debian/po/tr.po
@@ -0,0 +1,29 @@
+# Turkish translation of virtualbox-ose debconf messages.
+# Copyright (C) 2008 Mert Dirik <mertdirik@gmail.com>
+# This file is distributed under the same license as the virtualbox-ose package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: virtualbox-ose\n"
+"Report-Msgid-Bugs-To: virtualbox-ose@packages.debian.org\n"
+"POT-Creation-Date: 2008-02-17 19:22+0100\n"
+"PO-Revision-Date: 2008-07-14 00:12+0200\n"
+"Last-Translator: Mert Dirik <mertdirik@gmail.com>\n"
+"Language-Team: Debian L10n Turkish <debian-l10n-turkish@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Poedit-Language: Turkish\n"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid "Proceed with virtualbox-ose upgrade despite losing snapshots?"
+msgstr "Anlık görüntüleri kaybetme pahasına da olsa virtualbox-ose yükseltmesine devam edilsin mi?"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid "You are currently upgrading virtualbox-ose to a new upstream version. All snapshots will be discarded by this upgrade, because snapshots are version-specific."
+msgstr "Şu anda virtualbox-ose paketini yeni bir üst sürüme yükseltiyorsunuz. Anlık görüntüler sürüme özel olduğundan, bu yükseltme işlemi tüm anlık görüntülerden vazgeçilmesine neden olacak."
--- virtualbox-ose-1.6.6-dfsg.orig/debian/po/pt.po
+++ virtualbox-ose-1.6.6-dfsg/debian/po/pt.po
@@ -0,0 +1,34 @@
+# Portuguese translation of virtualbox-ose debconf templates.
+# 2008 Ricardo Silva <ardoric@gmail.com>
+# This file is distributed under the same license as the virtualbox-ose package.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: virtualbox-ose 1.5.4-dfsg-3\n"
+"Report-Msgid-Bugs-To: virtualbox-ose@packages.debian.org\n"
+"POT-Creation-Date: 2008-02-04 18:02+0100\n"
+"PO-Revision-Date: 2008-02-08 20:43+0000\n"
+"Last-Translator: Ricardo Silva <ardoric@gmail.com>\n"
+"Language-Team: Portuguese <traduz@debianpt.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid "Proceed with virtualbox-ose upgrade despite losing snapshots?"
+msgstr ""
+"Continuar a actualização do virtualbox-ose mesmo que vá perder os "
+"'snapshots'?"
+
+#. Type: boolean
+#. Description
+#: ../virtualbox-ose.templates:2001
+msgid ""
+"You are currently upgrading virtualbox-ose to a new upstream version. All "
+"snapshots will be discarded by this upgrade, because snapshots are version-"
+"specific."
+msgstr ""
+"Está a actualizar o virtualbox-ose para uma nova versão 'upstream'. Todos os "
+"'snapshots' serão apagados uma vez que são específicos de cada versão."
--- virtualbox-ose-1.6.6-dfsg.orig/debian/patches/12-make-module.dpatch
+++ virtualbox-ose-1.6.6-dfsg/debian/patches/12-make-module.dpatch
@@ -0,0 +1,39 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 12-make-module.dpatch by Michael Meskes <meskes@debian.org>
+##
+## DP: Fix ARCH setting in module Makefile
+
+@DPATCH@
+
+diff -Naurp virtualbox-ose-1.6.0-dfsg.orig/src/VBox/HostDrivers/Support/linux/Makefile virtualbox-ose-1.6.0-dfsg/src/VBox/HostDrivers/Support/linux/Makefile
+--- virtualbox-ose-1.6.0-dfsg.orig/src/VBox/HostDrivers/Support/linux/Makefile	2008-04-30 14:05:50.000000000 +0000
++++ virtualbox-ose-1.6.0-dfsg/src/VBox/HostDrivers/Support/linux/Makefile	2008-05-09 09:31:52.000000000 +0000
+@@ -43,12 +43,24 @@ ifeq ($(BUILD_TARGET_ARCH),)
+   BUILD_TARGET_ARCH := amd64
+  else
+   ifeq ($(ARCH),i386)
+-   BUILD_TARGET_ARCH := x86
++   ifeq ($(CONFIG_X86_32),y)
++     BUILD_TARGET_ARCH := x86
++   else
++     BUILD_TARGET_ARCH := amd64
++   endif
+   else
+-   ifeq ($(filter-out x86_64 amd64 AMD64,$(shell uname -m)),)
+-    BUILD_TARGET_ARCH := amd64
++   ifeq ($(ARCH),x86)
++    ifeq ($(CONFIG_X86_32),y)
++     BUILD_TARGET_ARCH := x86
++    else
++     BUILD_TARGET_ARCH := amd64
++    endif
+    else
+-    BUILD_TARGET_ARCH := x86
++    ifeq ($(filter-out x86_64 amd64 AMD64,$(shell uname -m)),)
++     BUILD_TARGET_ARCH := amd64
++    else
++     BUILD_TARGET_ARCH := x86
++    endif
+    endif
+   endif
+  endif
--- virtualbox-ose-1.6.6-dfsg.orig/debian/patches/17-tmp-symlink.attack.dpatch
+++ virtualbox-ose-1.6.6-dfsg/debian/patches/17-tmp-symlink.attack.dpatch
@@ -0,0 +1,108 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 16-tmp-symlink-attack.dpatch by Michael Meskes <meskes@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fixing a potential symlink attack
+## DP: rediff the following upstream commits against virtualbox-ose 1.6.6-dfsg-1:
+## DP: - r13788
+## DP: - r13807
+## DP: - r13809
+## DP: - r13810
+
+@DPATCH@
+
+diff -urNad virtualbox-ose-1.6.6-dfsg.orig/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcdUnix.cpp virtualbox-ose-1.6.6-dfsg/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcdUnix.cpp
+--- virtualbox-ose-1.6.6-dfsg.orig/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcdUnix.cpp	2008-11-05 14:43:38.000000000 +0100
++++ virtualbox-ose-1.6.6-dfsg/src/libs/xpcom18a4/ipc/ipcd/daemon/src/ipcdUnix.cpp	2008-11-05 14:44:08.000000000 +0100
+@@ -93,7 +93,7 @@
+     EOk = 0,
+     ELockFileOpen = -1,
+     ELockFileLock = -2,
+-
++    ELockFileOwner = -3,
+ };
+ 
+ static int ipcLockFD = 0;
+@@ -112,16 +112,70 @@
+     lockFile[dirLen] = '/';
+     memcpy(lockFile + dirLen + 1, lockName, sizeof(lockName));
+ 
++#ifdef VBOX
++    //
++    // Security checks for the directory
++    //
++    struct stat st;
++    if (stat(baseDir, &st) == -1)
++    {
++        printf("Cannot stat '%s'.\n", baseDir);
++        return ELockFileOwner;
++    }
++
++    if (st.st_uid != getuid() && st.st_uid != geteuid())
++    {
++        printf("Wrong owner (%d) of '%s'.\n", st.st_uid, baseDir);
++        return ELockFileOwner;
++    }
++
++    if (st.st_mode != (S_IRUSR | S_IWUSR | S_IXUSR | S_IFDIR))
++    {
++        printf("Wrong mode (%o) of '%s'.\n", st.st_mode, baseDir);
++        return ELockFileOwner;
++    }
++#endif
++
+     //
+     // open lock file.  it remains open until we shutdown.
+     //
+     ipcLockFD = open(lockFile, O_WRONLY|O_CREAT, S_IWUSR|S_IRUSR);
+ 
++#ifndef VBOX
+     free(lockFile);
++#endif
+ 
+     if (ipcLockFD == -1)
+         return ELockFileOpen;
+ 
++#ifdef VBOX
++    //
++    // Security checks for the lock file
++    //
++    if (fstat(ipcLockFD, &st) == -1)
++    {
++        printf("Cannot stat '%s'.\n", lockFile);
++        free(lockFile);
++        return ELockFileOwner;
++    }
++
++    if (st.st_uid != getuid() && st.st_uid != geteuid())
++    {
++        printf("Wrong owner (%d) of '%s'.\n", st.st_uid, lockFile);
++        free(lockFile);
++        return ELockFileOwner;
++    }
++
++    if (st.st_mode != (S_IRUSR | S_IWUSR | S_IFREG))
++    {
++        printf("Wrong mode (%o) of '%s'.\n", st.st_mode, lockFile);
++        free(lockFile);
++        return ELockFileOwner;
++    }
++
++    free(lockFile);
++#endif
++
+     //
+     // we use fcntl for locking.  assumption: filesystem should be local.
+     // this API is nice because the lock will be automatically released
+@@ -433,8 +487,9 @@
+             // don't notify the parent to cause it to fail in PR_Read() after
+             // we terminate
+ #ifdef VBOX
+-            printf("Cannot create a lock file for '%s'.\n"
+-                   "Check permissions.\n", addr.local.path);
++            if (status != ELockFileOwner)
++                printf("Cannot create a lock file for '%s'.\n"
++                        "Check permissions.\n", addr.local.path);
+ #endif
+             return 0;
+         }
--- virtualbox-ose-1.6.6-dfsg.orig/debian/patches/03-localconf-kmk.dpatch
+++ virtualbox-ose-1.6.6-dfsg/debian/patches/03-localconf-kmk.dpatch
@@ -0,0 +1,25 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 03-localconf-kmk.dpatch by Patrick Winnertz <patrick.winnertz@skolelinux.org>
+## expanded my Michael Meskes <meskes@debian.org> to set paths
+##
+## DP: Don't build the module for testing and don't build any guest additions.
+## DP: both depends on kernel headers, which are not available atm.
+
+@DPATCH@
+
+diff -Naurp virtualbox-ose-1.6.0-dfsg.orig/LocalConfig.kmk virtualbox-ose-1.6.0-dfsg/LocalConfig.kmk
+--- virtualbox-ose-1.6.0-dfsg.orig/LocalConfig.kmk	1970-01-01 00:00:00.000000000 +0000
++++ virtualbox-ose-1.6.0-dfsg/LocalConfig.kmk	2008-05-09 09:25:16.000000000 +0000
+@@ -0,0 +1,12 @@
++VBOX_WITH_ADDITION_DRIVERS =
++VBOX_ADDITIONS_LINUX_ONLY =
++VBOX_WITH_INSTALLER = 1
++VBOX_WITH_LINUX_ADDITIONS = 1
++VBOX_WITH_TESTCASES =
++VBOX_WITH_TESTSUITE =
++VBOX_WITH_USB =
++VBOX_WITH_REGISTRATION_REQUEST =
++DEFS += RTPATH_APP_DOCS=\"/usr/share/doc/virtualbox\"
++DEFS += RTPATH_APP_PRIVATE_ARCH=\"/usr/lib/virtualbox\"
++DEFS += RTPATH_APP_PRIVATE=\"/usr/share/virtualbox\"
++DEFS += RTPATH_SHARED_LIBS=\"/usr/lib/virtualbox\"
--- virtualbox-ose-1.6.6-dfsg.orig/debian/patches/09-initscript.dpatch
+++ virtualbox-ose-1.6.6-dfsg/debian/patches/09-initscript.dpatch
@@ -0,0 +1,84 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 09-initscript.dpatch by Michael Meskes <meskes@debian.org>
+##
+## DP: Some changes to initscript.
+
+@DPATCH@
+
+diff -Naurp virtualbox-ose-1.6.4-dfsg.orig/src/VBox/Installer/linux/vboxnet.sh.in virtualbox-ose-1.6.4-dfsg/src/VBox/Installer/linux/vboxnet.sh.in
+--- virtualbox-ose-1.6.4-dfsg.orig/src/VBox/Installer/linux/vboxnet.sh.in       2008-08-06 09:28:41.000000000 +0000
++++ virtualbox-ose-1.6.4-dfsg/src/VBox/Installer/linux/vboxnet.sh.in    2008-08-06 09:29:40.000000000 +0000
+@@ -34,7 +34,12 @@
+ TAPDEV="/dev/net/tun"
+ NOLSB=%NOLSB%
+ 
+-[ -f /lib/lsb/init-functions ] || NOLSB=yes
++# Include virtualbox-ose defaults if available
++if [ -f /etc/default/virtualbox-ose ] ; then
++	. /etc/default/virtualbox-ose
++fi
++
++[ -f /lib/lsb/init-functions ] && NOLSB=
+ 
+ if [ -n "$NOLSB" ]; then
+     if [ -f /etc/redhat-release ]; then
+@@ -162,13 +167,6 @@
+     if ! VBoxTunctl -h 2>&1 | grep VBoxTunctl > /dev/null; then
+       failure "VBoxTunctl not found"
+     fi
+-    # Fail if we don't have the kernel tun device
+-    # Make sure that the tun module is loaded (Ubuntu 7.10 needs this)
+-    modprobe tun > /dev/null 2>&1
+-    if ! cat /proc/misc 2>/dev/null | grep tun > /dev/null; then
+-      failure "Linux tun/tap subsystem not available"
+-    fi
+-    succ_msg
+     # Read the configuration file entries line by line and create the
+     # interfaces
+     while read line; do
+@@ -179,6 +177,19 @@
+         # or two non-comment entries, possibly followed by a comment).
+         if ((! expr match "$2" "#" > /dev/null) &&
+             (test -z "$4" || expr match "$4" "#" > /dev/null)); then
++	  if [ "$module_available" != 1 ]
++	  then
++	 	# Fail if we don't have the kernel tun device
++		# Make sure that the tun module is loaded (Ubuntu 7.10 needs this)
++		# We only test this once, but we have to do it here, because otherwise an empty
++		# configuration file would trigger the modprobe too.
++		modprobe tun > /dev/null 2>&1
++		if ! cat /proc/misc 2>/dev/null | grep tun > /dev/null
++		then
++			failure "Linux tun/tap subsystem not available"
++		fi
++		module_available=1
++	  fi
+           # Name our parameters, to make this script slightly less unreadable
+           interface=$1
+           user=$2
+@@ -238,6 +249,7 @@
+       chgrp vboxusers "$TAPDEV"
+       chmod 0660 "$TAPDEV"
+     fi
++    succ_msg
+     return 0
+ }
+ 
+@@ -331,10 +343,17 @@
+ 
+ case "$1" in
+ start)
++    # try to insert module but do not fail if not possible
++    if [ "$LOAD_VBOXDRV_MODULE" = 1 ]; then
++        /sbin/modprobe -q vboxdrv || true
++    fi
+     start_network
+     ;;
+ stop)
+     stop_network
++    if [ "$LOAD_VBOXDRV_MODULE" = 1 ]; then
++    	/sbin/modprobe -qr vboxdrv || true
++    fi
+     ;;
+ restart|reload)
+     stop_network && start_network
--- virtualbox-ose-1.6.6-dfsg.orig/debian/patches/16-fix-for-2.6.27.dpatch
+++ virtualbox-ose-1.6.6-dfsg/debian/patches/16-fix-for-2.6.27.dpatch
@@ -0,0 +1,91 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 16-fix-for-2.6.27.dpatch by  <Sven Hartge <sven@svenhartge.de>>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Fix for 2.6.27
+## DP: Taken from http://www.virtualbox.org/changeset/12360
+
+@DPATCH@
+
+diff -Nur virtualbox-ose-1.6.6-dfsg.old/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c virtualbox-ose-1.6.6-dfsg/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
+--- virtualbox-ose-1.6.6-dfsg.old/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c	2008-08-11 22:03:12.000000000 +0200
++++ virtualbox-ose-1.6.6-dfsg/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c	2008-10-13 13:27:46.000000000 +0200
+@@ -115,44 +115,6 @@
+ # error "CONFIG_X86_HIGH_ENTRY is not supported by VBoxDrv at this time."
+ #endif
+ 
+-/*
+- * This sucks soooo badly on x86! Why don't they export __PAGE_KERNEL_EXEC so PAGE_KERNEL_EXEC would be usable?
+- */
+-#if defined(RT_ARCH_AMD64)
+-# define MY_PAGE_KERNEL_EXEC    PAGE_KERNEL_EXEC
+-#elif defined(PAGE_KERNEL_EXEC) && defined(CONFIG_X86_PAE)
+-# define MY_PAGE_KERNEL_EXEC    __pgprot(cpu_has_pge ? _PAGE_KERNEL_EXEC | _PAGE_GLOBAL : _PAGE_KERNEL_EXEC)
+-#else
+-# define MY_PAGE_KERNEL_EXEC    PAGE_KERNEL
+-#endif
+-
+-/*
+- * The redhat hack section.
+- *  - The current hacks are for 2.4.21-15.EL only.
+- */
+-#ifndef NO_REDHAT_HACKS
+-/* accounting. */
+-# if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
+-#  ifdef VM_ACCOUNT
+-#   define MY_DO_MUNMAP(a,b,c) do_munmap(a, b, c, 0) /* should it be 1 or 0? */
+-#  endif
+-# endif
+-
+-/* backported remap_page_range. */
+-# if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 0)
+-#  include <asm/tlb.h>
+-#  ifdef tlb_vma /* probably not good enough... */
+-#   define HAVE_26_STYLE_REMAP_PAGE_RANGE 1
+-#  endif
+-# endif
+-
+-#endif /* !NO_REDHAT_HACKS */
+-
+-
+-#ifndef MY_DO_MUNMAP
+-# define MY_DO_MUNMAP(a,b,c) do_munmap(a, b, c)
+-#endif
+-
+ 
+ /** @def ONE_MSEC_IN_JIFFIES
+  * The number of jiffies that make up 1 millisecond. Must be at least 1! */
+diff -Nur virtualbox-ose-1.6.6-dfsg.old/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c virtualbox-ose-1.6.6-dfsg/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
+--- virtualbox-ose-1.6.6-dfsg.old/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c	2008-06-25 17:47:32.000000000 +0200
++++ virtualbox-ose-1.6.6-dfsg/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c	2008-10-13 13:28:43.000000000 +0200
+@@ -131,11 +131,10 @@
+         }
+         else
+ # endif
+-            pHdr = (PRTMEMHDR)__vmalloc(cb + sizeof(*pHdr), GFP_KERNEL | __GFP_HIGHMEM, PAGE_KERNEL_EXEC);
++            pHdr = (PRTMEMHDR)__vmalloc(cb + sizeof(*pHdr), GFP_KERNEL | __GFP_HIGHMEM, MY_PAGE_KERNEL_EXEC);
+ 
+ #elif defined(PAGE_KERNEL_EXEC) && defined(CONFIG_X86_PAE)
+-        pHdr = (PRTMEMHDR)__vmalloc(cb + sizeof(*pHdr), GFP_KERNEL | __GFP_HIGHMEM,
+-                                    __pgprot(cpu_has_pge ? _PAGE_KERNEL_EXEC | _PAGE_GLOBAL : _PAGE_KERNEL_EXEC));
++        pHdr = (PRTMEMHDR)__vmalloc(cb + sizeof(*pHdr), GFP_KERNEL | __GFP_HIGHMEM, MY_PAGE_KERNEL_EXEC); 
+ #else
+         pHdr = (PRTMEMHDR)vmalloc(cb + sizeof(*pHdr));
+ #endif
+diff -Nur virtualbox-ose-1.6.6-dfsg.old/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h virtualbox-ose-1.6.6-dfsg/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
+--- virtualbox-ose-1.6.6-dfsg.old/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h	2008-07-29 22:13:57.000000000 +0200
++++ virtualbox-ose-1.6.6-dfsg/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h	2008-10-13 13:30:30.000000000 +0200
+@@ -174,7 +174,12 @@
+ #if defined(RT_ARCH_AMD64)
+ # define MY_PAGE_KERNEL_EXEC    PAGE_KERNEL_EXEC
+ #elif defined(PAGE_KERNEL_EXEC) && defined(CONFIG_X86_PAE)
+-# define MY_PAGE_KERNEL_EXEC    __pgprot(cpu_has_pge ? _PAGE_KERNEL_EXEC | _PAGE_GLOBAL : _PAGE_KERNEL_EXEC)
++# ifdef __PAGE_KERNEL_EXEC 
++   /* >= 2.6.27 */
++#  define MY_PAGE_KERNEL_EXEC   __pgprot(cpu_has_pge ? __PAGE_KERNEL_EXEC | _PAGE_GLOBAL : __PAGE_KERNEL_EXEC) 
++# else 
++#  define MY_PAGE_KERNEL_EXEC   __pgprot(cpu_has_pge ? _PAGE_KERNEL_EXEC | _PAGE_GLOBAL : _PAGE_KERNEL_EXEC)
++# endif 
+ #else
+ # define MY_PAGE_KERNEL_EXEC    PAGE_KERNEL
+ #endif
--- virtualbox-ose-1.6.6-dfsg.orig/debian/patches/07-init-fail.dpatch
+++ virtualbox-ose-1.6.6-dfsg/debian/patches/07-init-fail.dpatch
@@ -0,0 +1,18 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 07-init-fail.dpatch by Michael Meskes <meskes@debian.org>
+##
+## DP: Fix some failures in init script.
+
+@DPATCH@
+
+diff -Naurp virtualbox-ose-1.6.0-dfsg.orig/src/VBox/Installer/linux/vboxnet.sh.in virtualbox-ose-1.6.0-dfsg/src/VBox/Installer/linux/vboxnet.sh.in
+--- virtualbox-ose-1.6.0-dfsg.orig/src/VBox/Installer/linux/vboxnet.sh.in	2008-04-30 14:05:52.000000000 +0000
++++ virtualbox-ose-1.6.0-dfsg/src/VBox/Installer/linux/vboxnet.sh.in	2008-05-09 09:28:11.000000000 +0000
+@@ -49,6 +49,7 @@ fi
+ if [ -z "$NOLSB" ]; then
+     . /lib/lsb/init-functions
+     fail_msg() {
++        [ -f "$VARFILE" ] && rm $VARFILE
+         echo ""
+         log_failure_msg "$1"
+     }
--- virtualbox-ose-1.6.6-dfsg.orig/debian/patches/13-module-mismatch.dpatch
+++ virtualbox-ose-1.6.6-dfsg/debian/patches/13-module-mismatch.dpatch
@@ -0,0 +1,25 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 13-module-mismatch.dpatch by Daniel Baumann <daniel@debian.org>
+##
+## DP: Adjusts failure message with Debian specific solution.
+
+@DPATCH@
+
+diff -Naurp virtualbox-ose-1.6.2-dfsg.orig/src/VBox/VMM/VM.cpp virtualbox-ose-1.6.2-dfsg/src/VBox/VMM/VM.cpp
+--- virtualbox-ose-1.6.2-dfsg.orig/src/VBox/VMM/VM.cpp	2008-05-14 15:09:39.000000000 +0000
++++ virtualbox-ose-1.6.2-dfsg/src/VBox/VMM/VM.cpp	2008-06-23 16:10:30.000000000 +0000
+@@ -293,9 +293,11 @@ VMR3DECL(int)   VMR3Create(PFNVMATERROR 
+                     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-ose-modules package "
++				  "(if available) through apt-get or by building it manually with: "
++				  "module-assistant auto-install virtualbox-ose");
+                     break;
+                 default:
+                     pszError = N_("Unknown error initializing kernel driver");
--- virtualbox-ose-1.6.6-dfsg.orig/debian/patches/06-xsession.dpatch
+++ virtualbox-ose-1.6.6-dfsg/debian/patches/06-xsession.dpatch
@@ -0,0 +1,17 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 06-xsession.dpatch by Michael Meskes <meskes@debian.org>
+##
+## DP: Create a start script in Xsession.d.
+
+@DPATCH@
+
+diff -Naurp virtualbox-ose-1.6.0-dfsg.orig/src/VBox/Additions/x11/installer/98vboxadd-xclient virtualbox-ose-1.6.0-dfsg/src/VBox/Additions/x11/installer/98vboxadd-xclient
+--- virtualbox-ose-1.6.0-dfsg.orig/src/VBox/Additions/x11/installer/98vboxadd-xclient	2008-04-30 14:05:59.000000000 +0000
++++ virtualbox-ose-1.6.0-dfsg/src/VBox/Additions/x11/installer/98vboxadd-xclient	2008-05-09 09:26:59.000000000 +0000
+@@ -17,5 +17,5 @@
+ # additional information or have any questions.
+ #
+ 
+-/usr/bin/VBoxClient
++/usr/bin/VBoxClient || true
+ 
--- virtualbox-ose-1.6.6-dfsg.orig/debian/patches/02-config-kmk.dpatch
+++ virtualbox-ose-1.6.6-dfsg/debian/patches/02-config-kmk.dpatch
@@ -0,0 +1,20 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 02-config-kmk.dpatch by Patrick Winnertz <patrick.winnertz@skolelinux.org>
+##
+## DP: Some patches for Config.kmk to build with the debian tools
+## DP: XPCOM setup for all but win32.
+
+@DPATCH@
+
+diff -Naurp virtualbox-ose-1.6.2-dfsg.orig/Config.kmk virtualbox-ose-1.6.2-dfsg/Config.kmk
+--- virtualbox-ose-1.6.2-dfsg.orig/Config.kmk	2008-05-31 17:22:52.000000000 +0000
++++ virtualbox-ose-1.6.2-dfsg/Config.kmk	2008-06-09 17:40:09.000000000 +0000
+@@ -969,7 +969,7 @@ VBOX_PATH_DIFX ?= $(PATH_DEVTOOLS)/win.$
+ # We need to export YASM for OSE, but since it was converted to .zip we need to
+ # allow for the location used by the zip to be properly cleaned up first.
+ if1of ($(KBUILD_HOST).$(KBUILD_HOST_ARCH),  win.x86 linux.x86 solaris.x86)
+- PATH_TOOL_YASM ?= $(PATH_DEVTOOLS_BLD)/bin
++ PATH_TOOL_YASM ?= /usr/bin
+ endif
+ 
+ # XPCOM setup for all but win32.
--- virtualbox-ose-1.6.6-dfsg.orig/debian/patches/15-rate-limit-PATM-messages.dpatch
+++ virtualbox-ose-1.6.6-dfsg/debian/patches/15-rate-limit-PATM-messages.dpatch
@@ -0,0 +1,36 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 15-rate-limit-PATM-messages.dpatch by Stefan Lippers-Hollmann <s.l-h@gmx.de>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: http://www.virtualbox.de/ticket/1775
+## DP: rediff the following upstream commits against virtualbox-ose 1.6.6-dfsg-1:
+## DP: - r12524
+## DP: - r12525
+## DP: - r12527
+## DP: - r12532
+## DP: - r12534
+
+@DPATCH@
+diff -urNad virtualbox-ose-1.6.6-dfsg~/src/VBox/VMM/PATM/PATM.cpp virtualbox-ose-1.6.6-dfsg/src/VBox/VMM/PATM/PATM.cpp
+--- virtualbox-ose-1.6.6-dfsg~/src/VBox/VMM/PATM/PATM.cpp	2008-06-25 17:47:15.000000000 +0200
++++ virtualbox-ose-1.6.6-dfsg/src/VBox/VMM/PATM/PATM.cpp	2008-09-28 18:19:19.000000000 +0200
+@@ -97,6 +97,9 @@
+ };
+ #endif
+ 
++/* Don't want to break saved states, so put it here as a global variable. */
++static unsigned int cIDTHandlersDisabled = 0;
++
+ /**
+  * Initializes the PATM.
+  *
+@@ -4962,7 +4965,8 @@
+             if (iGate != (uint32_t)~0)
+             {
+                 TRPMR3SetGuestTrapHandler(pVM, iGate, TRPM_INVALID_HANDLER);
+-                LogRel(("PATM: Disabling IDT %x patch handler %VGv\n", iGate, pInstrGC));
++		if (++cIDTHandlersDisabled < 256)
++	                LogRel(("PATM: Disabling IDT %x patch handler %VGv\n", iGate, pInstrGC));
+             }
+         }
+ 
--- virtualbox-ose-1.6.6-dfsg.orig/debian/patches/08-init-lsb.dpatch
+++ virtualbox-ose-1.6.6-dfsg/debian/patches/08-init-lsb.dpatch
@@ -0,0 +1,41 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 08-init-lsb.dpatch by Michael Meskes <meskes@debian.org>
+##
+## DP: Make initscript lsb cmpliant.
+
+@DPATCH@
+
+diff -Naurp virtualbox-ose-1.6.0-dfsg.orig/src/VBox/Installer/linux/vboxnet.sh.in virtualbox-ose-1.6.0-dfsg/src/VBox/Installer/linux/vboxnet.sh.in
+--- virtualbox-ose-1.6.0-dfsg.orig/src/VBox/Installer/linux/vboxnet.sh.in	2008-05-09 09:28:11.000000000 +0000
++++ virtualbox-ose-1.6.0-dfsg/src/VBox/Installer/linux/vboxnet.sh.in	2008-05-09 09:28:41.000000000 +0000
+@@ -20,10 +20,10 @@
+ #
+ ### BEGIN INIT INFO
+ # Provides:       vboxnet
+-# Required-Start: $network
+-# Required-Stop:
++# Required-Start: $remote_fs $network
++# Required-Stop:  $remote_fs
+ # Default-Start:  2 3 4 5
+ # Default-Stop:   0 1 6
+ # Description:    VirtualBox permanent host networking setup
+ ### END INIT INFO
+ 
+@@ -50,14 +50,13 @@ if [ -z "$NOLSB" ]; then
+     . /lib/lsb/init-functions
+     fail_msg() {
+         [ -f "$VARFILE" ] && rm $VARFILE
+-        echo ""
+-        log_failure_msg "$1"
++    	log_action_end_msg 1
+     }
+     succ_msg() {
+-        log_success_msg " done."
++        log_action_end_msg 0
+     }
+     begin_msg() {
+-        log_daemon_msg "$@"
++    	log_action_begin_msg $1
+     }
+ else
+     if [ "$system" = "redhat" ]; then
--- virtualbox-ose-1.6.6-dfsg.orig/debian/patches/04-vboxdrv-references.dpatch
+++ virtualbox-ose-1.6.6-dfsg/debian/patches/04-vboxdrv-references.dpatch
@@ -0,0 +1,37 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 04-vboxdrv-references.dpatch by Daniel Hahler <ubuntu@thequod.de>
+##
+## DP: Change error messages for vboxdrv failure, according to
+## DP: virtualbox-ose-modules.
+
+@DPATCH@
+
+diff -Naurp virtualbox-ose-1.6.0-dfsg.orig/src/VBox/VMM/VM.cpp virtualbox-ose-1.6.0-dfsg/src/VBox/VMM/VM.cpp
+--- virtualbox-ose-1.6.0-dfsg.orig/src/VBox/VMM/VM.cpp	2008-04-30 14:05:26.000000000 +0000
++++ virtualbox-ose-1.6.0-dfsg/src/VBox/VMM/VM.cpp	2008-05-09 09:25:54.000000000 +0000
+@@ -257,10 +257,8 @@ VMR3DECL(int)   VMR3Create(PFNVMATERROR 
+             {
+                 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 or /dev/vboxdrv is not set up properly. "
+-                                  "Re-setup the kernel module by executing "
+-                                  "'/etc/init.d/vboxdrv setup' as root");
++                    pszError = N_("Please install the virtualbox-ose-modules package for your "
++		    		  "kernel and execute 'modprobe vboxdrv' as root");
+ #else
+                     pszError = N_("VirtualBox kernel driver not loaded");
+ #endif
+@@ -280,10 +278,8 @@ VMR3DECL(int)   VMR3Create(PFNVMATERROR 
+                     break;
+                 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 or /dev/vboxdrv was not created for some "
+-                                  "reason. Re-setup the kernel module by executing "
+-                                  "'/etc/init.d/vboxdrv setup' as root");
++                    pszError = N_("Please install the virtualbox-ose-modules package for your "
++		    		  "kernel and execute 'modprobe vboxdrv' as root");
+ #else
+                     pszError = N_("VirtualBox kernel driver not installed");
+ #endif
--- virtualbox-ose-1.6.6-dfsg.orig/debian/patches/11-gcc-4.3.dpatch
+++ virtualbox-ose-1.6.6-dfsg/debian/patches/11-gcc-4.3.dpatch
@@ -0,0 +1,42 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 11-gcc-4.3.dpatch by Michael Meskes <meskes@debian.org>
+##
+## DP: Some changes needed by gcc-4.3
+
+@DPATCH@
+
+diff -Naurp virtualbox-ose-1.6.0-dfsg.orig/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp virtualbox-ose-1.6.0-dfsg/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp
+--- virtualbox-ose-1.6.0-dfsg.orig/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp	2008-04-30 14:05:33.000000000 +0000
++++ virtualbox-ose-1.6.0-dfsg/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp	2008-05-09 09:31:08.000000000 +0000
+@@ -33,6 +33,8 @@
+ #include "VBoxRegistrationDlg.h"
+ #endif
+ 
++#include <stdlib.h>
++
+ #include <qapplication.h>
+ #include <qmessagebox.h>
+ #include <qpixmap.h>
+diff -Naurp virtualbox-ose-1.6.0-dfsg.orig/src/VBox/Main/VMMDevInterface.cpp virtualbox-ose-1.6.0-dfsg/src/VBox/Main/VMMDevInterface.cpp
+--- virtualbox-ose-1.6.0-dfsg.orig/src/VBox/Main/VMMDevInterface.cpp	2008-04-30 14:05:49.000000000 +0000
++++ virtualbox-ose-1.6.0-dfsg/src/VBox/Main/VMMDevInterface.cpp	2008-05-09 09:31:08.000000000 +0000
+@@ -31,6 +31,7 @@
+ #include <VBox/VBoxGuest.h>
+ #include <VBox/shflsvc.h>
+ #include <iprt/asm.h>
++#include <stdio.h>
+ 
+ #ifdef VBOX_HGCM
+ #include "hgcm/HGCM.h"
+diff -Naurp virtualbox-ose-1.6.0-dfsg.orig/src/recompiler/Sun/op-validate.sed virtualbox-ose-1.6.0-dfsg/src/recompiler/Sun/op-validate.sed
+--- virtualbox-ose-1.6.0-dfsg.orig/src/recompiler/Sun/op-validate.sed	2008-04-30 14:05:14.000000000 +0000
++++ virtualbox-ose-1.6.0-dfsg/src/recompiler/Sun/op-validate.sed	2008-05-09 09:31:08.000000000 +0000
+@@ -63,6 +63,8 @@ s/^[[:blank:]]*ret[[:blank:]]*\n*[[:blan
+ /\.Lfe[0-9][0-9]*:/d
+ /\.LFE[0-9][0-9]*:/d
+ /size[[:space:]]/d
++/p2align[[:space:]]/d
++/^[/#][[:space:]]0[[:space:]]\"\"[[:space:]]2[[:space:]]*$/d
+ /^[/#]NO_APP[[:space:]]*$/d
+ /^$/!b bad
+ b end
--- virtualbox-ose-1.6.6-dfsg.orig/debian/patches/00list
+++ virtualbox-ose-1.6.6-dfsg/debian/patches/00list
@@ -0,0 +1,16 @@
+01-no-64bit-guest.dpatch
+02-config-kmk.dpatch
+03-localconf-kmk.dpatch
+04-vboxdrv-references.dpatch
+06-xsession.dpatch
+07-init-fail.dpatch
+08-init-lsb.dpatch
+09-initscript.dpatch
+10-workaround-gcc-ice.dpatch
+11-gcc-4.3.dpatch
+12-make-module.dpatch
+13-module-mismatch.dpatch
+14-recompiler-flush-tb-cache.dpatch
+15-rate-limit-PATM-messages.dpatch
+16-fix-for-2.6.27.dpatch
+17-tmp-symlink.attack.dpatch
--- virtualbox-ose-1.6.6-dfsg.orig/debian/patches/14-recompiler-flush-tb-cache.dpatch
+++ virtualbox-ose-1.6.6-dfsg/debian/patches/14-recompiler-flush-tb-cache.dpatch
@@ -0,0 +1,276 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 14-recompiler-flush-tb-cache.dpatch by Frans Pop <fjp@debian.org>
+##
+## DP: Flush the recompilers translation block cache.
+
+@DPATCH@
+
+only in patch2:
+unchanged:
+--- virtualbox-ose-1.6.2-dfsg.orig/include/VBox/em.h
++++ virtualbox-ose-1.6.2-dfsg/include/VBox/em.h
+@@ -313,6 +313,13 @@
+  */
+ EMDECL(int) EMInterpretPortIO(PVM pVM, PCPUMCTXCORE pCtxCore, PDISCPUSTATE pCpu, uint32_t cbOp);
+ 
++/**
++ * Flushes the REM translation blocks the next time we execute code there.
++ *
++ * @param   pVM         The VM handle.
++ */
++EMDECL(void) EMFlushREMTBs(PVM pVM);
++
+ EMDECL(uint32_t) EMEmulateCmp(uint32_t u32Param1, uint32_t u32Param2, size_t cb);
+ EMDECL(uint32_t) EMEmulateAnd(uint32_t *pu32Param1, uint32_t u32Param2, size_t cb);
+ EMDECL(uint32_t) EMEmulateInc(uint32_t *pu32Param1, size_t cb);
+only in patch2:
+unchanged:
+--- virtualbox-ose-1.6.2-dfsg.orig/include/VBox/rem.h
++++ virtualbox-ose-1.6.2-dfsg/include/VBox/rem.h
+@@ -67,7 +67,7 @@
+ REMR3DECL(int)  REMR3Step(PVM pVM);
+ REMR3DECL(int)  REMR3BreakpointSet(PVM pVM, RTGCUINTPTR Address);
+ REMR3DECL(int)  REMR3BreakpointClear(PVM pVM, RTGCUINTPTR Address);
+-REMR3DECL(int)  REMR3State(PVM pVM);
++REMR3DECL(int)  REMR3State(PVM pVM, bool fFlushTBs);
+ REMR3DECL(int)  REMR3StateBack(PVM pVM);
+ REMR3DECL(void) REMR3StateUpdate(PVM pVM);
+ REMR3DECL(void) REMR3A20Set(PVM pVM, bool fEnable);
+only in patch2:
+unchanged:
+--- virtualbox-ose-1.6.2-dfsg.orig/src/VBox/VMM/EM.cpp
++++ virtualbox-ose-1.6.2-dfsg/src/VBox/VMM/EM.cpp
+@@ -720,11 +720,12 @@
+     /*
+      * Switch to REM, step instruction, switch back.
+      */
+-    int rc = REMR3State(pVM);
++    int rc = REMR3State(pVM, pVM->em.s.fREMFlushTBs);
+     if (VBOX_SUCCESS(rc))
+     {
+         rc = REMR3Step(pVM);
+         REMR3StateBack(pVM);
++        pVM->em.s.fREMFlushTBs = false;
+     }
+     LogFlow(("emR3RemStep: returns %Vrc cs:eip=%04x:%08x\n", rc, CPUMGetGuestCS(pVM),  CPUMGetGuestEIP(pVM)));
+     return rc;
+@@ -778,11 +779,12 @@
+         if (!fInREMState)
+         {
+             STAM_PROFILE_START(&pVM->em.s.StatREMSync, b);
+-            rc = REMR3State(pVM);
++            rc = REMR3State(pVM, pVM->em.s.fREMFlushTBs);
+             STAM_PROFILE_STOP(&pVM->em.s.StatREMSync, b);
+             if (VBOX_FAILURE(rc))
+                 break;
+             fInREMState = true;
++            pVM->em.s.fREMFlushTBs = false;
+ 
+             /*
+              * We might have missed the raising of VMREQ, TIMER and some other
+only in patch2:
+unchanged:
+--- virtualbox-ose-1.6.2-dfsg.orig/src/VBox/VMM/EMInternal.h
++++ virtualbox-ose-1.6.2-dfsg/src/VBox/VMM/EMInternal.h
+@@ -274,6 +274,12 @@
+     bool                    fTracing;
+ #endif
+ 
++    /* Set when the translation blocks in the recompiler cache need to be flushed. */
++    bool                    fREMFlushTBs;
++
++    /* Allignment fix from changeset 9387; not strictly needed */
++    uint8_t                 u8Padding[GC_ARCH_BITS == 64 ? 5 : 1];
++
+     /** Inhibit interrupts for this instruction. Valid only when VM_FF_INHIBIT_INTERRUPTS is set. */
+     RTGCUINTPTR             GCPtrInhibitInterrupts;
+ 
+only in patch2:
+unchanged:
+--- virtualbox-ose-1.6.2-dfsg.orig/src/VBox/VMM/PATM/VMMGC/CSAMGC.cpp
++++ virtualbox-ose-1.6.2-dfsg/src/VBox/VMM/PATM/VMMGC/CSAMGC.cpp
+@@ -70,6 +70,9 @@
+ 
+     Assert(pVM->csam.s.cDirtyPages < CSAM_MAX_DIRTY_PAGES);
+ 
++    /* Flush the recompilers translation block cache as the guest seems to be modifying instructions. */
++    EMFlushREMTBs(pVM);
++
+     pPATMGCState = PATMQueryGCState(pVM);
+     Assert(pPATMGCState);
+ 
+only in patch2:
+unchanged:
+--- virtualbox-ose-1.6.2-dfsg.orig/src/VBox/VMM/VMMAll/EMAll.cpp
++++ virtualbox-ose-1.6.2-dfsg/src/VBox/VMM/VMMAll/EMAll.cpp
+@@ -76,6 +76,16 @@
+     return pVM->em.s.enmState;
+ }
+ 
++/**
++ * Flushes the REM translation blocks the next time we execute code there.
++ *
++ * @param   pVM         The VM handle.
++ */
++EMDECL(void) EMFlushREMTBs(PVM pVM)
++{
++    Log(("EMFlushREMTBs\n"));
++    pVM->em.s.fREMFlushTBs = true;
++}
+ 
+ #ifndef IN_GC
+ /**
+only in patch2:
+unchanged:
+--- virtualbox-ose-1.6.2-dfsg.orig/src/recompiler/VBoxREMWrapper.cpp
++++ virtualbox-ose-1.6.2-dfsg/src/recompiler/VBoxREMWrapper.cpp
+@@ -332,7 +332,7 @@
+ static DECLCALLBACKPTR(int, pfnREMR3BreakpointClear)(PVM, RTGCUINTPTR);
+ static DECLCALLBACKPTR(int, pfnREMR3EmulateInstruction)(PVM);
+ static DECLCALLBACKPTR(int, pfnREMR3Run)(PVM);
+-static DECLCALLBACKPTR(int, pfnREMR3State)(PVM);
++static DECLCALLBACKPTR(int, pfnREMR3State)(PVM, bool fFlushTBs);
+ static DECLCALLBACKPTR(int, pfnREMR3StateBack)(PVM);
+ static DECLCALLBACKPTR(void, pfnREMR3StateUpdate)(PVM);
+ static DECLCALLBACKPTR(void, pfnREMR3A20Set)(PVM, bool);
+@@ -955,6 +955,11 @@
+     { REMPARMDESC_FLAGS_INT,        sizeof(size_t), NULL }
+ };
+ 
++static const REMPARMDESC g_aArgsState[] =
++{
++    { REMPARMDESC_FLAGS_INT,        sizeof(PVM), NULL },
++    { REMPARMDESC_FLAGS_INT,        sizeof(bool), NULL }
++};
+ 
+ /** @} */
+ 
+@@ -971,7 +976,7 @@
+     { "REMR3BreakpointClear",                   (void *)&pfnREMR3BreakpointClear,                   &g_aArgsBreakpoint[0],                      ELEMENTS(g_aArgsBreakpoint),                        REMFNDESC_FLAGS_RET_INT,    sizeof(int),    NULL },
+     { "REMR3EmulateInstruction",                (void *)&pfnREMR3EmulateInstruction,                &g_aArgsVM[0],                              ELEMENTS(g_aArgsVM),                                REMFNDESC_FLAGS_RET_INT,    sizeof(int),    NULL },
+     { "REMR3Run",                               (void *)&pfnREMR3Run,                               &g_aArgsVM[0],                              ELEMENTS(g_aArgsVM),                                REMFNDESC_FLAGS_RET_INT,    sizeof(int),    NULL },
+-    { "REMR3State",                             (void *)&pfnREMR3State,                             &g_aArgsVM[0],                              ELEMENTS(g_aArgsVM),                                REMFNDESC_FLAGS_RET_INT,    sizeof(int),    NULL },
++    { "REMR3State",                             (void *)&pfnREMR3State,                             &g_aArgsState[0],                           ELEMENTS(g_aArgsState),                             REMFNDESC_FLAGS_RET_INT,    sizeof(int),    NULL },
+     { "REMR3StateBack",                         (void *)&pfnREMR3StateBack,                         &g_aArgsVM[0],                              ELEMENTS(g_aArgsVM),                                REMFNDESC_FLAGS_RET_INT,    sizeof(int),    NULL },
+     { "REMR3StateUpdate",                       (void *)&pfnREMR3StateUpdate,                       &g_aArgsVM[0],                              ELEMENTS(g_aArgsVM),                                REMFNDESC_FLAGS_RET_VOID,   0,              NULL },
+     { "REMR3A20Set",                            (void *)&pfnREMR3A20Set,                            &g_aArgsA20Set[0],                          ELEMENTS(g_aArgsA20Set),                            REMFNDESC_FLAGS_RET_VOID,   0,              NULL },
+@@ -1946,13 +1951,13 @@
+ #endif
+ }
+ 
+-REMR3DECL(int) REMR3State(PVM pVM)
++REMR3DECL(int) REMR3State(PVM pVM, bool fFlushTBs)
+ {
+ #ifdef USE_REM_STUBS
+     return VERR_NOT_IMPLEMENTED;
+ #else
+     Assert(VALID_PTR(pfnREMR3State));
+-    return pfnREMR3State(pVM);
++    return pfnREMR3State(pVM, fFlushTBs);
+ #endif
+ }
+ 
+only in patch2:
+unchanged:
+--- virtualbox-ose-1.6.2-dfsg.orig/src/recompiler/VBoxRecompiler.c
++++ virtualbox-ose-1.6.2-dfsg/src/recompiler/VBoxRecompiler.c
+@@ -137,6 +137,7 @@
+ static STAMCOUNTER    gStatREMTRChange;
+ static STAMCOUNTER    gStatSelOutOfSync[6];
+ static STAMCOUNTER    gStatSelOutOfSyncStateBack[6];
++static STAMCOUNTER    gStatFlushTBs;
+ #endif
+ 
+ /*
+@@ -367,6 +368,7 @@
+     STAM_REG(pVM, &gStatRefuseWP0,          STAMTYPE_COUNTER, "/REM/Refuse/WP0",      STAMUNIT_OCCURENCES,     "Raw mode refused because of WP=0");
+     STAM_REG(pVM, &gStatRefuseRing1or2,     STAMTYPE_COUNTER, "/REM/Refuse/Ring1or2", STAMUNIT_OCCURENCES,     "Raw mode refused because of ring 1/2 execution");
+     STAM_REG(pVM, &gStatRefuseCanExecute,   STAMTYPE_COUNTER, "/REM/Refuse/CanExecuteRaw", STAMUNIT_OCCURENCES,     "Raw mode refused because of cCanExecuteRaw");
++    STAM_REG(pVM, &gStatFlushTBs,           STAMTYPE_COUNTER, "/REM/FlushTB",         STAMUNIT_OCCURENCES,     "Number of TB flushes");
+ 
+     STAM_REG(pVM, &gStatREMGDTChange,       STAMTYPE_COUNTER, "/REM/Change/GDTBase",   STAMUNIT_OCCURENCES,     "GDT base changes");
+     STAM_REG(pVM, &gStatREMLDTRChange,      STAMTYPE_COUNTER, "/REM/Change/LDTR",      STAMUNIT_OCCURENCES,     "LDTR changes");
+@@ -730,7 +732,7 @@
+     /*
+      * Sync the state and enable single instruction / single stepping.
+      */
+-    int rc = REMR3State(pVM);
++    int rc = REMR3State(pVM, false /* no need to flush the TBs; we always compile. */);
+     if (VBOX_SUCCESS(rc))
+     {
+         int interrupt_request = pVM->rem.s.Env.interrupt_request;
+@@ -1348,6 +1350,7 @@
+  */
+ void remR3ProtectCode(CPUState *env, RTGCPTR GCPtr)
+ {
++#ifdef VBOX_REM_PROTECT_PAGES_FROM_SMC
+     Assert(env->pVM->rem.s.fInREM);
+     if (     (env->cr[0] & X86_CR0_PG)                      /* paging must be enabled */
+         &&  !(env->state & CPU_EMULATE_SINGLE_INSTR)        /* ignore during single instruction execution */
+@@ -1355,6 +1358,7 @@
+         &&  !(env->eflags & VM_MASK)                        /* no V86 mode */
+         &&  !HWACCMIsEnabled(env->pVM))
+         CSAMR3MonitorPage(env->pVM, GCPtr, CSAM_TAG_REM);
++#endif
+ }
+ 
+ /**
+@@ -1366,12 +1370,14 @@
+ void remR3UnprotectCode(CPUState *env, RTGCPTR GCPtr)
+ {
+     Assert(env->pVM->rem.s.fInREM);
++#ifdef VBOX_REM_PROTECT_PAGES_FROM_SMC
+     if (     (env->cr[0] & X86_CR0_PG)                      /* paging must be enabled */
+         &&  !(env->state & CPU_EMULATE_SINGLE_INSTR)        /* ignore during single instruction execution */
+         &&   (((env->hflags >> HF_CPL_SHIFT) & 3) == 0)     /* supervisor mode only */
+         &&  !(env->eflags & VM_MASK)                        /* no V86 mode */
+         &&  !HWACCMIsEnabled(env->pVM))
+         CSAMR3UnmonitorPage(env->pVM, GCPtr, CSAM_TAG_REM);
++#endif
+ }
+ 
+ 
+@@ -1579,12 +1585,13 @@
+  * @returns VBox status code.
+  *
+  * @param   pVM         VM Handle.
++ * @param   fFlushTBs   Flush all translation blocks before executing code
+  *
+  * @remark  The caller has to check for important FFs before calling REMR3Run. REMR3State will
+  *          no do this since the majority of the callers don't want any unnecessary of events
+  *          pending that would immediatly interrupt execution.
+  */
+-REMR3DECL(int) REMR3State(PVM pVM)
++REMR3DECL(int) REMR3State(PVM pVM, bool fFlushTBs)
+ {
+     Log2(("REMR3State:\n"));
+     STAM_PROFILE_START(&pVM->rem.s.StatsState, a);
+@@ -1595,6 +1602,12 @@
+     Assert(!pVM->rem.s.fInREM);
+     pVM->rem.s.fInStateSync = true;
+ 
++    if (fFlushTBs)
++    {
++        STAM_COUNTER_INC(&gStatFlushTBs);
++        tb_flush(&pVM->rem.s.Env);
++    }
++
+     /*
+      * Copy the registers which requires no special handling.
+      */
+@@ -2464,6 +2477,7 @@
+ 
+     VM_ASSERT_EMT(pVM);
+ 
++#ifdef VBOX_REM_PROTECT_PAGES_FROM_SMC
+     /*
+      * Get the physical page address.
+      */
+@@ -2482,6 +2496,7 @@
+ 
+         tb_invalidate_phys_page_range(PhysGC, PhysGC + PAGE_SIZE - 1, 0);
+     }
++#endif
+     return VINF_SUCCESS;
+ }
+ 
--- virtualbox-ose-1.6.6-dfsg.orig/debian/patches/10-workaround-gcc-ice.dpatch
+++ virtualbox-ose-1.6.6-dfsg/debian/patches/10-workaround-gcc-ice.dpatch
@@ -0,0 +1,22 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 10-workaround-gcc-ice.dpatch by Michael Meskes <meskes@debian.org>
+##
+## DP: Use -O3 wot workaround gcc-4.3 problem
+
+@DPATCH@
+
+diff -Naurp virtualbox-ose-1.6.0-dfsg.orig/src/recompiler/Makefile.kmk virtualbox-ose-1.6.0-dfsg/src/recompiler/Makefile.kmk
+--- virtualbox-ose-1.6.0-dfsg.orig/src/recompiler/Makefile.kmk	2008-04-30 14:05:15.000000000 +0000
++++ virtualbox-ose-1.6.0-dfsg/src/recompiler/Makefile.kmk	2008-05-09 09:30:23.000000000 +0000
+@@ -225,9 +225,9 @@ endif # !REM_USE_NOCRT
+ 
+ # Extra flags for these source modules.
+ target-i386/op.c_CFLAGS         = -O2 -fno-strict-aliasing -fomit-frame-pointer -falign-functions=0 -fno-reorder-blocks -fno-optimize-sibling-calls
+-target-i386/op.c_CFLAGS.x86     = -fno-gcse -fno-instrument-functions -mpreferred-stack-boundary=2
++target-i386/op.c_CFLAGS.x86     = -O3 -fno-gcse -fno-instrument-functions -mpreferred-stack-boundary=2
+ target-i386/op.c_CFLAGS.darwin.x86 = -m128bit-long-double -mpreferred-stack-boundary=4
+-target-i386/helper.c_CFLAGS.x86 = -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-gcse
++target-i386/helper.c_CFLAGS.x86 = -O3 -fomit-frame-pointer -fno-strict-aliasing -fno-gcse
+ cpu-exec.c_CFLAGS.x86           = -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-gcse
+ cpu-exec.c_CFLAGS.solaris.amd64 = -O2 -fomit-frame-pointer -fno-strict-aliasing
+ 
--- virtualbox-ose-1.6.6-dfsg.orig/debian/patches/01-no-64bit-guest.dpatch
+++ virtualbox-ose-1.6.6-dfsg/debian/patches/01-no-64bit-guest.dpatch
@@ -0,0 +1,32 @@
+#!/bin/sh /usr/share/dpatch/dpatch-run
+## 01-no-64bit-guest.dpatch by Michael Meskes <meskes@debian.org>
+##
+## DP: Do not build guest utils on 64 bit architectures.
+
+@DPATCH@
+
+diff -Naurp virtualbox-ose-1.6.0-dfsg.orig/configure virtualbox-ose-1.6.0-dfsg/configure
+--- virtualbox-ose-1.6.0-dfsg.orig/configure	2008-04-30 14:06:04.000000000 +0000
++++ virtualbox-ose-1.6.0-dfsg/configure	2008-05-09 09:23:52.000000000 +0000
+@@ -263,7 +263,7 @@ check_environment()
+       exit 1
+       ;;
+   esac
+-  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)
+diff -Naurp virtualbox-ose-1.6.0-dfsg.orig/src/VBox/Additions/linux/sharedfolders/Makefile.kmk virtualbox-ose-1.6.0-dfsg/src/VBox/Additions/linux/sharedfolders/Makefile.kmk
+--- virtualbox-ose-1.6.0-dfsg.orig/src/VBox/Additions/linux/sharedfolders/Makefile.kmk	2008-04-30 14:05:58.000000000 +0000
++++ virtualbox-ose-1.6.0-dfsg/src/VBox/Additions/linux/sharedfolders/Makefile.kmk	2008-05-09 09:23:52.000000000 +0000
+@@ -23,7 +23,9 @@ DEPTH ?= ../../../../..
+ SUB_DEPTH = ../..
+ include	$(PATH_KBUILD)/subheader.kmk
+ 
++ifeq ($(filter-out x86, $(BUILD_TARGET_ARCH)),)
+ PROGRAMS += mountvboxsf
++endif
+ INSTALLS += vboxvfs-mod vboxvfs-sh
+ OTHERS.linux += \
+ 	$(VBOX_PATH_ADDITIONS)/src/vboxvfs/build_in_tmp \
