--- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose.docs +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose.docs @@ -0,0 +1,3 @@ +debian/README.Debian.html +debian/virtualbox-ose.files/wiki.html +debian/virtualbox-ose.files/NEWS.Debian --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose.install +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose.install @@ -0,0 +1,27 @@ +debian/virtualbox-ose.files/vbox.cfg /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/virtualbox-ose.files/source_virtualbox-ose.py /usr/share/apport + +debian/lintian/virtualbox-ose /usr/share/lintian/overrides + +out/bin/components /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/VBoxXPCOM* /usr/lib/virtualbox +out/bin/VirtualBox* /usr/lib/virtualbox +out/bin/VMM* /usr/lib/virtualbox +out/bin/vboxwebsrv /usr/lib/virtualbox +out/bin/webtest /usr/lib/virtualbox + +out/bin/nls /usr/share/virtualbox +out/bin/VBox.png /usr/share/virtualbox +out/bin/VBoxSysInfo.sh /usr/share/virtualbox --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose-guest-source.dirs.in +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose-guest-source.dirs.in @@ -0,0 +1,4 @@ +usr/src/virtualbox-ose-guest-CVERSION/include/iprt +usr/src/virtualbox-ose-guest-CVERSION/include/VBox +usr/src/virtualbox-ose-guest-CVERSION/include/internal +usr/src/virtualbox-ose-guest-CVERSION/r0drv/linux --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose.dirs +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose.dirs @@ -0,0 +1,5 @@ +usr/bin +usr/lib/virtualbox +usr/share/virtualbox +usr/share/icons +etc/vbox --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose.menu +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose.menu @@ -0,0 +1,4 @@ +?package(virtualbox-ose):needs="X11" section="Applications/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-2.1.4-dfsg.orig/debian/virtualbox-ose-guest-source.postinst +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose-guest-source.postinst @@ -0,0 +1,35 @@ +#!/bin/sh +# Copyright (C) 2008 Mario Limonciello + +CVERSION=`dpkg-query -W -f='${Version}' virtualbox-ose-guest-source | awk -F "-" '{print $1}' | cut -d\: -f2` + +case "$1" in + configure) + #Refresh groups + 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 + + #Create DKMS modules + echo "Adding Module to DKMS build system" + dkms add -m virtualbox-ose-guest -v $CVERSION > /dev/null + echo "Doing initial module build" + dkms build -m virtualbox-ose-guest -v $CVERSION > /dev/null + echo "Installing initial module" + dkms install -m virtualbox-ose-guest -v $CVERSION --force > /dev/null + echo "Done." + + #restart VBox service due to new modules + if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then + invoke-rc.d virtualbox-ose-guest-utils restart || /bin/true + else + /etc/init.d/virtualbox-ose-guest-utils restart || /bin/true + fi + + ;; +esac +#DEBHELPER# --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose.default +++ virtualbox-ose-2.1.4-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 virtualbox-ose modules to be loaded by +# the init script. +LOAD_VBOXDRV_MODULE=1 --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose-guest-utils.dirs +++ virtualbox-ose-2.1.4-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-2.1.4-dfsg.orig/debian/virtualbox-ose.README.rebuild +++ virtualbox-ose-2.1.4-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-2.1.4-dfsg.orig/debian/watch +++ virtualbox-ose-2.1.4-dfsg/debian/watch @@ -0,0 +1,4 @@ +version=3 + +opts=dversionmangle=s/-dfsg\d*$//,uversionmangle=s/-.*// \ + http://download.virtualbox.org/virtualbox/([\d\.\-]+)/VirtualBox-([\d\.\-]+)-OSE.tar.bz2 --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose-guest-source.README.Debian +++ virtualbox-ose-2.1.4-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 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 Sun, 04 Nov 2007 17:32:10 +0100 --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose-guest-utils.init +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose-guest-utils.init @@ -0,0 +1,65 @@ +#!/bin/sh +# (C) 2007 Michael Meskes + +### 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_action_msg 'no guest utils available, kernel module not loadable'; + 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-2.1.4-dfsg.orig/debian/virtualbox-ose.links +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose.links @@ -0,0 +1,11 @@ +/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/vboxwebsrv +/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/share/virtualbox/VBox.png /usr/share/icons/virtualbox.png --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose.preinst +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose.preinst @@ -0,0 +1,33 @@ +#!/bin/sh -e + +. /usr/share/debconf/confmodule + +# Remove a no-longer used conffile +rm_conffile() { + CONFFILE="$1" + + if [ -e "$CONFFILE" ]; then + md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" + old_md5sum="`dpkg-query -W -f='${Conffiles}' virtualbox-ose | sed -n -e \"\\\\' $CONFFILE '{s/ obsolete$//;s/.* //p}\"`" + if [ "$md5sum" != "$old_md5sum" ]; then + echo "Obsolete conffile $CONFFILE has been modified by you." + echo "Saving as $CONFFILE.dpkg-bak ..." + mv -f "$CONFFILE" "$CONFFILE".dpkg-bak + else + echo "Removing obsolete conffile $CONFFILE ..." + rm -f "$CONFFILE" + fi + fi +} + +case "$1" in + install|upgrade) + # Remove /etc/init.d/vboxdrv + if dpkg --compare-versions "$2" le "2.0.4-dfsg-0ubuntu2"; then + rm_conffile "/etc/init.d/vboxdrv" + fi + ;; +esac + + +#DEBHELPER# --- virtualbox-ose-2.1.4-dfsg.orig/debian/lynx-dump-postprocess +++ virtualbox-ose-2.1.4-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=; +} +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-2.1.4-dfsg.orig/debian/rules +++ virtualbox-ose-2.1.4-dfsg/debian/rules @@ -0,0 +1,183 @@ +#!/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) + +# Generate README.Debian as text/html ... +debian/README.Debian.html: debian/virtualbox-ose.files/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 \ + --disable-qt3 \ + --with-gcc=/usr/bin/gcc-4.2 \ + --with-g++=/usr/bin/g++-4.2 \ + --enable-webservice + +build: build-stamp +build-stamp: env.sh + dh_testdir + # Building package + . ./env.sh; $(MAKE) \ + BUILD_TYPE=release \ + PATH_OUT=$(abspath out) \ + CXXFLAGS="$(CXXFLAGS) -fpermissive" + # and vboxdrv.sh + $(MAKE) -C src/VBox/Installer/linux $(abspath out/obj/Installer/linux/vboxdrv.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 build-stamp + rm -f debian/virtualbox-ose.README.Debian debian/README.Debian.html + rm -f debian/$(gsource).files/dkms.conf + rm -f debian/$(psource).install + rm -f debian/$(gsource).install + rm -f debian/$(psource).dirs + rm -f debian/$(gsource).dirs + rm -f debian/$(gsource).links + + find . -name "*.pyc" -exec rm -f {} \; + 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 + + sed -e 's/CVERSION/$(upstreamversion)/g' < debian/$(gsource).dirs.in > debian/$(gsource).dirs + sed -e 's/CVERSION/$(upstreamversion)/g' < debian/$(psource).dirs.in > debian/$(psource).dirs + sed -e 's/CVERSION/$(upstreamversion)/g' < debian/$(gsource).links.in > debian/$(gsource).links + + dh_installdirs + # This will get installed into the package by dh_installinit + install -m 644 out/obj/Installer/linux/vboxdrv.sh debian/$(sname).init + + # Create DKMS control files + sed -e 's/CVERSION/$(upstreamversion)/g' < debian/$(psource).files/dkms.conf.vboxdrv.in > debian/$(psource)/usr/src/vboxdrv-$(upstreamversion)/dkms.conf + sed -e 's/CVERSION/$(upstreamversion)/g' < debian/$(psource).files/dkms.conf.vboxnetflt.in > debian/$(psource)/usr/src/vboxnetflt-$(upstreamversion)/dkms.conf + sed -e 's/CVERSION/$(upstreamversion)/g' < debian/$(gsource).files/dkms.conf.in > debian/$(gsource).files/dkms.conf + + #Build install files for the dkms'ified sources + sed -e 's/CVERSION/$(upstreamversion)/g' < debian/$(psource).install.in > debian/$(psource).install + sed -e 's/CVERSION/$(upstreamversion)/g' < debian/$(gsource).install.in > debian/$(gsource).install + + # Install helper scripts for vbox* interfaces + 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_16.so debian/$(uname)/usr/lib/xorg/modules/drivers/vboxvideo_drv.so + -install -m 644 out/bin/additions/vboxmouse_drv_16.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 + -chrpath -d debian/$(uname)/sbin/mount.vboxsf + -chrpath -d debian/$(uname)/usr/bin/VBoxClient + -chrpath -d debian/$(uname)/usr/lib/xorg/modules/drivers/vboxvideo_drv.so + -chrpath -d debian/$(uname)/usr/lib/xorg/modules/input/vboxmouse_drv.so + -chrpath -d debian/$(uname)/usr/sbin/vboxadd-timesync + dh_strip -s --dbg-package=$(sname)-dbg + dh_link -s + dh_compress -s + dh_fixperms -s + chmod +s debian/$(sname)/usr/lib/virtualbox/VirtualBox + chmod +s debian/$(sname)/usr/lib/virtualbox/VBoxSDL + chmod +s debian/$(sname)/usr/lib/virtualbox/VBoxBFE + chmod +s debian/$(sname)/usr/lib/virtualbox/VBoxHeadless + 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 + dh_link -i + dh_compress -i + dh_fixperms -i + # Need to be executable for DKMS: + chmod +x debian/$(psource)/usr/src/vboxdrv-$(upstreamversion)/do_Module.symvers + chmod +x debian/$(psource)/usr/src/vboxnetflt-$(upstreamversion)/do_Module.symvers + dh_installdeb -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-2.1.4-dfsg.orig/debian/virtualbox-ose-source.install.in +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose-source.install.in @@ -0,0 +1,5 @@ +out/bin/src/vboxdrv/* /usr/src/vboxdrv-CVERSION +out/bin/src/vboxnetflt/* /usr/src/vboxnetflt-CVERSION + +debian/virtualbox-ose-source.files/do_Module.symvers /usr/src/vboxdrv-CVERSION +debian/virtualbox-ose-source.files/do_Module.symvers /usr/src/vboxnetflt-CVERSION --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose-source.README.Debian +++ virtualbox-ose-2.1.4-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 Tue, 4 Sep 2007 22:17:00 +0200 --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose-guest-source.prerm +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose-guest-source.prerm @@ -0,0 +1,15 @@ +#!/bin/sh +# Copyright (C) 2008 Mario Limonciello + +#DEBHELPER# + +CVERSION=`dpkg-query -W -f='${Version}' virtualbox-ose-guest-source | awk -F "-" '{print $1}' | cut -d\: -f2` +case "$1" in + remove|upgrade|purge) + echo "Removing all DKMS Modules" + dkms remove -m virtualbox-ose-guest -v $CVERSION --all > /dev/null + echo "Done." + ;; +esac + + --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose-source.postinst +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose-source.postinst @@ -0,0 +1,43 @@ +#!/bin/sh +# Copyright (C) 2008 Mario Limonciello + +CVERSION=`dpkg-query -W -f='${Version}' virtualbox-ose-source | awk -F "-" '{print $1}' | cut -d\: -f2` + +case "$1" in + configure) + #Refresh groups + 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 + + #Create DKMS modules + echo "Adding modules to DKMS build system" + dkms add -m vboxdrv -v $CVERSION > /dev/null + dkms add -m vboxnetflt -v $CVERSION > /dev/null + echo "Doing initial module builds" + dkms build -m vboxdrv -v $CVERSION > /dev/null + dkms build -m vboxnetflt -v $CVERSION > /dev/null + echo "Installing initial modules" + dkms install -m vboxdrv -v $CVERSION --force > /dev/null + dkms install -m vboxnetflt -v $CVERSION --force > /dev/null + echo "Done." + + #restart VBox service due to new modules + if [ -f /etc/default/virtualbox-ose ] ; then + . /etc/default/virtualbox-ose + fi + if [ "$LOAD_VBOXDRV_MODULE" = 1 ]; then + if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then + invoke-rc.d virtualbox-ose restart || /bin/true + else + /etc/init.d/virtualbox-ose restart || /bin/true + fi + fi + + ;; +esac +#DEBHELPER# --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose-guest-source.install.in +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose-guest-source.install.in @@ -0,0 +1,21 @@ +out/bin/additions/src/vboxadd/*.* /usr/src/virtualbox-ose-guest-CVERSION/vboxadd +out/bin/additions/src/vboxadd/alloc /usr/src/virtualbox-ose-guest-CVERSION/vboxadd +out/bin/additions/src/vboxadd/build_in_tmp /usr/src/virtualbox-ose-guest-CVERSION/vboxadd +out/bin/additions/src/vboxadd/Makefile /usr/src/virtualbox-ose-guest-CVERSION/vboxadd + +out/bin/additions/src/vboxvfs/*.* /usr/src/virtualbox-ose-guest-CVERSION/vboxvfs +out/bin/additions/src/vboxvfs/build_in_tmp /usr/src/virtualbox-ose-guest-CVERSION/vboxvfs +out/bin/additions/src/vboxvfs/Makefile /usr/src/virtualbox-ose-guest-CVERSION/vboxvfs + +out/bin/additions/src/vboxadd/include/iprt/* /usr/src/virtualbox-ose-guest-CVERSION/include/iprt +out/bin/additions/src/vboxadd/include/VBox/* /usr/src/virtualbox-ose-guest-CVERSION/include/VBox +out/bin/additions/src/vboxadd/include/internal/* /usr/src/virtualbox-ose-guest-CVERSION/include/internal + +out/bin/additions/src/vboxvfs/include/iprt/* /usr/src/virtualbox-ose-guest-CVERSION/include/iprt +out/bin/additions/src/vboxvfs/include/VBox/* /usr/src/virtualbox-ose-guest-CVERSION/include/VBox +out/bin/additions/src/vboxvfs/include/internal/* /usr/src/virtualbox-ose-guest-CVERSION/include/internal + +out/bin/additions/src/vboxadd/r0drv /usr/src/virtualbox-ose-guest-CVERSION/ + +debian/virtualbox-ose-guest-source.files/Makefile /usr/src/virtualbox-ose-guest-CVERSION +debian/virtualbox-ose-guest-source.files/dkms.conf /usr/src/virtualbox-ose-guest-CVERSION --- virtualbox-ose-2.1.4-dfsg.orig/debian/compat +++ virtualbox-ose-2.1.4-dfsg/debian/compat @@ -0,0 +1 @@ +5 --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose-guest-utils.README.Debian +++ virtualbox-ose-2.1.4-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 Mon, 19 Nov 2007 11:17:46 +0100 --- virtualbox-ose-2.1.4-dfsg.orig/debian/control +++ virtualbox-ose-2.1.4-dfsg/debian/control @@ -0,0 +1,144 @@ +Source: virtualbox-ose +Section: misc +Priority: extra +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Debian Virtualbox Team +Uploaders: Philipp Hug , + Marvin Stark , + Michael Meskes , + Patrick Winnertz , + Daniel Baumann , + Hilko Bengen +Build-Depends: bcc, + bzip2, + chrpath, + debhelper (>= 5.0.44~), + docbook-xml, + docbook-xsl, + dpatch, + g++-4.2, + g++-4.2-multilib [amd64], + gcc-4.2, + gsoap, + iasl, + kbuild (>= 1:0.1.5svn2243), + libacl1-dev, + libasound-dev, + libcap2-dev, + libgl1-mesa-dev, + libglu1-mesa-dev, + libhal-dev, + libidl-dev, + libpng12-dev, + libpulse-dev, + libqt4-dev (>= 4.3.0), + libsdl1.2-dev, + libx11-dev, + libxcursor-dev, + libxext-dev, + libxi-dev, + libxmu-dev, + libxrender-dev, + libxslt1-dev, + lynx-cur, + po-debconf (>= 0.5.0), + python-dev, + uuid-dev, + yasm (>= 0.7.0), + xsltproc, + zlib1g-dev +Standards-Version: 3.8.0 +Homepage: http://www.virtualbox.org/ +XS-Original-Vcs-Git: git://git.debian.org/git/pkg-virtualbox/virtualbox-ose.git +XS-Original-Vcs-Browser: http://git.debian.org/?p=pkg-virtualbox/virtualbox-ose.git + +Package: virtualbox-ose +Architecture: amd64 i386 lpia +Depends: ${shlibs:Depends}, + ${misc:Depends}, + adduser, + python +Pre-Depends: debconf | debconf-2.0 +Recommends: virtualbox-ose-source, libgl1 +Suggests: 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}, + dkms, + libc6-dev, + linux-headers-generic | linux-headers +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}, + dkms, + libc6-dev, + linux-headers-generic | linux-headers +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 amd64 lpia +Depends: ${shlibs:Depends}, + ${misc:Depends}, + pciutils +Conflicts: xserver-xorg-core (< 2:1.4) +Recommends: virtualbox-ose-guest-source, + xserver-xorg-core (>= 2:1.4) +Provides: xserver-xorg-video-5, + xserver-xorg-input-4 +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-2.1.4-dfsg.orig/debian/virtualbox-ose-guest-utils.install +++ virtualbox-ose-2.1.4-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-2.1.4-dfsg.orig/debian/virtualbox-ose.udev +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose.udev @@ -0,0 +1 @@ +KERNEL=="vboxdrv", NAME="vboxdrv", OWNER="root", GROUP="root", MODE="0600" --- virtualbox-ose-2.1.4-dfsg.orig/debian/copyright +++ virtualbox-ose-2.1.4-dfsg/debian/copyright @@ -0,0 +1,1142 @@ +This package was debianized by Daniel Baumann on +Mon, 15 Jan 2007 14:33:00 +0100. + +It was downloaded from . + +Upstream Author: innotek GmbH + +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 + +./include/avl.h + Copyright (c) 2005-2007 knut st. osmundsen + 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 + +./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 + +./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 (v2.1 or later) 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 + ./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 + +./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 , +Daniel Baumann , Philipp Hug and is licensed under +the GPL, see `/usr/share/common-licenses/GPL'. --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose-guest-source.links.in +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose-guest-source.links.in @@ -0,0 +1,4 @@ +/usr/src/virtualbox-ose-guest-CVERSION/r0drv /usr/src/virtualbox-ose-guest-CVERSION/vboxadd/r0drv +/usr/src/virtualbox-ose-guest-CVERSION/r0drv /usr/src/virtualbox-ose-guest-CVERSION/vboxvfs/r0drv +/usr/src/virtualbox-ose-guest-CVERSION/include /usr/src/virtualbox-ose-guest-CVERSION/vboxadd/include +/usr/src/virtualbox-ose-guest-CVERSION/include /usr/src/virtualbox-ose-guest-CVERSION/vboxvfs/include --- virtualbox-ose-2.1.4-dfsg.orig/debian/changelog +++ virtualbox-ose-2.1.4-dfsg/debian/changelog @@ -0,0 +1,1221 @@ +virtualbox-ose (2.1.4-dfsg-1ubuntu3.1) jaunty-proposed; urgency=low + + * Patch to fix acpi issue on newer kernels (LP: #510571), based on + changesets r26129 and r26130 from svn + - debian/patches/u03-unbreak-acpi-with-newer-kernels.dpatch + + -- Arand Nash Fri, 26 Mar 2010 21:44:15 +0100 + +virtualbox-ose (2.1.4-dfsg-1ubuntu3) jaunty; urgency=low + + * Use source_virtualbox-ose.py to provide an apport hook for all + packages. (LP: #340149) + - debian/virtualbox-ose.install + - virtualbox-ose.files/virtualbox-ose.py + + -- Daniel Hahler Sun, 29 Mar 2009 21:06:29 +0200 + +virtualbox-ose (2.1.4-dfsg-1ubuntu2) jaunty; urgency=low + + * Add apport hook to provide output of "dpkg -l | grep virtualbox" + (LP: #340149) + - debian/virtualbox-ose.install + - virtualbox-ose.files/virtualbox-ose.py + * Provides: xserver-xorg-video-5, xserver-xorg-input-4 (LP: #313510) + - debian/control + * Install vbox{video,mouse}_drv_16.so (instead of *_15.*) + - debian/rules + + -- Daniel Hahler Fri, 20 Mar 2009 01:19:13 +0100 + +virtualbox-ose (2.1.4-dfsg-1ubuntu1) jaunty; urgency=low + + * Merge from debian unstable (LP: #328161), remaining changes: + - See 2.1.0-dfsg-1ubuntu1 + * Drop 15-fix-byteorder-hack-jaunty.dpatch, applied upstream. + * Drop Conflicts, Replaces, Provides: virtualbox-2.0. No real + reason. + - debian/control + * Add debian/patches/17-disable-help-contents.dpatch, + Disable Help>Contents... menu item (LP: #323988) + * Refreshed 13-disable-update-action.dpatch + * debian/rules: add CXXFLAGS+=-fpermissive to fix FTBFS + (see LP: #328161) + * Drop Ubuntu specific patches/16-fix-ftbfs-morePadding.dpatch. + Not required anymore and caused build failure in tests now. + + -- Daniel Hahler Sun, 01 Mar 2009 23:51:51 +0100 + +virtualbox-ose (2.1.4-dfsg-1) unstable; urgency=high + + * New upstream version. + * Made package use rpath where needed to deal with a security issue. + * Set urgency to high for the very same reason. + * Updated control file to refer to git instead of svn. + * Made sure that init script does not fail if module loading is not enabled. + Closes: #516242 + + -- Michael Meskes Wed, 18 Feb 2009 12:55:59 +0100 + +virtualbox-ose (2.1.2-dfsg-2) unstable; urgency=low + + * Enabled OpenGL support. Closes: #513533 + * Added patch to install WineD3D guest additions as provided by Robert Millan + . Closes: #514181 + * Fixed watch file yet again. + * Recompiled to bring 2.1.2 into unstable. This changes + - Network setup. Closes: #507169 + - File and device ownership. Closes: #509014 + + -- Michael Meskes Mon, 16 Feb 2009 10:49:27 +0100 + +virtualbox-ose (2.1.2-dfsg-1) experimental; urgency=low + + * New upstream version. + * Enabled webservice. + * Install VBoxSysInfo script. + * Removed SUP[Un]install test case. + * Removed xpidl and sdk. This might go into a -dev package if it is really + useful for anyone not developing virtualbox-ose. + * Documented changes in network setup and removed useless scripts and + configs. Closes: #512024 + * Added missing architecture amd64 to guest source package. Closes: #512811 + + -- Michael Meskes Thu, 22 Jan 2009 11:47:53 +0100 + +virtualbox-ose (2.1.0-dfsg-2ubuntu1) jaunty; urgency=low + + * Merge from Debian experimental. Closes LP: #253933 + + -- Daniel Hahler Thu, 22 Jan 2009 21:41:50 +0100 + +virtualbox-ose (2.1.0-dfsg-2) experimental; urgency=low + + * Added versioned build dependency for kbuild. Closes: #510736 + * Added versioned build dependency for qt4. Closes: #510785 + * Re-created two patches against initscript to make them clearer and to + re-add a line lost in the transition. Closes: #474089 + + -- Michael Meskes Sun, 04 Jan 2009 16:58:38 +0100 + +virtualbox-ose (2.1.0-dfsg-1ubuntu2) jaunty; urgency=low + + * Remove vboxnetflt dkms module in virtualbox-ose-source.prerm + * Make script used for DKMS "interlinking" executable, so DKMS + executes it (LP: #314650) + - debian/rules + + -- Daniel Hahler Wed, 07 Jan 2009 20:27:10 +0100 + +virtualbox-ose (2.1.0-dfsg-1ubuntu1) jaunty; urgency=low + + * Merge from Debian experimental (LP: #304859). Remaining Ubuntu changes: + - DKMS support + - For the complete list of added, moved and dropped files see the + log of 2.0.2-dfsg-0ubuntu1 + - virtualbox-ose-guest-utils.udev => virtualbox-ose-source.udev + - debian/rules + - Refer to virtualbox-ose-source instead of -modules: + - virtualbox-ose.files/VBox.sh + - patches/04-vboxdrv-references.dpatch + - patches/13-module-mismatch.dpatch + - debian/control: + - Recommend virtualbox-ose-source instead of -modules + - The -source packages depends are changed for DKMS + - Autoload kernel module + - LOAD_VBOXDRV_MODULE=1 in virtualbox-ose.default + - Keep adjusted debian/virtualbox-ose.preinst.in to remove old vboxdrv + conffile + - debian/virtualbox-ose-source.postinst: call "virtualbox-ose restart", + depending on LOAD_VBOXDRV_MODULE + - virtualbox-ose-guest-utils: Install vboxvideo_drv_15.so instead + of vboxvideo_drv_14.so (LP: #292856) + - debian/rules + - Enable 64 bit guest support when building on AMD64 (LP: #271651) + - debian/rules (VBOX_WITH_64_BITS_GUESTS) + - Virtualbox should go in Accessories, not in System tools (LP: #288590) + - virtualbox-ose.files/virtualbox-ose.desktop + - debian/patches/13-disable-update-action.dpatch + - Change Vcs-Svn and Vcs-Browser to XS-Original-Vcs-* + - debian/control + - virtualbox-ose Conflicts, Replaces, Provides: virtualbox-2.0 + - debian/control + - debian/control: + - Bump provides of guest-utils to xserver-xorg-input-2.1 + - Bump provides of guest-utils to xserver-xorg-video-2.9 + - patches/15-fix-byteorder-hack-jaunty.dpatch to + fix FTBFS on Jaunty (patch from Nathan, LP: #278466) + * virtualbox-ose-guest-source.links.in: fix install of r0drv to vboxvfs + (there have been two lines for vboxadd only) (LP: #310647) + * Add vboxnetflt to DKMS system + - add virtualbox-ose-source.files/do_Module.symvers which is used + in PRE_BUILD/POST_BUILD (dkms.conf) + * Add patches/16-fix-ftbfs-morePadding.dpatch to fix FTBFS on i386 + during tests (Thanks Nathan Summers) + * Fix grammar in virtualbox-ose.README.Debian.xml + * mv virtualbox-ose.preinst{.in,} and fix + Lintian error "maintainer-script-uses-dpkg-status-directly" + - debian/rules + * Closes the following bugs in Launchpad: + - VirtualBox virtual machines are frozen after suspend-resume + (LP: #292794) + - Clean LocalConfig.kmk in clean target (LP: #286854) + + -- Daniel Hahler Wed, 07 Jan 2009 06:39:04 +0100 + +virtualbox-ose (2.1.0-dfsg-1) experimental; urgency=low + + * New upstream version + This one doesn't use /dev/net/tun anymore. Closes: #509524 + * Removed obsoleted vditool, VBoxAddIF.sh and VBoxTunctl. + + -- Michael Meskes Thu, 18 Dec 2008 12:49:34 +0100 + +virtualbox-ose (2.0.6-dfsg-1) experimental; urgency=low + + * New upstream version. Closes: #497840 + * Do not warn user about losing snapshots anymore, this is supposed to be a + thing of the past. Closes: #500101 + * Made guest utils init script more verbose if module was not loadable. + Closes: #505586 + * Documented need for hardware virtualization if running a 64-bit guest. + + -- Michael Meskes Thu, 20 Nov 2008 14:09:54 +0100 + +virtualbox-ose (2.0.4-dfsg-0ubuntu3) jaunty; urgency=low + + [ Nathan Summers ] + * Add alloc/heapsimple.c to fix build on amd64. (LP: #278466) + - virtualbox-ose-guest-source.install.in + * Add link to alloc/ so that dkms can find it. + - virtualbox-ose-guest-source.links.in + + [ Daniel Hahler ] + * debian/rules: expand bash-style shell expansion in "clean" + target, so the generated files get removed actually. + * Add debian/patches/15-fix-byteorder-hack-jaunty.dpatch to + fix FTBFS on Jaunty (patch from Nathan, LP: #278466) + + -- Daniel Hahler Sat, 06 Dec 2008 02:39:14 +0100 + +virtualbox-ose (2.0.4-dfsg-0ubuntu2) jaunty; urgency=low + + * Upload as non-native package. (Discussion at LP: #288957) + * Do not recommend non-existant package virtualbox-ose-guest-modules, + recommend virtualbox-ose-guest-source instead (for DKMS) + (LP: #293237) + - debian/control + * virtualbox-ose-guest-utils: Install vboxvideo_drv_15.so instead + of vboxvideo_drv_14.so. Thanks for the patch, packet. + (LP: #292856) + - debian/rules + * Remove vboxdrv init script and set LOAD_VBOXDRV_MODULE=1 instead, + to trigger kernel module loading in virtualbox-ose init script + (LP: #293109) + - debian/virtualbox-ose.preinst.in modified + - debian/virtualbox-ose.vboxdrv.init.in removed + - debian/virtualbox-ose.default + - debian/patches/09-initscript.dpatch: + - Re-add parts from Debian to handle LOAD_VBOXDRV_MODULE + - Make "restart" and "force-reload" call "stop"/"start", + not stop_networt/start_network only + - Add info about kernel module to "status" + - debian/rules + - debian/virtualbox-ose-source.postinst: call "virtualbox-ose restart", + depending on LOAD_VBOXDRV_MODULE + * Refer to virtualbox-ose-source in error messages + - debian/patches/04-vboxdrv-references.dpatch updated + * Fix indent for reference to virtualbox-ose-source in + - debian/virtualbox-ose.files/VBox.sh + * virtualbox-ose Conflicts, Replaces, Provides: virtualbox-2.0 + - debian/control + + -- Daniel Hahler Tue, 04 Nov 2008 18:29:14 +0100 + +virtualbox-ose (2.0.4-dfsg-0ubuntu1) intrepid; urgency=low + + [ Jonathan Ernst ] + * Virtualbox should go in Accessories, not in System tools (LP: #288590) + + [ Daniel Hahler ] + * New upstream version (LP: #288957) + - Updated debian/patches/09-initscript.dpatch (one hunk rejected/obsolete) + * Drop debconf question about losing snapshots because of upgrading: it is + no longer relevant and the default (cancel upgrade) caused a lot of + trouble (LP: #288178, #221736) + - debian/virtualbox-ose.preinst.in, debian/virtualbox-ose.templates, + debian/rules + * Improve patch for disabling the "check for updates" dialog (LP: #272212) + - debian/patches/13-disable-update-action.dpatch + * Disable registration request at Sun (LP: #285684, #271603) + - debian/patches/14-disable-registration-request.dpatch + + -- Daniel Hahler Sun, 26 Oct 2008 02:23:42 +0100 + +virtualbox-ose (2.0.2-dfsg-0ubuntu3) intrepid; urgency=low + + * debian/patches/13-disable-update-action.dpatch: + Disable update action menu entry (LP: #272212) + + -- Daniel Hahler Fri, 19 Sep 2008 23:33:32 +0200 + +virtualbox-ose (2.0.2-dfsg-0ubuntu2) intrepid; urgency=low + + * debian/virtualbox-ose.install: + - Install VBoxHeadless (LP: #271753) + * debian/virtualbox-ose.links: + - Include symlink for VBoxHeadless + * debian/virtualbox-ose.files/VBox.sh: + - Remove check for vboxusers, not necessary w/ + hardening. + * debian/virtualbox-ose.udev: + - Don't set vboxdrv to vboxusers, not necessary + w/ hardening. + * debian/virtualbox-ose.vboxdrv.init: + - Remove permissions check for vboxdrv. + * debian/rules: + - Enable 64 bit guest support when building on + AMD64 (LP: #271651) + - Set VBoxHeadless suid. + * debian/control: + - Add depends for linux-headers to make sure + that the modules can compile initially (LP: #271534) + + -- Mario Limonciello Thu, 18 Sep 2008 12:49:02 -0500 + +virtualbox-ose (2.0.2-dfsg-0ubuntu1) intrepid; urgency=low + + * New upstream version (LP: #268795) + - Introduces support for Intrepid Guests + - Introduces support for kernel 2.6.27 + * Update patches for new upstream version: + - 02-config-kmk + - 09-initscript + * Drop patches no longer necessary (or absorbed upstream): + - 05-vboxadd-udev + - 01-no-64bit-guest + * New patches: + - 01-64bit, for making sure we query the target arch properly. + * debian/control: + - Build depend on libqt4-dev for new upstream version. + - Build depend on python2.5-dev for new upstream version. + - Drop libqt3-mt-dev from build depends + - Bump provides of guest-utils to xserver-xorg-input-2.1 + - Bump provides of guest-utils to xserver-xorg-video-2.9 + - Enable 64 bit guest utils support. + * debian/rules: + - Disable QT3 support as we are using the QT4 frontend by + default. + - Set VirtualBox binaries to suid root per new hardening + requirements in this release. + - Add amd64 to a valid arch in the X11 additions check. + * debian/virtualbox-ose.install: + - Update location that xpidl is installed from. + * debian/virtualbox-ose.vboxdrv.init: + - Start at runlevels 2,3,4,5 rather than just 3,5 + * Enable DKMS support on virtualbox host and guest modules. (LP: #267097) + - Rebuilding is no longer necessary for new kernels (LP: #268367) + - Drop: + + virtualbox-ose-source.files/rules + + virtualbox-ose-source.files/postinst.modules.in + + virtualbox-ose-source.files/control.modules.in + + virtualbox-ose-guest-source.files/rules + + virtualbox-ose-guest-source.files/postinst.modules.in + + virtualbox-ose-guest-source.files/control.modules.in + + virtualbox-ose-source.links + - Rename / Add version to .in files: + + virtualbox-ose-guest-source.files/udev -> + virtualbox-ose-guest-source.udev + + virtualbox-ose-guest-source.install -> + virtualbox-ose-guest-source.install.in + + virtualbox-ose-source.dirs -> virtualbox-ose-source.dirs.in + + virtualbox-ose-guest-source.dirs -> virtualbox-ose-guest-source.dirs.in + + virtualbox-ose-guest-source.links -> + virtualbox-ose-guest-source.links.in + - New: + + virtualbox-ose-source.files/dkms.conf.in + + virtualbox-ose-source.postinst + + virtualbox-ose-source.prerm + + virtualbox-ose-guest-source.prerm + + virtualbox-ose-guest-source.postinst + + virtualbox-ose-guest-source.files/dkms.conf.in + + virtualbox-ose-guest-source.files/Makefile + - debian/rules: + + Add support to update all ".in" files in install target + + Add support to remove all sed produced ".in" files in clean target + + Drop extra rules that were modifying the "debian" directory in -source. + + Make sure to include postinst/prerm scripts for arch indep packages. + - debian/control: + + Recommends on the source package instead of modules packages + + Depends on the source packages for dkms and libc6-dev + - debian/virtualbox-ose.vboxdrv.init: + + Search for module in proper location + + -- Mario Limonciello Wed, 10 Sep 2008 13:50:20 -0500 + +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 Mon, 13 Oct 2008 16:38:47 +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 + , closes: #500484 + + -- Michael Meskes 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 Sun, 21 Sep 2008 22:29:58 +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 . Closes: #497505. + + -- Michael Meskes 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 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 to fix FTBFS with + dash as /bin/sh (Closes: #493402). + * Adding patch from Gonéri Le Bouder to fix FTBFS with + LC_ALL set to fr_FR.UTF-8 (Closes: #494157). + * Adding Swedish debconf translation from Martin Ågren + (Closes: #492162). + + -- Daniel Baumann 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 + (Closes: #490541). + * Adding Turkish debconf translation from Mert Dirik + (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 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 . + * 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 Tue, 17 Jun 2008 14:52:36 +0200 + +virtualbox-ose (1.6.2-dfsg-1ubuntu2) intrepid; urgency=low + + * Fix dpatch 01-no-64bit-guest to change upstream's uname -m into + dpkg-architecture -qDEB_HOST_GNU_CPU instead of dpkg --print-architecture; + fixes build on lpia. + * Build virtualbox-ose, virtualbox-ose-dbg, and virtualbox-ose-guest-utils + for lpia. + * 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. + * Install files into virtualbox-ose-guest-utils unconditionally and ignore + errors -- even if these exist, the package is disabled on amd64. + * Cleanup upstreamversion computation and compute it only once. + * Change Vcs-Svn and Vcs-Browser to XS-Original-Vcs-*. + + -- Loic Minier Tue, 24 Jun 2008 19:20:10 +0200 + +virtualbox-ose (1.6.2-dfsg-1ubuntu1) intrepid; urgency=low + + * Merge from Debian unstable (LP: #236221). Remaining Ubuntu changes: + - debian/virtualbox-ose.vboxdrv.init: init script to load vboxdrv kernel + module + - debian/rules: install vboxdrv init script + - debian/control: + - DebianMaintainerField + - debian/patches/09-initscript.dpatch: + - do not source /etc/default/virtualbox-ose + - do not load vboxdrv in here, gets done in separate vboxdrv init script + - debian/virtualbox-ose.default: + - Dropped, not used in Ubuntu (see 10-initscript.dpatch) + - debian/virtualbox-ose.preinst: + - Remove /etc/default/virtualbox-ose + - debian/virtualbox-ose-guest-utils.init: + Use log_action_cont_msg instead of log_warning_msg to not cause display + issues in usplash (without "quiet"), when not running in VirtualBox. + (Forwarded to Debian at bug #475297) + - debian/patches/04-vboxdrv-references.dpatch: + Do not mention "modprobe vboxdrv", because it's already done when + installing the module package. + - debian/virtualbox-ose.files/VBox.sh: + Improve error message for missing vboxdrv module and what package to + install. Use "uname -r" in the virtualbox wrapper script for this. + + -- Daniel Hahler Tue, 17 Jun 2008 01:10:51 +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 Sun, 11 May 2008 22:48:59 +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 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 Sun, 11 May 2008 22:48:50 +0200 + +virtualbox-ose (1.5.6-dfsg-6ubuntu1) hardy; urgency=low + + * Merge from Debian unstable. Remaining Ubuntu changes: + - debian/virtualbox-ose.vboxdrv.init: init script to load vboxdrv kernel + module + - debian/rules: install vboxdrv init script + - debian/control: + - DebianMaintainerField + - Breaks on virtualbox-ose-modules (can be dropped after Hardy) + - debian/patches/10-initscript.dpatch: + - do not source /etc/default/virtualbox-ose + - do not load vboxdrv in here, gets done in separate vboxdrv init script + - debian/virtualbox-ose.default: + - Dropped, not used in Ubuntu (see 10-initscript.dpatch) + - debian/virtualbox-ose.preinst: + - Remove /etc/default/virtualbox-ose + * debian/virtualbox-ose-guest-utils.init: + Use log_action_cont_msg instead of log_warning_msg to not cause display + issues in usplash (without "quiet"), when not running in VirtualBox. + * debian/patches/05-vboxdrv-references.dpatch, + debian/virtualbox-ose.files/VBox.sh: + Improve error message for missing vboxdrv module and what package to + install. Use "uname -r" in the virtualbox wrapper script for this. + Do not mention "modprobe vboxdrv", because it's already done when + installing the module package. + + -- Daniel Hahler Wed, 09 Apr 2008 03:01:59 +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 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 Fri, 04 Apr 2008 10:16:48 +0200 + +virtualbox-ose (1.5.6-dfsg-4ubuntu2) hardy; urgency=low + + * Move the removal of /etc/default/virtualbox-ose from postinst to preinst, + where it belongs + + -- Daniel Hahler Fri, 04 Apr 2008 03:17:43 +0200 + +virtualbox-ose (1.5.6-dfsg-4ubuntu1) hardy; urgency=low + + * Merge from Debian unstable. Remaining Ubuntu changes: + - debian/virtualbox-ose-guest-utils.init: "exit 0" in case the module + cannot be loaded + - debian/virtualbox-ose.vboxdrv.init: init script to load vboxdrv kernel + module + - debian/rules: install vboxdrv init script + - debian/control: + - DebianMaintainerField + - Breaks on virtualbox-ose-modules (can be dropped after Hardy) + * debian/patches/10-initscript.dpatch: + - do not source /etc/default/virtualbox-ose + - do not load vboxdrv in here, gets done in separate vboxdrv init script + * debian/virtualbox-ose.default: + - Dropped, not used in Ubuntu (see 10-initscript.dpatch) + * debian/virtualbox-ose.postinst: + - Remove /etc/default/virtualbox-ose + + -- Daniel Hahler Fri, 04 Apr 2008 01:44:25 +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 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 Tue, 18 Mar 2008 15:13:39 +0100 + +virtualbox-ose (1.5.6-dfsg-2ubuntu2) hardy; urgency=low + + * debian/control: change Depends of modules to Recommends (LP: #188579) + - virtualbox-ose-guest-utils only recommends virtualbox-ose-guest-modules + - virtualbox-ose only recommends virtualbox-ose-modules + * debian/virtualbox-ose-guest-utils.init: + Exit with status 0 in case "vboxadd" cannot get loaded in "start" + * debian/virtualbox-ose.vboxdrv.init: + Fix test for existing kernel module. Forwarded upstream as #1357. + + -- Daniel Hahler Thu, 20 Mar 2008 20:36:30 +0100 + +virtualbox-ose (1.5.6-dfsg-2ubuntu1) hardy; urgency=low + + * Merge from Debian unstable (LP: #202727). Remaining Ubuntu changes: + - Move virtualbox-ose-modules from recommends + to depends for virtualbox-ose. We can drop this change when Synaptic + installs recommended packages by default. + - Fix deprecated values in desktop file (LP: #196714) + - Change Maintainer to Ubuntu MOTU Developers. + * debian/virtualbox-ose.vboxdrv.init, debian/rules: + Move init script from virtualbox-ose-modules to here (LP: #200380). + This also makes sure that the udev rule to handle permissions of + /dev/vboxdrv is installed, when this init script to modprobe the + module is run (LP: #147076). + debian/control: Add Breaks for virtualbox-ose-modules* meta packages + (<< 17) + * debian/control: virtualbox-ose-guest-utils depends on + virtualbox-ose-guest-modules, instead of "recommends". The "vboxadd" + module is required by the guest-utils init script (LP: #189444). + This is also in line with the Depends for virtualbox-ose on the vboxdrv module. + * debian/control: Drop "suggest uml-utilities" for virtualbox-ose again + (LP: #154305) + * Fixes the following bugs in Ubuntu: + - Clearer message about losing snapshots during upgrade (LP: #187082) + - virtualbox-ose conditionally modprobes vboxdrv + (from virtualbox-ose-modules) in its init script, so that the + modules do not need any init scripts anymore (LP: #200380) + + -- Daniel Hahler Sun, 16 Mar 2008 23:53:00 +0100 + +virtualbox-ose (1.5.6-dfsg-2) unstable; urgency=low + + [ Daniel Baumann ] + * Added Brazilian-Portuguese debconf translation from Eder L. Marques + (Closes: #467452). + + [ Michael Meskes ] + * Added patch by Frans Pop 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 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 . + * 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 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 + (Closes: #464761). + * Removed extra whitespace in maintainer field of control, thanks to + Christoph Berg (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 Sun, 17 Feb 2008 19:08:04 +0100 + +virtualbox-ose (1.5.4-dfsg-4ubuntu3) hardy; urgency=low + + * Ignore delgroup failures in postrm as it's called a second time by + debconf; see also Debian #462885 for the same fix but related to a + seemingly different cause. + + -- Loic Minier Mon, 03 Mar 2008 16:34:05 +0100 + +virtualbox-ose (1.5.4-dfsg-4ubuntu2) hardy; urgency=low + + [ Saïvann Carignan ] + * Fix deprecated values in desktop file (LP: #196714) + + [ Daniel Hahler ] + * debian/control: Suggest bridge-utils and uml-utilities (LP: #154305) + + -- Daniel Hahler Fri, 29 Feb 2008 02:26:49 +0100 + +virtualbox-ose (1.5.4-dfsg-4ubuntu1) hardy; urgency=low + + * Sync with Debian (LP: #156210). Remaining changes are: + - Move virtualbox-ose-modules from recommends + to depends for virtualbox-ose. We can drop this change when Synaptic + installs recommended packages by default. + - Change Maintainer to Ubuntu MOTU Developers. + + * The new 1.5.4 release closes LP: #179807, #185628. + + -- Emilio Pozuelo Monfort Sat, 26 Jan 2008 16:11:06 +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 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 to fix + runtime assertions. + * Improved debconf text. + * Check for package upgrade in preinst. + * Pre-Depend on debconf. + + -- Michael Meskes 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 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 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 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 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 Mon, 17 Dec 2007 17:37:52 +0100 + +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 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 Sun, 02 Dec 2007 18:06:27 +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 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 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 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 to change the error + message for vboxdrv failure, according to virtualbox-ose-modules. + + -- Daniel Baumann 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 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 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 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 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 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 Thu, 30 Aug 2007 12:35:51 +0200 + --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose-source.prerm +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose-source.prerm @@ -0,0 +1,16 @@ +#!/bin/sh +# Copyright (C) 2008 Mario Limonciello + +#DEBHELPER# + +CVERSION=`dpkg-query -W -f='${Version}' virtualbox-ose-source | awk -F "-" '{print $1}' | cut -d\: -f2` +case "$1" in + remove|upgrade|purge) + echo "Removing all DKMS Modules" + dkms remove -m vboxdrv -v $CVERSION --all > /dev/null + dkms remove -m vboxnetflt -v $CVERSION --all > /dev/null + echo "Done." + ;; +esac + + --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose.postrm +++ virtualbox-ose-2.1.4-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-2.1.4-dfsg.orig/debian/source.lintian-overrides +++ virtualbox-ose-2.1.4-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-2.1.4-dfsg.orig/debian/virtualbox-ose.postinst +++ virtualbox-ose-2.1.4-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-2.1.4-dfsg.orig/debian/virtualbox-ose-source.dirs.in +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose-source.dirs.in @@ -0,0 +1,2 @@ +usr/src/vboxdrv-CVERSION +usr/src/vboxnetflt-CVERSION --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose-guest-utils.postinst +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose-guest-utils.postinst @@ -0,0 +1,24 @@ +#!/bin/sh + +set -e + +case "${1}" in + configure) + # do not call this automatically as it might break stuff + # or not even work depending on the X setup + #/usr/lib/virtualbox/x11config.pl + ;; + + abort-upgrade|abort-deconfigure|abort-remove) + + ;; + + *) + echo "${0} called with unknown argument \`${1}'" 1>&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose-guest-source.udev +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose-guest-source.udev @@ -0,0 +1 @@ +KERNEL=="vboxadd", NAME="vboxadd", OWNER="root", MODE="0666" --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose-source.files/do_Module.symvers +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose-source.files/do_Module.symvers @@ -0,0 +1,46 @@ +#!/bin/sh + +# +# This script is used when building kernel modules from DKMS. I don't +# know how to solve the problem of inter-module dependencies better. +# +# Copyright (C) 2008 Sun Microsystems, Inc. +# +# This file is part of VirtualBox Open Source Edition (OSE), as +# available from http://www.virtualbox.org. This file is free software; +# you can redistribute it and/or modify it under the terms of the GNU +# General Public License (GPL) as published by the Free Software +# Foundation, in version 2 as it comes in the "COPYING" file of the +# VirtualBox OSE distribution. VirtualBox OSE is distributed in the +# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. +# +# The contents of this file may alternatively be used under the terms +# of the Common Development and Distribution License Version 1.0 +# (CDDL) only, as it comes in the "COPYING.CDDL" file of the +# VirtualBox OSE distribution, in which case the provisions of the +# CDDL are applicable instead of those of the GPL. +# +# You may elect to license modified versions of this file under the +# terms and conditions of either the GPL or the CDDL or both. +# +# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa +# Clara, CA 95054 USA or visit http://www.sun.com if you need +# additional information or have any questions. +# + +SYMFILE="/tmp/$1-Module.symvers" +case "$2" in + save) + if [ -f "$3" ]; then + cp "$3" "$SYMFILE" + fi + ;; + restore) + if [ -f "$SYMFILE" ]; then + cp "$SYMFILE" "$3" + fi + ;; + *) + echo "Usage: save|restore " + ;; +esac --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose-source.files/dkms.conf.vboxnetflt.in +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose-source.files/dkms.conf.vboxnetflt.in @@ -0,0 +1,7 @@ +PACKAGE_NAME="vboxnetflt" +PACKAGE_VERSION="CVERSION" +CLEAN="make -C $dkms_tree/$module/$module_version/build clean" +BUILT_MODULE_NAME[0]="vboxnetflt" +DEST_MODULE_LOCATION[0]="/updates/vboxnetflt" +AUTOINSTALL="yes" +PRE_BUILD="do_Module.symvers vboxdrv restore $dkms_tree/$module/$module_version/build/Module.symvers" --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose-source.files/dkms.conf.vboxdrv.in +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose-source.files/dkms.conf.vboxdrv.in @@ -0,0 +1,7 @@ +PACKAGE_NAME="vboxdrv" +PACKAGE_VERSION="CVERSION" +CLEAN="make -C $dkms_tree/$module/$module_version/build clean" +BUILT_MODULE_NAME[0]="vboxdrv" +DEST_MODULE_LOCATION[0]="/updates/vboxdrv" +AUTOINSTALL="yes" +POST_BUILD="do_Module.symvers vboxdrv save $dkms_tree/$module/$module_version/build/Module.symvers" --- virtualbox-ose-2.1.4-dfsg.orig/debian/lintian/virtualbox-ose +++ virtualbox-ose-2.1.4-dfsg/debian/lintian/virtualbox-ose @@ -0,0 +1,41 @@ +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: shlib-with-non-pic-code usr/lib/virtualbox/VBoxBFE.so +virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxGuestPropSvc.so +virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxHeadless.so +virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxKeyboard3.so +virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxPython.so +virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxSDL.so +virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VirtualBox.so +virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VirtualBox3.so +virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/components/VBoxC.so +virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/components/VBoxSVCM.so +virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxREM32.so +virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/VBoxREM64.so +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: 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: setuid-gid-binary usr/lib/virtualbox/VBoxBFE 6755 root/root +virtualbox-ose: setuid-gid-binary usr/lib/virtualbox/VBoxHeadless 6755 root/root +virtualbox-ose: setuid-gid-binary usr/lib/virtualbox/VBoxSDL 6755 root/root +virtualbox-ose: setuid-gid-binary usr/lib/virtualbox/VirtualBox 6755 root/root + --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose-guest-source.files/Makefile +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose-guest-source.files/Makefile @@ -0,0 +1,3 @@ +.NOTPARALLEL: + +obj-m = vboxadd/ vboxvfs/ --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose-guest-source.files/dkms.conf.in +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose-guest-source.files/dkms.conf.in @@ -0,0 +1,10 @@ +PACKAGE_NAME="virtualbox-ose-guest" +PACKAGE_VERSION="CVERSION" +CLEAN="rm -f *.*o" +BUILT_MODULE_NAME[0]="vboxadd" +BUILT_MODULE_LOCATION[0]="vboxadd" +DEST_MODULE_LOCATION[0]="/updates" +BUILT_MODULE_NAME[1]="vboxvfs" +BUILT_MODULE_LOCATION[1]="vboxvfs" +DEST_MODULE_LOCATION[1]="/updates" +AUTOINSTALL="yes" --- virtualbox-ose-2.1.4-dfsg.orig/debian/patches/03-localconf-kmk.dpatch +++ virtualbox-ose-2.1.4-dfsg/debian/patches/03-localconf-kmk.dpatch @@ -0,0 +1,28 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 03-localconf-kmk.dpatch by Patrick Winnertz +## expanded my Michael Meskes 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-2.0.4-dfsg.orig/LocalConfig.kmk virtualbox-ose-2.0.4-dfsg/LocalConfig.kmk +--- virtualbox-ose-2.0.4-dfsg.orig/LocalConfig.kmk 2008-11-23 11:52:44.000000000 +0100 ++++ virtualbox-ose-2.0.4-dfsg/LocalConfig.kmk 2008-11-23 11:53:14.000000000 +0100 +@@ -0,0 +1,15 @@ ++VBOX_WITH_ADDITION_DRIVERS = ++VBOX_ADDITIONS_LINUX_ONLY = ++VBOX_WITH_INSTALLER = 1 ++VBOX_WITH_LINUX_ADDITIONS = 1 ++VBOX_WITH_X11_ADDITIONS = 1 ++VBOX_WITH_TESTCASES = ++VBOX_WITH_TESTSUITE = ++VBOX_WITH_USB = ++VBOX_WITH_CROGL= 1 ++VBOX_WITH_ORIGIN := ++VBOX_PATH_APP_PRIVATE_ARCH := /usr/lib/virtualbox ++VBOX_PATH_SHARED_LIBS := $(VBOX_PATH_APP_PRIVATE_ARCH) ++VBOX_WITH_RUNPATH := $(VBOX_PATH_APP_PRIVATE_ARCH) ++VBOX_PATH_APP_PRIVATE := /usr/share/virtualbox ++VBOX_PATH_APP_DOCS = $(VBOX_PATH_PACKAGE_DOCS) --- virtualbox-ose-2.1.4-dfsg.orig/debian/patches/u03-unbreak-acpi-with-newer-kernels.dpatch +++ virtualbox-ose-2.1.4-dfsg/debian/patches/u03-unbreak-acpi-with-newer-kernels.dpatch @@ -0,0 +1,60 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## u03-unbreak-acpi-with-newer-kernels.dpatch by Arand Nash +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad virtualbox-ose-3.0.8-dfsg~/src/VBox/VMM/PATM/PATM.cpp virtualbox-ose-3.0.8-dfsg/src/VBox/VMM/PATM/PATM.cpp +--- virtualbox-ose-3.0.8-dfsg~/src/VBox/VMM/PATM/PATM.cpp 2009-10-13 12:49:16.000000000 +0100 ++++ virtualbox-ose-3.0.8-dfsg/src/VBox/VMM/PATM/PATM.cpp 2010-02-23 04:02:36.604218138 +0000 +@@ -5955,6 +5955,49 @@ + pCurPatchInstrHC += CpuNew.opsize; + pCurPatchInstrGC += CpuNew.opsize; + cbLeft -= CpuNew.opsize; ++ ++ /* Check if we expanded a complex guest instruction into a patch stream (e.g. call) */ ++ if (!cbLeft) ++ { ++ /* If the next patch instruction doesn't correspond to the next guest instruction, then we have some extra room to fill. */ ++ if (RTAvlU32Get(&pPatch->patch.Patch2GuestAddrTree, pCurPatchInstrGC - pVM->patm.s.pPatchMemGC) == NULL) ++ { ++ pRec = (PRECPATCHTOGUEST)RTAvlU32GetBestFit(&pPatch->patch.Patch2GuestAddrTree, pCurPatchInstrGC - pVM->patm.s.pPatchMemGC, true); ++ if (pRec) ++ { ++ unsigned cbFiller = pRec->Core.Key + pVM->patm.s.pPatchMemGC - pCurPatchInstrGC; ++ uint8_t *pPatchFillHC = patmPatchGCPtr2PatchHCPtr(pVM, pCurPatchInstrGC); ++ ++ Assert(!pRec->fDirty); ++ ++ Log(("Room left in patched instruction stream (%d bytes)\n", cbFiller)); ++ if (cbFiller >= SIZEOF_NEARJUMP32) ++ { ++ pPatchFillHC[0] = 0xE9; ++ *(uint32_t *)&pPatchFillHC[1] = cbFiller - SIZEOF_NEARJUMP32; ++#ifdef DEBUG ++ char szBuf[256]; ++ szBuf[0] = '\0'; ++ DBGFR3DisasInstrEx(pVM, pVCpu->idCpu, pCtx->cs, pCurPatchInstrGC, 0, szBuf, sizeof(szBuf), NULL); ++ Log(("FILL: %s\n", szBuf)); ++#endif ++ } ++ else ++ { ++ for (unsigned i = 0; i < cbFiller; i++) ++ { ++ pPatchFillHC[i] = 0x90; /* NOP */ ++#ifdef DEBUG ++ char szBuf[256]; ++ szBuf[0] = '\0'; ++ DBGFR3DisasInstrEx(pVM, pVCpu->idCpu, pCtx->cs, pCurPatchInstrGC, 0, szBuf, sizeof(szBuf), NULL); ++ Log(("FILL: %s\n", szBuf)); ++#endif ++ } ++ } ++ } ++ } ++ } + } + } + else --- virtualbox-ose-2.1.4-dfsg.orig/debian/patches/10-workaround-gcc-ice.dpatch +++ virtualbox-ose-2.1.4-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 +## +## DP: Use -O3 to 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-2.1.4-dfsg.orig/debian/patches/01-build-arch.dpatch +++ virtualbox-ose-2.1.4-dfsg/debian/patches/01-build-arch.dpatch @@ -0,0 +1,19 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 01-build-arch.dpatch by Michael Meskes +## +## DP: Correctly check build architecture. + +@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) --- virtualbox-ose-2.1.4-dfsg.orig/debian/patches/15_wined3d_guest_addition.dpatch +++ virtualbox-ose-2.1.4-dfsg/debian/patches/15_wined3d_guest_addition.dpatch @@ -0,0 +1,124 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 15_wined3d_guest_addition.dpatch by Michael Meskes +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Add WineD3D guest additions + +@DPATCH@ + +diff -ur virtualbox-ose-2.1.2-dfsg/src/VBox/Frontends/VirtualBox4/include/VBoxConsoleWnd.h virtualbox-ose-2.1.2-dfsg.new/src/VBox/Frontends/VirtualBox4/include/VBoxConsoleWnd.h +--- virtualbox-ose-2.1.2-dfsg/src/VBox/Frontends/VirtualBox4/include/VBoxConsoleWnd.h 2009-01-14 21:00:46.000000000 +0100 ++++ virtualbox-ose-2.1.2-dfsg.new/src/VBox/Frontends/VirtualBox4/include/VBoxConsoleWnd.h 2009-02-03 23:25:14.000000000 +0100 +@@ -191,6 +191,7 @@ + void devicesSwitchVrdp (bool); + void devicesOpenSFDialog(); + void devicesInstallGuestAdditions(); ++ void devicesInstallWineD3D(); + + void prepareFloppyMenu(); + void prepareDVDMenu(); +@@ -265,6 +266,7 @@ + QAction *mDevicesSwitchVrdpAction; + QAction *mDevicesSFDialogAction; + QAction *mDevicesInstallGuestToolsAction; ++ QAction *mDevicesInstallWineD3DAction; + + #ifdef VBOX_WITH_DEBUGGER_GUI + /* Debugger actions */ +diff -ur virtualbox-ose-2.1.2-dfsg/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp virtualbox-ose-2.1.2-dfsg.new/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp +--- virtualbox-ose-2.1.2-dfsg/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp 2009-01-21 09:41:58.000000000 +0100 ++++ virtualbox-ose-2.1.2-dfsg.new/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp 2009-02-04 02:10:36.000000000 +0100 +@@ -357,6 +357,10 @@ + mDevicesInstallGuestToolsAction->setIcon (VBoxGlobal::iconSet (":/guesttools_16px.png", + ":/guesttools_disabled_16px.png")); + ++ mDevicesInstallWineD3DAction = new QAction (mRunningActions); ++ mDevicesInstallWineD3DAction->setIcon (VBoxGlobal::iconSet (":/guesttools_16px.png", ++ ":/guesttools_disabled_16px.png")); ++ + #ifdef VBOX_WITH_DEBUGGER_GUI + if (vboxGlobal().isDebuggerEnabled()) + { +@@ -452,6 +456,7 @@ + mDevicesVRDPMenuSeparator = mDevicesMenu->addSeparator(); + + mDevicesMenu->addAction (mDevicesInstallGuestToolsAction); ++ mDevicesMenu->addAction (mDevicesInstallWineD3DAction); + + /* reset the "context menu" flag */ + mDevicesMountFloppyMenu->menuAction()->setData (false); +@@ -610,6 +615,7 @@ + connect (mDevicesSwitchVrdpAction, SIGNAL(toggled (bool)), this, SLOT(devicesSwitchVrdp (bool))); + connect (mDevicesSFDialogAction, SIGNAL(triggered()), this, SLOT(devicesOpenSFDialog())); + connect (mDevicesInstallGuestToolsAction, SIGNAL(triggered()), this, SLOT(devicesInstallGuestAdditions())); ++ connect (mDevicesInstallWineD3DAction, SIGNAL(triggered()), this, SLOT(devicesInstallWineD3D())); + + + connect (mDevicesMountFloppyMenu, SIGNAL(aboutToShow()), this, SLOT(prepareFloppyMenu())); +@@ -1680,6 +1686,10 @@ + mDevicesInstallGuestToolsAction->setStatusTip ( + tr ("Mount the Guest Additions installation image")); + ++ mDevicesInstallWineD3DAction->setText (tr ("Install &WineD3D (for Direct3D)...")); ++ mDevicesInstallWineD3DAction->setStatusTip ( ++ tr ("Mount the WineD3D installation image. WineD3D provides Direct3D functionality on Windows guests.")); ++ + #ifdef VBOX_WITH_DEBUGGER_GUI + /* Debug actions */ + +@@ -2855,6 +2865,55 @@ + } + } + ++/* Based on devicesInstallGuestAdditions() */ ++void VBoxConsoleWnd::devicesInstallWineD3D() ++{ ++#if defined (DEBUG_dmik) /* subscribe yourself here if you care for this behavior. */ ++ QString src1 = qApp->applicationDirPath() + "/../../release/bin/wined3d.iso"; ++ QString src2 = qApp->applicationDirPath() + "/../../release/bin/additions/wined3d.iso"; ++#else ++ char szAppPrivPath [RTPATH_MAX]; ++ int rc = RTPathAppPrivateNoArch (szAppPrivPath, sizeof (szAppPrivPath)); ++ AssertRC (rc); ++ ++ QString src1 = QString (szAppPrivPath) + "/wined3d.iso"; ++ QString src2 = qApp->applicationDirPath() + "/additions/wined3d.iso"; ++#endif ++ ++ /* Check the standard image locations */ ++ if (QFile::exists (src1)) ++ return installGuestAdditionsFrom (src1); ++ else if (QFile::exists (src2)) ++ return installGuestAdditionsFrom (src2); ++ ++ /* Check for the already registered image */ ++ CVirtualBox vbox = vboxGlobal().virtualBox(); ++ QString name = QString ("wined3d.iso"); ++ ++ CDVDImage2Vector vec = vbox.GetDVDImages(); ++ for (CDVDImage2Vector::ConstIterator it = vec.begin(); ++ it != vec.end(); ++ it) ++ { ++ QString path = it->GetLocation(); ++ /* Compare the name part ignoring the file case */ ++ QString fn = QFileInfo (path).fileName(); ++ if (RTPathCompare (name.toUtf8().constData(), fn.toUtf8().constData()) == 0) ++ return installGuestAdditionsFrom (path); ++ } ++ ++ /* Download the required image */ ++ { ++ QString source = QString ("http://aybabtu.com/rmh/wined3d/pub/latest/wined3d.iso"); ++ QString target = QDir (vboxGlobal().virtualBox().GetHomeFolder()) ++ .absoluteFilePath (name); ++ ++ VBoxAdditionsDownloader *dl = ++ new VBoxAdditionsDownloader (source, target, mDevicesInstallWineD3DAction); ++ statusBar()->addWidget (dl, 0); ++ dl->start(); ++ } ++} ++ + void VBoxConsoleWnd::installGuestAdditionsFrom (const QString &aSource) + { + CVirtualBox vbox = vboxGlobal().virtualBox(); --- virtualbox-ose-2.1.4-dfsg.orig/debian/patches/17-disable-help-contents.dpatch +++ virtualbox-ose-2.1.4-dfsg/debian/patches/17-disable-help-contents.dpatch @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 17-disable-help-contents.dpatch by Daniel Hahler +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Disable Help>Contents... menu item (LP: #323988) + +@DPATCH@ +diff -urNad virtualbox-ose-2.1.0-dfsg~/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp virtualbox-ose-2.1.0-dfsg/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp +--- virtualbox-ose-2.1.0-dfsg~/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp 2009-02-14 21:23:16.000000000 +0100 ++++ virtualbox-ose-2.1.0-dfsg/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp 2009-02-14 21:23:53.006807389 +0100 +@@ -1550,6 +1550,7 @@ + + helpContentsAction->setMenuText (tr ("&Contents...")); + helpContentsAction->setStatusTip (tr ("Show the online help contents")); ++ helpContentsAction->setDisabled(true); + + helpWebAction->setMenuText (tr ("&VirtualBox Web Site...")); + helpWebAction->setStatusTip ( --- virtualbox-ose-2.1.4-dfsg.orig/debian/patches/02-config-kmk.dpatch +++ virtualbox-ose-2.1.4-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 +## +## 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-2.1.4-dfsg.orig/debian/patches/11-gcc-4.3.dpatch +++ virtualbox-ose-2.1.4-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 +## +## 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 ++ + #include + #include + #include +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 + #include + #include ++#include + + #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-2.1.4-dfsg.orig/debian/patches/12-make-module.dpatch +++ virtualbox-ose-2.1.4-dfsg/debian/patches/12-make-module.dpatch @@ -0,0 +1,135 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 12-make-module.dpatch by Michael Meskes +## +## DP: Fix ARCH setting in modules Makefiles + +@DPATCH@ + +diff -Naurp virtualbox-ose-2.1.0-dfsg.orig/src/VBox/Additions/linux/module/Makefile.module virtualbox-ose-2.1.0-dfsg/src/VBox/Additions/linux/module/Makefile.module +--- virtualbox-ose-2.1.0-dfsg.orig/src/VBox/Additions/linux/module/Makefile.module 2008-12-13 23:00:20.000000000 +0100 ++++ virtualbox-ose-2.1.0-dfsg/src/VBox/Additions/linux/module/Makefile.module 2008-12-28 17:23:27.000000000 +0100 +@@ -32,12 +32,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 +diff -Naurp virtualbox-ose-2.1.0-dfsg.orig/src/VBox/Additions/linux/sharedfolders/Makefile.module virtualbox-ose-2.1.0-dfsg/src/VBox/Additions/linux/sharedfolders/Makefile.module +--- virtualbox-ose-2.1.0-dfsg.orig/src/VBox/Additions/linux/sharedfolders/Makefile.module 2008-12-13 23:00:20.000000000 +0100 ++++ virtualbox-ose-2.1.0-dfsg/src/VBox/Additions/linux/sharedfolders/Makefile.module 2008-12-28 17:23:27.000000000 +0100 +@@ -32,12 +32,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 +diff -Naurp virtualbox-ose-2.1.0-dfsg.orig/src/VBox/HostDrivers/Support/linux/Makefile virtualbox-ose-2.1.0-dfsg/src/VBox/HostDrivers/Support/linux/Makefile +--- virtualbox-ose-2.1.0-dfsg.orig/src/VBox/HostDrivers/Support/linux/Makefile 2008-12-13 23:00:17.000000000 +0100 ++++ virtualbox-ose-2.1.0-dfsg/src/VBox/HostDrivers/Support/linux/Makefile 2008-12-28 17:23:27.000000000 +0100 +@@ -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 +diff -Naurp virtualbox-ose-2.1.0-dfsg.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile virtualbox-ose-2.1.0-dfsg/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile +--- virtualbox-ose-2.1.0-dfsg.orig/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile 2008-12-15 22:21:46.000000000 +0100 ++++ virtualbox-ose-2.1.0-dfsg/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile 2008-12-28 17:23:49.000000000 +0100 +@@ -34,12 +34,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-2.1.4-dfsg.orig/debian/patches/14-disable-registration-request.dpatch +++ virtualbox-ose-2.1.4-dfsg/debian/patches/14-disable-registration-request.dpatch @@ -0,0 +1,33 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 14-disable-registration-request.dpatch by Daniel Hahler +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Disable the registration request at startup (LP: #285684) +## DP: This is probably not the right way to do it, but I have found no +## DP: better way to undefine VBOX_WITH_REGISTRATION_REQUEST + +@DPATCH@ +diff -urNad virtualbox-ose-2.0.4-dfsg~/src/VBox/Frontends/VirtualBox/Makefile.kmk virtualbox-ose-2.0.4-dfsg/src/VBox/Frontends/VirtualBox/Makefile.kmk +--- virtualbox-ose-2.0.4-dfsg~/src/VBox/Frontends/VirtualBox/Makefile.kmk 2008-10-23 22:11:39.000000000 +0200 ++++ virtualbox-ose-2.0.4-dfsg/src/VBox/Frontends/VirtualBox/Makefile.kmk 2008-10-26 02:53:09.271786032 +0200 +@@ -27,7 +27,7 @@ + # + VBOX_PATH_VIRTUALBOX3_SRC := $(PATH_SUB_CURRENT) + VBOX_WITH_REGISTRATION := 1 +-VBOX_WITH_REGISTRATION_REQUEST := 1 ++#VBOX_WITH_REGISTRATION_REQUEST := 1 + + + # +diff -urNad virtualbox-ose-2.0.4-dfsg~/src/VBox/Frontends/VirtualBox4/Makefile.kmk virtualbox-ose-2.0.4-dfsg/src/VBox/Frontends/VirtualBox4/Makefile.kmk +--- virtualbox-ose-2.0.4-dfsg~/src/VBox/Frontends/VirtualBox4/Makefile.kmk 2008-10-23 22:12:16.000000000 +0200 ++++ virtualbox-ose-2.0.4-dfsg/src/VBox/Frontends/VirtualBox4/Makefile.kmk 2008-10-26 02:53:00.227785792 +0200 +@@ -32,7 +32,7 @@ + + # Ask the user to register at Sun. If this setting is disabled the user can + # still register using the menu if desired. +-VBOX_WITH_REGISTRATION_REQUEST := 1 ++#VBOX_WITH_REGISTRATION_REQUEST := 1 + + # Show the update notifier dialog during startup. If this setting is disabled + # the user can still update using the menu if desired. --- virtualbox-ose-2.1.4-dfsg.orig/debian/patches/08-init-lsb.dpatch +++ virtualbox-ose-2.1.4-dfsg/debian/patches/08-init-lsb.dpatch @@ -0,0 +1,48 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 08-init-lsb.dpatch by Michael Meskes +## +## DP: Make initscript lsb cmpliant. + +@DPATCH@ + +diff -Naurp virtualbox-ose-2.1.0-dfsg.orig/src/VBox/Installer/linux/vboxdrv.sh.in virtualbox-ose-2.1.0-dfsg/src/VBox/Installer/linux/vboxdrv.sh.in +--- virtualbox-ose-2.1.0-dfsg.orig/src/VBox/Installer/linux/vboxdrv.sh.in 2008-05-09 09:28:11.000000000 +0000 ++++ virtualbox-ose-2.1.0-dfsg/src/VBox/Installer/linux/vboxdrv.sh.in 2008-05-09 09:28:41.000000000 +0000 +@@ -19,8 +19,8 @@ + # + ### BEGIN INIT INFO + # Provides: vboxdrv +-# Required-Start: $syslog +-# Required-Stop: ++# Required-Start: $remote_fs $network ++# Required-Stop: $remote_fs + # Default-Start: 2 3 4 5 + # Default-Stop: 0 1 6 + # Short-Description: VirtualBox Linux kernel module +@@ -32,7 +32,7 @@ + LOG="/var/log/vbox-install.log" + NOLSB=%NOLSB% + +-[ -f /lib/lsb/init-functions ] || NOLSB=yes ++[ -f /lib/lsb/init-functions ] && NOLSB= + [ -f /etc/vbox/vbox.cfg ] && . /etc/vbox/vbox.cfg + + if [ -n "$INSTALL_DIR" ]; then +@@ -60,14 +60,13 @@ + if [ -z "$NOLSB" ]; then + . /lib/lsb/init-functions + fail_msg() { +- 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-2.1.4-dfsg.orig/debian/patches/00list +++ virtualbox-ose-2.1.4-dfsg/debian/patches/00list @@ -0,0 +1,16 @@ +01-build-arch.dpatch +02-config-kmk.dpatch +03-localconf-kmk.dpatch +04-vboxdrv-references.dpatch +06-xsession.dpatch +08-init-lsb.dpatch +09-initscript.dpatch +10-workaround-gcc-ice.dpatch +11-gcc-4.3.dpatch +12-make-module.dpatch +13-disable-update-action.dpatch +13-module-mismatch.dpatch +14-disable-registration-request.dpatch +15_wined3d_guest_addition.dpatch +17-disable-help-contents.dpatch +u03-unbreak-acpi-with-newer-kernels.dpatch --- virtualbox-ose-2.1.4-dfsg.orig/debian/patches/06-xsession.dpatch +++ virtualbox-ose-2.1.4-dfsg/debian/patches/06-xsession.dpatch @@ -0,0 +1,17 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 06-xsession.dpatch by Michael Meskes +## +## 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-2.1.4-dfsg.orig/debian/patches/09-initscript.dpatch +++ virtualbox-ose-2.1.4-dfsg/debian/patches/09-initscript.dpatch @@ -0,0 +1,60 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 09-initscript.dpatch by Michael Meskes +## +## DP: Some changes to initscript. + +@DPATCH@ + +diff -Naurp virtualbox-ose-2.1.2-dfsg.orig/src/VBox/Installer/linux/vboxdrv.sh.in virtualbox-ose-2.1.2-dfsg/src/VBox/Installer/linux/vboxdrv.sh.in +--- virtualbox-ose-2.1.2-dfsg.orig/src/VBox/Installer/linux/vboxdrv.sh.in 2009-02-20 13:37:57.000000000 +0100 ++++ virtualbox-ose-2.1.2-dfsg/src/VBox/Installer/linux/vboxdrv.sh.in 2009-02-20 13:36:50.000000000 +0100 +@@ -32,6 +32,8 @@ + LOG="/var/log/vbox-install.log" + NOLSB=yes + ++# Include virtualbox-ose defaults if available ++[ -f /etc/default/virtualbox-ose ] && . /etc/default/virtualbox-ose + [ -f /lib/lsb/init-functions ] && NOLSB= + [ -f /etc/vbox/vbox.cfg ] && . /etc/vbox/vbox.cfg + +@@ -147,14 +149,19 @@ + { + begin_msg "Starting VirtualBox kernel module" + if ! running vboxdrv; then +- if ! find /lib/modules/`uname -r` -name "vboxdrv\.*" 2>/dev/null|grep -q vboxdrv; then +- failure "No suitable module for running kernel found" +- fi +- if ! rm -f $DEVICE; then +- failure "Cannot remove $DEVICE" +- fi +- if ! modprobe vboxdrv > /dev/null 2>&1; then +- failure "modprobe vboxdrv failed. Please use 'dmesg' to find out why" ++ if [ "$LOAD_VBOXDRV_MODULE" = 1 ]; then ++ if ! find /lib/modules/`uname -r` -name "vboxdrv\.*" 2>/dev/null|grep -q vboxdrv; then ++ failure "No suitable module for running kernel found" ++ fi ++ if ! rm -f $DEVICE; then ++ failure "Cannot remove $DEVICE" ++ fi ++ if ! modprobe vboxdrv > /dev/null 2>&1; then ++ failure "modprobe vboxdrv failed. Please use 'dmesg' to find out why" ++ fi ++ else ++ succ_msg ++ return + fi + sleep .2 + fi +@@ -184,8 +191,10 @@ + rmmod vboxdrv 2>/dev/null + failure "Cannot change owner $GROUPNAME for device $DEVICE" + fi +- if ! modprobe vboxnetflt > /dev/null 2>&1; then +- failure "modprobe vboxnetflt failed. Please use 'dmesg' to find out why" ++ if [ "$LOAD_VBOXDRV_MODULE" = 1 ]; then ++ if ! modprobe vboxnetflt > /dev/null 2>&1; then ++ failure "modprobe vboxnetflt failed. Please use 'dmesg' to find out why" ++ fi + fi + succ_msg + } --- virtualbox-ose-2.1.4-dfsg.orig/debian/patches/13-disable-update-action.dpatch +++ virtualbox-ose-2.1.4-dfsg/debian/patches/13-disable-update-action.dpatch @@ -0,0 +1,67 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 13-disable-update-action.dpatch by Daniel Hahler +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Disable "Check for Updates" action (LP: #272212) + +@DPATCH@ +diff -urNad virtualbox-ose-2.1.4-dfsg-1ubuntu1~/src/VBox/Frontends/VirtualBox4/src/VBoxGLSettingsUpdate.cpp virtualbox-ose-2.1.4-dfsg-1ubuntu1/src/VBox/Frontends/VirtualBox4/src/VBoxGLSettingsUpdate.cpp +--- virtualbox-ose-2.1.4-dfsg-1ubuntu1~/src/VBox/Frontends/VirtualBox4/src/VBoxGLSettingsUpdate.cpp 2009-02-28 19:15:45.000000000 +0100 ++++ virtualbox-ose-2.1.4-dfsg-1ubuntu1/src/VBox/Frontends/VirtualBox4/src/VBoxGLSettingsUpdate.cpp 2009-02-28 19:16:26.605325798 +0100 +@@ -46,7 +46,7 @@ + VBoxUpdateData data (vboxGlobal().virtualBox(). + GetExtraData (VBoxDefs::GUI_UpdateDate)); + +- mCbCheck->setChecked (!data.isNeverCheck()); ++ mCbCheck->setChecked (false); + if (mCbCheck->isChecked()) + mCbOncePer->setCurrentIndex (data.index()); + mTxDate->setText (data.date()); +diff -urNad virtualbox-ose-2.1.4-dfsg-1ubuntu1~/src/VBox/Frontends/VirtualBox4/src/VBoxGlobal.cpp virtualbox-ose-2.1.4-dfsg-1ubuntu1/src/VBox/Frontends/VirtualBox4/src/VBoxGlobal.cpp +--- virtualbox-ose-2.1.4-dfsg-1ubuntu1~/src/VBox/Frontends/VirtualBox4/src/VBoxGlobal.cpp 2009-02-28 19:15:45.000000000 +0100 ++++ virtualbox-ose-2.1.4-dfsg-1ubuntu1/src/VBox/Frontends/VirtualBox4/src/VBoxGlobal.cpp 2009-02-28 19:17:28.821322468 +0100 +@@ -5115,6 +5115,9 @@ + */ + void VBoxGlobal::showUpdateDialog (bool aForce) + { ++ /* Update dialog disabled in Ubuntu: */ ++ return; ++ + /* Silently check in one day after current time-stamp */ + QTimer::singleShot (24 /* hours */ * 60 /* minutes */ * + 60 /* seconds */ * 1000 /* milliseconds */, +diff -urNad virtualbox-ose-2.1.4-dfsg-1ubuntu1~/src/VBox/Frontends/VirtualBox4/src/VBoxProblemReporter.cpp virtualbox-ose-2.1.4-dfsg-1ubuntu1/src/VBox/Frontends/VirtualBox4/src/VBoxProblemReporter.cpp +--- virtualbox-ose-2.1.4-dfsg-1ubuntu1~/src/VBox/Frontends/VirtualBox4/src/VBoxProblemReporter.cpp 2009-02-28 19:15:45.000000000 +0100 ++++ virtualbox-ose-2.1.4-dfsg-1ubuntu1/src/VBox/Frontends/VirtualBox4/src/VBoxProblemReporter.cpp 2009-02-28 19:16:26.609324710 +0100 +@@ -252,8 +252,7 @@ + #endif + + aMenu->addAction (updateAction); +- updateAction->setEnabled (vboxGlobal().virtualBox(). +- GetExtraData (VBoxDefs::GUI_UpdateDlgWinID).isEmpty()); ++ updateAction->setDisabled(true); + + aMenu->addSeparator(); + aMenu->addAction (aboutAction); +diff -urNad virtualbox-ose-2.1.4-dfsg-1ubuntu1~/src/VBox/Frontends/VirtualBox4/ui/VBoxGLSettingsUpdate.ui virtualbox-ose-2.1.4-dfsg-1ubuntu1/src/VBox/Frontends/VirtualBox4/ui/VBoxGLSettingsUpdate.ui +--- virtualbox-ose-2.1.4-dfsg-1ubuntu1~/src/VBox/Frontends/VirtualBox4/ui/VBoxGLSettingsUpdate.ui 2009-02-28 19:15:45.000000000 +0100 ++++ virtualbox-ose-2.1.4-dfsg-1ubuntu1/src/VBox/Frontends/VirtualBox4/ui/VBoxGLSettingsUpdate.ui 2009-02-28 19:16:26.609324710 +0100 +@@ -18,6 +18,9 @@ + + VBoxGLSettingsUpdate + ++ ++ false ++ + + + 0 +@@ -48,7 +51,7 @@ + &Check for updates + + +- true ++ false + + + --- virtualbox-ose-2.1.4-dfsg.orig/debian/patches/13-module-mismatch.dpatch +++ virtualbox-ose-2.1.4-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 +## +## DP: Adjusts failure message with Ubuntu 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 " ++ "installing the virtualbox-ose-source package " ++ "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-2.1.4-dfsg.orig/debian/patches/04-vboxdrv-references.dpatch +++ virtualbox-ose-2.1.4-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 +## +## DP: Change error messages for vboxdrv failure, according to +## DP: virtualbox-ose-source (DKMS). + +@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_("VirtualBox kernel driver not loaded. " ++ "Please install the virtualbox-ose-source package"); + #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_("VirtualBox kernel driver not installed. " ++ "Please install the virtualbox-ose-source package"); + #else + pszError = N_("VirtualBox kernel driver not installed"); + #endif --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose.files/virtualbox-ose.desktop +++ virtualbox-ose-2.1.4-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;Utility; --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose.files/VBox.sh +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose.files/VBox.sh @@ -0,0 +1,79 @@ +#!/bin/sh +# +# written by Patrick Winnertz and +# Michael Meskes +# 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-source package and the appropriate + headers, most likely linux-headers-$(uname -r | cut -d- -f3). + + You will not be able to start VMs until this problem is fixed. +EOF +fi + +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" "$@" + ;; + vboxwebserv) + exec "$INSTALL_DIR/vboxwebserv" "$@" + ;; + *) + echo "Unknown application - $APP" + ;; +esac --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose.files/vbox.cfg +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose.files/vbox.cfg @@ -0,0 +1,2 @@ +# VirtualBox installation directory +INSTALL_DIR="/usr/lib/virtualbox" --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose.files/NEWS.Debian +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose.files/NEWS.Debian @@ -0,0 +1,13 @@ +virtualbox-ose (2.0.6-dfsg-1) experimental; urgency=low + + The way Host Interface Networking works has been completely rewritten with + VirtualBox 2. The main difference is that the complex bridging configuration + is no longer necessary. With the new mechanism, to enable Host Interface + Networking, all you need to do is to open the Settings dialog of a virtual + machine, go to the “Network” page and select “Host Interface” in the drop down + list for the “Attached to” field. Finally, select the desired host interface + from the list at the bottom of the page, which contains the physical network + interfaces. + + -- Michael Meskes Thu, 20 Nov 2008 14:09:54 +0100 + --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose.files/virtualbox-ose.xpm +++ virtualbox-ose-2.1.4-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-2.1.4-dfsg.orig/debian/virtualbox-ose.files/wiki.html +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose.files/wiki.html @@ -0,0 +1,325 @@ + + + + + + +VirtualBox - Debian Wiki + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ + +

Translation(s): Español

(!) /Discussion


+ + +

VirtualBox is an x86 emulator developed by innotek (bought by Sun) comparable to VMWare. 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).
+
+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.
+
+This page contains some how-to, tips and tricks that can be useful when setting up and using VirtualBox

+

Installation

+

Currently (2008/01/01), VirtualBox is not supported natively by DebianEtch, the 4.0 version of Debian. To install it, you can use different methods:

+

Debian/Etch-backports

+

# cd /usr/src
+# tar xvjf virtualbox-ose.tar.bz2
+# cd modules/virtualbox-ose
+# make
+# make install
+# modprobe vboxdrv
+# lsmod | grep vbox
+vboxdrv                55344  0
  • Or simply use module-assistant (as root)

# module-assistant auto-install virtualbox-ose
+# modprobe vboxdrv
+# lsmod | grep vbox
+vboxdrv                55344  0
+
  • Start VirtualBox:

In KDE, go to menu KDE > System > VirtualBox OSE

  • or

In Gnome, goto menu Gnome > Applications > System tools > VirtualBox OSE

+

Debian/Testing (lenny)

+

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 libc6 and linux-image-2.6

+

Experience

+

Legend :

  • {OK} = OK

  • /!\ = Failed

+ + + + + + + + + + + +

Who

Kernel

Disribution

Package Version

Status

-- SalokineTerata 2008-01-01 19:52:09

2.6.22-6~bpo40+1

Debian/Etch-backports

1.5.2-dfsg2-4~bpo40+1

{OK}

+

Errors

+

+

32-bit userland with x64_64 kernel

+

It is know bug that VirtualBox does not work in such scenarios: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=456391

However VirtualBox version 2.0 promises support for this, but it is not yet packaged in Debian.

+

-1909 VERR VM DRIVER NOT ACCESSIBLE

+

Solution: Add your current user in the group vboxusers.

  • Under KDE:
    • K > Configuration Center > System Administration > User Management

    • Select your user and edit it
    • Go to Groups page

    • Select vboxusers group and validate

  • Reconnect your session
  • Under GNOME:
    • System > Administration > Users and Groups

    • Click on "Manage groups"

    • Select the vboxusers group and click "Properties"

    • Check your username in the list and click "Ok"
    • Logout and login again
  • On the commandline
    • log as user root either by su or sudo (su [return] - <give root password> [return] OR sudo su [return])

    • Use the following command: adduser <youruser> vboxusers

    • Logout and login again

You can verify if your are really member of this group with this command line:

# id MY_USER
+uid=1000(MY_USER) gid=1000(MY_USER) groupes=1000(MY_USER),8(mail),...127(vboxusers)
+

+

Tips & tricks

+

+

Switching consoles

+

The normal way to switch consoles in Linux is to use the ctrl-alt-Fx key combination. This does not work for a VirtualBox virtual machine (VM); it will switch consoles for the host system instead.

You should use <Host Key>-Fx instead, where <Host Key> is the key defined in File->Preferences->Input.

This also works for ctrl-alt-del and ctrl-alt-backspace

This is documented in the VirtualBox user manual in the section "Keyboard and mouse support in virtual machines", subsection "Typing special characters".

(An alternative method to switch between text consoles is to use alt-left and alt-right, but that does not work for graphical consoles like XOrg or DirectFB.)

+

Setting up bridged networking for VirtualBox (VirtualBox < 2.1.0)

+

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.

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.

NB To use a wireless host device you need one that has support for Master mode (eg. it can be used as an access point, afaik only the Atheros and Prism drivers has this support)

+

Preparation

+

First install the package bridge-utils.

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!

Change the file /etc/network/interfaces to look something like this:

# The loopback network interface
+auto lo
+iface lo inet loopback
+# An entry for eth0 is no longer needed
+#auto eth0
+#iface eth0 inet dhcp
+# Create the bridge (with the regular IP address of the host)
+auto br0
+iface br0 inet dhcp
+        bridge_ports eth0
+        bridge_fd 2.5
+

In this example the bridge gets its IP address and configuration from DHCP. For static configuration see
+/usr/share/doc/bridge-utils/README.Debian.gz

If you don't find the information for static configuration there, try:
+

# man bridge-utils-interfaces

Restart the networking of the host system using:

# /etc/init.d/networking restart

After this brctl show should show the bridge and ifconfig should show the bridge has the host's IP address.

It is also necessary for your user to own the device /dev/net/tun 

Run the following command to change the owner of that device:

# chown <username> /dev/net/tun

+

Configuring the VirtualBox VM

+

There are different ways the TAP interface for the VM can be created:

  • statically (before VirtualBox is even started)

  • on demand (when a VM is being started)

See also the chapter on "Virtual networking" in the VirtualBox user manual.

+

Static interfaces
+

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 /etc/vbox/interfaces and recreated by the VirtualBox init script every time the host system is booted.

Example to create an interface for a user:

# VBoxAddIF vbox0 <username> br0
+

You can of course create multiple interfaces per users, but all interfaces should have unique names.

To configure the VM to use static bridged networking, go to the "network" page of the VM's settings and change the following fields:

  • Attached to: Host Interface

  • Interface Name: vbox0

  • Setup Application: <empty>

  • Terminate Application: <empty>

+

Dynamic interfaces (on demand)
+

The example below shows the second method. This example will allow you to use multiple VM's, but the script assumes that each interface will be named in the form "vbox*". You may need to adapt the script to match your needs. Note that the script assumes you can execute the needed commands using sudo. A snippet of a sudoers file is included below as an example.

#!/bin/sh
+set -e
+BRIDGE="br0"
+case "${1}" in
+        "up" )
+                # Get the last vbox interface that was created or "" if none
+                TAP=$(cat /proc/net/dev | grep vbox | tail -n 1 | cut -d":" -f1 | sed 's/\s*vbox\(\.*\)/\1/')
+                # If there was no previous interface then set to -1 (this is so the += works)
+                [ "${TAP}" = "" ] && TAP=-1
+                # Increment TAP
+                let "TAP+=1"
+                # prepend vbox onto the TAP no
+                TAP="vbox${TAP}"
+                # Create the new TAP device
+                sudo VBoxTunctl -b -u $(whoami) -t ${TAP}
+                # Bring up the TAP (without an ip)
+                sudo ifconfig ${TAP} up
+                # Add the TAP to the Bridge
+                sudo brctl addif ${BRIDGE} ${TAP}
+                # Echo the name of the TAP so VirtualBox knows which one to use
+                # on lenny the echo must be commented for virtuabox to work correctly
+                echo ${TAP}
+                ;;
+        "down" )
+                # VirtualBox tells us which TAP it used
+                TAP=${3}
+                # Bring the TAP down
+                sudo ifconfig ${TAP} down
+                # Remove the TAP
+                sudo VBoxTunctl -d ${TAP} > /dev/null 2>&1
+                ;;
+esac
+

Save the script, for example as ~/.VirtualBox/bridge_setup. The script can be tested by running it from the command line. If successful, brctl show should show interface vbox* (where * will be a number) added to the bridge.

Here is a snippet of a sudoers file to help (replace username and hostname with the appropriate values):

Cmnd_Alias      VIRTUALBOX = /usr/bin/VBoxTunctl, /sbin/ifconfig vbox* up, /sbin/ifconfig vbox* down, /usr/sbin/brctl addif br0 vbox*
+username     ALL=(ALL) PASSWD: ALL
+username     hostname = NOPASSWD: VIRTUALBOX
+

To configure the VM to use dynamic bridged networking, go to the "network" page of the VM's settings and change the following fields:

  • Attached to: Host Interface

  • Interface Name: <empty>

  • Setup Application: ~/.VirtualBox/bridge_setup up

  • Terminate Application: ~/.VirtualBox/bridge_setup down

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.

+

How to remotely start virtual machines using vnc

+

Remote:

  • log onto your remote box
  • install tightvncserver
  • launch it (you don't need a display), pick a password
  • determine which port it is using, a way to do so:
    • netstat -tap | grep vnc
    • Let's say it's 5901
  • unlog from there since the server forked in the background

Local:

  • install xtightvncviewer
  • create a ssh tunnel to your box:
    • ssh -L 5901:localhost:5901 you@remote
  • use it: (note there are two colons)
    • xtightvncviewer localhost::5901
  • then VBoxManage startvm $yourvm &

  • and start as many virtual machines as wanted.

+

External Links

+

VirtualBox (last edited 2008-12-29 13:24:45 by MichaelMeskes)

+ +
+
+ + + + + + --- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose.files/README.Debian.xml +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose.files/README.Debian.xml @@ -0,0 +1,150 @@ + + +
+ Virtualbox OSE for Debian +
+ Different versions + + 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 + Virtualbox + homepage. Missing are: + + + + + Remote Display Protocol (RDP) Server + + + 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. + + + + USB support + + VirtualBox implements a virtual USB controller and supports + passing through USB 1.1 and USB 2.0 devices to virtual + machines. + + + + USB over RDP + + This is a combination of the RDP server and USB support + allowing users to make USB devices available to virtual + machines running remotely. + + + + iSCSI initiator + + VirtualBox contains a builtin iSCSI initiator making it + possible to use iSCSI targets as virtual disks without the + guest requiring support for iSCSI. + + + + Emulation for Intel e1000 network devices + + + +
+
+ 64-bit guests + Starting with version 2.0.0 VirtualBox also supports 64-bit guest operating systems, + under the following conditions: + + + You need a 64-bit processor with hardware virtualization support + and a 64-bit host operating system. + + + You must run a 64-bit version of VirtualBox on that OS. This can + then run both 32-bit and 64-bit VMs; a 32-bit VirtualBox can only run 32-bit + VMs, regardless of the hardware. + + + You must enable hardware virtualization; software virtualization is not supported + for 64-bit VMs. + + + There is no specific setting to enable 64-bit support for a guest. + However, you should enable the I/O APIC for virtual machines that you intend to + use in 64-bit mode. +
+
+ How to provide networking to virtual machines +
+ Mechanism + + VirtualBox can use three alternative mechanisms to provide + Ethernet networking to its virtual machines:b + +
+ NAT + + 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. + + + This is the default mode. It usually does not require + any extra configuration on the host. + +
+
+ Internal network + + In this mode, there is only connectivity within an + emulated network shared between two or more virtual + machines running in the same VirtualBox instance. + +
+
+ Host interface + + The virtual ethernet interface is connected to a + real device on the host filtering out its traffic. + +
+
+
+
+ Incompatibilities with previous versions + + 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 ]]> section in any + ~/.VirtualBox/Machines/NAME/NAME.xml files. + +
+
+ See also + + Additional and updated information may be found on + + + + the + + End-user documentation section of the official + VirtualBox site. + + + + + the + VirtualBox + page in the Debian Wiki. + + + + +
+
--- virtualbox-ose-2.1.4-dfsg.orig/debian/virtualbox-ose.files/source_virtualbox-ose.py +++ virtualbox-ose-2.1.4-dfsg/debian/virtualbox-ose.files/source_virtualbox-ose.py @@ -0,0 +1,5 @@ +import apport.hookutils + +def add_info(report): + """Add a list of installed packages matching 'virtualbox'""" + report['virtualbox-ose-dpkg-l'] = apport.hookutils.command_output(["sh", "-c", "dpkg -l | grep virtualbox"])