From: Jan Rękorajski Date: Fri, 3 Dec 2010 11:19:23 +0000 (+0000) Subject: - 3.2.12 X-Git-Tag: auto/th/VirtualBox-3_2_12-1 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=9a7b1cdc98cd5974f463aefda0be65a546ada692;p=packages%2FVirtualBox.git - 3.2.12 - noorigin patch merged upstream Changed files: VirtualBox-noorigin.patch -> 1.2 VirtualBox.spec -> 1.330 --- diff --git a/VirtualBox-noorigin.patch b/VirtualBox-noorigin.patch deleted file mode 100644 index eafb016..0000000 --- a/VirtualBox-noorigin.patch +++ /dev/null @@ -1,37 +0,0 @@ -Index: Config.kmk -=================================================================== ---- Config.kmk (wersja 33269) -+++ Config.kmk (wersja 33316) -@@ -567,6 +567,8 @@ - ifdef VBOX_WITH_HARDENING - if1of ($(KBUILD_TARGET), solaris) - VBOX_PATH_APP_PRIVATE = /opt/VirtualBox/$(if-expr $(KBUILD_TARGET_ARCH) == "amd64",amd64,i386) -+ else ifeq ($(KBUILD_TARGET),linux) -+ VBOX_PATH_APP_PRIVATE = /opt/VirtualBox - else ifeq ($(KBUILD_TARGET),darwin) - VBOX_PATH_APP_PRIVATE = /Applications/VirtualBox.app/Contents/MacOS - else ifeq ($(KBUILD_TARGET),freebsd) -@@ -599,7 +601,7 @@ - # depending on the location of the object.) - #VBOX_WITH_RUNPATH = /usr/lib/virtualbox - ifdef VBOX_WITH_HARDENING -- if1of ($(KBUILD_TARGET), freebsd solaris) -+ if1of ($(KBUILD_TARGET), freebsd linux solaris) - VBOX_WITH_RUNPATH = $(VBOX_PATH_APP_PRIVATE) - endif - endif -@@ -607,12 +609,10 @@ - # Because of the setuid usage on all ELF platforms when hardening the build - # things gets a bit complicated since the $ORIGIN+setuid policy differs. - #VBOX_WITH_ORIGIN=1 --ifdef VBOX_WITH_HARDENING -- if1of ($(KBUILD_TARGET), linux) -+ifndef VBOX_WITH_HARDENING -+ if1of ($(KBUILD_TARGET), linux solaris) - VBOX_WITH_ORIGIN = 1 - endif --else if1of ($(KBUILD_TARGET), linux solaris) -- VBOX_WITH_ORIGIN = 1 - endif - # Enable the system wide support service/daemon. - # Work in progress, but required for hardening on Windows. diff --git a/VirtualBox.spec b/VirtualBox.spec index 6318a1d..56af64f 100644 --- a/VirtualBox.spec +++ b/VirtualBox.spec @@ -27,22 +27,22 @@ %define _enable_debug_packages 0 %endif -%define rel 12 +%define rel 1 %define pname VirtualBox Summary: VirtualBox OSE - x86 hardware virtualizer Summary(pl.UTF-8): VirtualBox OSE - wirtualizator sprzętu x86 Name: %{pname}%{_alt_kernel} -Version: 3.2.10 +Version: 3.2.12 Release: %{rel} License: GPL v2 Group: Applications/Emulators Source0: http://download.virtualbox.org/virtualbox/%{version}/%{pname}-%{version}-OSE.tar.bz2 -# Source0-md5: 5aad764cd4e886f9d80d7bde42163c7a +# Source0-md5: 4ba1d6c960691f60d1cbfc19c98294d6 Source1: http://download.virtualbox.org/virtualbox/%{version}/UserManual.pdf -# Source1-md5: 370bb3e893acffa584536c8f9e966c79 +# Source1-md5: d7f8685fe5fd84757b33d46e6f0b6bc5 Source2: http://download.virtualbox.org/virtualbox/%{version}/VBoxGuestAdditions_%{version}.iso -# Source2-md5: 4fde0f279854334b84c01972fbed2874 +# Source2-md5: 2f670cc8d4f85ff92257252f8de4d7c1 Source3: %{pname}-vboxdrv.init Source4: %{pname}-vboxguest.init Source5: %{pname}-vboxnetflt.init @@ -56,8 +56,7 @@ Patch1: %{pname}-export_modules.patch Patch2: %{pname}-VBoxSysInfo.patch Patch3: %{pname}-warning_workaround.patch Patch4: %{pname}-vnc.patch -Patch5: %{pname}-noorigin.patch -Patch6: %{pname}-dri.patch +Patch5: %{pname}-dri.patch URL: http://www.virtualbox.org/ BuildRequires: rpmbuild(macros) >= 1.535 %if %{with userspace} @@ -410,8 +409,7 @@ Moduł jądra Linuksa dla VirtualBoksa OSE - sterownik obsługi DRM. %patch2 -p1 %patch3 -p1 %patch4 -p1 -%patch5 -p0 -%patch6 -p1 +%patch5 -p1 %{__sed} -i -e 's,$VBOX_DOC_PATH,%{_docdir}/%{name}-%{version},' src/VBox/Installer/linux/virtualbox.desktop %{__sed} -i -e 's/Categories=.*/Categories=Utility;Emulator;/' src/VBox/Installer/linux/virtualbox.desktop