diff options
author | scottr <scottr@pkgsrc.org> | 2008-08-31 06:36:47 +0000 |
---|---|---|
committer | scottr <scottr@pkgsrc.org> | 2008-08-31 06:36:47 +0000 |
commit | 8e053ee7cbe7ca88f5f7497012c7b5e067fdb341 (patch) | |
tree | ad70d02044d266efd42987cd467f72e230ab63dc /sysutils/open-vm-tools/patches/patch-ao | |
parent | db126d9af2e923010a3c1d14227f5350fe7c703c (diff) | |
download | pkgsrc-8e053ee7cbe7ca88f5f7497012c7b5e067fdb341.tar.gz |
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
Diffstat (limited to 'sysutils/open-vm-tools/patches/patch-ao')
-rw-r--r-- | sysutils/open-vm-tools/patches/patch-ao | 43 |
1 files changed, 13 insertions, 30 deletions
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 <unistd.h> --#if !defined(__FreeBSD__) && !defined(sun) -+#if !defined(__FreeBSD__) && !defined(sun) && !defined(__NetBSD__) - #include <asm/param.h> - #include <locale.h> - #include <sys/stat.h> -@@ -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" |