From nobody@FreeBSD.org  Fri Jun  4 15:23:36 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 3FEC51065675
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  4 Jun 2010 15:23:36 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 1593E8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  4 Jun 2010 15:23:36 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o54FNZwW051514
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 4 Jun 2010 15:23:35 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o54FNZ7E051507;
	Fri, 4 Jun 2010 15:23:35 GMT
	(envelope-from nobody)
Message-Id: <201006041523.o54FNZ7E051507@www.freebsd.org>
Date: Fri, 4 Jun 2010 15:23:35 GMT
From: Ryan Steinmetz <rpsfa@rit.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: emulators/vmware-guestd6 fails to install with ESX vmware tools
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         147473
>Category:       ports
>Synopsis:       emulators/vmware-guestd6 fails to install with ESX vmware tools
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    matusita
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 04 15:30:06 UTC 2010
>Closed-Date:    Fri Mar 18 04:46:04 UTC 2011
>Last-Modified:  Fri Mar 18 04:46:04 UTC 2011
>Originator:     Ryan Steinmetz
>Release:        FreeBSD 7.2
>Organization:
Rochester Institute of Technology
>Environment:
FreeBSD xxx.rit.edu 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #2: Wed Apr  7 19:18:35 UTC 2010     root@xxx.rit.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Under ESX4/ESXi4, vmmemctl.ko ends up under $WORKDIR instead of $WORKDIR/vmmemctl-only, which causes the port to fail to install.

vmware-guestd depends on libdnet, which is not listed as a dependency so it fails to start without libdnet.

The other two changes to the Makefile (WITH_VMWARE_GTK and RESTRICTED) are to make portlint happier.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -urN /usr/ports/emulators/vmware-guestd6/Makefile vmware-guestd6/Makefile
--- /usr/ports/emulators/vmware-guestd6/Makefile	2009-01-05 19:44:00.000000000 +0000
+++ vmware-guestd6/Makefile	2010-06-04 15:14:48.000000000 +0000
@@ -16,6 +16,7 @@
 MAINTAINER=	matusita@FreeBSD.org
 COMMENT?=VMware guest OS supporting daemon (VMware Workstation 6.x, FreeBSD version)
 
+LIB_DEPENDS=	dnet.1:${PORTSDIR}/net/libdnet
 .if defined(VMWARE_X_PORTS)
 RUN_DEPENDS=	${LOCALBASE}/sbin/vmware-guestd:${PORTSDIR}/emulators/vmware-guestd6
 .endif
@@ -29,7 +30,7 @@
 IS_INTERACTIVE=	yes
 .endif
 
-RESTRICTED=	"Not sure if we can redistribute this."
+RESTRICTED=	Not sure if we can redistribute this.
 NO_PACKAGE=	${RESTRICTED}
 
 VMWARE_VER=	6.0.3
@@ -43,7 +44,7 @@
 USE_XORG=	x11
 NO_BUILD=	yes
 .if ${ARCH} == amd64
-WITH_VMWARE_GTK= yes
+WITH_VMWARE_GTK=yes
 PLIST_SUB+=	INSTALLXTCLTOOL="@comment "
 .else
 PLIST_SUB+=	INSTALLXTCLTOOL=""
@@ -192,7 +193,7 @@
 	${INSTALL_PROGRAM} ${WRKSRC}/lib/sbin${BITS}${OSSFX}/vmware-checkvm ${PREFIX}/sbin
 .if defined(WITH_VMWARE_VMMEMCTL)
 	${MKDIR} ${VMWARE_KMODDIR}
-	${INSTALL_KLD} ${WRKDIR}/vmmemctl-only/vmmemctl.ko ${VMWARE_KMODDIR}
+	${INSTALL_KLD} ${WRKDIR}/vmmemctl.ko ${VMWARE_KMODDIR}
 .endif
 .if defined(WITH_VMWARE_VMXNET)
 	${MKDIR} ${VMWARE_KMODDIR}


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->matusita 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Jun 4 15:32:08 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147473 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Fri Mar 18 04:46:02 UTC 2011 
State-Changed-Why:  
port is marked as broken. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147473 
>Unformatted:
