1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
Commit Graph

49 Commits

Author SHA1 Message Date
Makoto Matsushita
ae6cb37da0 Install misc/compat6x if 7-current box doesn't have libc.so.6. 2007-06-20 03:28:59 +00:00
Makoto Matsushita
709c163a91 More fix on X modules.
The X server modules (display driver and mouse driver) bundled with
VMware Tools doesn't work with X.Org 7.2 server.  So install these
modules if and only if X is actually XFree86 4.x.

Also fix pkg-plist (sorry the last commit makes plist broken.)

Bump vmware-tools6 PORTREVISION to note the changes above.

For X.Org 7.2 users:
	x11-drivers/xf86-video-vmware is the video driver for VMs, that
	is installed by default.

	x11-drivers/xf86-input-vmmouse is the mouse driver for VMs.
	However, it doesn't need if vmware-toolbox runs.
2007-06-08 17:40:56 +00:00
Makoto Matsushita
dad2c0e87c Change X server modules installation directory to a new place for X.Org 7.2.
Bump PORTREVISION for vmware-tools6 only.
2007-06-01 01:59:46 +00:00
Makoto Matsushita
95163ab167 Update to build-45731, the release version of VMware Workstation 6.
Also fix "installing 5.x binaries on 6.x box" problem for vmware-guestd6
and vmware-tools6.

PR:		113017
2007-05-26 15:43:33 +00:00
Makoto Matsushita
6182746fe3 Ouch... vmware-tools6 must depend on vmware-guestd6, not 5.
Found by:	motoyuki (via ReichaNet)
Pointy hat to:	matusita
2007-04-23 14:09:27 +00:00
Makoto Matsushita
47466ea967 Update VMware Tools for VMware Workstation 6.0.0 build-44426,
the latest Release Candidate of Workstation 6.

Also fix a typo in comment (no hurts).
2007-04-21 16:23:30 +00:00
Makoto Matsushita
b6473072be Introducing VMware Tools for VMware Workstation 6 beta 3.
As usual, all three ports are updated after repocoping from
version 5 ports (this is why this ports is 'committed,' not 'imported.')

Note to 7-current users: vmware-guestd and other binaries requires
libc.so.6 to work.  Since there is no misc/compat6x yet, this ports
is marked as 'IGNORE' if there is no libc.so.6.
2007-03-02 14:53:53 +00:00
Makoto Matsushita
f9fda38465 Packaging bugfix: we don't need ${X11BASE}/etc/rc.d/vmware-guestd{,.sh}
vmware-guestd{,.sh} script is just for vmware-guestd5 port, not vmware-tools5.
However, USE_RC_SUBR variable is defined for vmware-tools5, the script
is installed even if it is not needed.

Bump PORTREVISION to note this change.
2007-02-17 12:36:43 +00:00
Makoto Matsushita
b1ca668770 Use '@stopdaemon' command recently introduced.
Actually, vmware-guestd4 package content is changed but I don't want to
bump the version -- it is used only in uninstallation phase (and VMware
Workstation 4.x is no longer updated so no uninstallation will be needed.)
2007-02-17 09:49:53 +00:00
Makoto Matsushita
3028ec85b1 Unbreak ports: 'dirrmtry' should be '@dirrmtry'.
It seems that there is a mistake on the last commit for xfree86-3 removal.
2007-02-17 06:24:33 +00:00
Makoto Matsushita
8601adbebc Set LC_CTYPE to 'C' for ${REINPLACE_CMD}, since if LC_CTYPE is set to
others (such as ja_JP.eucJP), replacing string may fail.

No bumps, since nothing changed if REINPLACE_CMD works as expected.

Requested by:	kuriyama
2007-02-15 10:49:20 +00:00
Pav Lucistnik
45a085ac12 - Remove support for xfree86-3
PR:		ports/106666
Submitted by:	vd
With hat:	portmgr
2007-02-02 17:06:25 +00:00
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
Edwin Groothuis
b3bcb8e257 Remove USE_REINPLACE from all categories starting with E 2006-05-07 10:55:47 +00:00
Ade Lovett
fe279f0df8 Bump PORTREVISION on glib12/gtk12 consumer ports to ease the upgrade path.
Discussed with:	kris
Approved by:	portmgr (implicit)
2006-03-07 08:28:06 +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
Makoto Matsushita
a1f741f880 Fix some errors, including:
- Build fix when WITH_VMWARE_GTK is set.
- Reorder pkg-plist so that @unexec vmware-guestd.sh successfully done.
- Create directories for server modules, since xserver may not be installed.

Even though this makes no "installed" content change, but bump
PORTREVISION since pkg-plist/pkg-plist.tools are changed.

PR:		93100
Submitted by:	Scot Hetzel, swhetzel at gmail dotcom
2006-02-11 17:23:19 +00:00
Edwin Groothuis
d568611c3e eplace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 05:52:28 +00:00
Makoto Matsushita
88e551ca9f Update to 5.5.1 build 19175. 2005-12-23 01:43:38 +00:00
Makoto Matsushita
09994c8c35 Move /etc/vmware-tools/* files to vmware-tools5, since VMware Player
that is bundled with VMware Workstation 5.5 fails to suspend, warns
on poweron/resume.

Bump PORTREVISION for both vmware-tools5 and vmware-guestd5.

PR:		90488
Submitted by:	NIIMI Satoshi
2005-12-20 01:19:05 +00:00
Makoto Matsushita
78bf33a8a6 Fix shell-function name that prevents loading vmxnet.ko module at startup.
Bump PORTREVISION.

Submitted by:	Stephane E. Potvin <sepotvin at videotron, canada>
2005-12-08 05:13:43 +00:00
Makoto Matsushita
dd57c04de3 Add PORTREVISION line to vmware-tools5, so this port may have its own
revision number.  It may help to avoid unwanted version bump to
vmware-tools5 if vmware-guestd5 specific changes are happen to
vmware-guestd5/Makefile.

Since no content changes at this time, no bump.
2005-11-26 13:29:00 +00:00
Makoto Matsushita
47c7de3ef1 Ah.. fix my cut-n-paste error, vmxnet.ko cannot be installed.
PR:		89572
Submitted by:	NIIMI Satoshi
Pointyhat to:	matusita
2005-11-26 13:23:43 +00:00
Makoto Matsushita
1ebe8f4959 Dear VMware Workstation users around the world, here is an upgrade of
VMware Workstation FreeBSD-guest related ports for VMware Workstation
5.5.0 build 18463.

New features are:

- Spell "VMware Workstation" appropriately.
	There are much VMware products, it would be the time that I have
	to spell VMware Workstation as VMware Workstation.
- Support FreeBSD/amd64 since 64-bit binaries are provided from VMware.
	I don't test any of 64-bit related portion, since I have no
	FreeBSD/amd64 machine.  If something trouble please email me.
- New variable "WITH_VMWARE_GTK" (emulators/vmware-tools5)
	Install gtk version of VMware Tools if defined
	(add more dependencies on other gtk-related ports)
- New variable "WITH_VMWARE_VMXNET" (emulators/vmware-guestd5)
	Install "vmxnet.ko" kernel module (vmxnet driver) if defined
	Usage:
		- shutdown FreeBSD guest VM
		- add following line to FreeBSD guest VM config file
			Ethernet0.virtualDev="vmxnet"
		- Boot FreeBSD guest VM
		- load vmxnet.ko kernel module
		- ifconfig vxn0 ...
	New rc.conf variable "vmware_guest_vmxnet_enable" is also added
	to vmware-guestd.sh to load kernel module at startup.  However,
	${PREFIX}/etc/rc.d/vmware-guestd.sh run _after_ /etc/rc.d/netif,
	so it maybe too late to load here...
	Note that vmxnet.ko supports FreeBSD 4.8-RELEASE or later, and
	5.3-RELEASE and later (as VMware said).  I've confirmed that
	recent 7-current got 100% instant panic if vmxnet.ko is loaded.
- "vmware_guest_kmod_enable" is renamed to "vmware_guest_vmmemctl_enable"
	Now this ports has two kernel modules now, old name is not
	appropriate one, hard to understand this variable is for which
	kernel module.  I also put backward compatibility code, but users
	of vmware_guest_kmod_enable please change variable name.

Bugfixes are:

- Resolve conflicts on ${PREFIX}/share/vmware-tools.
	Unfortunately both vmware-guestd5 and vmware-tools5 installs
	files to ${PREFIX}/share/vmware-tools directory.  Since this
	directory is only for vmware-tools, vmware-guestd5 doesn't do
	anything for now.
- WWW: line in pkg-descr points bogus page.
- Add note that there's official VMware Tools installer, and what is the
  difference between the two.

Finally, as usual, bump PORTVERSION.
2005-11-26 09:19:58 +00:00
Makoto Matsushita
cabaa8d955 Put SHA256 checksums.
Fix long-standing typo in linux-vmware-toolbox5/distinfo (pass me
a pointyhat to me...)
2005-11-10 08:19:00 +00:00
Makoto Matsushita
5dad21d2cd Update for VMware Workstation 5 after repocopy.
PR:		80436
Submitted by:	Scot W. Hetzel
2005-05-18 23:07:57 +00:00
Makoto Matsushita
167ed1819c Check OSVERSION to set appropriate default CD-ROM device name.
PR:		ports/78539
Submitted by:	Scot Hetzel <swhetzel at gmail dotcom> (mostly)
2005-03-08 02:01:46 +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
Eric Anholt
4eb209da7d - Add the X_WINDOW_SYSTEM={xorg,xfree86-4,xfree86-3} variable to bsd.port.mk,
and make XFREE86_VERSION map to it.  XFREE86_VERSION is now deprecated.
- Make xorg the default X_WINDOW_SYSTEM on -current.
- Add several new X_*_PORT variables which point to various pieces of X11 based
  on the setting of X_WINDOW_SYSTEM, and make ports use them.
- Add information to CHANGES about how to handle the transition.

PR:		ports/68763
Approved by:	portmgr (marcus)
Approved by:	re (scottl)
2004-07-23 19:10:32 +00:00
Makoto Matsushita
0411725071 Fix kernel module build.
Since 'OBJS=' line is inserted _after_ bsd.kmod.mk, OBJS value is
overridden by the line (ahh...)  Hopefully, 'OBJS=' line is inserted
after 'SRCS=' line, but there's no handy way I suppose (sed's command
'i' requires to follow a newline, but how can I put a newline within
a one line?)

Since the contents (actually, kernel module) are changed,
bump PORTREVISION.

Submitted by: sobomax
2004-06-25 13:04:03 +00:00
Makoto Matsushita
a9dc96fa18 Update to 4.5.2 build-8848. 2004-06-23 19:01:58 +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
768b27fd8a Update for VMware Workstation 4.0.5 build-6030. 2003-10-11 11:54:34 +00:00
Makoto Matsushita
58574bbfea Update to 4.0.2. 2003-09-06 10:41:38 +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
Makoto Matsushita
12d533cc1c Fix installation messages to users. No content changes, no bump.
Submitted by:	SHIOZAKI Takehiko <st@be.to> (mostly)
2003-07-07 15:44:38 +00:00
Makoto Matsushita
d96f3b1ef3 Fixup for package cluster building.
- Mark NO_PACKAGE since these ports require VMware itself.
  (and avoid using .ifdef(PACKAGE_BUILDING) also)
- Forget to mark IS_INTERACTIVE if !BATCH (vmware-guest4).
2003-05-04 14:39:21 +00:00
Makoto Matsushita
b1777e20d2 I've too much asked that where to get files for install. Apparantly,
the word 'none' is an obscure comment.

No content change, no procedure change, so no bump.
2003-04-21 16:19:57 +00:00
Makoto Matsushita
2f8f686b91 Update VMware-related tools to the of VMware Workstation 4.0.0 build-4460
(after repocopying old ones, thank you joe).

It seems that VMware does not provide a new version of guest tools
for VMware 4.x to FreeBSD guest, but it would be better to add these
ports, since users will know FreeBSD runs on VMware 4.x.

I've also add vmware-toolbox port for VMware 4.x, which is for Linux
guest.  In VMware 3.x, we FreeBSD guest user are happy to use FreeBSD
version of vmware-toolbox so we don't need the Linux version.  However,
at least my VMs, FreeBSD version's vmware-toolbox causes X pointer a
bumpy one (pointer moves every seconds); it is unusable.  Linux version
seems OK for me, so if you have seen such behavior, please try
linux-vmware-toolbox4 instead.

Old ports cleanup will come later.

Reviewed by: kuriyama (mentor)
2003-04-19 07:09:04 +00:00
Makoto Matsushita
0866591eab De-pkg-comment. 2003-02-22 15:51:59 +00:00
Sean Chittenden
b8e1e7ef86 Correct ports that were abusing the FORBIDDEN variable and replace with
either IGNORE or BROKEN.

Since there seems to be some confusion, for the record:

BROKEN		is reserved for ports that don't work.  This will prevent
		users from installing the port, but please note that
		ports marked as BROKEN will still be built by bento
IGNORE		is reserved for ports that should not be built for one
		reason or another (including bento).  Users and bento
		will not build ports marked as IGNORE.
FORBIDDEN	is reserved for security breakages only!!!  Only mark a
		port as FORBIDDEN if there is a security issue with the
		port at the time.

Reviewed by:	kris (portmgr)
2003-02-07 02:44:21 +00:00
Anders Nordby
e2cd124717 Fix startup-scripts for -current /bin/sh issues. 2002-08-14 00:14:07 +00:00
Makoto Matsushita
05fdf40857 Mark FORBIDDEN if PACKAGE_BUILDING. These ports cannot build without
VMware Workstation itself.

Suggested by:	knu
2002-05-11 13:14:48 +00:00
Makoto Matsushita
321587b9e1 Update VMware toolbox and VMware guestd to 3.1.1 build 1790.
Add comments that these are for VMware 3.x.
2002-05-11 13:11:12 +00:00
Makoto Matsushita
f4a6cc525b Use installed vmware-guestd to detach VMware Tools CD-ROM.
No content change will apply with this commit.
2002-03-31 13:17:26 +00:00
Makoto Matsushita
8ca6491f05 Change my email address to the one of @FreeBSD.org.
Reviewed by:	kuriyama
2002-03-15 15:47:40 +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