]> git.pld-linux.org Git - packages/VirtualBox.git/commitdiff
- up to 2.2.4-1 auto/th/VirtualBox-2_2_4-1
authormguevara <mguevara@pld-linux.org>
Sat, 30 May 2009 22:46:07 +0000 (22:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added patch3 VirtualBox-VBoxSysInfo.patch to recognize PLD Linux

Changed files:
    VirtualBox-VBoxSysInfo.patch -> 1.1
    VirtualBox.spec -> 1.205

VirtualBox-VBoxSysInfo.patch [new file with mode: 0644]
VirtualBox.spec

diff --git a/VirtualBox-VBoxSysInfo.patch b/VirtualBox-VBoxSysInfo.patch
new file mode 100644 (file)
index 0000000..af8042f
--- /dev/null
@@ -0,0 +1,17 @@
+diff -NurpP --minimal VirtualBox-2.2.2_OSE.orig/src/VBox/Installer/linux/VBoxSysInfo.sh VirtualBox-2.2.2_OSE.new/src/VBox/Installer/linux/VBoxSysInfo.sh
+--- VirtualBox-2.2.2_OSE.orig/src/VBox/Installer/linux/VBoxSysInfo.sh  2009-04-27 19:57:14.000000000 +0200
++++ VirtualBox-2.2.2_OSE.new/src/VBox/Installer/linux/VBoxSysInfo.sh   2009-05-29 18:56:04.000000000 +0200
+@@ -38,7 +38,12 @@ print_linux_info () {
+ # others as unknown.  It can be extended later if other distributions are
+ # found to be "of interest".
+ get_linux_info () {
+-    if [ -r /etc/lsb-release ] && grep Ubuntu /etc/lsb-release >/dev/null 2>&1
++    if [ -r /etc/pld-release ] && grep PLD /etc/pld-release >/dev/null 2>&1
++    then
++      # PLD-based
++      release=`cat /etc/pld-release | sed -e 's/.PLD.*//'`
++      print_linux_info "PLD" $release
++    elif [ -r /etc/lsb-release ] && grep Ubuntu /etc/lsb-release >/dev/null 2>&1
+     then
+         # Ubuntu-based system
+         . /etc/lsb-release
index 5a810eef2a4f371bdc276fd580a2afccd7816999..e3043c4be2651fd0320e7d6a72d38078997db6bf 100644 (file)
 %define                _enable_debug_packages  0
 %endif
 
-%define                rel             2
+%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:       2.2.2
+Version:       2.2.4
 Release:       %{rel}
 License:       GPL v2
 Group:         Applications/Emulators
 Source0:       http://download.virtualbox.org/virtualbox/%{version}/%{pname}-%{version}-OSE.tar.bz2
-# Source0-md5: 82a76247b63e1813695175e7ddf01975
+# Source0-md5: b90176e3878ccfef2991322b2248dcb0
 Source1:       http://download.virtualbox.org/virtualbox/%{version}/UserManual.pdf
 # Source1-md5: 37573de808ddf2f4e7fe5f46966fbbe6
 Source2:       http://download.virtualbox.org/virtualbox/%{version}/VBoxGuestAdditions_%{version}.iso
-# Source2-md5: 9c09a9e88abe9edd8fec6fd3cf453535
+# Source2-md5: 00e64c25f87155540a3d106c5257530f
 Source3:       %{pname}-vboxdrv.init
 Source4:       %{pname}-vboxadd.init
 Source5:       %{pname}-vboxnetflt.init
@@ -48,6 +48,7 @@ Source9:      mount.vdi
 Patch0:                %{pname}-configure.patch
 Patch1:                %{pname}-configure-spaces.patch
 Patch2:                %{pname}-vboxnetflt_export.patch
+Patch3:                %{pname}-VBoxSysInfo.patch
 URL:           http://www.virtualbox.org/
 BuildRequires: rpmbuild(macros) >= 1.379
 %if %{with userspace}
@@ -288,6 +289,7 @@ Sterownik grafiki dla systemu gościa w VirtualBoksie OSE.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 cat <<'EOF' > udev.conf
 KERNEL=="vboxdrv", NAME="%k", GROUP="vbox", MODE="0660"
This page took 0.049824 seconds and 4 git commands to generate.