From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 30 15:00:04 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 249031065676 for ; Wed, 30 Jul 2008 15:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 055058FC14 for ; Wed, 30 Jul 2008 15:00:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m6UF03FY074351 for ; Wed, 30 Jul 2008 15:00:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m6UF03to074350; Wed, 30 Jul 2008 15:00:03 GMT (envelope-from gnats) Resent-Date: Wed, 30 Jul 2008 15:00:03 GMT Resent-Message-Id: <200807301500.m6UF03to074350@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Wayne Sierke Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E7121065685 for ; Wed, 30 Jul 2008 14:54:41 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ipmail05.adl2.internode.on.net (ipmail05.adl2.internode.on.net [203.16.214.145]) by mx1.freebsd.org (Postfix) with ESMTP id E1F188FC18 for ; Wed, 30 Jul 2008 14:54:40 +0000 (UTC) (envelope-from ws@au.dyndns.ws) Received: from ppp103-111.static.internode.on.net (HELO [192.168.1.157]) ([150.101.103.111]) by ipmail05.adl2.internode.on.net with ESMTP; 31 Jul 2008 00:09:23 +0930 Message-Id: <1217428761.4383.40.camel@predator-ii.buffyverse> Date: Thu, 31 Jul 2008 00:09:21 +0930 From: Wayne Sierke To: freebsd-gnats-submit Cc: Subject: ports/126099: emulators/open-vm-tools fails to create symbolic link /etc/vmware-tools -> share/vmware-tools X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2008 15:00:04 -0000 >Number: 126099 >Category: ports >Synopsis: emulators/open-vm-tools fails to create symbolic link /etc/vmware-tools -> share/vmware-tools >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 30 15:00:03 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Wayne Sierke >Release: FreeBSD 7.0-STABLE i386 >Organization: >Environment: System: FreeBSD freebsd7stable-1.vmware 7.0-STABLE FreeBSD 7.0-STABLE #0: Fri Jun 20 20:16:55 CST 2008 root@freebsd7stable-1.vmware:/usr/obj/usr/src/sys/GENERIC i386 >Description: open-vm-tools doesn't link /etc/vmware-tools to the directory where the scripts get installed with the result that certain vmware facilities such as updating the guest system's clock on resume are rendered inoperative. >How-To-Repeat: Install emulators/open-vm-tools in a pristine FreeBSD guest VMware environment. No /etc/vmware-tools entry is created - apparently where the vmware tools expect to find the scripts installed instead in share/vmware-tools/. Attempting to suspend the vm results in vmware-player issuing error dialogs about being unable to execute scripts. >Fix: Take our lead from emulators/vmware-guestd6, however my ports-fu is weak so I recommend these changes be reviewed. --- Makefile.orig 2008-07-09 01:33:31.000000000 +0930 +++ Makefile 2008-07-23 22:14:02.000000000 +0930 @@ -85,6 +85,7 @@ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/freebsd/poweron-vm-default ${PREFIX}/share/vmware-tools/poweron-vm-default ${INSTALL_SCRIPT} ${WRKSRC}/scripts/freebsd/resume-vm-default ${PREFIX}/share/vmware-tools/resume-vm-default ${INSTALL_SCRIPT} ${WRKSRC}/scripts/freebsd/suspend-vm-default ${PREFIX}/share/vmware-tools/suspend-vm-default + ${LN} -sfh ${PREFIX}/share/vmware-tools /etc/vmware-tools .if !defined(WITHOUT_X11) ${INSTALL} ${WRKSRC}/toolbox/vmware-toolbox ${LOCALBASE}/sbin/vmware-toolbox ${INSTALL} ${WRKSRC}/vmware-user/vmware-user ${LOCALBASE}/sbin/vmware-user --- pkg-plist.orig 2008-07-09 01:33:48.000000000 +0930 +++ pkg-plist 2008-07-24 03:49:37.000000000 +0930 @@ -22,3 +22,5 @@ @unexec if test -f %D/share/vmware-tools/tools.conf; then rm -f %D/share/vmware-tools/tools.conf; fi @dirrmtry lib/vmware-tools/modules @dirrmtry lib/vmware-tools +@cwd / +etc/vmware-tools --- pkg-plist-x11.orig 2008-07-09 01:33:48.000000000 +0930 +++ pkg-plist-x11 2008-07-24 03:48:24.000000000 +0930 @@ -24,3 +24,5 @@ @unexec if test -f %D/share/vmware-tools/tools.conf; then rm -f %D/share/vmware-tools/tools.conf; fi @dirrmtry lib/vmware-tools/modules @dirrmtry lib/vmware-tools +@cwd / +etc/vmware-tools >Release-Note: >Audit-Trail: >Unformatted: