Commit graph

9 commits

Author SHA1 Message Date
Makoto Matsushita
821cfa67d7 Follow the new world order: use 'USE_RC_ORDER=file.sh' feature.
- repocopy vmware-guestd.sh to vmware-guestd.sh.in (by portmgr)
	- remove vmware-guestd.sh
	- remove vmware-guestd.sh entry from pkg-plist
	- update Makefile

It is intensional that I do NOT bump PORTREVISION by this commit, since
any executable is not changed, and startup script itself is also NOT
changed, only the filename is changed.  I do not want to bother users
to update their port by this non-functional change.

If you have any reasonable reason to bump PORTREVISION, let me know, and
I'll update the version asap.
2006-05-31 06:28:01 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Maxim Sobolev
8e5e26ef0c o Make sure that /etc/vmware-tools is created as symlink pointing out to
${PREFIX}/share/vmware-tools. And create three symlinks to true(1) there
  (poweroff-vm-default, poweron-vm-default, suspend-vm-default), which makes
  it possible to shutdown or reboot guest FreeBSD system cleanly at the request
  of the host. vmware-guestd expects those binaries/scripts to be present.

o Use `shutdown -p now' instead of `shutdown -h now', which in the case of
  vmware allows to avoid spinning host CPU after shutdown.

o Patch vmware-checkvm, so that it traps proper signal (SIGBUS not SIGSEGV).
  Apparently checkvm utility have not been tested on FreeBSD (apart from the
  fact that it compiles).

Bump PORTREVISION.
2005-02-06 14:04:38 +00:00
Makoto Matsushita
637c4ad272 Kill Linux-guest specific bogus messages by vmware-guestd.
In fact, the message was killed in old startup script.  While converting
to the script for RCng era, I just forget to do that.  I don't know that
"command_args" variable is ok in this case , but /etc/rc.d/ipxrouted
and /etc/rc.d/ntpdate already did it so it seems there's no problem.

Since the script is changed, bump PORTREVISION.

Noticed by: Alan Barber <abarber _at_ alanbarber.org>
Pointy hat to: matusita
2004-03-21 03:12:42 +00:00
Makoto Matsushita
65c8bd3235 Update to 4.5.1 build 7568, with lots of cleanup.
- USE_RC_SUBR.  Inspired by ports/net/dtcpclient (thanks ume-san).
	Since now, loading kernel modules and/or start vmware-guestd can
	be tweaked via following rc.conf variables:
		* vmware_guestd_enable (default to YES)
		* vmware_guest_kmod_enable (default to NO)
	vmware-guest_kmod.sh is removed; both are handled by a single
	shell script, vmware-guestd.sh.
- Bulid kernel module iff kernel source files are available.
	This check is just a static checking of /usr/src/sys/Makefile.
	It would be even better that '/usr/src' can be changed to other
	place, but I believe that most user puts a source code under /usr/src,
	or other places and set a symlink to there.  If it hits you badly,
	I'm willing to apply your patch to fix(?) it.
- If this ports is used by ports/emulators/vmware-tools4, install XFree86
  server modules, vmware_drv.o and vmmouse_drv.o.
	The vmware_drv.o is a (virtual) graphic chip driver.  I believe that
	if you have already installed XFree86 4.3.0, it should be the same
	one but compiled on XFree86 4.3.99.2.  I've confirmed that it should
	work with XFree86 4.3.0 server.

	The vmmouse_drv.o is a mouse driver, use it instead of default
	mouse driver, mouse_drv.o.  It works, but if my test is correct,
	it doesn't support Emulate3Buttons.  Use with care.

	Both drivers are installed to appropriate directory, but renamed
	(append '_VMware' to the filename) to avoid any conflicts to other
	ports (especially ports/x11/XFree86*).

P.S.: Happy version 4.5.1, ACPI is enabled by default for FreeBSD guest OS.
2004-03-16 15:37:28 +00:00
Makoto Matsushita
5e65064318 Fix module pathname.
Found by: SHIOZAKI Takehiko <st@be.to>
2003-08-02 10:33:20 +00:00
Makoto Matsushita
4e3da8e744 Update VMware Tools for 4.0.1 build-5289, the latest version of VMware
Workstation.

This commit makes vmware-tools4 a slave port of vmware-guestd4, since
both are made from the same tarball, and it would be easy to maintain.
Vmware-guestd4 also installs a kernel module named vmmemctl; you may
want to kldload(8) it with a shell script under rc.d/ directory.

VMware Workstation 4.0.1 does fix "jumping the pointer" bug (yeah, thanks
VMware developer team).  This means that you do not have to install
linux-vmware-toolbox4.  However, it can be used as it should be, I
do not disable and/or remove this port.
2003-07-24 15:34:44 +00:00
Anders Nordby
e2cd124717 Fix startup-scripts for -current /bin/sh issues. 2002-08-14 00:14:07 +00:00
Makoto Matsushita
e122c60d14 Add vmware-guestd, a daemon for VMware 3.x FreeBSD guest OS. 2001-11-11 06:59:28 +00:00