Commit graph

73 commits

Author SHA1 Message Date
Josh Paetzel
9caf09de92 Reintegrate accidentally removed patch
Along the way remove a patch that is no longer
needed.

Reported by:	John Wolfe <jwolfe@vmware.com>
Pointyhat:	jpaetzel
2018-03-13 14:20:24 +00:00
Josh Paetzel
445f4b448a Fix bug that causes crashes when running commands from the host
PR:	226478
Submitted by:	german.mb@gmail.com
Reviewed by:	John Wolfe <jwolfe@vmware.com>
2018-03-10 22:56:54 +00:00
Josh Paetzel
2715780414 Backport a fix from upstream that broke UFS
Reported by:	dim
Obtained from:	VMware
2018-02-25 15:35:07 +00:00
Josh Paetzel
8bea5017d1 Fix build with clang 6.0.0
Also avoids an endless loop in practice

PR:	224816
Submitted by:	dim
2018-01-02 14:45:06 +00:00
Josh Paetzel
6342be5e7d Update to 10.2.0
See the following link for the full release notes for this release:
https://github.com/vmware/open-vm-tools/blob/10.2.x/ReleaseNotes.md

PR:	224373
Submitted by:	John Wolfe <jwolfe@vmware.com>
2017-12-23 05:20:29 +00:00
Josh Paetzel
dd74544a2b Update to 10.1.10
Improvements include:

  - Improved OS detection and reporting for FreeBSD 11 and 12.
  - Improved networking resume for DHCP FreeBSD guests.
  - Check for Xen, VirtualPC etc., only if VMware not detected.
  - Improve timesync when the offset is large.

Full changelog is available at:
https://github.com/vmware/open-vm-tools/blob/master/open-vm-tools/ChangeLog

PR:	221194
2017-08-29 16:43:48 +00:00
John Baldwin
db9b491670 Don't leak lock from os_kmem_alloc().
The current port patches for os_kmem_alloc() add VM object locking.
However, the lock is not unlocked in the success case because the
unlock code is inside of an if body instead of after the if statement.

Reported by:	jpaetzel
Reviewed by:	jpaetzel
Approved by:	swills
MFH:		2017Q3
Differential Revision:	https://reviews.freebsd.org/D12038
2017-08-17 17:47:58 +00:00
Steve Wills
f2e6e3cde5 emulators/open-vm-tools: update to 10.1.5 2017-06-30 18:37:49 +00:00
Renato Botelho
c8cb3b67f8 Make vmware-kmod startup script to return 1 when it fails
Approved by:	swills (maintainer)
MFH:		2017Q2
Sponsored by:	Rubicon Communications (Netgate)
Differential Revision:	https://reviews.freebsd.org/D10397
2017-04-14 17:36:31 +00:00
Steve Wills
15b8d7f152 emulators/open-vm-tools: improve scripts
Make it possible to disable the rc scripts.
Still default to enabled, but only when checkvm says we are in a VM.
While here, improve scripts slightly.

Requested by:	mat
Tested by:	mat
2017-03-24 14:43:24 +00:00
Steve Wills
988c348b42 emulators/open-vm-tools: Update to 10.1.0
PR:		212471
2017-03-22 14:52:00 +00:00
Enji Cooper
c2f3d4d0d9 emulators/open-vm-tools: change sysctl_add_oid use to SYSCTL_ADD_OID
sysctl_add_oid was changed in base/head@r310051 to take a label parameter,
and open-vm-tools doesn't supply it as it depends on the old KPI signature.
SYSCTL_ADD_OID doesn't require the label parameter since its inception
though, thus it's a backwards compatible solution for adding sysctl oids.

PR:		215353
Reported by:	dim
Submitted by:	ed
Reviewed by:	ed, lwhsu
Approved by:	lwhsu
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D9698
2017-02-21 19:20:47 +00:00
Mathieu Arnold
a0bcd2cf68 Use USES=pathfix where applicable.
PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8093
2016-10-21 15:21:13 +00:00
Steve Wills
62a1fbb41a emulators/open-vm-tools: Fix build with clang 3.9.0
PR:		212426
Submitted by:	dim
2016-09-12 01:37:19 +00:00
Steve Wills
c8b07fac68 emulators/open-vm-tools: Fix pam issue
While here, fix a plist issue

PR:		200637
2015-06-07 12:53:15 +00:00
Dimitry Andric
63e8b9315e Fix -Werror warnings from clang 3.6.0 and higher about unused local
typedefs, which are used for hand-implementing compile-time assertions,
by adding an __unused__ attribute.

Approved by:	maintainer (swills)
PR:		198202
2015-03-02 21:36:51 +00:00
Koop Mast
92a684c4ff Fix build with clang 3.5.0.
PR:		196108
Submitted by:	dim@
Approved by:	maintainer (via IRC)
2015-02-14 13:36:48 +00:00
Brad Davis
2c554c596f Add a startup requirement on ldconfig so start up does not fail with:
Shared object "libiconv.so.2" not found, required by "libglib-2.0.so.0"

Approved by:	swills
2014-12-23 15:48:33 +00:00
Koop Mast
af3811313c The FreeBSD GNOME team proudly presents GNOME 3.14 and Cinnamon 2.2.
Gnome 3.14.1 and Cinnamon 2.2.16 are supported on FreeBSD 9.3-RELEASE and up.

This commit removes the old GNOME 2 desktop, bindings and some ports that
can't be compiled. A few ports where updated to more recent versions to
allow them to compile with this update.

Apart from updating ports to newer versions

GDM is more integrated with gnome-shell now, and handles several things for
the GNOME desktop such as screen locking. If you want to use GNOME 3 via
startx, you will have to add your own lock screen/screensaver. For example xscreensaver
can be used for sessions started without GDM.

Shell Extensions can be installed via https://extensions.gnome.org/ , we have
ported a few that can't be installed via this way.
The old gnome-utils and gnome-games ports where split up into single ports
and where converted to meta-ports.
gnome-terminal requires a UTF-8 locale to run, gdm handles this already, but
if you use startx you need to do this yourself.

Upgrade instructions:

Delete the old and conflicting packages:
# pkg delete clutter gnome-utils gnome-panel gnome-keyring vala-vapigen \
    guile gcalctool gnome-media libgnomekbd
# pkg delete gnome-screensaver gnome-applets bug-buddy evolution-exchange \
    evolution-webcal gnome-system-tools seahorse-plugins gnome-control-center

For package users the following lines will be enough:
# pkg upgrade
# pkg install gnome3

For ports users should do the following:
# portmaster -a
# portmaster x11/gnome3

We are currently aware of two issues. The first issue is a bug in the
file monitoring code in the glib20 port. This bug causes glib programs
to crash when files in a monitored directory are added or removed.
Upstream is aware of the problem, but since the problem is quite complex
there is no solution yet. This problem isn't restricted to BSD.

The second issue is that on certain video cards totem will display a
purple/pink overlay on the video. It not clear yet where the issues
comes from.

Major thanks goes to Gustau Perez for being a driving force behind getting
GNOME 3 up to speed again. Also thanks to Antoine Brodin for running the exp-runs.

This update was also made possible by:
	Joe Maloney
	Kris Moore
	Beeblebrox
	Ryan Lortie
	Antoine Jacoutot
	and everyone I missed
2014-11-19 11:49:04 +00:00
Gleb Smirnoff
9a01829b2a Update for recent ifnet(9) changes in head.
Approved by:	bapt (blanket)
2014-10-02 18:17:48 +00:00
Steve Wills
02342a56b4 - Fix build on 11-CURRENT by patching:
modules/freebsd/vmhgfs/channel.h [2] [3]
  libvmtools/i18n.c [2]
  modules/freebsd/vmmemctl/os.c [4]

PR:		ports/187426 [1]
PR:		ports/188744 [2]
Submitted by:	alfred [2]
Submitted by:	garga [3]
Submitted by:	bdrewery [4]
2014-04-25 15:39:46 +00:00
Xin LI
2340b4e009 Trap SIGBUS while doing port probe. On FreeBSD a SIGBUS is delivered
when accessing port that is not accessible, which is the case when
running vmware-vmcheck on bare metal system.

Approved by:	swills (maintainer)
Obtained from:	FreeNAS
2014-02-28 18:57:01 +00:00
Steve Wills
4fcab40851 - Add an ugly hack to rename base64.h so that it doesn't conflict with the one
installed by security/heimdal

PR:		ports/177454
Reported by:	Andriy Syrovenko <andriys@gmail.com>
2014-01-01 16:49:02 +00:00
Steve Wills
4311a63641 - Require netif in vmware-guestd to avoid DHCP issue
- Bump PORTREVISION for package change

PR:		ports/168332
PR:		ports/149949
2013-12-22 22:23:06 +00:00
Steve Wills
ec67c2b687 - Add patch to fix build when devel/libunwind is installed
- While here, rename patch to better name. All the patches probably need
  renaming.

Reported by:	Andrzej Tobola <ato@iem.pw.edu.pl>
2013-11-17 23:25:47 +00:00
Steve Wills
a1c803102d - Update to 9.4.0
- Commit open-vm-tools-nox11 part of conversion to optionsNG missed in last
  commit [1]
- Fix plist issue with open-vm-tools-nox11 with optionsNG enabled

PR:		ports/183893 [1]
Submitted by:	mat
2013-11-16 23:22:22 +00:00
Steve Wills
4aff9086cc - Update to 9.2.3-1031360 [1]
- Fix build on CURRENT

PR:		ports/180471 [1] (partially)
Submitted by:	Douglas Carmichael <dcarmich@dcarmichael.net> [1] (partially)
2013-11-16 04:35:59 +00:00
Steve Wills
0adf1a0c87 - Add stage support
- Convert to USES=kmod

PR:		ports/183754
Submitted by:	mat
2013-11-07 21:50:19 +00:00
Tijl Coosemans
cfea1fe89d - Fix build with clang and recent kernel API changes.
- Use new style LIB_DEPENDS.

PR:		173038, 174290, 180499
Submitted by:	Garrett Cooper <yaneurabeya@gmail.com>
Approved by:	swills (maintainer)
2013-10-19 14:39:55 +00:00
Doug Barton
9aac569eaa Move the rc.d scripts of the form *.sh.in to *.in
Where necessary add $FreeBSD$ to the file

No PORTREVISION bump necessary because this is a no-op
2012-08-05 23:19:36 +00:00
Steve Wills
7a7703967d - Try again 2012-06-29 02:06:31 +00:00
Michael Scheidell
811e3dc9d5 - Back out all changes to date starting with this pr.
- changes that were applied by several people, one change (mine, the actual upgrade) made hgfs unloadable.
- other changes along the way, attempting to fix it made port broken were also backed out
- Only patches left were DougB's rc script patches
- Bump PORTEPOCH

PR:		ports/161891
Submitted by:	scheidell (me)
Approved by:	ports@ (maintainer, implicit), gabor (mentor)
2012-02-17 16:54:12 +00:00
Michael Scheidell
5e8394428b - patch vmhgfs to allow make it loadable [1]
- patch Makefile/plist/pkg-message to prevent install of broken vmhgfs, suggested by swills
- Add USE_AUTOMAKE=yes to keep build from taking two passes, and keep tinderbox happy

Submitted by:	swills [1]
Approved by:	gabor (mentor)
2012-01-16 00:07:20 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Steve Wills
c87797d2ab - Update to 425873
- Unmark broken
- Pet portlint

PR:		ports/161001
Submitted by:	swills (me)
Approved by:	maintainer timeout (>2 weeks)
2011-10-14 20:12:21 +00:00
Martin Blapp
325eca01b3 Add empty install-data-am section 2010-11-16 20:59:32 +00:00
Martin Blapp
bb8b488192 Remove accidently committed file 2010-11-16 20:42:40 +00:00
Martin Blapp
cdcf5ddf92 Add fix for vmware-user-suid-wrapper failes to load vmblock.ko
Don't install vmware-user-suid-wrapper automatically in kde autostart
Bump portrevision

PR:			ports/152292
Submitted by:		Fumiyuki Shimizu <fumifumi@abacustech.jp>
2010-11-16 20:37:05 +00:00
Martin Blapp
e189332abb Fix build errors (redundant declarations)
PR:			152283
Submitted by:		fumifumi@abacustech.jp
2010-11-16 07:42:44 +00:00
Martin Blapp
1487d80dbd Add new patches for build 313025 2010-11-15 23:59:05 +00:00
Martin Blapp
8a737de735 Upgrade to build 313025, release date 2010.10.18
Fix build on HEAD
Fix dhclient resume
Fix pkgconfig

PR:		151872, 149116, 150913
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp>
2010-11-15 23:57:51 +00:00
Philip M. Gollucci
1b726b37e1 - add a status command
- make the `start` command more verbose (e.g. for debugging)
- remove (some) duplicate code

PR:             ports/148068
Submitted by:   Frank Wall <fw@moov.de>
Approved by:    maintainer timeout (mbr; 82 days)
2010-09-14 03:20:16 +00:00
Martin Blapp
e8e05085cd Upgrade to build 253928 2010-06-06 14:55:58 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Martin Blapp
a718302dd5 Check should be <= 900000 2010-01-02 16:33:57 +00:00
Martin Blapp
5fc5a0bb73 Upgrade open-vm-tools to build 210370 (PR 142112)
Fix complile on FreeBSD 9
Add missing pkg-plist files

PR:		ports/142112 (partly)
Submitted by:	Steve Wills <steve@mouf.net>
2010-01-02 16:29:44 +00:00
Martin Blapp
41e5f0b9a0 Delete two unneeded patches.
PR:		misc/135400
Submitted by:	John Fox Maule <john@fox-maule.dk>
2009-06-09 08:22:09 +00:00
Martin Blapp
7f2467c414 Upgrade open-vm-tools to build 167859 from 2009.05.22
Add vfs layer fixes for recent FreeBSD CURRENT
Vmtools-guestd has been replaced by vmtoolsd

PR:		ports/134879
Submitted by:	Tom McLaughlin <tmclaugh@freebsd.org>
2009-06-08 23:24:44 +00:00
Martin Blapp
7a31c1b335 Fix shutdown problems with ESX 3.5
PR:             ports/133717
Approved by:	portsmgr
Submitted by:   Tatsumi Hosokawa <hosokawa@itc.keio.ac.jp>
2009-04-14 07:32:46 +00:00
Martin Blapp
d2ae6a2f47 Fix locking in vmmemctl
Submitted by:	kan
2009-04-09 21:19:03 +00:00