aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-05-06 03:49:05 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-05-06 03:49:05 +0000
commit28e7382123cbc7ef132190c6b3c29b101db38cfc (patch)
treea9d50288bd0e48228abd908a6f7bd8be06c4e7bd /emulators
parent10d17b4511c6e239af7325d1f588b3d4e79e55c5 (diff)
downloadports-28e7382123cbc7ef132190c6b3c29b101db38cfc.tar.gz
ports-28e7382123cbc7ef132190c6b3c29b101db38cfc.zip
Notes
Diffstat (limited to 'emulators')
-rw-r--r--emulators/vmware/Makefile119
-rw-r--r--emulators/vmware/distinfo3
-rw-r--r--emulators/vmware/files/Makefile5
-rw-r--r--emulators/vmware/files/README.FreeBSD84
-rw-r--r--emulators/vmware/files/config7
-rw-r--r--emulators/vmware/files/df31
-rw-r--r--emulators/vmware/files/vmware.sh39
-rw-r--r--emulators/vmware/pkg-descr14
-rw-r--r--emulators/vmware/pkg-message11
-rw-r--r--emulators/vmware/pkg-plist124
-rw-r--r--emulators/vmware/scripts/configure106
-rw-r--r--emulators/vmware/scripts/extract23
-rw-r--r--emulators/vmware/scripts/pre-install25
13 files changed, 0 insertions, 591 deletions
diff --git a/emulators/vmware/Makefile b/emulators/vmware/Makefile
deleted file mode 100644
index 48a27ac1705f..000000000000
--- a/emulators/vmware/Makefile
+++ /dev/null
@@ -1,119 +0,0 @@
-# ports collection makefile for: VMware 1.1.2 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.8 1999/12/17 00:38:27 vsilyaev Exp $
-#
-
-PORTNAME= vmware
-PORTVERSION= 1.1.2.364
-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.94.tar.gz \
- vmnet-freebsd-0.10.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= ak@freenet.co.uk
-COMMENT= A virtual machine emulator - a full PC in a window
-
-BROKEN= "Does not build"
-
-RUN_DEPENDS= ${LINUX_DIR}/lib/libc.so.6:${PORTSDIR}/emulators/linux_base
-
-RESTRICTED= "Not sure if we can redistribute it"
-
-USE_SUBMAKE= yes
-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(${PREFIX}/modules/linprocfs.ko)
-BROKEN= "This software absolutely requires Linux procfs support"
-.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}
-
-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;@@NETWORKING@@;${VMNET_NETWORKING};' \
- -e 's;@@HOST_IP@@;${VMNET_HOST_IP};' \
- -e 's;@@NETMASK@@;${VMNET_NETMASK};' \
- ${FILESDIR}/vmware.sh > ${WRKDIR}/vmware.sh
-
-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
- ${LN} -s ${VMDIR}/bin/vmware ${PREFIX}/bin/
- ${MKDIR} ${VMDIR}/lib
- ${INSTALL_DATA} ${WRKSRC}/lib/config ${VMDIR}/lib
- ${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
- ${INSTALL_DATA} ${FILESDIR}/README.FreeBSD ${PREFIX}/share/doc/vmware
-.endif
-
-post-install:
- ${LN} -sf ${PREFIX}/etc/vmware /etc/
- @${CAT} ${PKGMESSAGE}
-
-.include <bsd.port.post.mk>
diff --git a/emulators/vmware/distinfo b/emulators/vmware/distinfo
deleted file mode 100644
index 3c18df7e0018..000000000000
--- a/emulators/vmware/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (VMware-1.1.2-364.tar.gz) = c0c6f4a172cefd8a0cd838d65f9633d4
-MD5 (vmmon-freebsd-0.94.tar.gz) = 741b47111d4e826a7cdbc61ecc868594
-MD5 (vmnet-freebsd-0.10.tar.gz) = 1da694a7a1952c25d6d1dafcf7c361de
diff --git a/emulators/vmware/files/Makefile b/emulators/vmware/files/Makefile
deleted file mode 100644
index 79759423aeb8..000000000000
--- a/emulators/vmware/files/Makefile
+++ /dev/null
@@ -1,5 +0,0 @@
-# $FreeBSD$
-
-SUBDIR= vmmon-only vmnet-only/freebsd
-
-.include <bsd.subdir.mk>
diff --git a/emulators/vmware/files/README.FreeBSD b/emulators/vmware/files/README.FreeBSD
deleted file mode 100644
index 08ccb3434c55..000000000000
--- a/emulators/vmware/files/README.FreeBSD
+++ /dev/null
@@ -1,84 +0,0 @@
-VMware 1.1 for Linux on FreeBSD.
-$Date: 1999/12/17 00:36:01 $
-$FreeBSD$
-
-Introduction.
-
-This piece of software provides some basic support for running
-the VMware 1.1 for Linux on FreeBSD.
-
-I'm using FreeBSD 4.0 -current system and don't know whether
-this software will work on the 3.X branch.
-
-===
-
-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.
-
- - Doesn't work on a SMP kernel.
-
- - 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/vmware/files/config b/emulators/vmware/files/config
deleted file mode 100644
index 66c1a93c6b33..000000000000
--- a/emulators/vmware/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/vmware/files/df b/emulators/vmware/files/df
deleted file mode 100644
index b9db0532e013..000000000000
--- a/emulators/vmware/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/vmware/files/vmware.sh b/emulators/vmware/files/vmware.sh
deleted file mode 100644
index 6764ced056e2..000000000000
--- a/emulators/vmware/files/vmware.sh
+++ /dev/null
@@ -1,39 +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
-exec >/dev/null
-
-case $1 in
-start)
- kldload ${vmware_dir}/lib/modules/vmmon.ko
- if [ $networking -eq 1 ]; then
- kldload ${vmware_dir}/lib/modules/vmnet.ko
- echo -n >/dev/vmnet1
- ifconfig vmnet1 $host_ip netmask $netmask
- fi
- echo -n " VMware" >/dev/tty
- ;;
-
-stop)
- kldunload vmmon
- if [ $networking -eq 1 ]; then
- ifconfig vmnet1 down
- ifconfig vmnet1 delete $host_ip
- kldunload vmnet
- fi
- ;;
-
-*)
- echo "usage: `basename $0` {start|stop}" >&2
- exit 64
- ;;
-esac
diff --git a/emulators/vmware/pkg-descr b/emulators/vmware/pkg-descr
deleted file mode 100644
index 400a2f031035..000000000000
--- a/emulators/vmware/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/vmware/pkg-message b/emulators/vmware/pkg-message
deleted file mode 100644
index 46a622351f49..000000000000
--- a/emulators/vmware/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/vmware/pkg-plist b/emulators/vmware/pkg-plist
deleted file mode 100644
index 6bf05e1eeef5..000000000000
--- a/emulators/vmware/pkg-plist
+++ /dev/null
@@ -1,124 +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/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/ConfigMemory.htm
-lib/vmware/lib/help/ConfigMisc.htm
-lib/vmware/lib/help/ConfigParallel.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/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.ko
-lib/vmware/lib/modules/vmnet.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/INSTALL
-share/doc/vmware/README
-share/doc/vmware/README.FreeBSD
-@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/hda b 0 0x00010002
-@exec mknod /compat/linux/dev/hdb b 0 0x0001000a
-@exec ln -sf %D/etc/vmware /etc/
-@exec mknod /dev/vmmon c 200 0
-@exec mknod /dev/vmnet1 c 201 1
-@unexec rm -f /etc/vmware /dev/vmmon /dev/vmnet1 /compat/linux/bin/df /compat/linux/dev/tty[0-9]* /compat/linux/dev/hd?
-@dirrm etc/vmware
-@dirrm lib/vmware/bin
-@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/vmware/scripts/configure b/emulators/vmware/scripts/configure
deleted file mode 100644
index 9adf59bf0698..000000000000
--- a/emulators/vmware/scripts/configure
+++ /dev/null
@@ -1,106 +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
-fi #BATCH
-
-(
-exec > ${WRKDIR}/Makefile.inc.net
-
-echo '#' `date`
-echo VMNET_HOST_IP=$host_ip
-echo VMNET_NETMASK=$netmask
-echo VMNET_NETWORKING=$networking
-)
diff --git a/emulators/vmware/scripts/extract b/emulators/vmware/scripts/extract
deleted file mode 100644
index 7d97cc2d9f09..000000000000
--- a/emulators/vmware/scripts/extract
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-case $1 in
-vmmon*)
- target=vmmon
- ;;
-vmnet*)
- target=vmnet
- ;;
-*)
- echo unknown patch $1
- exit 64
- ;;
-esac
-dir=${WRKSRC}/lib/modules/source
-tar -xf ${dir}/${target}.tar -C ${WRKSRC}
-tar -zxf $1 -C ${WRKSRC}
-if [ $target = vmmon ] ; then
- Makefile=${WRKSRC}/vmmon-only/Makefile
- mv ${Makefile}.FreeBSD $Makefile
-fi
-
-cat ${WRKSRC}/${target}-freebsd.diff
diff --git a/emulators/vmware/scripts/pre-install b/emulators/vmware/scripts/pre-install
deleted file mode 100644
index 771445b0ac01..000000000000
--- a/emulators/vmware/scripts/pre-install
+++ /dev/null
@@ -1,25 +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
-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