Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2001 23:30:43 -0700 (PDT)
From:      Scott Renfro <scott@renfro.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29100: [PATCH] upgrade vmware2 to 2.0.4
Message-ID:  <200107200630.f6K6Uhk24857@renfro.org>

next in thread | raw e-mail | index | archive | help

>Number:         29100
>Category:       ports
>Synopsis:       [PATCH] upgrade vmware2 to 2.0.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 19 23:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Scott Renfro <scott@renfro.org>
>Release:        FreeBSD 4.3-STABLE i386
>Organization:
n/a
>Environment:

System: FreeBSD renfro.org 4.3-STABLE FreeBSD 4.3-STABLE #0: Tue Jul 17 04:22:33 PDT 2001 scott@renfro.org:/usr/obj/usr/src/sys/FWGW4 i386

>Description:

- Update to 2.0.4
- Changes in 2.0.4 include:
  - support for guest os with Linux 2.4 kernels
  - pentium 4 support
  - cd-rom improvements

The attached patch upgrades the port to use this new version.

Note that this patch adds a new file (files/patch-bf) to fix the
declaration of our HostIF_APIC_Base(). Additional testing of this patch
in other configurations may be wise. It builds and has been running fine
here for one month in a host-only networking configuration.  It built
fine, but has not been extensively tested, in a netgraph bridging
configuration.

>How-To-Repeat:
N/A
>Fix:

Note:  this adds a new patch file (files/patch-bf)

diff -urN vmware2.orig/Makefile vmware2/Makefile
--- vmware2.orig/Makefile	Wed Jul 18 10:55:52 2001
+++ vmware2/Makefile	Wed Jul 18 10:59:46 2001
@@ -7,13 +7,12 @@
 #
 
 PORTNAME=	vmware2
-PORTVERSION=	2.0.3.799
-PORTREVISION=	2
+PORTVERSION=	2.0.4-1142
 CATEGORIES=	emulators linux
 MASTER_SITES=	http://www4.vmware.com/software/ \
 		${FREEBSD_MODULE_SITES} \
 		${VMWARE_MIRROR_SITES}
-DISTFILES=	VMware-${PORTVERSION:R}-${PORTVERSION:E}${EXTRACT_SUFX} \
+DISTFILES=	VMware-${PORTVERSION:R}.${PORTVERSION:E}${EXTRACT_SUFX} \
 		vmmon-freebsd-0.98${EXTRACT_SUFX} \
 		vmnet-freebsd-0.21${EXTRACT_SUFX}
 
diff -urN vmware2.orig/distinfo vmware2/distinfo
--- vmware2.orig/distinfo	Wed Jul 18 10:55:52 2001
+++ vmware2/distinfo	Wed Jul 18 10:57:30 2001
@@ -1,3 +1,3 @@
-MD5 (VMware-2.0.3-799.tar.gz) = ca10fc0bac1617e47a05c488328a26f0
+MD5 (VMware-2.0.4-1142.tar.gz) = 5f6432f91531b5fbf484765af3d62e06
 MD5 (vmmon-freebsd-0.98.tar.gz) = ed381460a92c6733d9889192256e1023
 MD5 (vmnet-freebsd-0.21.tar.gz) = bb79acba1a4d7d9f3063510ea2bd91ad
diff -urN vmware2.orig/files/patch-bf vmware2/files/patch-bf
--- vmware2.orig/files/patch-bf	Wed Dec 31 16:00:00 1969
+++ vmware2/files/patch-bf	Wed Jul 18 13:25:09 2001
@@ -0,0 +1,15 @@
+--- ../vmware-distrib/vmmon-only/common/hostif.h.orig	Wed Jul 18 11:27:34 2001
++++ ../vmware-distrib/vmmon-only/common/hostif.h	Wed Jul 18 11:29:28 2001
+@@ -118,7 +118,12 @@
+ EXTERN void  HostIF_GlobalVMLock(int callerID);
+ EXTERN void  HostIF_GlobalVMUnLock(int callerID);
+ 
++#ifdef __FreeBSD__
++/* The HostIF_APIC_Base for FreeBSD still just takes two parameters */
++EXTERN MA    HostIF_APIC_Base(VMDriver *vm, Bool setVMPtr);
++#else
+ EXTERN MA    HostIF_APIC_Base(VMDriver *vm, Bool setVMPtr, Bool probe);
++#endif
+ EXTERN MA    HostIF_IOAPIC_Base(VMDriver *vm);
+ 
+ EXTERN void  HostIF_LockKernel(void);
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107200630.f6K6Uhk24857>