Commit graph

72 commits

Author SHA1 Message Date
Alexander Langer
4322c88339 Fix for -CURRENT with the recent struct cdevsw changes and
cdevsw_add()/remove() removal.

This outputs a
WARNING: driver "vmmon" used unreserved major device number 200
message, but as the vmware application really requires to use a major
of 200 (error otherwise, tested), we need to use a fixed one, and I
don't want to register a major for this.
2003-03-23 15:01:23 +00:00
Akinori MUSHA
a8edaa568e De-pkg-comment. 2003-02-21 12:06:51 +00:00
Alexander Langer
7c0370e8fb Seems like I had another fix in my system. On 5.0, the vmnet1 in
$LINUXBASE/dev had a different device minor than the cloned one
in /dev/vmnet1.  Thus delete the one in $LINUXBASE and link it
to the devfs one to have everything right.

This fixes the port on my fresh installed 5.0-RELEASE box.
2003-02-12 19:15:54 +00:00
Alexander Langer
5d12a3bc25 Fix the stupid manual merge error I did in the last commit. 2003-02-12 17:11:09 +00:00
Alexander Langer
dde1455600 Make this port build on CURRENT systems older than 2003/01/01 (abusing
OSVERSION of 5.0-RELEASE for this)
- include sys/filedesc.h where required
- define M_WAITOK to 0 until THEY found a solution.
2003-02-11 21:42:52 +00:00
Alexander Langer
2c79ac7fa4 Fix this on 5.0. It isn't enough to "echo -n" to /compat/linux/dev/vmnet1,
but you also need to do this with /dev/vmnet1 in days of devfs.  This has
been in my tree for months now.
2003-02-11 21:10:04 +00:00
Ian Dowse
8e07872e6a Catch up with some not-so-recent VM changes to make vmware2 work
again on -CURRENT. Without this, attempting to boot the virtual
machine causes an instant panic in the host.

Approved by: knu, vsilyaev@mindspring.com (maintainer)
2002-10-18 16:33:02 +00:00
Ian Dowse
af93bed2da Make vmware2 compile on -current again.
Submitted by:	Mark Santcroos <marks@ripe.net>
Approved by:	joe
2002-09-02 16:47:39 +00:00
Josef Karthauser
08f7eabb66 Fix vmware2 for -current so that it compiles again.
Submitted by:	Mark Santcroos <marks@ripe.net>
2002-08-14 16:09:27 +00:00
Maxim Sobolev
62f2687e21 Add USE_SUBMAKE, where it might be necessary. 2002-03-25 09:19:20 +00:00
Marcel Moolenaar
eb9f710310 Fix -current breakage caused by a type change of pt_entry_t.
Note that the OSVERSION test is inexact. The type change
happened after 500027, but since there's no 500028 yet and
making one specifically for this port is considered overkill
we hope to get away with it.

Submitted by: Munehiro Matsuda <haro@h4.dion.ne.jp>
Approved by: Vladimir N. Silyaev <vsilyaev@mindspring.com>
Coordinated by: Mark Santcroos <marks@ripe.net> :-)
2001-12-06 05:09:21 +00:00
Marcel Moolenaar
a40ced47b8 Change Vladimir's email address.
approved by: Vladimir (maintainer)
2001-11-11 08:36:28 +00:00
Marcel Moolenaar
b80e5ac6af Apply the KSE patch on post-KSE systems. This unbreaks the port
on -current.

Suggested by: Mark Santcroos <marks@ripe.net>
No response from: maintainer
2001-11-11 01:31:50 +00:00
Marcel Moolenaar
13708133aa Patch to make this compile on post-KSE systems.
Submitted by: Mark Santcroos <marks@ripe.net>
No response from: maintainer
2001-11-11 01:23:04 +00:00
Akinori MUSHA
200e127a87 Update to 2.0.4.1142.
PR:		ports/29100
Submitted by:	Scott Renfro <scott@renfro.org>
2001-07-23 03:56:15 +00:00
Akinori MUSHA
01e5f869a2 Fix for the latest CURRENT. (SMPng folks, feel free to correct it if
it's a wrong fix)

Tested by:	kuriyama
2001-07-12 14:26:10 +00:00
Brian Somers
337163c4a2 Handle machine/ioctl_fd.h moving to sys/fdcio.h
Approved by:	Vladimir Silyaev <vsilyaev@mindspring.com>
2001-06-10 09:48:08 +00:00
Tatsumi Hosokawa
34765bae74 Latest mutex fix was imcomplete and vmware2 port still hangs at vmmon
kernel module.  Added mutex code before and after calling vm operations
in vmmon.

Submitted by:	John Baldwin <jhb@FreeBSD.org>
Approved by:	the Maintainer
2001-06-07 15:18:33 +00:00
CHOI Junho
c738796b0a Fix for the latest -current. (sys/lock.h -> sys/mutex.h)
PR:		ports/27666
2001-05-31 06:07:31 +00:00
Akinori MUSHA
323e64d126 Fix the build on 5-CURRENT by creating dummy bus_if.h and device_if.h.
(Now machine/smp.h seems to include sys/bus.h which demands them)
2001-05-01 19:29:50 +00:00
Nick Sayer
30bc1c26bb Update the Hints notes about the MAP_NOSYNC issue. It's now fixed in
4-stable and -current.
2001-03-07 18:04:10 +00:00
Akinori MUSHA
9b0e7f3d02 As our new bsd.kmod.mk doesn't seemt to support "make clean all",
do "make clean && make" instead.

This should fix the build on a recent CURRENT.
2001-02-25 10:16:25 +00:00
Jimmy Olgeni
82c7f9761b Fix creation of /etc/vmware link (it could be created into itself, if it
already existed at install time).
2001-02-22 21:10:34 +00:00
Akinori MUSHA
485f1b4641 Fix for the latest -current. (sys/select.h -> sys/selinfo.h) 2001-01-22 10:39:32 +00:00
Maxim Sobolev
2b1a883dc4 Massive style enforcement - use ^I instead of spaces for variables identation. 2001-01-16 17:33:20 +00:00
Nick Sayer
6242007870 Don't attempt to load modules if they're already in place.
Submitted by:	fyr@usenet-edu.net
2000-12-29 19:10:04 +00:00
Nick Sayer
26f0edd0b7 Add sections about netgraph bridging and the restore-from-disk
performance issue.
2000-12-29 13:52:39 +00:00
Akinori MUSHA
ab27f1e02d Bump PORTREVISION. 2000-12-28 21:39:24 +00:00
Nick Sayer
7a7a493036 Switch the port over to netgraph bridging. This method has a number of
advantages, chief of which is that it doesn't hose over multi-interface
configurations the way the default installation did before. This
mechanism "chains" the guest's interface to an interface specified at
installation-time (it can be changed afterwards by editing the rc.d
script).

Approved by:	(maintainer)
2000-12-24 05:20:51 +00:00
Akinori MUSHA
de49c3f91d Replace obsolete /dev/rfd0 with /dev/fd0. 2000-12-05 10:31:00 +00:00
Akinori MUSHA
2bee36945b Update to 2.0.3 release, build 799. 2000-11-07 14:40:23 +00:00
Akinori MUSHA
3256ab48f4 Fix a stupid typo. It wasn't a problem as it was consistent, but I'm
fixing it so I don't look stupid. :>
2000-11-02 23:01:40 +00:00
Akinori MUSHA
36293b0d4e Add a WANT_BETA knob so people can easily try out 2.0.3 RC1.
Convert the extract script hack to simple extractions in Makefile to
make it easy to comprehend.
2000-11-02 22:56:44 +00:00
Akinori MUSHA
a4dab13de1 Make the startup script read ${PREFIX}/etc/vmware/config so people do
not have discrepant configurations between them.
2000-11-02 12:20:26 +00:00
Akinori MUSHA
7207c21893 Complain and stop in case ${LINUXBASE}/dev/vmnet1 is not found.
Submitted by:	shimokawa
2000-10-02 14:29:06 +00:00
Akinori MUSHA
8b3cd773ff Use LINUXBASE/USE_LINUX variables.
This is only a cosmetic change, so there's no need to reinstall your
installation(s).
2000-09-22 17:22:24 +00:00
Akinori MUSHA
e20b8f3499 Fix for the latest -current. (another tiny ad hoc fix here..)
Noted by:	kuriyama

Use LINUXBASE and USE_LINUX.
2000-09-22 16:55:01 +00:00
Akinori MUSHA
7bc3142cfd Add support for the latest current. (a bit kind of ad hoc) 2000-09-15 10:19:47 +00:00
Akinori MUSHA
36df7f0db6 Fix the configure script that caused a syntax error when no networking.
PR:		ports/20816
Submitted by:	Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-09-10 15:03:00 +00:00
Akinori MUSHA
43d55cefa0 Do in Makefile as make groks, not as Ruby groks. (make groks it though)
.if exists?(..) -> .if exists(..)
2000-08-24 15:01:44 +00:00
Akinori MUSHA
be957101cb Chase the recent moving of linux_ioctl.h. 2000-08-23 19:13:51 +00:00
Akinori MUSHA
d0b2934087 Merge with Vladimir's latest version.
- Add support for FreeBSD bridging facility.  To use it, you need a
kernel built with `options BRIDGE'.

- Integrate vmnet and if_tap code into vmmon module.

- Install vmmon/vmnet1 pseudo-device nodes under /compat/linux/dev
instead of /dev

- Set TMPDIR to /var/tmp if empty.

- Change MAINTAINER back to Vladimir N. Silyaev <vns@delta.odessa.ua>,
now he is back and being active. :)
2000-07-31 21:56:38 +00:00
Akinori MUSHA
9046f5e5ad Update the vmmon-freebsd module to Vladmir's latest version, 0.97-b1.
- Improve LBA magic for huge IDE drives
2000-07-27 05:46:31 +00:00
Akinori MUSHA
ed3cdba5a1 Update to 2.0.2 release candidate, build 621.
Use it at your own risk, as it is supposed to be of beta quality.

FYI, vmmon/vmnet hasn't been changed at all since 2.0.1 release.
2000-07-22 20:55:26 +00:00
Akinori MUSHA
a6855de4bf Add a note for users to always keep the kernel and this port in sync. 2000-07-18 19:13:15 +00:00
Akinori MUSHA
a7ed515c79 Update md5 due to their repack of the distfile as of a week ago.
- vmware-sniffer and vmware-wizard were changed. (details unknown)
  - vmmon/vmnet/vmppuser sources were unchanged, however, some of the
    binaries (for Linux) seems have recompiled.  That would not affect
    us because we compile them from source.

Fix configure script to return zero on exit.
2000-07-13 06:43:51 +00:00
Satoshi Asami
be6c01ee85 Use ${MASTER_SITE_LOCAL}. 2000-06-29 02:31:42 +00:00
Akinori MUSHA
6b5cc67e4c Update to the 2.0.1 release. (Build 570)
I've tested this version for several hours and found it pretty stable,
which means this "release" version could handle the situations which
RC versions never could.

If you suffer any problems with it, feel free to report the situations
in detail at the freebsd-emulation list.
2000-06-20 08:59:05 +00:00
Akinori MUSHA
4e4f338ce2 Add a knob to try installing VMware 2.0.1 RC2 for those who are willing to try it out.
Add a piece of advice that users should not run VMware as root to Hints.FreeBSD.
2000-06-19 18:02:59 +00:00
Akinori MUSHA
3024927161 Revise advice on /tmp: Difining TMPDIR would be better way than
creating /compat/linux/tmp to fake /tmp.
2000-06-08 20:09:52 +00:00