diff options
Diffstat (limited to 'emulators/vmware3')
-rw-r--r-- | emulators/vmware3/Makefile | 136 | ||||
-rw-r--r-- | emulators/vmware3/distinfo | 3 | ||||
-rw-r--r-- | emulators/vmware3/files/Hints.FreeBSD | 117 | ||||
-rw-r--r-- | emulators/vmware3/files/Makefile | 5 | ||||
-rw-r--r-- | emulators/vmware3/files/Makefile.vmmon | 9 | ||||
-rw-r--r-- | emulators/vmware3/files/README.FreeBSD | 79 | ||||
-rw-r--r-- | emulators/vmware3/files/config | 7 | ||||
-rw-r--r-- | emulators/vmware3/files/df | 31 | ||||
-rw-r--r-- | emulators/vmware3/files/patch-bc | 11 | ||||
-rw-r--r-- | emulators/vmware3/files/patch-bd | 25 | ||||
-rw-r--r-- | emulators/vmware3/files/vmware | 26 | ||||
-rw-r--r-- | emulators/vmware3/files/vmware.sh | 52 | ||||
-rw-r--r-- | emulators/vmware3/pkg-comment | 1 | ||||
-rw-r--r-- | emulators/vmware3/pkg-descr | 14 | ||||
-rw-r--r-- | emulators/vmware3/pkg-message | 11 | ||||
-rw-r--r-- | emulators/vmware3/pkg-plist | 134 | ||||
-rw-r--r-- | emulators/vmware3/scripts/configure | 108 | ||||
-rw-r--r-- | emulators/vmware3/scripts/pre-install | 29 |
18 files changed, 0 insertions, 798 deletions
diff --git a/emulators/vmware3/Makefile b/emulators/vmware3/Makefile deleted file mode 100644 index 212e1906b76a..000000000000 --- a/emulators/vmware3/Makefile +++ /dev/null @@ -1,136 +0,0 @@ -# ports collection makefile for: VMware 2.0 for Linux -# Date created: Fri 26 Nov 19:16:47 EST 1999 -# Whom: vns@delta.odessa.ua -# -# $FreeBSD$ -# $vmFreeBSD: vmware/vmmon-only/freebsd/port/Makefile,v 1.15 2000/07/31 00:54:32 vsilyaev Exp $ -# - -PORTNAME= vmware2 -PORTVERSION= 2.0.2.621 -PORTREVISION= 1 -CATEGORIES= emulators linux -MASTER_SITES= http://www4.vmware.com/software/ \ - http://vmware-svca.www.conxion.com/software/ \ - http://vmware-chil.www.conxion.com/software/ \ - http://vmware-heva.www.conxion.com/software/ \ - http://www.vmware.co.uk/software/ \ - http://mirror.aarnet.edu.au/pub/vmware/software/ \ - ftp://mirror.aarnet.edu.au/pub/vmware/software/ -DISTNAME= VMware-${PORTVERSION:R}-${PORTVERSION:E} - -PATCH_SITES= http://www.mindspring.com/~vsilyaev/vmware/files/ \ - ftp://mirror.aarnet.edu.au/pub/vmware/freebsd/ \ - http://mirror.aarnet.edu.au/pub/vmware/freebsd/ -PATCHFILES= vmmon-freebsd-0.98.tar.gz \ - vmnet-freebsd-0.21.tar.gz - -# Feel free to post your questions/reports/suggestions on this port to -# freebsd-emulation mailing list with the following maintainer address CC'ed. -MAINTAINER= vns@delta.odessa.ua - -RUN_DEPENDS= ${LINUX_DIR}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base \ - ${LINUX_DIR}/dev/rtc:${PORTSDIR}/emulators/rtc - -RESTRICTED= "Not sure if we can redistribute it" - -LINUX_DIR= /compat/linux -VMDIR= ${PREFIX}/lib/vmware - -ONLY_FOR_ARCHS= i386 -USE_XLIB= yes -WRKSRC= ${WRKDIR}/vmware-distrib -GZCAT= ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/extract -MAN1= vmware.1 - -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 400013 -BROKEN= "Systems prior to 400013 is out of support" -.endif - -.if !defined(HAVE_LINPROCFS) && !exists(/modules/linprocfs.ko) && !exists(/boot/kernel/linprocfs.ko) && !exists(${PREFIX}/modules/linprocfs.ko) -BROKEN= "This software absolutely requires Linux procfs support" -.endif - -.if !exists(/sys/Makefile) -BROKEN= "Kernel source files required" -.endif - -.if exists(${WRKDIRPREFIX}${.CURDIR}/work/Makefile.inc.net) -.include "${WRKDIRPREFIX}${.CURDIR}/work/Makefile.inc.net" -.endif - -SCRIPTS_ENV+= LINUX_DIR="${LINUX_DIR}" \ - VMNET_HOST_IP="${VMNET_HOST_IP}" \ - VMNET_NETMASK="${VMNET_NETMASK}" -MAKE_ARGS= KMODDIR="${VMDIR}/lib/modules" - -post-patch: - ${CP} ${FILESDIR}/Makefile ${WRKSRC} - ${CP} ${FILESDIR}/Makefile.vmmon ${WRKSRC}/vmmon-only/Makefile - ${RM} -rf ${WRKSRC}/vmmon-only/linux/ -.if exists(/sys/compat/linux/linux_ioctl.h) - ${PERL} -i -pe 's,i386(/linux/linux_ioctl\.h),compat$$1,' \ - ${WRKSRC}/vmnet-only/freebsd/vmnet_linux.c -.endif - -setoptions: - ${SED} -e 's;@@PREFIX@@;${PREFIX};' \ - -e 's;@@HOST_IP@@;${VMNET_HOST_IP};' \ - -e 's;@@NETMASK@@;${VMNET_NETMASK};' \ - ${FILESDIR}/config > ${WRKDIR}/config - - ${SED} -e 's;@@PREFIX@@;${PREFIX};' \ - -e 's;@@LINUX_DIR@@;${LINUX_DIR};' \ - -e 's;@@NETWORKING@@;${VMNET_NETWORKING};' \ - -e 's;@@HOST_IP@@;${VMNET_HOST_IP};' \ - -e 's;@@NETMASK@@;${VMNET_NETMASK};' \ - ${FILESDIR}/vmware.sh > ${WRKDIR}/vmware.sh - - ${SED} -e 's;@@PREFIX@@;${PREFIX};' \ - -e 's;@@LINUX_DIR@@;${LINUX_DIR};' \ - ${FILESDIR}/vmware > ${WRKDIR}/vmware - -pre-install: setoptions - ${INSTALL_MAN} ${WRKSRC}/man/man1/vmware.1 ${MANPREFIX}/man/man1 - ${MKDIR} ${VMDIR}/lib/modules - - ${MKDIR} ${PREFIX}/etc/vmware - ${INSTALL_DATA} ${WRKDIR}/config ${PREFIX}/etc/vmware - - ${INSTALL_SCRIPT} ${WRKDIR}/vmware.sh ${PREFIX}/etc/rc.d - - ${MKDIR} ${VMDIR}/bin - ${INSTALL_SCRIPT} ${FILESDIR}/df ${VMDIR}/bin - [ -f ${LINUX_DIR}/bin/df ] || ${LN} -s ${VMDIR}/bin/df ${LINUX_DIR}/bin/ - ${INSTALL_SCRIPT} ${WRKSRC}/bin/*.pl ${VMDIR}/bin - for i in \ - vmnet-bridge vmnet-dhcpd vmnet-sniffer \ - vmware-loop vmware-ping vmware-wizard \ - ; do \ - ${INSTALL_SCRIPT} ${WRKSRC}/bin/$${i} ${VMDIR}/bin; \ - done - ${INSTALL_SCRIPT} -m 4555 ${WRKSRC}/bin/vmware ${VMDIR}/bin - ${INSTALL_SCRIPT} ${WRKDIR}/vmware ${PREFIX}/bin - ${MKDIR} ${VMDIR}/lib - ${INSTALL_DATA} ${WRKSRC}/lib/config ${VMDIR}/lib - ${MKDIR} ${VMDIR}/lib/floppies - ${INSTALL_DATA} ${WRKSRC}/lib/floppies/* ${VMDIR}/lib/floppies - ${MKDIR} ${VMDIR}/lib/help - ${INSTALL_DATA} ${WRKSRC}/lib/help/* ${VMDIR}/lib/help - ${MKDIR} ${VMDIR}/lib/xkeymap - ${INSTALL_DATA} ${WRKSRC}/lib/xkeymap/* ${VMDIR}/lib/xkeymap -.if !defined(NOPORTDOCS) - ${MKDIR} ${PREFIX}/share/doc/vmware - ${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/vmware -.for f in README.FreeBSD Hints.FreeBSD - ${INSTALL_DATA} ${FILESDIR}/${f} ${PREFIX}/share/doc/vmware -.endfor -.endif - -post-install: - ${LN} -s ${PREFIX}/etc/vmware /etc/vmware - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> diff --git a/emulators/vmware3/distinfo b/emulators/vmware3/distinfo deleted file mode 100644 index 985512db5a97..000000000000 --- a/emulators/vmware3/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (VMware-2.0.2-621.tar.gz) = fd96669b44664a4c0a440251c6cc4e4d -MD5 (vmmon-freebsd-0.98.tar.gz) = ed381460a92c6733d9889192256e1023 -MD5 (vmnet-freebsd-0.21.tar.gz) = bb79acba1a4d7d9f3063510ea2bd91ad diff --git a/emulators/vmware3/files/Hints.FreeBSD b/emulators/vmware3/files/Hints.FreeBSD deleted file mode 100644 index 59bf8445adbc..000000000000 --- a/emulators/vmware3/files/Hints.FreeBSD +++ /dev/null @@ -1,117 +0,0 @@ -$FreeBSD$ - -Here is a list of some useful hints on using VMware on FreeBSD. - -- Note that this port includes some kernel modules, which means you -should rebuild and reinstall this port everytime you update the kernel -so as to keep them in sync; otherwise VMware might coredump or crash -together with the whole system if kernel interfaces were somewhat -different than before. - -- Full screen text mode does not work. Don't ever do it! - -- Full screen graphics mode will work, but you have to be careful e.g. -when running a DOS prompt on MS Windows. Hitting Alt+Enter will crash -VMware before you can say "Chuck!" - -- Running VMware as root is NOT the right way to do it. Edit -/etc/fbtab to obtain the proper permission for the device files that -you are going to access, then run VMware as a normal user. - -- Raw disk may not work. Use virtual or plain disk instead. - -- The vmware-mount.pl utility does not work. If you want to mount -the "disk" while VMware is not running, you must use plain disks -instead of virtual ones. Set up a 63 sector file as an "mbr" -section, then a file for each partition on the "plain" disk. -To mount the "disk", use vnconfig -c /dev/vn__ file and -then mount the vn device. - -If you are setting up a plain disk as a workaround for the broken -raw disks, you will need to set up the disk description file -by hand, as the configuration editor will complain. Here is a -sample one: - -DRIVETYPE ide -CYLINDERS 16383 -HEADS 16 -SECTORS 63 -ACCESS "/path/disk.mbr" 0 63 -ACCESS "/dev/rad0s1" 63 4192902 -RDONLY "/dev/null" 4192965 12305790 - -The geometry must be the physical geometry reported by the disk. -grep ad0 /var/run/dmesg.boot and look for the 3 numbers in the -brackets. They are the C/H/S. - -In the example above, "disk.mbr" is file used to keep a replacement -MBR for the disk. You can use dd if=/dev/rad0 bs=1b count=63 of=mbr -to create it if you like. The reason is so that the guest's decision -about which OS you booted last is different than the host's (this is -for the FreeBSD boot manager). You can also feel free to replace -the MBR with the standard boot manager if you like. fdisk(8) and a vn -device can help with this, though you will have to be sure and -supply the correct geometry to fdisk(8) since the vn device won't -support those calls. This time it's the BIOS "fake" geometry. -Watch out! - -As you can see, the 1st partition simply is a FreeBSD slice device. -The first number after the filename is the offset in blocks where the -given file starts in the plain disk. The last number on the line is -the length of the block. If you are using a file, its length must -be equal to this number * 512. - -The last entry is an example of how to block out partitions you don't -want VMware to mess with. Why do this instead of simply making the -C/H/S numbers for the disk smaller? Because then the guest's BIOS -might not make the same choices about the "fake" geometry to use, -which would prevent the OS from booting in most cases. - -You might be able to follow the same procedure to make SCSI drives -work. It is slightly less likely to work as SCSI vendors often -differ as to how they set up BIOS geometries. Your raw device -must end up having the same BIOS geometry as a Bustek SCSI -controller, which is the device VMware virtually supplies as the -host adapter. - -- It is a good idea to disconnect removable media devices (CDROMs -and Floppies and the like) from the "guest" either when they are -empty or when you're about to eject the media. - -- Under FreeBSD, floppy device should be configured as follows: - - Type: file - Path: /dev/rfd0 - -(Obtain the write permission on /dev/rfd0 if you write floppy disks) - -- VMware creates a file that is about 25% larger than the guest OS's -RAM size, unlinks it and mmap's on it on the first startup of the VM. - -The default directory for the mmap is the value of TMPDIR environment -variable, or if it's undefined, /tmp. - -Therefore, it would be a good idea to have your TMPDIR variable -defined as a directory 1) that performs fast, 2) that has sufficient -free space, and 3) that isn't on MFS; if your /tmp doesn't meet those -three conditions. - -1 is because that will significantly improve the performance, 2 is -because the VM cannot even boot when the mmap fails, and 3 is because -such a large, active file on MFS could lead the system to deadlocks. - - -Alternatively, you can make /compat/linux/tmp to fake /tmp, however, -you should note that it would cause you silly troubles: Imagine a -Linux application (say, Linux Netscape) which creates a temporary file -in /tmp and passes it to some external program; you'll see it actually -creates a file in /compat/linux/tmp when the external program searches -/tmp literally. - -- Don't miss the VMware FAQ available on the official site. - - http://www.vmware.com/products/productfaq.html - --- -Akinori -Aki- MUSHA <knu@idaemons.org> -Nick Sayer <nsayer@FreeBSD.org> diff --git a/emulators/vmware3/files/Makefile b/emulators/vmware3/files/Makefile deleted file mode 100644 index 73c7bbd4ac41..000000000000 --- a/emulators/vmware3/files/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -# $FreeBSD$ - -SUBDIR= vmmon-only - -.include <bsd.subdir.mk> diff --git a/emulators/vmware3/files/Makefile.vmmon b/emulators/vmware3/files/Makefile.vmmon deleted file mode 100644 index ad036c646530..000000000000 --- a/emulators/vmware3/files/Makefile.vmmon +++ /dev/null @@ -1,9 +0,0 @@ -# $FreeBSD$ - -all: - make -f Makefile.FreeBSD SMP=YES clean all - make -f Makefile.FreeBSD SMP=NO clean all - -install: - make -f Makefile.FreeBSD SMP=YES install - make -f Makefile.FreeBSD SMP=NO install diff --git a/emulators/vmware3/files/README.FreeBSD b/emulators/vmware3/files/README.FreeBSD deleted file mode 100644 index 78ca8de35360..000000000000 --- a/emulators/vmware3/files/README.FreeBSD +++ /dev/null @@ -1,79 +0,0 @@ -VMware 2.0 for Linux on FreeBSD. -$Date: 2000/01/23 22:28:10 $ -$FreeBSD$ - -Introduction. - -This piece of software provides some basic support for running -the VMware 2.0 for Linux on FreeBSD 4.0 and better ;) systems. - -=== - -What's done. - -At this time I was able to successfully run the following operation systems -under VMware on FreeBSD: - - - FreeBSD 4.0 Current - - Linux (Debian 2.1) - - Windows NT - - Windows 95 OSR2 (in safe mode :) - - MS DOS 7.0 (Part of Win'95) - -I think that all platforms supported by VMware should work under FreeBSD. - - -Installation procedure. - -The easiest solution is to obtain the vmware port and try to build it. -The name of the port is vmware.tar.gz, and it can be downloaded from the -following location: - -http://www.mindspring.com/~vsilyaev/vmware/files/vmware.tar.gz - -If you are like to use the linux proc filesystem emulator, you are need -to install the next port: - -http://www.mindspring.com/~vsilyaev/vmware/files/linuxproc.tar.gz - -At build time, you will get further instructions on how to proceed. - -After a successful port installation you will need to obtain a license key -to run VMware (you can use an old one for Linux). If you want to obtain -a new key from http://www.vmware.com , you will have to select Linux as the -'server' platform. - -Features currently unsupported - - - Fullscreen text mode - - - Mounting vmware virtual drive - - - Parallel ports were never tested. However, to support bidirectional - transfers, we will need a FreeBSD version of the vmppuser driver. - -Caveats. - - - Onle one guest may be runned at one time. - - - Floppy disk detection currently doesn't work. It is assumed that - a disk is always present in the floppy drive. Because of that, if you - have enabled both IDE and floppy drives in the same VMware session, you - _must_ select the right booting order in the Phoenix BIOS Setup. - - - Support only for Host networking. Doesn't have a bridgink networking - But really this mean, that you are need to enable gateway on - our FreeBSD box. And after that virtual machine can communicate - with a rest of the world. - -Copyright issue. - - Unclear. My own code has a BSD-style copyright license, - but in order to write it, I used VMware-copyrighted sources. - In any case, I'm distributing only my own patch set, and all - modified files retain the original copyright information. - -Author. - - Vladimir N. Silyaev. - E-Mail: vsilyaev@mindspring.com diff --git a/emulators/vmware3/files/config b/emulators/vmware3/files/config deleted file mode 100644 index 66c1a93c6b33..000000000000 --- a/emulators/vmware3/files/config +++ /dev/null @@ -1,7 +0,0 @@ -vmware.fullpath = "@@PREFIX@@/lib/vmware/bin/vmware" -wizard.fullpath = "@@PREFIX@@/lib/vmware/bin/vmware-wizard" -dhcpd.fullpath = "@@PREFIX@@/lib/vmware/bin/vmnet-dhcpd" -loop.fullpath = ""@@PREFIX@@/lib/vmware/bin/vmware-loop" -libdir = "@@PREFIX@@/lib/vmware/lib" -vmnet1.HostOnlyAddress = "@@HOST_IP@@" -vmnet1.HostOnlyNetMask = "@@NETMASK@@" diff --git a/emulators/vmware3/files/df b/emulators/vmware3/files/df deleted file mode 100644 index b9db0532e013..000000000000 --- a/emulators/vmware3/files/df +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/perl -# Hacky emulation of GNU df. -# Intented to use with vmware wizard. -# Depend from the _absence_ linux version perl in the dir /compat/linux/usr/bin/ -# -# $FreeBSD$ -# -@NARGV=('-n'); -$type=0; -foreach (@ARGV) { - exit if $_ eq '-n'; # Aargh it's me again, exit immediatly - next if $_ eq '-P'; - $type=1,next if $_ eq '-T'; - push @NARGV, $_; -} - -$line = 0; - -open(DF,"-|") or exec '/bin/df', @NARGV; -while(<DF>) { - - unless ($type) { print $_; next;} - @cols = split(); - if ($line++) { - $col = 'ext2fs'; - } else { - $col = 'Type'; - } - @cols = (@cols[0], $col, @cols[1..$#cols]); - print join("\t", @cols),"\n"; -} diff --git a/emulators/vmware3/files/patch-bc b/emulators/vmware3/files/patch-bc deleted file mode 100644 index b2764c90596a..000000000000 --- a/emulators/vmware3/files/patch-bc +++ /dev/null @@ -1,11 +0,0 @@ ---- vmnet-only/freebsd/vmnet.c.orig Mon Jul 31 08:36:25 2000 -+++ vmnet-only/freebsd/vmnet.c Mon Sep 11 00:34:08 2000 -@@ -164,7 +164,7 @@ - - s = splimp(); - if_attach(ifp); -- ether_ifattach(ifp); -+ ether_ifattach(ifp, ETHER_BPF_SUPPORTED); - bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); - splx(s); - diff --git a/emulators/vmware3/files/patch-bd b/emulators/vmware3/files/patch-bd deleted file mode 100644 index e88a69bf5af5..000000000000 --- a/emulators/vmware3/files/patch-bd +++ /dev/null @@ -1,25 +0,0 @@ ---- vmmon-only/freebsd/driver.c.orig Thu Jun 29 21:06:18 2000 -+++ vmmon-only/freebsd/driver.c Thu Sep 14 14:03:42 2000 -@@ -73,6 +73,22 @@ - #include "private.h" - #endif - -+#if __FreeBSD_version >= 500013 -+enum intr_type { -+ INTR_TYPE_TTY = 1, -+ INTR_TYPE_BIO = 2, -+ INTR_TYPE_NET = 4, -+ INTR_TYPE_CAM = 8, -+ INTR_TYPE_MISC = 16, -+ INTR_HEAVY = 32, /* heavyweight interrupt process */ -+ INTR_LIGHT = 64, /* light weight interrupt thread */ -+ INTR_THREADED = INTR_LIGHT | INTR_HEAVY, /* any kind of interrupt thread */ -+ INTR_FAST = 128, -+ INTR_EXCL = 256, /* exclusive interrupt */ -+ INTR_MPSAFE = 512 /* this interrupt is SMP safe */ -+}; -+#endif -+ - #ifdef SUPPORT_PASSTHROUGH - #include "passthrough.h" // _driver_ version of passthrough.h - #endif diff --git a/emulators/vmware3/files/vmware b/emulators/vmware3/files/vmware deleted file mode 100644 index bb98527690c2..000000000000 --- a/emulators/vmware3/files/vmware +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# -# Run vmware -# -# $FreeBSD$ - -if [ ! -e @@LINUX_DIR@@/proc/cpuinfo ]; then - echo "************************************************************" - echo "It seems Linux procfs is not mounted on @@LINUX_DIR@@/proc." - echo "VMware does not work without Linux procfs mounted." - echo - echo "For details, see linprocfs(5) manpage." - echo "************************************************************" - exit 1 -fi - -LANG=C -PATH=/bin:$PATH - -if [ _$TMPDIR = _ ]; then - TMPDIR=/var/tmp - echo Setting TMPDIR="$TMPDIR". - export TMPDIR -fi - -exec @@PREFIX@@/lib/vmware/bin/vmware "$@" diff --git a/emulators/vmware3/files/vmware.sh b/emulators/vmware3/files/vmware.sh deleted file mode 100644 index e375434044a4..000000000000 --- a/emulators/vmware3/files/vmware.sh +++ /dev/null @@ -1,52 +0,0 @@ -#!/bin/sh -# -# Start or stop vmware -# -# $FreeBSD$ - -vmware_dir=@@PREFIX@@/lib/vmware -networking=@@NETWORKING@@ -host_ip=@@HOST_IP@@ -netmask=@@NETMASK@@ - -[ -x $vmware_dir/bin/vmware ] || exit - -if [ `sysctl -n hw.ncpu` -eq 1 ]; then - suffix=up -else - suffix=smp -fi - -exec >/dev/null - -case $1 in -start) - kldload ${vmware_dir}/lib/modules/vmmon_${suffix}.ko - if [ $networking -eq 1 ]; then - sysctl net.link.ether.bridge_refresh && bridge="_bridge" - kldload if_tap.ko - echo -n >@@LINUX_DIR@@/dev/vmnet1 - ifconfig vmnet1 $host_ip netmask $netmask - if [ _$bridge != _ ]; then - sysctl -w net.link.ether.bridge_refresh=1 - sysctl -w net.link.ether.bridge=1 - fi - fi - echo -n " VMware${bridge}" >&2 - ;; - -stop) - kldunload vmmon_${suffix} - if [ $networking -eq 1 ]; then - ifconfig vmnet1 down - ifconfig vmnet1 delete $host_ip - sysctl net.link.ether.bridge_refresh && bridge="_bridge" - [ _$bridge != _ ] && sysctl -w net.link.ether.bridge_refresh=1 - fi - ;; - -*) - echo "usage: `basename $0` {start|stop}" >&2 - exit 64 - ;; -esac diff --git a/emulators/vmware3/pkg-comment b/emulators/vmware3/pkg-comment deleted file mode 100644 index 3e6b90a9f6e7..000000000000 --- a/emulators/vmware3/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -A virtual machine emulator - a full PC in a window diff --git a/emulators/vmware3/pkg-descr b/emulators/vmware3/pkg-descr deleted file mode 100644 index 400a2f031035..000000000000 --- a/emulators/vmware3/pkg-descr +++ /dev/null @@ -1,14 +0,0 @@ -This is the Linux version of the VMware virtual machine emulator made -to run on FreeBSD using the Linux compatibility mode. VMware can be -used to run Microsoft MS-DOS, Windows 95/98/NT/2000, Linux, FreeBSD, -or any other operating system that runs on the i486. - -Official VMware, Inc. web site: -WWW: http://www.vmware.com/ - - -We all are thankful to Vladimir N. Silyaev for porting vmmon/vmnet -modules to FreeBSD. Have a look at his page for the latest -information: - - http://www.mindspring.com/~vsilyaev/vmware/ diff --git a/emulators/vmware3/pkg-message b/emulators/vmware3/pkg-message deleted file mode 100644 index 46a622351f49..000000000000 --- a/emulators/vmware3/pkg-message +++ /dev/null @@ -1,11 +0,0 @@ -************************************************************ -Get Linux procfs ready and initialize vmmon/vmnet as follows: - - ${PREFIX}/etc/rc.d/vmware.sh start - -then you'll be ready to start vmware. - -Don't miss the documents installed: - - vmware(1) ${PREFIX}/share/doc/vmware/* -************************************************************ diff --git a/emulators/vmware3/pkg-plist b/emulators/vmware3/pkg-plist deleted file mode 100644 index 20c1c47c410c..000000000000 --- a/emulators/vmware3/pkg-plist +++ /dev/null @@ -1,134 +0,0 @@ -bin/vmware -etc/rc.d/vmware.sh -etc/vmware/config -lib/vmware/bin/df -lib/vmware/bin/vmware -lib/vmware/bin/vmnet-bridge -lib/vmware/bin/vmnet-dhcpd -lib/vmware/bin/vmnet-sniffer -lib/vmware/bin/vmware-config.pl -lib/vmware/bin/vmware-mount.pl -lib/vmware/bin/vmware-uninstall.pl -lib/vmware/bin/vmware-loop -lib/vmware/bin/vmware-ping -lib/vmware/bin/vmware-wizard -lib/vmware/lib/config -lib/vmware/lib/floppies/linux.flp -lib/vmware/lib/floppies/windows.flp -lib/vmware/lib/help/AutoFit.htm -lib/vmware/lib/help/ConfigDiskPartition.htm -lib/vmware/lib/help/ConfigDisks.htm -lib/vmware/lib/help/ConfigEditor.htm -lib/vmware/lib/help/ConfigEthernet.htm -lib/vmware/lib/help/ConfigFloppy.htm -lib/vmware/lib/help/ConfigGuestOS.htm -lib/vmware/lib/help/ConfigMemory.htm -lib/vmware/lib/help/ConfigMisc.htm -lib/vmware/lib/help/ConfigParallel.htm -lib/vmware/lib/help/ConfigScsiDisks.htm -lib/vmware/lib/help/ConfigSerial.htm -lib/vmware/lib/help/ConfigSound.htm -lib/vmware/lib/help/ConfigWiz.htm -lib/vmware/lib/help/Configuration.htm -lib/vmware/lib/help/Fit.htm -lib/vmware/lib/help/FullScreen.gif -lib/vmware/lib/help/Fullscreen.htm -lib/vmware/lib/help/GeneralInput.htm -lib/vmware/lib/help/GeneralMemory.htm -lib/vmware/lib/help/GeneralPreferences.htm -lib/vmware/lib/help/Glossary.htm -lib/vmware/lib/help/Help.gif -lib/vmware/lib/help/Interacting.htm -lib/vmware/lib/help/Introduction.htm -lib/vmware/lib/help/Power.htm -lib/vmware/lib/help/PowerOff.gif -lib/vmware/lib/help/PowerOff.htm -lib/vmware/lib/help/PowerOn.gif -lib/vmware/lib/help/PowerOn.htm -lib/vmware/lib/help/PowerReset.gif -lib/vmware/lib/help/PowerReset.htm -lib/vmware/lib/help/Resume.gif -lib/vmware/lib/help/Resume.htm -lib/vmware/lib/help/RunVM.htm -lib/vmware/lib/help/SendCtlAltDel.htm -lib/vmware/lib/help/Setremdev.htm -lib/vmware/lib/help/Settings.htm -lib/vmware/lib/help/ShowAllHints.htm -lib/vmware/lib/help/StatusBar.htm -lib/vmware/lib/help/Suspend.gif -lib/vmware/lib/help/Suspend.htm -lib/vmware/lib/help/ToolbarButtons.htm -lib/vmware/lib/help/ToolsInstall.htm -lib/vmware/lib/help/View.htm -lib/vmware/lib/help/Wizcd.htm -lib/vmware/lib/help/Wizcongrats.htm -lib/vmware/lib/help/Wizdisk.htm -lib/vmware/lib/help/Wizdisk3.htm -lib/vmware/lib/help/WizdiskType.htm -lib/vmware/lib/help/Wizfloppy.htm -lib/vmware/lib/help/Wiznetwork.htm -lib/vmware/lib/help/Wizos.htm -lib/vmware/lib/help/Wizpath.htm -lib/vmware/lib/help/toc.htm -lib/vmware/lib/modules/vmmon_smp.ko -lib/vmware/lib/modules/vmmon_up.ko -lib/vmware/lib/xkeymap/be101 -lib/vmware/lib/xkeymap/be104 -lib/vmware/lib/xkeymap/chde101 -lib/vmware/lib/xkeymap/chde104 -lib/vmware/lib/xkeymap/chfr101 -lib/vmware/lib/xkeymap/chfr104 -lib/vmware/lib/xkeymap/de101 -lib/vmware/lib/xkeymap/de104 -lib/vmware/lib/xkeymap/dk101 -lib/vmware/lib/xkeymap/dk104 -lib/vmware/lib/xkeymap/es101 -lib/vmware/lib/xkeymap/es104 -lib/vmware/lib/xkeymap/fi101 -lib/vmware/lib/xkeymap/fi104 -lib/vmware/lib/xkeymap/fr101 -lib/vmware/lib/xkeymap/fr104 -lib/vmware/lib/xkeymap/gb101 -lib/vmware/lib/xkeymap/gb104 -lib/vmware/lib/xkeymap/is101 -lib/vmware/lib/xkeymap/is104 -lib/vmware/lib/xkeymap/it101 -lib/vmware/lib/xkeymap/it104 -lib/vmware/lib/xkeymap/jp106 -lib/vmware/lib/xkeymap/jp109 -lib/vmware/lib/xkeymap/no101 -lib/vmware/lib/xkeymap/no104 -lib/vmware/lib/xkeymap/pt101 -lib/vmware/lib/xkeymap/pt104 -lib/vmware/lib/xkeymap/se101 -lib/vmware/lib/xkeymap/se104 -lib/vmware/lib/xkeymap/us101 -lib/vmware/lib/xkeymap/us104 -share/doc/vmware/CHANGES -share/doc/vmware/DHCP-COPYRIGHT -share/doc/vmware/EULA -share/doc/vmware/Hints.FreeBSD -share/doc/vmware/INSTALL -share/doc/vmware/README -share/doc/vmware/README.FreeBSD -share/doc/vmware/SAMBA-LICENSE -@exec mkdir -p /compat/linux/dev;for n in 0 1 2 3 4 5 6 7 8 9; do ln -s /dev/ttyv$n /compat/linux/dev/tty$n;done -@exec ln -s /dev/ttyva /compat/linux/dev/tty10 -@exec ln -s /dev/ttyvb /compat/linux/dev/tty11 -@exec mknod /compat/linux/dev/null c 2 2 -@exec chmod 666 /compat/linux/dev/null -@exec mknod /compat/linux/dev/hda b 0 0x00010002 -@exec mknod /compat/linux/dev/hdb b 0 0x0001000a -@exec ln -s %D/etc/vmware /etc/vmware -@exec mknod /compat/linux/dev/vmmon c 200 0 -@exec mknod /compat/linux/dev/vmnet1 c 149 65537 -@unexec rm -f /etc/vmware /compat/linux/dev/vmmon /compat/linux/dev/vmnet1 /compat/linux/bin/df /compat/linux/dev/tty[0-9]* /compat/linux/dev/hd? /compat/linux/dev/null -@dirrm etc/vmware -@dirrm lib/vmware/bin -@dirrm lib/vmware/lib/floppies -@dirrm lib/vmware/lib/help -@dirrm lib/vmware/lib/modules -@dirrm lib/vmware/lib/xkeymap -@dirrm lib/vmware/lib -@dirrm lib/vmware -@dirrm share/doc/vmware diff --git a/emulators/vmware3/scripts/configure b/emulators/vmware3/scripts/configure deleted file mode 100644 index bb2150ac04a6..000000000000 --- a/emulators/vmware3/scripts/configure +++ /dev/null @@ -1,108 +0,0 @@ -#!/bin/sh - -[ "_$VMNET_HOST_IP" = _ ] && VMNET_HOST_IP="192.168.254.1" -[ "_$VMNET_NETMASK" = _ ] && VMNET_NETMASK="255.255.255.0" - -host_ip=$VMNET_HOST_IP -netmask=$VMNET_NETMASK -title="VMware network options" - -get_network_settings() { - result=`/usr/bin/dialog --title "$title" --clear --inputbox \ -"\n"\ -"What will be the IP address of your host\n"\ -"on your private network?:"\ - 10 50 $host_ip \ - 2>&1 >/dev/tty ` - - case $? in - 0) - if [ -z "$result" ]; then - return 1 - fi - host_ip=$result - ;; - 1) - return 1 - ;; - esac - - result=`/usr/bin/dialog --title "$title" --clear --inputbox \ -"\n"\ -"What will be the netmask of your private\n"\ -"network?:"\ - 10 50 $netmask \ - 2>&1 >/dev/tty ` - - case $? in - 0) - if [ -z "$result" ]; then - return 1 - fi - netmask=$result - ;; - 1) - return 1 - ;; - esac - return 0; -} - -do_network() { - while true; do - get_network_settings - - /usr/bin/dialog --title "Confirmation" --clear --yesno \ -"\n"\ -"Are the following options correct?\n\n"\ -"IP address: $host_ip\n"\ -"Netmask: $netmask\n"\ - 10 50 - [ $? -eq 0 ] && return 0 - - /usr/bin/dialog --title "Confirmation" --clear --yesno \ -"\n"\ -"Do you want to edit network options again?\n"\ - 10 50 - [ $? -eq 0 ] && continue - - /usr/bin/dialog --title "Confirmation" --clear --yesno \ -"\n"\ -"Do you want to continue without networking?\n"\ - 10 50 - [ $? -eq 0 ] && return 1 - - host_ip=$VMNET_HOST_IP - netmask=$VMNET_NETMASK - - return 0; - done -} - -networking=0 -if [ _$BATCH = _ ]; then - do_network - - if [ $? -eq 0 ]; then - networking=1 - /usr/bin/dialog --title "$title" --infobox \ -"\n"\ -"The following options will be used.\n\n"\ -"IP address: $host_ip\n"\ -"Netmask: $netmask\n"\ - 10 50 - fi -else #BATCH - [ -f ${WRKDIR}/Makefile.inc.net ] && exit 0 -fi #BATCH - -( -exec > ${WRKDIR}/Makefile.inc.net - -echo '#' `date` -echo VMNET_HOST_IP=$host_ip -echo VMNET_NETMASK=$netmask -echo VMNET_NETWORKING=$networking -) - -exit 0 diff --git a/emulators/vmware3/scripts/pre-install b/emulators/vmware3/scripts/pre-install deleted file mode 100644 index ac9ecea947a5..000000000000 --- a/emulators/vmware3/scripts/pre-install +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -echo Setup Linux compatible /dev directory -linux_dev=${LINUX_DIR}/dev -if [ ! -d $linux_dev ]; then - echo Creating $linux_dev - mkdir $linux_dev - chown root:wheel $linux_dev - chmod 755 $linux_dev -fi -echo Creating $linux_dev/tty\? -for n in 0 1 2 3 4 5 6 7 8 9; do - ln -s /dev/ttyv$n $linux_dev/tty`expr 1 + $n`; -done -ln -s /dev/ttyva ${linux_dev}/tty11 -ln -s /dev/ttyvb ${linux_dev}/tty12 -ln -s ${linux_dev}/tty1 ${linux_dev}/tty0 -mknod ${linux_dev}/null c 2 2 -chmod 666 ${linux_dev}/null -echo Creating vmnet1 node -mknod /compat/linux/dev/vmnet1 c 149 65537 -echo Creating $linux_dev/hd\? -mknod ${linux_dev}/hda b 0 0x00010002 -mknod ${linux_dev}/hdb b 0 0x0001000a -# Do not enable below, because vmware-wizard is locked when -# doing something like access("/dev/hdc"...) -#mknod ${linux_dev}/hdc b 0 0x00010012 -#mknod ${linux_dev}/hdd b 0 0x0001001a -echo Done |