diff --git a/emulators/open-vm-tools/Makefile b/emulators/open-vm-tools/Makefile index 84f61ed3dd4b..64e2456035e8 100644 --- a/emulators/open-vm-tools/Makefile +++ b/emulators/open-vm-tools/Makefile @@ -1,95 +1,95 @@ PORTNAME= open-vm-tools -PORTVERSION= 13.0.10 +PORTVERSION= 13.1.0 DISTVERSIONPREFIX= stable- PORTEPOCH= 2 CATEGORIES= emulators MAINTAINER= garga@FreeBSD.org COMMENT= Open VMware tools for FreeBSD VMware guests ${${FLAVOR}_COMMENT} WWW= https://github.com/vmware/open-vm-tools LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING ONLY_FOR_ARCHS= aarch64 amd64 i386 LIB_DEPENDS= libdnet.so:net/libdnet RUN_DEPENDS= open-vm-kmod>0:emulators/open-vm-kmod FLAVORS= default nox11 default_CONFLICTS_INSTALL= open-vm-tools-nox11 nox11_PKGNAMESUFFIX= -nox11 nox11_CONFLICTS_INSTALL= open-vm-tools nox11_COMMENT= (without X11) USES= autoreconf gettext-runtime gnome libtool localbase \ pathfix pkgconfig USE_GITHUB= yes GH_ACCOUNT= vmware USE_GNOME= glib20 USE_LDCONFIG= yes USE_RC_SUBR= vmware-guestd vmware-kmod GNU_CONFIGURE= yes CONFIGURE_ARGS+=--disable-vgauth \ --enable-containerinfo=no \ --sysconfdir=${PREFIX}/etc \ --without-icu \ --without-kernel-modules INSTALL_TARGET= install-strip CPPFLAGS+= -Wno-deprecated-declarations WRKSRC_SUBDIR= open-vm-tools PORTDOCS= * OPTIONS_DEFINE= DOCS DEPLOYPKG FUSE LIBNOTIFY OPENSSL X11 OPTIONS_DEFAULT=DOCS FUSE LIBNOTIFY OPENSSL X11 .if ${FLAVOR:U} == nox11 OPTIONS_EXCLUDE:= LIBNOTIFY X11 .endif OPTIONS_SUB= DEPLOYPKG_DESC= DeployPkg plugin LIBNOTIFY_DESC= Desktop notification support DEPLOYPKG_LIB_DEPENDS= libmspack.so:archivers/libmspack DEPLOYPKG_CONFIGURE_ENABLE= deploypkg DOCS_BUILD_DEPENDS= doxygen:devel/doxygen DOCS_CONFIGURE_ENABLE= docs FUSE_USES= fuse LIBNOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify OPENSSL_CONFIGURE_WITH= ssl X11_LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libharfbuzz.so:print/harfbuzz X11_USES= desktop-file-utils xorg X11_USE= GNOME=gdkpixbuf,gdkpixbuf2xlib,gtk30,gtkmm30 \ XORG=ice,sm,x11,xext,xi,xinerama,xorgproto,xrandr,xrender,xtst X11_CONFIGURE_WITH= gtk3 gtkmm3 x post-patch: @${REINPLACE_CMD} -e "s@%%PREFIX%%@${PREFIX}@" \ ${WRKSRC}/Makefile.am \ ${WRKSRC}/lib/guestApp/guestApp.c \ ${WRKSRC}/lib/misc/codeset.c \ ${WRKSRC}/scripts/common/vm-support \ ${WRKSRC}/services/plugins/componentMgr/svtminion.sh \ ${WRKSRC}/services/vmtoolsd/Makefile.am \ ${WRKSRC}/vgauth/common/prefs.h \ ${WRKSRC}/vgauth/service/Makefile.am \ ${WRKSRC}/vmware-user-suid-wrapper/wrapper.h post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/drivers ${MKDIR} ${STAGEDIR}${PREFIX}/lib/vmware-tools/modules/input ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/tools.conf \ ${STAGEDIR}${DATADIR}/tools.conf.sample ${MKDIR} ${STAGEDIR}${PREFIX}/share/open-vm-tools/scripts/vmware/ ${MKDIR} ${STAGEDIR}${PREFIX}/share/open-vm-tools/tests/ .include diff --git a/emulators/open-vm-tools/distinfo b/emulators/open-vm-tools/distinfo index c9ceb3cf9a50..eba3dc380a7a 100644 --- a/emulators/open-vm-tools/distinfo +++ b/emulators/open-vm-tools/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1769521082 -SHA256 (vmware-open-vm-tools-stable-13.0.10_GH0.tar.gz) = 622777a30703226326248fc7d5e55b9ddc280368fc85539d2d1aa06c0531c613 -SIZE (vmware-open-vm-tools-stable-13.0.10_GH0.tar.gz) = 2990615 +TIMESTAMP = 1781552977 +SHA256 (vmware-open-vm-tools-stable-13.1.0_GH0.tar.gz) = 2fed62074256ff5031609722f666b17921742a98dbec73f1b11121a301d6315b +SIZE (vmware-open-vm-tools-stable-13.1.0_GH0.tar.gz) = 3061414 diff --git a/emulators/open-vm-tools/files/patch-lib_rpcChannel_glib__stubs.c b/emulators/open-vm-tools/files/patch-lib_rpcChannel_glib__stubs.c new file mode 100644 index 000000000000..6ff9cff04423 --- /dev/null +++ b/emulators/open-vm-tools/files/patch-lib_rpcChannel_glib__stubs.c @@ -0,0 +1,10 @@ +--- lib/rpcChannel/glib_stubs.c.orig 2026-06-15 19:56:15 UTC ++++ lib/rpcChannel/glib_stubs.c +@@ -35,6 +35,7 @@ void *g_malloc0_n(size_t n, size_t s) { return Util_Sa + + void *g_malloc0(size_t s) { return Util_SafeCalloc(1, s); } + void *g_malloc0_n(size_t n, size_t s) { return Util_SafeCalloc(n, s); } ++#undef g_free + void g_free(void *p) { free(p); } + + void g_mutex_init(GMutex *mutex) { }