From 8e053ee7cbe7ca88f5f7497012c7b5e067fdb341 Mon Sep 17 00:00:00 2001 From: scottr Date: Sun, 31 Aug 2008 06:36:47 +0000 Subject: Update to version 2008.08.08-109361. This release provides the following enhancements: - Simple command-line tools to interface with VMware host - Guest OS scripts that can be triggered by the VMware host - Startup script When compiled with X11 support (the default), this release also provides: - GTK+-based GUI to configure time sync, device connections, and scripts - Helper application to interface with the xf86-video-vmware driver, enabling dynamic screen resize --- sysutils/open-vm-tools/patches/patch-ao | 43 ++++++++++----------------------- 1 file changed, 13 insertions(+), 30 deletions(-) (limited to 'sysutils/open-vm-tools/patches/patch-ao') diff --git a/sysutils/open-vm-tools/patches/patch-ao b/sysutils/open-vm-tools/patches/patch-ao index 6fcda403bc0..b6d83edbc87 100644 --- a/sysutils/open-vm-tools/patches/patch-ao +++ b/sysutils/open-vm-tools/patches/patch-ao @@ -1,31 +1,14 @@ -$NetBSD: patch-ao,v 1.1.1.1 2007/10/17 21:35:53 agc Exp $ +$NetBSD: patch-ao,v 1.2 2008/08/31 06:36:48 scottr Exp $ ---- lib/procMgr/procMgrPosix.c 2007/09/28 21:44:48 1.1 -+++ lib/procMgr/procMgrPosix.c 2007/09/28 21:45:36 -@@ -32,7 +32,7 @@ - // pull in setresuid()/setresgid() if possible - #define _GNU_SOURCE - #include --#if !defined(__FreeBSD__) && !defined(sun) -+#if !defined(__FreeBSD__) && !defined(sun) && !defined(__NetBSD__) - #include - #include - #include -@@ -141,7 +141,7 @@ - ProcMgr_ListProcesses(void) - { - ProcMgr_ProcList *procList = NULL; --#if !defined(__FreeBSD__) && !defined(sun) -+#if !defined(__FreeBSD__) && !defined(sun) && !defined(__NetBSD__) - Bool failed = FALSE; - DynBuf dbProcId; - DynBuf dbProcCmd; -@@ -755,7 +755,7 @@ - /* - * if its not linux, assume its gone - */ --#if !defined(__FreeBSD__) && !defined(sun) -+#if !defined(__FreeBSD__) && !defined(sun) && !defined(__NetBSD__) - char procname[256]; - int ret; - struct stat st; +--- lib/include/conf.h.orig 2008-08-08 02:01:52.000000000 -0500 ++++ lib/include/conf.h +@@ -41,6 +41,9 @@ + # ifdef sun + # define CONFVAL_HALT_DEFAULT "/usr/sbin/init 5" + # define CONFVAL_REBOOT_DEFAULT "/usr/sbin/init 6" ++# elif defined(__NetBSD__) ++# define CONFVAL_HALT_DEFAULT "/sbin/shutdown -p now" ++# define CONFVAL_REBOOT_DEFAULT "/sbin/shutdown -r now" + # else + # define CONFVAL_HALT_DEFAULT "/sbin/shutdown -h now" + # define CONFVAL_REBOOT_DEFAULT "/sbin/shutdown -r now" -- cgit v1.2.3