aboutsummaryrefslogtreecommitdiff
path: root/emulators/open-vm-tools
diff options
context:
space:
mode:
authorJosh Paetzel <jpaetzel@FreeBSD.org>2020-05-14 14:18:16 +0000
committerJosh Paetzel <jpaetzel@FreeBSD.org>2020-05-14 14:18:16 +0000
commitcdded8b1e258316e263949edd4965f22cc0705f9 (patch)
tree821d827461d3cc76fc7cad2de8c249c5515fb464 /emulators/open-vm-tools
parentd1db0e8603b8d3612d798759535bbea1f3bcd965 (diff)
downloadports-cdded8b1e258316e263949edd4965f22cc0705f9.tar.gz
ports-cdded8b1e258316e263949edd4965f22cc0705f9.zip
Notes
Diffstat (limited to 'emulators/open-vm-tools')
-rw-r--r--emulators/open-vm-tools/Makefile5
-rw-r--r--emulators/open-vm-tools/distinfo6
-rw-r--r--emulators/open-vm-tools/files/patch-libDeployPkg_processPosix.c11
-rw-r--r--emulators/open-vm-tools/files/patch-modules_freebsd_shared_compat__vop.h14
-rw-r--r--emulators/open-vm-tools/files/patch-modules_freebsd_vmblock_vnops.c53
-rw-r--r--emulators/open-vm-tools/files/patch-modules_freebsd_vmmemctl_os.c64
6 files changed, 5 insertions, 148 deletions
diff --git a/emulators/open-vm-tools/Makefile b/emulators/open-vm-tools/Makefile
index a4de752a213a..1f08028b0280 100644
--- a/emulators/open-vm-tools/Makefile
+++ b/emulators/open-vm-tools/Makefile
@@ -4,7 +4,6 @@
PORTNAME= open-vm-tools
PORTVERSION= ${RELEASE_VER}
DISTVERSIONPREFIX= stable-
-PORTREVISION= 3
PORTEPOCH= 2
CATEGORIES= emulators
@@ -19,8 +18,8 @@ ONLY_FOR_ARCHS= amd64 i386
LIB_DEPENDS= libmspack.so:archivers/libmspack \
libdnet.so:net/libdnet
-RELEASE_VER= 11.0.1
-BUILD_VER= 14773994
+RELEASE_VER= 11.1.0
+BUILD_VER= 16036546
OPTIONS_DEFINE= LIBNOTIFY OPENSSL X11
OPTIONS_DEFAULT= LIBNOTIFY OPENSSL X11
diff --git a/emulators/open-vm-tools/distinfo b/emulators/open-vm-tools/distinfo
index 2129ab4bdb47..0f929246b3a6 100644
--- a/emulators/open-vm-tools/distinfo
+++ b/emulators/open-vm-tools/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1571957704
-SHA256 (vmware-open-vm-tools-stable-11.0.1_GH0.tar.gz) = 99f1e3c5245bb002c1e66cbb7a1078e1c3567db5f92cc2e00ab08557e9df4758
-SIZE (vmware-open-vm-tools-stable-11.0.1_GH0.tar.gz) = 2791701
+TIMESTAMP = 1589112329
+SHA256 (vmware-open-vm-tools-stable-11.1.0_GH0.tar.gz) = 5930448c65cf298e3dded2a3670750f4affaf3a631500a1774eeb4cfe0a32b80
+SIZE (vmware-open-vm-tools-stable-11.1.0_GH0.tar.gz) = 2667232
diff --git a/emulators/open-vm-tools/files/patch-libDeployPkg_processPosix.c b/emulators/open-vm-tools/files/patch-libDeployPkg_processPosix.c
deleted file mode 100644
index bac958d6dfb8..000000000000
--- a/emulators/open-vm-tools/files/patch-libDeployPkg_processPosix.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- libDeployPkg/processPosix.c.orig 2017-02-24 22:15:37 UTC
-+++ libDeployPkg/processPosix.c
-@@ -28,6 +28,8 @@
- #include <unistd.h>
- #include <fcntl.h>
- #include <sys/wait.h>
-+#include <signal.h>
-+#include <sys/types.h>
-
- #include "util.h"
-
diff --git a/emulators/open-vm-tools/files/patch-modules_freebsd_shared_compat__vop.h b/emulators/open-vm-tools/files/patch-modules_freebsd_shared_compat__vop.h
deleted file mode 100644
index 109937844e15..000000000000
--- a/emulators/open-vm-tools/files/patch-modules_freebsd_shared_compat__vop.h
+++ /dev/null
@@ -1,14 +0,0 @@
---- modules/freebsd/shared/compat_vop.h.orig 2019-10-21 21:58:04 UTC
-+++ modules/freebsd/shared/compat_vop.h
-@@ -47,7 +47,11 @@
- #if __FreeBSD_version >= 800011
- #define COMPAT_THREAD_VAR(varname, varval)
- #define COMPAT_VOP_LOCK(vop, flags, threadvar) VOP_LOCK((vop), (flags))
-+#if __FreeBSD_version >= 1300074
-+#define COMPAT_VOP_UNLOCK(vop, flags, threadvar) VOP_UNLOCK((vop))
-+#else
- #define COMPAT_VOP_UNLOCK(vop, flags, threadvar) VOP_UNLOCK((vop), (flags))
-+#endif
- #define compat_lockstatus(lock, threadvar) lockstatus((lock))
- #define compat_lockmgr(lock, flags, randompointerparam, threadval) lockmgr((lock), (flags), (randompointerparam))
- #define compat_vn_lock(vp, flags, threadval) vn_lock((vp), (flags))
diff --git a/emulators/open-vm-tools/files/patch-modules_freebsd_vmblock_vnops.c b/emulators/open-vm-tools/files/patch-modules_freebsd_vmblock_vnops.c
deleted file mode 100644
index 02e6d24a5fdf..000000000000
--- a/emulators/open-vm-tools/files/patch-modules_freebsd_vmblock_vnops.c
+++ /dev/null
@@ -1,53 +0,0 @@
---- modules/freebsd/vmblock/vnops.c.orig 2019-10-21 21:58:04 UTC
-+++ modules/freebsd/vmblock/vnops.c
-@@ -532,17 +532,12 @@ struct vop_generic_args {
- * Map the possible out-going vpp (Assumes that the lower layer always
- * returns a VREF'ed vpp unless it gets an error.)
- */
-- if (descp->vdesc_vpp_offset != VDESC_NO_OFFSET &&
-- !(descp->vdesc_flags & VDESC_NOMAP_VPP) &&
-- !error) {
-+ if (descp->vdesc_vpp_offset != VDESC_NO_OFFSET && !error) {
- /*
- * XXX - even though some ops have vpp returned vp's, several ops
- * actually vrele this before returning. We must avoid these ops.
- * (This should go away when these ops are regularized.)
- */
-- if (descp->vdesc_flags & VDESC_VPP_WILLRELE) {
-- goto out;
-- }
- vppp = VOPARG_OFFSETTO(struct vnode***, descp->vdesc_vpp_offset,ap);
- if (*vppp) {
- /* FIXME: set proper name for the vnode */
-@@ -550,7 +545,6 @@ struct vop_generic_args {
- }
- }
-
--out:
- return error;
- }
-
-@@ -1262,12 +1256,15 @@ struct vop_unlock_args {
- */
- {
- struct vnode *vp = ap->a_vp;
-+#if __FreeBSD_version < 1300074
- int flags = ap->a_flags;
-+#endif
- COMPAT_THREAD_VAR(td, ap->a_td);
- struct VMBlockNode *nn;
- struct vnode *lvp;
- int error;
-
-+#if __FreeBSD_version < 1300074
- /*
- * If caller already holds interlock, drop it. (Per VOP_UNLOCK() API.)
- * Also strip LK_INTERLOCK from flags passed to lower layer.
-@@ -1276,6 +1273,7 @@ struct vop_unlock_args {
- VI_UNLOCK(vp);
- ap->a_flags = flags &= ~LK_INTERLOCK;
- }
-+#endif
- nn = VPTOVMB(vp);
- if (nn != NULL && (lvp = VMBVPTOLOWERVP(vp)) != NULL) {
- error = COMPAT_VOP_UNLOCK(lvp, flags, td);
diff --git a/emulators/open-vm-tools/files/patch-modules_freebsd_vmmemctl_os.c b/emulators/open-vm-tools/files/patch-modules_freebsd_vmmemctl_os.c
deleted file mode 100644
index 3fbed0ada3f9..000000000000
--- a/emulators/open-vm-tools/files/patch-modules_freebsd_vmmemctl_os.c
+++ /dev/null
@@ -1,64 +0,0 @@
---- modules/freebsd/vmmemctl/os.c.orig 2019-10-21 21:58:04 UTC
-+++ modules/freebsd/vmmemctl/os.c
-@@ -64,7 +64,11 @@
-
- typedef struct {
- /* system structures */
-+#if __FreeBSD_version >= 1300067
-+ struct callout callout_handle;
-+#else
- struct callout_handle callout_handle;
-+#endif
-
- /* termination flag */
- volatile int stop;
-@@ -678,7 +682,12 @@ vmmemctl_poll(void *data) // IN
- if (!t->stop) {
- /* invoke registered handler, rearm timer */
- Balloon_QueryAndExecute();
-+#if __FreeBSD_version >= 1300067
-+ callout_reset(&t->callout_handle, BALLOON_POLL_PERIOD * hz, vmmemctl_poll,
-+ t);
-+#else
- t->callout_handle = timeout(vmmemctl_poll, t, BALLOON_POLL_PERIOD * hz);
-+#endif
- }
- }
-
-@@ -712,15 +721,23 @@ vmmemctl_init(void)
- }
-
- /* initialize timer state */
-+#if __FreeBSD_version >= 1300067
-+ callout_init(&state->timer.callout_handle, 0);
-+#else
- callout_handle_init(&state->timer.callout_handle);
-+#endif
-
- os_pmap_init(pmap);
- os_balloonobject_create();
-
- /* Set up and start polling */
-- callout_handle_init(&t->callout_handle);
- t->stop = FALSE;
-+#if __FreeBSD_version >= 1300067
-+ callout_reset(&t->callout_handle, BALLOON_POLL_PERIOD * hz, vmmemctl_poll,
-+ t);
-+#else
- t->callout_handle = timeout(vmmemctl_poll, t, BALLOON_POLL_PERIOD * hz);
-+#endif
-
- vmmemctl_init_sysctl();
-
-@@ -759,7 +776,11 @@ vmmemctl_cleanup(void)
-
- /* Stop polling */
- t->stop = TRUE;
-+#if __FreeBSD_version >= 1300067
-+ callout_drain(&t->callout_handle);
-+#else
- untimeout(vmmemctl_poll, t, t->callout_handle);
-+#endif
-
- os_balloonobject_delete();
- os_pmap_free(pmap);