Changeset 13540 in vbox
- Timestamp:
- Oct 23, 2008 3:15:41 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 38397
- Location:
- trunk/debian
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/debian/LocalConfig.kmk
r11725 r13540 28 28 VBOX_WITH_HARDENING := 1 29 29 VBOX_WITH_ORIGIN := 30 VBOX_PATH_APP_PRIVATE_ARCH := /usr/lib/virtualbox -ose30 VBOX_PATH_APP_PRIVATE_ARCH := /usr/lib/virtualbox 31 31 VBOX_PATH_SHARED_LIBS := $(VBOX_PATH_APP_PRIVATE_ARCH) 32 32 VBOX_WITH_RUNPATH := $(VBOX_PATH_APP_PRIVATE_ARCH) 33 VBOX_PATH_APP_PRIVATE := /usr/share/virtualbox -ose33 VBOX_PATH_APP_PRIVATE := /usr/share/virtualbox 34 34 VBOX_PATH_APP_DOCS = $(VBOX_PATH_PACKAGE_DOCS) -
trunk/debian/VBox.sh
r11755 r13540 75 75 76 76 APP=`which $0` 77 APP=`basename $APP` 77 78 APP=${APP##/*/} 78 79 case "$APP" in 79 80 VirtualBox) 80 exec "/usr/lib/virtualbox -ose/VirtualBox" "$@"81 exec "/usr/lib/virtualbox/VirtualBox" "$@" 81 82 ;; 82 83 VBoxManage) 83 exec "/usr/lib/virtualbox -ose/VBoxManage" "$@"84 exec "/usr/lib/virtualbox/VBoxManage" "$@" 84 85 ;; 85 86 VBoxSDL) 86 exec "/usr/lib/virtualbox -ose/VBoxSDL" "$@"87 exec "/usr/lib/virtualbox/VBoxSDL" "$@" 87 88 ;; 88 89 VBoxVRDP) 89 exec "/usr/lib/virtualbox -ose/VBoxVRDP" "$@"90 exec "/usr/lib/virtualbox/VBoxHeadless" "$@" 90 91 ;; 91 92 VBoxHeadless) 92 exec "/usr/lib/virtualbox -ose/VBoxHeadless" "$@"93 exec "/usr/lib/virtualbox/VBoxHeadless" "$@" 93 94 ;; 94 95 *) -
trunk/debian/changelog
r12442 r13540 3 3 * rebuild Debian package 4 4 5 -- Sun Microsystems, Inc. <[email protected]> Fri, 12 Sep 2008 20:01:00 +0200 5 -- Sun Microsystems, Inc. <[email protected]> Fri, 24 Sep 2008 11:00:00 +0200 6 7 virtualbox-ose (2.0.4) unstable; urgency=low 8 9 * rebuild Debian package 10 11 -- Sun Microsystems, Inc. <[email protected]> Fri, 24 Oct 2008 10:00:00 +0200 6 12 7 13 virtualbox-ose (2.0.2) unstable; urgency=low -
trunk/debian/dirs
r9190 r13540 3 3 /etc/init.d 4 4 /usr/src 5 /usr/lib/virtualbox -ose5 /usr/lib/virtualbox -
trunk/debian/lintian-override
r5452 r13540 10 10 virtualbox-ose: shlib-with-non-pic-code usr/lib/VBoxSharedFolders.so 11 11 virtualbox-ose: shlib-with-non-pic-code usr/lib/VBoxSharedClipboard.so 12 virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox -ose/components/VBoxSVCM.so13 virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox -ose/components/VBoxC.so14 virtualbox-ose: unstripped-binary-or-object usr/lib/virtualbox -ose/VBoxDDGC.gc15 virtualbox-ose: unstripped-binary-or-object usr/lib/virtualbox -ose/VBoxDD2GC.gc16 virtualbox-ose: unstripped-binary-or-object usr/lib/virtualbox -ose/VBoxDDR0.r017 virtualbox-ose: unstripped-binary-or-object usr/lib/virtualbox -ose/VBoxDD2R0.r018 virtualbox-ose: unstripped-binary-or-object usr/lib/virtualbox -ose/VMMGC.gc19 virtualbox-ose: unstripped-binary-or-object usr/lib/virtualbox -ose/VMMR0.r012 virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/components/VBoxSVCM.so 13 virtualbox-ose: shlib-with-non-pic-code usr/lib/virtualbox/components/VBoxC.so 14 virtualbox-ose: unstripped-binary-or-object usr/lib/virtualbox/VBoxDDGC.gc 15 virtualbox-ose: unstripped-binary-or-object usr/lib/virtualbox/VBoxDD2GC.gc 16 virtualbox-ose: unstripped-binary-or-object usr/lib/virtualbox/VBoxDDR0.r0 17 virtualbox-ose: unstripped-binary-or-object usr/lib/virtualbox/VBoxDD2R0.r0 18 virtualbox-ose: unstripped-binary-or-object usr/lib/virtualbox/VMMGC.gc 19 virtualbox-ose: unstripped-binary-or-object usr/lib/virtualbox/VMMR0.r0 20 20 virtualbox-ose: no-shlibs-control-file usr/lib/VBoxRT.so 21 21 virtualbox-ose: no-shlibs-control-file usr/lib/VBoxDD.so -
trunk/debian/postinst
r11725 r13540 48 48 49 49 # create users groups 50 db_input high virtualbox -ose/group-vboxusers || true50 db_input high virtualbox/group-vboxusers || true 51 51 db_go || true 52 52 addgroup --system vboxusers 53 53 54 54 if [ ! -f /lib/modules/`uname -r`/misc/vboxdrv.ko ]; then 55 db_get virtualbox -ose/module-compilation-allowed55 db_get virtualbox/module-compilation-allowed 56 56 if [ "$RET" = "false" ]; then 57 57 cat << EOF … … 60 60 EOF 61 61 else 62 db_input critical virtualbox -ose/module-compilation-allowed || true62 db_input critical virtualbox/module-compilation-allowed || true 63 63 db_go || true 64 db_get virtualbox -ose/module-compilation-allowed64 db_get virtualbox/module-compilation-allowed 65 65 if [ "$RET" = "true" ]; then 66 66 # Compile module. Don't show a message box here if everything works well. … … 68 68 Messages emitted during module compilation will be logged to $LOG. 69 69 EOF 70 if ! /usr/share/virtualbox -ose/src/build_in_tmp install > /var/log/vbox-install.log 2>&1; then71 db_fset virtualbox -ose/module-compilation-failed seen false72 db_input critical virtualbox -ose/module-compilation-failed || true70 if ! /usr/share/virtualbox/src/build_in_tmp install > /var/log/vbox-install.log 2>&1; then 71 db_fset virtualbox/module-compilation-failed seen false 72 db_input critical virtualbox/module-compilation-failed || true 73 73 db_go || true 74 74 touch /etc/vbox/module_not_compiled … … 92 92 # The starters need to be Suid root. They drop the privileges before starting 93 93 # the real frontend. 94 if ! dpkg-statoverride --list /usr/lib/virtualbox -ose/VirtualBox > /dev/nnull 2>&1; then95 chmod 4711 /usr/lib/virtualbox -ose/VirtualBox94 if ! dpkg-statoverride --list /usr/lib/virtualbox/VirtualBox > /dev/nnull 2>&1; then 95 chmod 4711 /usr/lib/virtualbox/VirtualBox 96 96 fi 97 if ! dpkg-statoverride --list /usr/lib/virtualbox -ose/VBoxHeadless > /dev/nnull 2>&1; then98 chmod 4711 /usr/lib/virtualbox -ose/VBoxHeadless97 if ! dpkg-statoverride --list /usr/lib/virtualbox/VBoxHeadless > /dev/nnull 2>&1; then 98 chmod 4711 /usr/lib/virtualbox/VBoxHeadless 99 99 fi 100 if ! dpkg-statoverride --list /usr/lib/virtualbox -ose/VBoxSDL > /dev/nnull 2>&1; then101 chmod 4711 /usr/lib/virtualbox -ose/VBoxSDL100 if ! dpkg-statoverride --list /usr/lib/virtualbox/VBoxSDL > /dev/nnull 2>&1; then 101 chmod 4711 /usr/lib/virtualbox/VBoxSDL 102 102 fi 103 103 -
trunk/debian/preinst.in
r9190 r13540 16 16 db_capb backup 17 17 18 # check for upgrade, disable this check for now19 if false; then20 ver_new=%VER%21 ver_old=`echo $2 | cut -f1 -d"-"`22 if [ -n "$ver_old" -a "$ver_new" == "$ver_old" ]; then23 db_get virtualbox-ose/update_version_change24 db_input critical virtualbox-ose/update_version_change || true25 db_go || true26 db_get virtualbox-ose/update_version_change || true27 if [ "$RET" = false ]; then28 db_stop29 exit 130 fi31 fi32 fi33 34 18 # check for old installation 35 19 if [ -r /etc/vbox/vbox.cfg ]; then … … 47 31 if find /lib/modules -name "vboxdrv\.*" 2>/dev/null|grep -q vboxdrv; then 48 32 # old modules found 49 db_get virtualbox -ose/delete-old-modules33 db_get virtualbox/delete-old-modules || true 50 34 if [ "$RET" = "false" ]; then 51 35 cat << EOF … … 57 41 EOF 58 42 else 59 db_input critical virtualbox -ose/delete-old-modules || true43 db_input critical virtualbox/delete-old-modules || true 60 44 db_go || true 61 db_get virtualbox -ose/delete-old-modules45 db_get virtualbox/delete-old-modules || true 62 46 if [ "$RET" = "true" ]; then 63 47 find /lib/modules -name "vboxdrv\.*" 2>/dev/null|xargs rm -f 2>/dev/null -
trunk/debian/rules
r11755 r13540 29 29 # STAGEDISO=<path> don't build the VBoxAdditions, use the precompiled .iso 30 30 31 package := virtualbox-ose 31 package := virtualbox 32 verpkg := virtualbox-ose 32 33 current := $(shell pwd) 33 34 vboxroot := $(shell pwd) 34 35 builddir := $(current)/debian/builddir 35 36 moddir := $(current)/debian/modules 36 prefix := $(current)/debian/$( package)37 prefix := $(current)/debian/$(verpkg) 37 38 arch := $(shell dpkg --print-architecture) 38 39 verfile := $(builddir)/version-generated.mk … … 66 67 gccvmaj := $(word 1,$(gccver)) 67 68 gccvmin := $(word 2,$(gccver)) 68 deb docs := VBOX_PATH_PACKAGE_DOCS="\"/usr/share/doc/virtualbox\""69 debcfgs := VBOX_PATH_PACKAGE_DOCS="\"/usr/share/doc/$(verpkg)\"" 69 70 70 71 # Ubuntu dapper: gcc-4.0 does not work with recompiler, use gcc-3.4 instead … … 93 94 PATH_OUT=$(current)/debian/builddir \ 94 95 VBOX_DO_STRIP= VBOX_DO_STRIP_MODULES= \ 95 $(deb docs) \96 $(debcfgs) \ 96 97 all 97 98 $(if $(NODOCS),cp $(vboxroot)/prebuild/UserManual.pdf $(builddir)/bin,) … … 108 109 VBOX_DO_STRIP= VBOX_DO_STRIP_MODULES= \ 109 110 VBOX_NO_LINUX_RUN_INSTALLER=1 \ 110 $(deb docs) \111 $(debcfgs) \ 111 112 packing 112 113 touch debian/build-stamp … … 153 154 install -d -g 0 -o 0 $(prefix)/usr/lib/$(package) 154 155 install -d -g 0 -o 0 $(prefix)/usr/share/$(package) 155 install -d -g 0 -o 0 $(prefix)/usr/share/doc/$( package)156 install -d -g 0 -o 0 $(prefix)/usr/share/doc/$(verpkg) 156 157 $(if $(HEADLESS),,mv $(archdir)/VirtualBox.desktop \ 157 158 $(prefix)/usr/share/applications/VirtualBox.desktop) … … 207 208 dh_installmenu 208 209 $(if $(NOMODS),,dh_installmodules) 209 sed -e 's|%NOLSB%|$(if $(filter _Debian_sarge ucs1.3,$(debrel)),yes,)|g; s|%PACKAGE%|virtualbox -ose|g;' \210 sed -e 's|%NOLSB%|$(if $(filter _Debian_sarge ucs1.3,$(debrel)),yes,)|g; s|%PACKAGE%|virtualbox|g;' \ 210 211 src/VBox/Installer/linux/vboxdrv.sh.in > debian/vboxdrv.init 211 212 sed -e 's|%NOLSB%|$(if $(filter _Debian_sarge,$(debrel)),yes,)|g;' \ … … 219 220 dh_installchangelogs 220 221 dh_link 221 dh_strip --keep-debug --exclude=libVBoxQtCore.so.4 --exclude=libVBoxQtGui.so.4 222 dh_strip --keep-debug --exclude=libVBoxQtCore.so.4 --exclude=libVBoxQtGui.so.4 --exclude=libqtaccessiblewidgets.so 222 223 # manually strip our R0/GC modules, dh_strip cannot handle them 223 224 for f in \ … … 229 230 objcopy --add-gnu-debuglink=$(prefix)/usr/lib/debug/usr/lib/$(package)/`basename $$f` $$f; \ 230 231 done 231 mkdir -p $(current)/debian/$( package)-dbg/usr/lib232 mv $(current)/debian/$( package)/usr/lib/debug $(current)/debian/$(package)-dbg/usr/lib232 mkdir -p $(current)/debian/$(verpkg)-dbg/usr/lib 233 mv $(current)/debian/$(verpkg)/usr/lib/debug $(current)/debian/$(verpkg)-dbg/usr/lib 233 234 dh_compress -X.pdf -X.chm -X LICENSE 234 235 dh_fixperms -
trunk/debian/templates
r9199 r13540 1 Template: virtualbox -ose/group-vboxusers1 Template: virtualbox/group-vboxusers 2 2 Type: note 3 3 Description: Creating group 'vboxusers' 4 Users of VirtualBox must be member of that group in order to have write 5 permissions to /dev/vboxdrv. Otherwise starting of VMs will not be possible. 4 Users of VirtualBox must be members of that group. Host network interfaces 5 will be assigned to that group. 6 Description-de.UTF-8: Erzeuge Gruppe 'vboxusers' 7 Nutzer von VirtualBox müssen Mitglied dieser Gruppe sein. Hostinterfaces 8 werden dieser Gruppe zugewiesen. 6 9 7 Template: virtualbox -ose/module-compilation-failed10 Template: virtualbox/module-compilation-failed 8 11 Type: note 9 12 Description: Compilation of the kernel module FAILED! 10 13 VirtualBox will not start until this problem is fixed. Please consult 11 14 /var/log/vbox-install.log to find out why the kernel module does not compile. 12 Most probably the kernel sources were not found. Install them and execute 15 Most probably the kernel sources were not found. Install them (the package 16 name is probably linux-headers-<version> whereby <version> can be determined 17 by 'uname -r') and execute 13 18 14 19 /etc/init.d/vboxdrv setup 15 20 16 21 as root. 22 Description-de.UTF-8: Konnte das Kernmodul nicht compilieren! 23 Sie können keine virtuelle Maschine starten, solange dieses Problem nicht 24 behoben ist. Bitte lesen Sie die Datei /var/log/vbox-install.log um die 25 Ursache herauszufinden. Wahrscheinlich konnten die Quellen für den aktiven 26 Linux-Kern nicht gefunden werden. Installieren Sie das entsprechende 27 Paket (möglicherweise linux-headers-<version> wobei Sie <version> mit 28 'uname -r' herausfinden können) und führen Sie danach 29 30 /etc/init.d/vboxdrv setup 31 32 mit Root-Rechten aus. 17 33 18 Template: virtualbox -ose/module-compilation-allowed34 Template: virtualbox/module-compilation-allowed 19 35 Type: boolean 20 36 Default: true … … 22 38 Unable to find a precompiled module for the current kernel! 23 39 . 24 Without a suitable kernel module you will n ever be able to startVMs. It is40 Without a suitable kernel module you will not be able to start any VMs. It is 25 41 strongly recommended to compile a kernel module now. The kernel headers and 26 42 the tools to build kernel modules (gcc, make, binutils, ...) are required. 27 However, in case a suitable kernel module already exists at another place you 28 might want to override the default position by setting KDIR=<full_path_to_vboxdrv_module> 29 in /etc/default/virtualbox-ose. The compilation can also be done later by executing 43 However if you know that a suitable kernel module already exists at another 44 location, you might want to override the default by setting 45 KDIR=<full_path_to_vboxdrv_module> in /etc/default/virtualbox. The 46 compilation can also be done later by executing 30 47 31 48 /etc/init.d/vboxdrv setup 32 49 33 50 as root. 34 35 Template: virtualbox-ose/delete-old-modules 36 Type: boolean 37 Default: true 38 Description: Delete old modules? 39 Old vboxdrv modules found. It is recommended to purge these modules as they might not 40 work together with this version of VirtualBox. The module re-compilation can be 41 forced later by executing 51 Description-de.UTF-8: Soll das Kernmodul jetzt compiliert werden? 52 Es konnte kein Kernmodul für den aktuellen Linux-Kern gefunden werden! 53 . 54 Ohne ein passendes Kernmodul können Sie keine VM starten. Daher sollten Sie 55 jetzt ein Kernmodul compilieren. Dazu werden die Kern-Header und die Programme 56 zum Bauen eines Kernmoduls (gcc, make, binutils, ...) benötigt. Falls Sie 57 bereits ein passendes Kernmodul in ein anderes Verzeichnis installiert haben, 58 können Sie den Verzeichnisnamen durch Hinzufügen von KDIR=<voller_Pfad_zu_vboxdrv> 59 in der Datei /etc/default/virtualbox angeben. Sie können das Kernmodul auch 60 später compilieren, indem Sie 42 61 43 62 /etc/init.d/vboxdrv setup 44 63 45 as root64 mit Root-Rechten ausführen. 46 65 47 Template: virtualbox -ose/update_version_change66 Template: virtualbox/delete-old-modules 48 67 Type: boolean 49 Default: false 50 Description: Proceed with VirtualBox upgrade? 51 You are about to update VirtualBox to a new upstream version. Make sure to discard or 52 merge all snapshots and saved states before you proceed because VM states are version 53 specific. 68 Default: true 69 Description: Delete old vboxdrv kernel modules? 70 Old vboxdrv kernel modules found. It is recommended to purge these modules as they 71 might interfere with this version of VirtualBox. The module re-compilation 72 can be forced later by executing 73 74 /etc/init.d/vboxdrv setup 75 76 as root. 77 Description-de.UTF-8: Alte Kernmodule löschen? 78 Es wurden alte vboxdrv-Kernmodule gefunden. Diese sollten gelöscht werden, da sie 79 eventuell nicht mit dieser Version von VirtualBox zusammen arbeiten. Das Compilieren 80 des Kernmoduls können Sie später durch 81 82 /etc/init.d/vboxdrv setup 83 84 erzwingen. 54 85 55 Template: virtualbox -ose/old-installation-found86 Template: virtualbox/old-installation-found 56 87 Type: note 57 88 Description: Old installation found … … 60 91 directory of the previous installation. After uninstalling the old package remove the file 61 92 /etc/vbox/vbox.cfg. 93 Description-de.UTF-8: Alte Version gefunden 94 Es wurde eine alte Version von VirtualBox gefunden. Bitte entfernen Sie die alte Version 95 bevor Sie fortfahren. In der Datei /etc/vbox/vbox.cfg finden Sie das Verzeichnis der alten 96 Version. Nachdem Sie diese entfernt haben, können Sie /etc/vbox/vbox.cfg löschen.
Note:
See TracChangeset
for help on using the changeset viewer.