diff options
48 files changed, 3 insertions, 2385 deletions
@@ -528,8 +528,6 @@ vmware-freebsd-tools.* emulators/vmware-guestd4 Not sure if we can redistribute this vmware-linux-tools.* emulators/linux-vmware-toolbox4 Not sure if we can redistribute this -VMware-workstation-* emulators/vmware3 Not sure if we can - redistribute this vpnc-* security/vpnc Redistribution is not allowed if liked against OpenSSL VTK-* math/vtk Portions contain patented @@ -2246,3 +2246,6 @@ net/rqm||2011-07-01|The mbone is no more net/sdr||2011-07-01|The mbone is no more net/udpcast||2011-07-01|The mbone is no more net/wb||2011-07-01|The mbone is no more +math/femlab||2011-07-02|Has expired: No more distfile, looks like abandonware +japanese/wikicker||2011-07-02|Has expired: Looks like an abandonware +emulators/vmware3||2011-07-02|Has expired: No more distfiles available. emulators/virtualbox-ose can be used as a replacement diff --git a/emulators/Makefile b/emulators/Makefile index a4f95b89b112..bb740bfe0652 100644 --- a/emulators/Makefile +++ b/emulators/Makefile @@ -177,7 +177,6 @@ SUBDIR += vmware-tools4 SUBDIR += vmware-tools5 SUBDIR += vmware-tools6 - SUBDIR += vmware3 SUBDIR += vxtools SUBDIR += wahcade SUBDIR += wine diff --git a/emulators/vmware3/Makefile b/emulators/vmware3/Makefile deleted file mode 100644 index c2e6bae3a0bd..000000000000 --- a/emulators/vmware3/Makefile +++ /dev/null @@ -1,200 +0,0 @@ -# ports collection makefile for: VMware 3.2 for Linux -# Date created: Fri 13 Apr 04:59:47 CET 2003 -# Whom: mbr@freebsd.org -# -# $FreeBSD$ -# - -PORTNAME= vmware3 -PORTVERSION= 3.2.1.2242 -PORTREVISION= 13 -PORTEPOCH= 1 -CATEGORIES= emulators linux kld -MASTER_SITES= http://download3.vmware.com/software/wkst/:vmware \ - ${FREEBSD_MODULE_SITES} \ - ${VMWARE_MIRROR_SITES} -DISTFILES= VMware-workstation-${PORTVERSION:R}-${PORTVERSION:E}${EXTRACT_SUFX}:vmware \ - vmmon-only-${PORTVERSION:R}-20040727${EXTRACT_SUFX}:patch \ - vmnet-only-${PORTVERSION:R}-20040705${EXTRACT_SUFX}:patch - -MAINTAINER= emulation@FreeBSD.org -COMMENT= A virtual machine emulator - a full PC in a window - -DEPRECATED= No more distfiles available. emulators/virtualbox-ose can be used as a replacement -EXPIRATION_DATE= 2011-07-01 - -RUN_DEPENDS= /dev/rtc:${PORTSDIR}/emulators/rtc - -RESTRICTED= Not sure if we can redistribute it - -VMWARE_MIRROR_SITES= \ - http://vmware-svca.www.conxion.com/software/:vmware \ - http://vmware-chil.www.conxion.com/software/:vmware \ - http://vmware-heva.www.conxion.com/software/:vmware -FREEBSD_MODULE_SITES= \ - http://www.break.net/orlando/vmware3/:patch \ - -USE_SUBMAKE= yes -VMDIR= ${PREFIX}/lib/vmware -SRC_BASE?= /usr/src - -SUB_FILES= vmware vmware-wizard pkg-message config 001.vmware.sh -SUB_LIST= BRIDGED="${VMNET_BRIDGED}" \ - BRIDGE_INTF="${VMNET_BRIDGED_INTERFACE}" \ - HOST_IP="${VMNET_HOST_IP}" \ - NETMASK="${VMNET_NETMASK}" \ - LINUXBASE="${LINUXBASE}" \ - NETWORKING="${VMNET_NETWORKING}" \ - VMNET1_MINOR="${VMNET1_MINOR}" -ONLY_FOR_ARCHS= i386 -USE_LINUX= yes -USE_LINUX_APPS= xorglibs -WRKSRC= ${WRKDIR}/vmware-distrib -GZCAT= ${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/extract -MAN1= vmware.1 - -MODULES= vmmon vmnet - -.include <bsd.port.pre.mk> - -.if !defined(HAVE_LINPROCFS) && !exists(/modules/linprocfs.ko) && !exists(/boot/kernel/linprocfs.ko) && !exists(${PREFIX}/modules/linprocfs.ko) && !exists(/compat/linux/proc/version) -IGNORE= linprocfs is required, please build the module and/or add it to your kernel -.endif - -.if !exists(${SRC_BASE}/sys/Makefile) -IGNORE= kernel source files required -.endif - -VMNET1_MINOR= 0x00800001 - -SCRIPTS_ENV+= LINUXBASE="${LINUXBASE}" \ - VMNET_HOST_IP="${VMNET_HOST_IP}" \ - VMNET_NETMASK="${VMNET_NETMASK}" \ - VMNET1_MINOR="${VMNET1_MINOR}" -MAKE_ARGS= KMODDIR="${VMDIR}/modules" -PLIST_SUB= LINUXBASE="${LINUXBASE}" VMNET1_MINOR="${VMNET1_MINOR}" - -post-extract: -.for m in ${MODULES} - ${TAR} -xf ${WRKSRC}/lib/modules/source/${m}.tar -C ${WRKSRC} -.endfor - ${GUNZIP_CMD} ${WRKSRC}/man/man1/vmware.1.gz - -pre-patch: - @${MKDIR} ${WRKSRC}/vmnet-only/freebsd - @${MKDIR} ${WRKSRC}/vmnet-only/netbsd - @${MKDIR} ${WRKSRC}/vmmon-only/freebsd - @${MKDIR} ${WRKSRC}/vmmon-only/netbsd - @cd ${WRKSRC}/vmmon-only && ${PATCH} -p1 < ${WRKDIR}/vmmon-only.diff - @cd ${WRKSRC}/vmnet-only && ${PATCH} -p1 < ${WRKDIR}/vmnet-only.diff - -.if exists(/sys/compat/linux/linux_ioctl.h) - ${REINPLACE_CMD} -i "" -e 's,i386(/linux/linux_ioctl\.h),compat$$1,' \ - ${WRKSRC}/vmnet-only/freebsd/vmnet_linux.c -.endif -.if exists(/usr/include/sys/selinfo.h) - ${REINPLACE_CMD} -i "" -e 's,<sys/select\.h>,<sys/selinfo.h>,' \ - ${WRKSRC}/vmmon-only/freebsd/*.c -.endif - cd ${WRKSRC}/vmmon-only/freebsd && ${TOUCH} bus_if.h device_if.h - ${REINPLACE_CMD} -i "" -e 's,<machine/ioctl_fd\.h>,<sys/fdcio.h>,' \ - ${WRKSRC}/vmmon-only/freebsd/*.c - -post-patch: - ${CP} ${FILESDIR}/Makefile ${WRKSRC} - ${CP} ${FILESDIR}/Makefile.vmmon ${WRKSRC}/vmmon-only/Makefile - ${CP} ${FILESDIR}/Makefile.vmnet ${WRKSRC}/vmnet-only/Makefile - cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/fbsd6-1.patch - cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/fbsd6-2.patch -.if ${OSVERSION} > 700000 - cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/fbsd7-1.patch - cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/fbsd7-2.patch -.endif - -pre-install: - ${INSTALL_MAN} ${WRKSRC}/man/man1/vmware.1 ${MANPREFIX}/man/man1 - ${MKDIR} ${VMDIR}/modules - - ${MKDIR} ${PREFIX}/etc/vmware -.if exists(${PREFIX}/etc/vmware/config) - @echo "====> Preserving your previous configuration." -.else - ${INSTALL_DATA} ${WRKDIR}/config ${PREFIX}/etc/vmware -.endif - - ${INSTALL_SCRIPT} ${WRKDIR}/001.vmware.sh ${PREFIX}/etc/rc.d - - ${MKDIR} ${VMDIR}/bin - ${INSTALL_SCRIPT} ${FILESDIR}/df ${VMDIR}/bin - [ -f ${LINUXBASE}/bin/df ] || ${LN} -s ${VMDIR}/bin/df ${LINUXBASE}/bin/ - ${INSTALL_SCRIPT} ${WRKSRC}/bin/*.pl ${VMDIR}/bin - - for i in \ - vmnet-bridge vmnet-dhcpd vmnet-natd vmnet-netifup \ - vmnet-sniffer vmware-nmbd vmware-smbd vmware-smbpasswd \ - vmware-smbpasswd.bin vmware-ping vmware-wizard \ - ; do \ - ${INSTALL_SCRIPT} ${WRKSRC}/bin/$${i} ${VMDIR}/bin; \ - done - for f in ${WRKSRC}/lib/bin/*; do \ - ${INSTALL_SCRIPT} $${f} ${VMDIR}/bin; \ - done - - ${MKDIR} ${VMDIR}/configurator - for f in ${WRKSRC}/lib/configurator/* ; do \ - ${INSTALL_DATA} $${f} ${VMDIR}/configurator; \ - done - - ${MKDIR} ${VMDIR}/isoimages - for f in ${WRKSRC}/lib/isoimages/* ; do \ - ${INSTALL_DATA} $${f} ${VMDIR}/isoimages; \ - done - - ${MKDIR} ${VMDIR}/licenses/site - ${MKDIR} ${VMDIR}/licenses/user - ${INSTALL_DATA} -m 644 ${WRKSRC}/lib/licenses/user/license.ws.3.0 \ - ${VMDIR}/licenses/user - ${INSTALL_SCRIPT} -m 4555 ${WRKSRC}/bin/vmware ${VMDIR}/bin - ${INSTALL_SCRIPT} ${WRKDIR}/vmware ${PREFIX}/bin - ${INSTALL_SCRIPT} ${WRKDIR}/vmware-wizard ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/lib/config ${VMDIR} - ${MKDIR} ${VMDIR}/help - ${INSTALL_DATA} ${WRKSRC}/lib/help/* ${VMDIR}/help - - ${MKDIR} ${VMDIR}/xkeymap - ${INSTALL_DATA} ${WRKSRC}/lib/xkeymap/* ${VMDIR}/xkeymap - - ${MKDIR} ${VMDIR}/smb/codepages - ${INSTALL_DATA} ${WRKSRC}/lib/smb/codepages/* ${VMDIR}/smb/codepages - - ${MKDIR} ${VMDIR}/messages/chef - ${INSTALL_DATA} ${WRKSRC}/lib/messages/chef/* ${VMDIR}/messages/chef - ${MKDIR} ${VMDIR}/messages/ja - ${INSTALL_DATA} ${WRKSRC}/lib/messages/ja/* ${VMDIR}/messages/ja - ${MKDIR} ${VMDIR}/messages/jive - ${INSTALL_DATA} ${WRKSRC}/lib/messages/jive/* ${VMDIR}/messages/jive -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR} -.for f in README.FreeBSD Hints.FreeBSD MultipleInstances.FreeBSD ChangeLog.FreeBSD - ${INSTALL_DATA} ${FILESDIR}/${f} ${DOCSDIR} -.endfor -.endif - -post-install: - ${LN} -sf ${PREFIX}/etc/vmware ${LINUXBASE}/etc/ - @if [ ! -e ${LINUXBASE}/usr/lib/vmware/bin/vmware ]; then \ - ${LN} -sf ${PREFIX}/lib/vmware ${LINUXBASE}/usr/lib/vmware; \ - fi - @${CAT} ${PKGMESSAGE} - -pre-clean: -.if exists(${WRKSRC}) - @${FIND} ${WRKSRC} | ${GREP} \@ | ${XARGS} ${RM} -.endif - -.include <bsd.port.post.mk> - -.if exists(${WRKDIR}/Makefile.inc.net) -.include "${WRKDIR}/Makefile.inc.net" -.endif diff --git a/emulators/vmware3/distinfo b/emulators/vmware3/distinfo deleted file mode 100644 index 3c737a264298..000000000000 --- a/emulators/vmware3/distinfo +++ /dev/null @@ -1,9 +0,0 @@ -MD5 (VMware-workstation-3.2.1-2242.tar.gz) = 56dccf022582a374cf2eac06796115cf -SHA256 (VMware-workstation-3.2.1-2242.tar.gz) = ec305ca65c2e513b5d809e59849176d15dcf6a8f88e3d9bc9ce8fdca59fc2dfc -SIZE (VMware-workstation-3.2.1-2242.tar.gz) = 12577292 -MD5 (vmmon-only-3.2.1-20040727.tar.gz) = 5de4405befdca3a5e3db09c6a1eaa928 -SHA256 (vmmon-only-3.2.1-20040727.tar.gz) = 6241a5e59a18f39aeec1f75f36d7bc346f9484131d2fb40413f93683ec26e50b -SIZE (vmmon-only-3.2.1-20040727.tar.gz) = 52023 -MD5 (vmnet-only-3.2.1-20040705.tar.gz) = a11022f353315b78ba5a782ce8c14e67 -SHA256 (vmnet-only-3.2.1-20040705.tar.gz) = 8d40e97be3d41867e11d61984401514d57be2b2195727652bb3f21189505d35f -SIZE (vmnet-only-3.2.1-20040705.tar.gz) = 7480 diff --git a/emulators/vmware3/files/001.vmware.sh.in b/emulators/vmware3/files/001.vmware.sh.in deleted file mode 100644 index 865f32e64407..000000000000 --- a/emulators/vmware3/files/001.vmware.sh.in +++ /dev/null @@ -1,151 +0,0 @@ -#!/bin/sh -# -# Start or stop vmware -# -# $FreeBSD: /tmp/pcvs/ports/emulators/vmware3/files/Attic/001.vmware.sh.in,v 1.1 2006-05-15 07:25:01 lawrance Exp $ - -vmware_config_file=%%PREFIX%%/etc/vmware/config - -if [ ! -e $vmware_config_file ]; then - echo "$vmware_config_file does not exist!" >&2 - exit 255 -fi - -vmware_config() { - cat $vmware_config_file | while read var eq value; do - if [ "$1" = "$var" ]; then - ret=`expr "$value" : '"\(.*\)"$'` - echo ${ret:-$value} - break - fi - done -} - -vmware=`vmware_config vmware.fullpath` -vmware_libdir=`vmware_config libdir` -networking=%%NETWORKING%% -dev_vmnet1=/dev/vmnet1 -vmnet1_minor=%%VMNET1_MINOR%% - -if [ ! -x $vmware ]; then - echo "$vmware does not exist!" >&2 - exit 255 -fi - -if [ `sysctl -n hw.ncpu` -eq 1 ]; then - suffix=up -else - suffix=smp -fi - -exec >/dev/null - -case $1 in -start) - kldstat -v | grep vmmon >/dev/null || kldload ${vmware_libdir}/modules/vmmon_${suffix}.ko - kldstat -v | grep vmnet >/dev/null || kldload ${vmware_libdir}/modules/vmnet.ko - if [ $networking -eq 1 ]; then - kldstat -v | grep if_tap >/dev/null || kldload if_tap.ko - if [ ! -e $dev_vmnet1 ]; then - echo "$dev_vmnet1 does not exist!" >&2 - echo "Your VMware installation seems broken. Please reinstall VMware port." >&2 - exit 255 - fi - case $vmnet1_minor in - 0x*) vmnet1_minor=`(echo ibase=16; - echo $vmnet1_minor | sed 's/^0x//' | tr a-f A-F) | bc` ;; - esac - vmnet_no=1 - bridge_no=1 - while true; do - vmnet=vmnet$vmnet_no - vmnet_no=`expr $vmnet_no + 1` - bridged=`vmware_config $vmnet.Bridged` - case $bridged in - '') break ;; - '""') continue ;; - esac - host_ip=`vmware_config $vmnet.HostOnlyAddress` - netmask=`vmware_config $vmnet.HostOnlyNetMask` - if [ ! -c /dev/$vmnet ]; then - rm -f /dev/$vmnet - minor=`echo $vmnet1_minor $vmnet_no | \ - awk '{ printf "0x%x", $1 - 1 + $2 - 1 }'` - mknod /dev/$vmnet c 149 $minor - fi - echo -n > /dev/$vmnet 2>&1 - ifconfig $vmnet $host_ip netmask $netmask - if [ X$bridged = XYES ]; then - if [ X$host_ip = X0.0.0.0 ]; then - # XXX Still need to configure + delete to make it RUNNING - ifconfig $vmnet delete $host_ip - fi - bridge_interface=`vmware_config $vmnet.BridgeInterface` - eval vmnet_bridge=\$vmnet_bridge_$bridge_interface - if [ X$vmnet_bridge = X ]; then - kldstat -v | grep netgraph >/dev/null || kldload netgraph.ko - kldstat -v | grep ng_ether >/dev/null || kldload ng_ether.ko - kldstat -v | grep ng_bridge >/dev/null || kldload ng_bridge.ko - vmnet_bridge=vmnet_bridge$bridge_no - bridge_no=`expr $bridge_no + 1` - eval vmnet_bridge_$bridge_interface=$vmnet_bridge - ngctl mkpeer ${bridge_interface}: bridge lower link0 - ngctl name ${bridge_interface}:lower ${vmnet_bridge} - ngctl connect ${vmnet_bridge}: ${bridge_interface}: link1 upper - ngctl msg ${bridge_interface}: setautosrc 0 - ngctl msg ${bridge_interface}: setpromisc 1 - eval ${vmnet_bridge}_linkno=2 - fi - eval linkno=\$${vmnet_bridge}_linkno - eval ${vmnet_bridge}_linkno=`expr $linkno + 1` - ngctl connect ${vmnet_bridge}: ${vmnet}: link$linkno lower - ngctl msg ${vmnet}: setautosrc 0 - ngctl msg ${vmnet}: setpromisc 1 - fi - done - fi - echo -n " VMware" >&2 - ;; - -stop) - kldunload vmmon_${suffix} - if [ $networking -eq 1 ]; then - vmnet_no=1 - bridge_no=1 - while true; do - vmnet=vmnet$vmnet_no - vmnet_no=`expr $vmnet_no + 1` - bridged=`vmware_config $vmnet.Bridged` - case $bridged in - '') break ;; - '""') continue ;; - esac - host_ip=`vmware_config $vmnet.HostOnlyAddress` - ifconfig $vmnet down - if [ X$bridged = XYES ]; then - if [ X$host_ip != X0.0.0.0 ]; then - ifconfig $vmnet delete $host_ip - fi - bridge_interface=`vmware_config $vmnet.BridgeInterface` - eval vmnet_bridge=\$vmnet_bridge_$bridge_interface - if [ X$vmnet_bridge = X ]; then - vmnet_bridge=vmnet_bridge$bridge_no - bridge_no=`expr $bridge_no + 1` - eval vmnet_bridge_$bridge_interface=$vmnet_bridge - ngctl msg ${bridge_interface}: setautosrc 1 - ngctl msg ${bridge_interface}: setpromisc 0 - ngctl shutdown ${vmnet_bridge}: - fi - else - ifconfig $vmnet delete $host_ip - fi - done - kldunload vmnet.ko - fi - ;; - -*) - echo "usage: `basename $0` {start|stop}" >&2 - exit 64 - ;; -esac diff --git a/emulators/vmware3/files/ChangeLog.FreeBSD b/emulators/vmware3/files/ChangeLog.FreeBSD deleted file mode 100644 index 8ffbbc615cd2..000000000000 --- a/emulators/vmware3/files/ChangeLog.FreeBSD +++ /dev/null @@ -1,106 +0,0 @@ - -0000-00-00 Orlando Bassotto - - This is a list of changes on hold: - - o Creation and use of M_VMWARE malloc zone - for allocations. - o Mutex usage fix. - - This is a list of changes that need to be done - or to be discussed: - - o Cleanup the vmmon module of all those #ifdef's ... - o ... as a consequence, merge FreeBSD 4.x and FreeBSD - 5.x patches. - o Create a new configuration script for setting up - multiple vmnets. - o Revert the vmnet module back to the original (?) - o Finish and correct this ChangeLog :-) - -2004-08-01 Orlando Bassotto <orlando@break.net> - - o Fixed dependency to rtc port. - Thanks for pointing out to Marco Trentini. - -2004-07-27 Orlando Bassotto <orlando@break.net> - - o Added kmem_alloc_nofault in place of kmem_alloc_pageable - if __FreeBSD_version is 502124 or newer. - -2004-07-06 Per Hedeland - - o Changes in order to work properly on FreeBSD 4.x. - -2004-07-05 Orlando Bassotto <orlando@break.net> - - o Merged cdev typedef patch. - o Merged fdrop patch. - o Added missing DEV_MODULE and dependency to linux - module in vmnet_linux.c. - Thanks for pointing out to Ogawa Takaya. - o Fixed install script to preserve your previous - configuration, if already present. - o Added in post-installation setup a screen to skip - over the vmnet configuration, this will set networking=1 - in the rc.d script. - o Merged Per Hedeland patches for the new rc.d script - to allow multiple instance of VMware use a network - device. Added MultipleInstances.FreeBSD in the - documentation directory. - -2004-02-27 Orlando Bassotto <orlando.bassotto@ieo-research.it> - - o Added d_version field to the vmmon cdevsw. - o Merged contigmalloc patch. - -2003-11-18 Orlando Bassotto <orlando.bassotto@ieo-research.it> - - o Disabled SMP support from FreeBSD 5.2, the new SMP - subsystem is sostantially different and cannot cope - with the requirements of the vmmon module, at least - at the moment of this writing. - -2003-10-09 Orlando Bassotto <orlando.bassotto@ieo-research.it> - - o Added support for multiple instances. - o Undef of APIC_XXX defines to avoid warnings on - compile. - o Fixing a problem on closing the driver which - caused kernel panic, low pages did get freed - even when not allocated. - -2003-05-14 Orlando Bassotto <orlando.bassotto@ieo-research.it> - - o Merged with more recent vmmon sources. - o Update to VMware 3.2.1-2241. - -2003-04-15 Martin Blapp - - o Fixed broken installation script. - -2003-04-13 Martin Blapp - - o VMware 3.x enters the FreeBSD ports tree. - -2004-04-12 Orlando Bassotto <orlando.bassotto@ieo-research.it> - - o Minor fixes in order to run VMware 3.2.1. - -2003-03-29 Orlando Bassotto <orlando.bassotto@ieo-research.it> - - o First public release. - o Added missing bits in order to run VMware 3.2.0. - o Merged changes for low page allocation support from the - NetBSD driver. - -2003-03-26 Orlando Bassotto <orlando.bassotto@ieo-research.it> - - o Merged changes from Mark Santrcroos vmmon module for - VMware 3.1.0. - -2002-10-02 Orlando Bassotto <orlando.bassotto@ieo-research.it> - - o First version for VMware 3.0, never released. - o Fork of the VMware 2.0 vmmon module by Vladimir N. Silyaev. - diff --git a/emulators/vmware3/files/Hints.FreeBSD b/emulators/vmware3/files/Hints.FreeBSD deleted file mode 100644 index 15aa5a2f69dc..000000000000 --- a/emulators/vmware3/files/Hints.FreeBSD +++ /dev/null @@ -1,167 +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/fd0 - -(Obtain the write permission on /dev/fd0 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. - -- There is a bug you may wish to work around if you aren't running -5-current or a very recent 4-stable system. - -Some background first: With FreeBSD, when you mmap a file, the syncer -will attempt by default to periodically synchronize the on-disk version -of the file with the changes being made in the mmap'd region. You can -change this behavior using the MAP_NOSYNC flag to mmap(). With this -flag, the syncer will leave the dirty pages alone and only the -pagedaemon will flush them when it's absolutely necessary. However, -Linux always behaves as if the MAP_NOSYNC flag was given, but the -Linuxulator was not adding MAP_NOSYNC to the flags as part of the -compatibility layer. But that is ok, since unlinking the last reference -to an mmap()ed file causes FreeBSD to add MAP_NOSYNC in anyway (under -the theory that if the machine reboots in that situation the file's -inode would be freed since it would be an orphan). - -The problem is that VMware doesn't actually unlink the save-to-disk file -when resuming -- it merely uses it in place. The result is that the -MAP_NOSYNC flag doesn't get set, which causes the performance of a -resumed session to be terrible compared to a new session. Every time the -syncer runs (sysctl -a kern.filedelay), vmware hangs while the RAM file -dirty pages are flushed. - -This problem has been fixed in 4.2-STABLE as of 2 Mar 2001 -(sys/i386/linux/linux_machdep.c versions 1.13 and 1.6.2.3). - -- If you configure vmware to use bridging, you must still specify the -"Host only" mode to the VMware configurator. It will still work just -like a bridged interface. If your bridged VMware guest is a DHCP client, -you may wish to fix its Ethernet address so as not to generate a new -lease every time you start VMware. To do so, add this line to your -guest's .cfg file: - -ethernet0.address = "00:50:56:1e:ad:bf" - -You can only change the last 5 hex digits, which MUST be unique (at least -within your LAN). - -Note that bridging only works on (real) Interfaces where both the 'set -promisc 1' and 'set autosrc 0' steps function. This means that the -interface must be capable of transmitting frames with other than its own -Ethernet address and receiving promiscuously. Most interfaces can, but -notably wi interfaces are among those that cannot. Note that promiscuous -mode is entered when the vmware.sh startup script is run, which may -cause increased interrupt loads on your machine if it's plugged into a -busy network. If you only run vmware infrequently, it may be better to -only manually run the vmware startup script (as root) just before you -start vmware and again (with the stop argument this time) when you're -finished. - -- 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 07e91ff423a4..000000000000 --- a/emulators/vmware3/files/Makefile +++ /dev/null @@ -1,5 +0,0 @@ -# $FreeBSD$ - -SUBDIR= vmmon-only vmnet-only - -.include <bsd.subdir.mk> diff --git a/emulators/vmware3/files/Makefile.vmmon b/emulators/vmware3/files/Makefile.vmmon deleted file mode 100644 index 324311e69ae0..000000000000 --- a/emulators/vmware3/files/Makefile.vmmon +++ /dev/null @@ -1,12 +0,0 @@ -# $FreeBSD$ - -MAKE_SMP= make -f Makefile.freebsd SMP=YES -MAKE_UP= make -f Makefile.freebsd SMP=NO - -all: - ${MAKE_SMP} clean && ${MAKE_SMP} - ${MAKE_UP} clean && ${MAKE_UP} - -install: - ${MAKE_SMP} install - ${MAKE_UP} install diff --git a/emulators/vmware3/files/Makefile.vmnet b/emulators/vmware3/files/Makefile.vmnet deleted file mode 100644 index dda7ba04e52d..000000000000 --- a/emulators/vmware3/files/Makefile.vmnet +++ /dev/null @@ -1,5 +0,0 @@ -# $FreeBSD: /tmp/pcvs/ports/emulators/vmware3/files/Attic/Makefile.vmnet,v 1.1 2003-04-13 02:59:11 mbr Exp $ - -SUBDIR= freebsd - -.include <bsd.subdir.mk> diff --git a/emulators/vmware3/files/MultipleInstances.FreeBSD b/emulators/vmware3/files/MultipleInstances.FreeBSD deleted file mode 100644 index 21d04fd3ebee..000000000000 --- a/emulators/vmware3/files/MultipleInstances.FreeBSD +++ /dev/null @@ -1,222 +0,0 @@ - Running multiple networked instances of VMware on FreeBSD - ========================================================= - -The only currently-known (assuming VMware version 3) problem with this -is that each VMware instance needs its own vmnet interface - the vmnet -driver is "exclusive open" on the VMware side (and substantial -modifications would probably be needed for it to be able to handle -multiple VMwares). This leads to some limitations and some clutter of -your 'ifconfig' output, but nothing insurmountable if you really need/ -want this. - -The gory details of creating and configuring those vmnet interfaces are -handled by the rc script (normally installed in /usr/local/etc/rc.d), -based on the config file (normally /usr/local/etc/vmware/config). The -port build/install will create an initial version of the config file -based on your responses in the configuration dialogue - this will cover -at most one vmnet interface, and you will need to extend it by editing -the file for multiple vmnet interfaces / VMware instances. It's a good -idea to keep a backup of the config file, since de/reinstalling the -VMware port (e.g. on upgrade) may delete/overwrite it. - -The other thing that needs some manual tweaking is the VMware config -itself - the "Host Only" mode is hardwired to use vmnet1 (on Linux this -can be used by multiple VMware instances), and so can only be used on at -most one of the concurrently-running instances. For the others, you need -to choose "Custom" as the "Connection Type" for the Ethernet Adapter, -and specify /dev/vmnetN as "VMnet", where N = 2,3,... (actually you may -want to do this for vmnet1 too when using bridged mode, see below). You -can of course have multiple VMware configs with the same vmnet interface -- as long as you never want to run them simultaneously. - -The rc script will do setup when given the argument 'start', and -teardown when given the argument 'stop' (no surprise there). It assumes -an unconfigured system when doing setup, and a system configured -according to the config file when doing teardown. This works fine with a -fixed config and boot/halt/reboot etc of course (setup with an already -configured system or teardown with an unconfigured should be fine too, -but may yield some error messages). - -There may however be "surprises" if you violate these conditions when -changing the config file. To avoid that, this is the "safe" procedure -for any config file change: - -1. Stop/suspend/exit any VMwares currently running. -2. Run '/usr/local/etc/rc.d/001.vmware.sh stop'. -3. Do the config changes. -4. Run '/usr/local/etc/rc.d/001.vmware.sh start'. -5. Start the VMwares (optional). - -If you forget (or ignore:-) this sequence, things *may* work out right -anyway depending on what changes you did. If they don't, and your vmnet -setup ends up in a mess, a reboot will of course fix things, but -avoiding that and cleaning it up manually is of course preferable. If -you make sure that a) no IP addresses are configured on vmnet interfaces -and b) (assuming you used or are going to use bridging) no vmnet_bridgeN -netgraph bridges are configured (use the 'ngctl' command), running the -script with 'start' should probably succeed with the setup. - -A general note on the config file contents: The rc script assumes that -the vmnet interfaces you are using are in a numerically consecutive -sequence starting with vmnet1. I.e. you can't have "holes" as in using -vmnet1, vmnet2, and vmnet4 only - the actual order in the file doesn't -matter though. This is because the script runs a loop looking for the -vmnet1.Bridged, vmnet2.Bridged, etc, settings - and if it doesn't find a -YES or NO setting, it assumes that there are no more vmnets configured -and it's done. Also, there are some pathnames defined in the config file -- this text doesn't concern them in any way, but they must be preserved -when changing the file, of course. - -Below are the details of what needs to be in the config file for the -respective modes. Note that you can mix and match freely, i.e. have some -VMwares in non-bridged and some in bridged mode (and even have multiple -bridges with different "real" interfaces), and the vmnet interfaces can -be in any order (e.g. vmnet1 and vmnet3 bridged to your "real" interface -and vmnet2 non-bridged), as long as you fulfill the requirement above -("hybrid" mode has an additional requirement, see below). - - - Non-bridged mode - ---------------- - -In this mode, each vmnet interface is effectively (from the FreeBSD host -perspective) connected to its own little subnet, and the rules and -restrictions that apply are exactly the same as when having multiple -"real" interfaces connected to different subnets. E.g. the vmnet -interface must be configured with an IP address and netmask that define -the subnet and differ from other subnets, the subnet must contain also -the IP address(es) used by the VMware guests that are configured to use -that vmnet interface, etc. An initial config from the port build/install -may look like: - -vmnet1.Bridged = "NO" -vmnet1.BridgeInterface = "" -vmnet1.HostOnlyAddress = "192.168.32.1" -vmnet1.HostOnlyNetMask = "255.255.255.0" - -All you need to do is more of the same, e.g. replicate for vmnet2, -ensuring that vmnet2.Bridged = "NO" and using a different -vmnet2.HostOnlyAddress that falls in a different subnet - e.g. add: - -vmnet2.Bridged = "NO" -vmnet2.BridgeInterface = "" -vmnet2.HostOnlyAddress = "192.168.33.1" -vmnet2.HostOnlyNetMask = "255.255.255.0" - -As you can see this may eat up a lot of network address space, which may -or may not matter depending on your environment (there's plenty of -"private" IP address space, but it may be used elsewhere on your -intranet). You can of course use smaller subnets - the longest netmask -possible is 255.255.255.252, giving four-address subnets, to cover the -requirements above - and then act as a gateway for the "aggregate" as -far as other hosts are concerned. Another alternative is to use the -"hybrid" mode described below - and if you really need to have the -VMware guests be in the same subnet for other reasons (e.g. you may need -to have broadcast work between them), that's the way to go. - - - Bridged mode - ------------ - -In this mode, the VMware guests are effectively connected to the same -subnet as the FreeBSD host (on the "real" interface that you specify). -For all practical intents and purposes, the bridge is an "internal -Ethernet switch". An initial config from the port build/install may look -like: - -vmnet1.Bridged = "YES" -vmnet1.BridgeInterface = "fxp0" -vmnet1.HostOnlyAddress = "192.168.0.1" -vmnet1.HostOnlyNetMask = "255.255.255.0" - -The "192.168.0.1" may come as a surprise, since you never gave that -address in the configuration dialogue - and if you're familiar with -bridging, you may rightly wonder why the vmnet1 interface needs an IP -address at all. The answer is that it doesn't (and shouldn't really have -one), and that this may actually cause problems (e.g. if 192.168.0/24 is -used elsewhere on your network, you can't reach it anymore) - but VMware -needs it (sort of). - -To go into the gory details, this comes from the fact that the FreeBSD -port "plays tricks" with VMware - you are supposed to configure the -VMware Ethernet Adapter as "Host Only" even when using bridging, and -when configured like that, VMware requires that vmnet1 has an IP address -configured. However as noted above, the "Host Only" config can only be -used for vmnet1 - for the others you need the "Custom" + "/dev/vmnetN" -config - and this does *not* require an IP address on the vmnet -interface. So, to get rid of this "ugly" IP address, you may want to use -"Custom" + "/dev/vmnet1" on the vmnet1-using VMware(s). - -In any case, the rc script will leave the vmnet interface without an IP -address if and only if the vmnetN.HostOnlyAddress is given as "0.0.0.0". -This is recommended at least for your vmnet2 and above bridged -interfaces, since otherwise you have to come up with a new "dummy" -address/netmask for each one - even though they aren't actually used for -anything, FreeBSD doesn't allow you to configure the same address/subnet -on multiple interfaces. So, for another bridged interface on the same -"real" interface, add: - -vmnet2.Bridged = "YES" -vmnet2.BridgeInterface = "fxp0" -vmnet2.HostOnlyAddress = "0.0.0.0" -vmnet2.HostOnlyNetMask = "255.255.255.0" - -And so on. The HostOnlyNetMask setting doesn't really matter when -HostOnlyAddress = "0.0.0.0", but it still has to be a valid netmask - -"255.255.255.0" is fine. - - - "Hybrid" mode - ------------- - -This is really non-bridged mode with a twist (and arguably better), but -since it includes a bridge it may be confusing to call it "non- -bridged".:-) I.e. functionally it is equivalent to non-bridged insofar -as the VMwares live in an "internal" subnet different from the "real" -one(s) the FreeBSD host is connected to - it just allows for multiple -simultaneous VMwares in a single such subnet. - -The way to do this is simply to connect the vmnet interfaces together -with a bridge - but *not* connect this bridge to any of the "real" -interfaces, and instead have just one of the bridged vmnet interfaces -configured as in the non-bridged case, and acting as the FreeBSD host's -interface to this subnet. Such a subnet for 3 vmnets/VMwares could look -like this in the config file (starting off with the original non-bridged -vmnet1 from above): - -vmnet1.Bridged = "NO" -vmnet1.BridgeInterface = "" -vmnet1.HostOnlyAddress = "192.168.32.1" -vmnet1.HostOnlyNetMask = "255.255.255.0" -vmnet2.Bridged = "YES" -vmnet2.BridgeInterface = "vmnet1" -vmnet2.HostOnlyAddress = "0.0.0.0" -vmnet2.HostOnlyNetMask = "255.255.255.0" -vmnet3.Bridged = "YES" -vmnet3.BridgeInterface = "vmnet1" -vmnet3.HostOnlyAddress = "0.0.0.0" -vmnet3.HostOnlyNetMask = "255.255.255.0" - -I.e. all the vmnets except the first one have Bridged = "YES" and point -BridgeInterface to the first *vmnet* interface. And in this case, the -vmnet interface with Bridged = "NO" *must* be numerically *before* the -others (it doesn't have to be vmnet1 in particular, of course). - -With this setup, the VMware guests configured for vmnet1/2/3 can use -whatever IP addresses in the 192.168.32.0/24 subnet they want (except -for .1 and .255, of course), in any combination. It's of course possible -to have a smaller subnet than /24 here too, as long as it is big enough -to "cover" the desired IP addresses (obviously the abovementioned -255.255.255.252 would not be enough). - -You can also have multiple separate subnets like this, if you should -need it - the rules are the same for each, the (numerically) first vmnet -with Bridged = "NO" and the others with Bridged = "YES" and pointing -BridgeInterface to the first one. And like in the "original" non-bridged -mode, each "first" vmnet interface must be configured with an IP address -and netmask that define the subnet and differ from other subnets. - --- -This document and the supplied patches have been made available by -Per Hedeland. - 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.in b/emulators/vmware3/files/config.in deleted file mode 100644 index aa4883c0ec5a..000000000000 --- a/emulators/vmware3/files/config.in +++ /dev/null @@ -1,9 +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" -vmnet1.Bridged = "%%BRIDGED%%" -vmnet1.BridgeInterface = "%%BRIDGE_INTF%%" -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/fbsd6-1.patch b/emulators/vmware3/files/fbsd6-1.patch deleted file mode 100644 index 16969726d2fc..000000000000 --- a/emulators/vmware3/files/fbsd6-1.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- vmmon-only/freebsd/driver.c.orig Sun Nov 13 04:05:25 2005 -+++ vmmon-only/freebsd/driver.c Sun Nov 13 04:06:41 2005 -@@ -166,10 +166,11 @@ - #if __FreeBSD_version >= 500104 - #if __FreeBSD_version >= 502103 - .d_version = D_VERSION, -+#else -+ .d_maj = CDEV_MAJOR - #endif - .d_open = FreeBSD_Driver_Open, - .d_name = DEVICE_NAME, -- .d_maj = CDEV_MAJOR - #else - /* open */ FreeBSD_Driver_Open, - /* close */ noclose, -@@ -400,7 +401,7 @@ - fp->f_data = data; - fp->f_flag = flags & FMASK; - fp->f_ops = &vmmon_fileops; -- fp->f_type = DTYPE_VNODE; -+ fp->f_type = DTYPE_SOCKET; - FILEDESC_UNLOCK(p->p_fd); - - #if __FreeBSD_version >= 501111 diff --git a/emulators/vmware3/files/fbsd6-2.patch b/emulators/vmware3/files/fbsd6-2.patch deleted file mode 100644 index 9bd035ba376b..000000000000 --- a/emulators/vmware3/files/fbsd6-2.patch +++ /dev/null @@ -1,36 +0,0 @@ ---- vmmon-only/freebsd/hostif.c.orig Sun Nov 13 04:02:43 2005 -+++ vmmon-only/freebsd/hostif.c Sun Nov 13 04:04:38 2005 -@@ -319,7 +319,7 @@ - - if (!(val & mask)) { - val = val | mask; -- outb(val,0xA1); -+ outbv(val,0xA1); - } - } - -@@ -943,7 +943,6 @@ - #if defined(SMP) - #if __FreeBSD_version >= 501113 - /* XXX This is temporary till SMP issues are solved out */ --#warning XXX SMP support is BROKEN and module will not load. - return 0; - #else - return cpu_apic_address; -@@ -977,7 +976,6 @@ - #if defined(SMP) - #if __FreeBSD_version >= 501113 - /* XXX This is temporary till SMP issues are solved out */ --#warning XXX SMP support is BROKEN and module will not load. - return 0; - #else - return io_apic_address[0]; /* XXX How about another APIC's */ -@@ -1075,7 +1073,7 @@ - rc = vm_fault_quick(addr, VM_PROT_READ|VM_PROT_WRITE); - if (rc<0) { /* page don't present in map */ - Warning("KernelAddr_Get!!! Addr %p not present\n", addr); -- return NULL; -+ return 0; - } - paddr = vtophys(addr); - #if __FreeBSD_version >= 500038 diff --git a/emulators/vmware3/files/fbsd7-1.patch b/emulators/vmware3/files/fbsd7-1.patch deleted file mode 100644 index 73565321d2ea..000000000000 --- a/emulators/vmware3/files/fbsd7-1.patch +++ /dev/null @@ -1,45 +0,0 @@ ---- vmmon-only/freebsd/driver.c.orig 2008-03-04 10:05:14.000000000 +0300 -+++ vmmon-only/freebsd/driver.c 2008-03-04 10:09:23.000000000 +0300 -@@ -397,12 +397,12 @@ - if ((error = falloc(td, &fp, &fd)) != 0) - return error; - -- FILEDESC_LOCK(p->p_fd); -+ FILEDESC_XLOCK(p->p_fd); - fp->f_data = data; - fp->f_flag = flags & FMASK; - fp->f_ops = &vmmon_fileops; - fp->f_type = DTYPE_SOCKET; -- FILEDESC_UNLOCK(p->p_fd); -+ FILEDESC_XUNLOCK(p->p_fd); - - #if __FreeBSD_version >= 501111 - /* falloc now returns TWO references to the file, not one. */ -@@ -1309,6 +1309,19 @@ - return FALSE; - } - -+static vm_paddr_t -+get_avail_end(void) -+{ -+ vm_paddr_t avail_end; -+ int i; -+ avail_end = phys_avail[1]; -+ for (i = 0; phys_avail[i + 1]; i += 2) { -+ if (phys_avail[i + 1] > avail_end) -+ avail_end = phys_avail[i + 1]; -+ } -+ return avail_end; -+} -+ - /* - * Allocate and lock numPages of memory physically continguous addresses - * below 4GB. -@@ -1341,6 +1354,7 @@ - VMDEBUG("vmmon_alloc_low_pages: malloc MemRange failed\n"); - return ENOMEM; - } -+ vm_paddr_t avail_end = get_avail_end(); - if (avail_end > ISA_DMA_BOUNCE_THRESHOLD) - high = trunc_page(ISA_DMA_BOUNCE_THRESHOLD); - else diff --git a/emulators/vmware3/files/fbsd7-2.patch b/emulators/vmware3/files/fbsd7-2.patch deleted file mode 100644 index b9e8a16c7248..000000000000 --- a/emulators/vmware3/files/fbsd7-2.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- vmmon-only/include/vm_asm.h.orig 2003-07-24 01:43:38.000000000 +0400 -+++ vmmon-only/include/vm_asm.h 2008-03-04 09:29:45.000000000 +0300 -@@ -1020,6 +1020,7 @@ - *----------------------------------------------------------------------------- - */ - -+#if 0 - static INLINE void - Div643264(uint64 dividend, - uint32 divisor, -@@ -1047,6 +1048,7 @@ - *quotient = (uint64)hQuotient << 32 | lQuotient; - } - #endif -+#endif - - - #endif /* VM_ASM_H */ diff --git a/emulators/vmware3/files/patch-ac b/emulators/vmware3/files/patch-ac deleted file mode 100644 index 300ca4b20925..000000000000 --- a/emulators/vmware3/files/patch-ac +++ /dev/null @@ -1,9 +0,0 @@ ---- vmmon-only/Makefile.freebsd.orig Sat Mar 13 04:33:32 2004 -+++ vmmon-only/Makefile.freebsd Sat Mar 13 04:41:33 2004 -@@ -32,6 +32,5 @@ - - device: - rm -f /compat/linux/dev/${DEVNAME} -- mknod /compat/linux/dev/${DEVNAME} c ${CDEV_MAJOR} 0 - - .include <bsd.kmod.mk> diff --git a/emulators/vmware3/files/pkg-message.in b/emulators/vmware3/files/pkg-message.in deleted file mode 100644 index 9edffa59f40c..000000000000 --- a/emulators/vmware3/files/pkg-message.in +++ /dev/null @@ -1,42 +0,0 @@ -************************************************************ -In order to use VMware, you must follow these steps: - -1) Mount linprocfs and add an entry for it in /etc/fstab. - -2) Make sure the Linux Compatibility module is loaded (use - 'kldstat' to check) or built into the kernel. - -3) Run '%%PREFIX%%/etc/rc.d/001.vmware.sh start' - to avoid rebooting. - -4) Load the kernel module aio.ko or add it to the kernel - with 'options VFS_AIO' -- otherwise expect problems. - -5) Run 'sysctl kern.ipc.shm_allow_removed=1' and add - the variable to /etc/sysctl.conf -- otherwise you will - get "Failed to initialize SVGA device" errors. - -6) Start vmware with the 'vmware' command, or the wizard - with the 'vmware-wizard' command. - - * * * IMPORTANT * * * - -If you experience a freeze upon clicking 'Power On', try -either: - - 1 - Disabling ACPI support (use 'kldstat' to check) by - adding hint.acpi.0.disabled="1" to /boot/device.hints. - - 2 - Disabling APIC support by either removing it from the - kernel or by adding hint.apic.0.disabled="1" to - /boot/device.hints. - -Consult the 'man' page or the installed documentation for -more information. - -If you'd like to learn more on how to configure vmnet -interfaces for multiple instances of VMware, please read: - - %%PREFIX%%/share/doc/vmware/MultipleInstances.FreeBSD - -************************************************************ diff --git a/emulators/vmware3/files/vmware-wizard.in b/emulators/vmware3/files/vmware-wizard.in deleted file mode 100644 index d972e8d61a50..000000000000 --- a/emulators/vmware3/files/vmware-wizard.in +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# -# Run vmware-wizard -# -# $FreeBSD: /tmp/pcvs/ports/emulators/vmware3/files/Attic/vmware-wizard.in,v 1.1 2006-05-15 07:25:01 lawrance Exp $ - -if [ ! -e %%LINUXBASE%%/proc/cpuinfo ]; then - echo "************************************************************" - echo "It seems Linux procfs is not mounted on %%LINUXBASE%%/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-wizard "$@" diff --git a/emulators/vmware3/files/vmware.in b/emulators/vmware3/files/vmware.in deleted file mode 100644 index d48a7bd20bcd..000000000000 --- a/emulators/vmware3/files/vmware.in +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -# -# Run vmware -# -# $FreeBSD: /tmp/pcvs/ports/emulators/vmware3/files/Attic/vmware.in,v 1.1 2006-05-15 07:25:01 lawrance Exp $ - -if [ ! -e %%LINUXBASE%%/proc/cpuinfo ]; then - echo "************************************************************" - echo "It seems Linux procfs is not mounted on %%LINUXBASE%%/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/pkg-descr b/emulators/vmware3/pkg-descr deleted file mode 100644 index 184bd2b1c577..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/XP/2K3, Linux, -FreeBSD, Netware or any other operating system that runs on the -Intel IA32. - -Official VMware, Inc. web site: -WWW: http://www.vmware.com/ - -The vmmon/vmnet modules have been ported originally by Vladimir N. -Silyaev, later adapted for VMware 3.x by Orlando Bassotto. Have a -look at his page for the latest information: - - http://www.break.net/orlando/vmware3/ diff --git a/emulators/vmware3/pkg-plist b/emulators/vmware3/pkg-plist deleted file mode 100644 index 525f8308fb60..000000000000 --- a/emulators/vmware3/pkg-plist +++ /dev/null @@ -1,339 +0,0 @@ -bin/vmware -bin/vmware-wizard -etc/rc.d/001.vmware.sh -lib/vmware/modules/vmmon_smp.ko -lib/vmware/modules/linker.hints -lib/vmware/modules/vmmon_up.ko -lib/vmware/modules/vmnet.ko -lib/vmware/config -lib/vmware/configurator/vmnet-dhcpd.conf -lib/vmware/configurator/vmnet-nat.conf -lib/vmware/configurator/vmnet-smb.conf -lib/vmware/isoimages/freebsd.iso -lib/vmware/isoimages/linux.iso -lib/vmware/isoimages/windows.iso -lib/vmware/xkeymap/be101 -lib/vmware/xkeymap/be104 -lib/vmware/xkeymap/chde101 -lib/vmware/xkeymap/chde104 -lib/vmware/xkeymap/chfr101 -lib/vmware/xkeymap/chfr104 -lib/vmware/xkeymap/de101 -lib/vmware/xkeymap/de104 -lib/vmware/xkeymap/dk101 -lib/vmware/xkeymap/dk104 -lib/vmware/xkeymap/es101 -lib/vmware/xkeymap/es104 -lib/vmware/xkeymap/fi101 -lib/vmware/xkeymap/fi104 -lib/vmware/xkeymap/fr101 -lib/vmware/xkeymap/fr104 -lib/vmware/xkeymap/gb101 -lib/vmware/xkeymap/gb104 -lib/vmware/xkeymap/is101 -lib/vmware/xkeymap/is104 -lib/vmware/xkeymap/it101 -lib/vmware/xkeymap/it104 -lib/vmware/xkeymap/jp106 -lib/vmware/xkeymap/jp109 -lib/vmware/xkeymap/no101 -lib/vmware/xkeymap/no104 -lib/vmware/xkeymap/pt101 -lib/vmware/xkeymap/pt104 -lib/vmware/xkeymap/se101 -lib/vmware/xkeymap/se104 -lib/vmware/xkeymap/us101 -lib/vmware/xkeymap/us104 -lib/vmware/help/PowerOff.gif -lib/vmware/help/PowerOn.gif -lib/vmware/help/PowerReset.gif -lib/vmware/help/Resume.gif -lib/vmware/help/Suspend.gif -lib/vmware/help/Wizcd.htm -lib/vmware/help/Wizcongrats.htm -lib/vmware/help/Wizdisk.htm -lib/vmware/help/Wizdisk3.htm -lib/vmware/help/WizdiskType.htm -lib/vmware/help/Wizfloppy.htm -lib/vmware/help/Wizguestkit.htm -lib/vmware/help/Wiznetwork.htm -lib/vmware/help/Wizos.htm -lib/vmware/help/Wizpath.htm -lib/vmware/help/about_this_help.htm -lib/vmware/help/commandref_linux.htm -lib/vmware/help/config_editor.htm -lib/vmware/help/config_editor_newvm.htm -lib/vmware/help/configvm.htm -lib/vmware/help/configvm_adv.htm -lib/vmware/help/configvm_automation.htm -lib/vmware/help/configvm_debug.htm -lib/vmware/help/configvm_disableaccel.htm -lib/vmware/help/configvm_display-problems.htm -lib/vmware/help/configvm_displayname.htm -lib/vmware/help/configvm_guestos.htm -lib/vmware/help/configvm_logs.htm -lib/vmware/help/configvm_memory.htm -lib/vmware/help/configvm_options.htm -lib/vmware/help/configvm_state.htm -lib/vmware/help/configvm_virtualdisk.htm -lib/vmware/help/configvmware-disablemem.htm -lib/vmware/help/configvmware-inputgrab.htm -lib/vmware/help/configvmware-maxmemory.htm -lib/vmware/help/configvmware-shift.htm -lib/vmware/help/configvmware.htm -lib/vmware/help/configvmware_copy_paste.htm -lib/vmware/help/devices.htm -lib/vmware/help/devices_autostart.htm -lib/vmware/help/devices_cdrom-changeconnect.htm -lib/vmware/help/devices_cdrom-disable.htm -lib/vmware/help/devices_cdrom-issues-linux.htm -lib/vmware/help/devices_cdrom-issues.htm -lib/vmware/help/devices_cdrom-removable.htm -lib/vmware/help/devices_cdrom-remove.htm -lib/vmware/help/devices_cdrom.htm -lib/vmware/help/devices_floppy.htm -lib/vmware/help/devices_floppy_changeconnect.htm -lib/vmware/help/devices_genscsi.htm -lib/vmware/help/devices_genscsi_linux.htm -lib/vmware/help/devices_modem.htm -lib/vmware/help/devices_mouse.htm -lib/vmware/help/devices_netadapter.htm -lib/vmware/help/devices_parallel-info.htm -lib/vmware/help/devices_parallel-onguestos.htm -lib/vmware/help/devices_parallel.htm -lib/vmware/help/devices_parallel_changeconnect.htm -lib/vmware/help/devices_pcmcia.htm -lib/vmware/help/devices_plaindisk-info.htm -lib/vmware/help/devices_plaindisk.htm -lib/vmware/help/devices_printer.htm -lib/vmware/help/devices_rawdisk.htm -lib/vmware/help/devices_remove_netadapter.htm -lib/vmware/help/devices_scanner.htm -lib/vmware/help/devices_scsi-bios.htm -lib/vmware/help/devices_scsi-guestos.htm -lib/vmware/help/devices_scsi.htm -lib/vmware/help/devices_scsi_info.htm -lib/vmware/help/devices_scsi_vs-ide.htm -lib/vmware/help/devices_serial.htm -lib/vmware/help/devices_sound-issues.htm -lib/vmware/help/devices_sound.htm -lib/vmware/help/devices_sound_changeconn.htm -lib/vmware/help/devices_usb-info.htm -lib/vmware/help/devices_usb.htm -lib/vmware/help/devices_video-linux-res.htm -lib/vmware/help/devices_video-linux.htm -lib/vmware/help/glossary.htm -lib/vmware/help/devices_video-win2000.htm -lib/vmware/help/devices_video-win95.htm -lib/vmware/help/devices_video-win98.htm -lib/vmware/help/devices_virtualdrive-consolidate.htm -lib/vmware/help/devices_virtualdrive-diskmode.htm -lib/vmware/help/devices_virtualdrive-virtualdisk-physical.htm -lib/vmware/help/devices_virtualdrive-virtualdisk-reuse.htm -lib/vmware/help/devices_virtualdrive-virtualdisk.htm -lib/vmware/help/devices_virtualdrive.htm -lib/vmware/help/devices_zipdrive.htm -lib/vmware/help/grab.htm -lib/vmware/help/guestos-corellinux.htm -lib/vmware/help/guestos-dos.htm -lib/vmware/help/guestos.htm -lib/vmware/help/guestos-freebsd.htm -lib/vmware/help/guestos-kit.htm -lib/vmware/help/guestos-mandrake-linux.htm -lib/vmware/help/guestos-mandrake-linux8081.htm -lib/vmware/help/guestos-mandrake-linux82.htm -lib/vmware/help/guestos-novell-4.htm -lib/vmware/help/guestos-novell-5.htm -lib/vmware/help/guestos-novell-6.htm -lib/vmware/help/guestos-novell-zenwrks.htm -lib/vmware/help/guestos-openlinux.htm -lib/vmware/help/guestos-rawdisk.htm -lib/vmware/help/guestos-redhat-linux.htm -lib/vmware/help/guestos-redhat-linux6.x.htm -lib/vmware/help/guestos-redhat-linux7.0.htm -lib/vmware/help/guestos-redhat-linux7.1.htm -lib/vmware/help/guestos-redhat-linux7.3.htm -lib/vmware/help/guestos-solaris7.htm -lib/vmware/help/guestos-suse-linux-6.x.htm -lib/vmware/help/guestos-suse-linux-7.0.htm -lib/vmware/help/guestos-suse-linux-7.1.htm -lib/vmware/help/guestos-suse-linux-8.0.htm -lib/vmware/help/guestos-suse-linux.htm -lib/vmware/help/guestos-turbolinux-6.0.htm -lib/vmware/help/guestos-turbolinux-7.0.htm -lib/vmware/help/guestos-turbolinux.htm -lib/vmware/help/guestos-win2000.htm -lib/vmware/help/guestos-win95.htm -lib/vmware/help/guestos-win98.htm -lib/vmware/help/guestos-winNETSvr.htm -lib/vmware/help/guestos-winXP.htm -lib/vmware/help/hotkey.htm -lib/vmware/help/guestos-winme.htm -lib/vmware/help/guestos-winnt.htm -lib/vmware/help/image001.gif -lib/vmware/help/index.htm -lib/vmware/help/install_apps.htm -lib/vmware/help/introduction.htm -lib/vmware/help/keyboard_issus.htm -lib/vmware/help/lock_files.htm -lib/vmware/help/memory.htm -lib/vmware/help/migratevm-toupgrade.htm -lib/vmware/help/migratevm-uninstall.htm -lib/vmware/help/migratevm-upgrade.htm -lib/vmware/help/migratevm.htm -lib/vmware/help/migratevm_buildno.htm -lib/vmware/help/migratevm_pc.htm -lib/vmware/help/migrating.htm -lib/vmware/help/movefiles.htm -lib/vmware/help/networking-components.htm -lib/vmware/help/newvm.htm -lib/vmware/help/networking-onguestos.htm -lib/vmware/help/networking-onhost.htm -lib/vmware/help/networking-promiscuous.htm -lib/vmware/help/networking.htm -lib/vmware/help/networking_assignip.htm -lib/vmware/help/networking_bridged-onguestos.htm -lib/vmware/help/networking_bridged-second.htm -lib/vmware/help/networking_bridged.htm -lib/vmware/help/networking_changing.htm -lib/vmware/help/networking_custom.htm -lib/vmware/help/networking_host-onguestos.htm -lib/vmware/help/networking_host-twointerfaces.htm -lib/vmware/help/networking_host.htm -lib/vmware/help/networking_host_ipleaks.htm -lib/vmware/help/perform.htm -lib/vmware/help/networking_host_issues-linux.htm -lib/vmware/help/networking_host_routing.htm -lib/vmware/help/networking_host_samba.htm -lib/vmware/help/networking_ipmasqerade.htm -lib/vmware/help/networking_ipmasqerade_firewallrh.htm -lib/vmware/help/networking_ipmasqerade_fwconfig.htm -lib/vmware/help/networking_macaddr.htm -lib/vmware/help/networking_nat.htm -lib/vmware/help/networking_nat_intro.htm -lib/vmware/help/networking_proxy.htm -lib/vmware/help/networking_wireless.htm -lib/vmware/help/newvm-diskpartition.htm -lib/vmware/help/newvm-diskpartition_access.htm -lib/vmware/help/newvm-dualboot-hdwr.htm -lib/vmware/help/newvm-diskpartition_hide.htm -lib/vmware/help/newvm-dualboot-scsi.htm -lib/vmware/help/newvm-dualboot.htm -lib/vmware/help/newvm-virtualdisk.htm -lib/vmware/help/newvm_wizard.htm -lib/vmware/help/newvm_wizard_process_cdrom.htm -lib/vmware/help/newvm_wizard_process_directory.htm -lib/vmware/help/newvm_wizard_process_disksize.htm -lib/vmware/help/newvm_wizard_process_disktype.htm -lib/vmware/help/newvm_wizard_process_floppy.htm -lib/vmware/help/newvm_wizard_process_guestos.htm -lib/vmware/help/newvm_wizard_process_network.htm -lib/vmware/help/perform-guestos-linux.htm -lib/vmware/help/toc.htm -lib/vmware/help/perform-guestos-win2000.htm -lib/vmware/help/perform-guestos-win95-98.htm -lib/vmware/help/perform-linuxhost.htm -lib/vmware/help/screensavers.htm -lib/vmware/help/serialnumber.htm -lib/vmware/help/sharefiles_hos_gos.htm -lib/vmware/help/sharevm.htm -lib/vmware/help/sizewin.htm -lib/vmware/help/sizewin_fullscreen.htm -lib/vmware/help/startvm.htm -lib/vmware/help/startvmware.htm -lib/vmware/help/statevm.htm -lib/vmware/help/statevm_off.htm -lib/vmware/help/statevm_on.htm -lib/vmware/help/statevm_repeat_resume.htm -lib/vmware/help/statevm_reset.htm -lib/vmware/help/statevm_resume.htm -lib/vmware/help/statevm_suspend.htm -lib/vmware/help/support.htm -lib/vmware/help/switching.htm -lib/vmware/help/sysreqs.htm -lib/vmware/help/user-permissions-linux.htm -lib/vmware/help/vm_common.htm -lib/vmware/help/vmtools-copypaste.htm -lib/vmware/help/vmtools-defrag.htm -lib/vmware/help/vmtools-shrink.htm -lib/vmware/help/vmtools.htm -lib/vmware/help/vmtools_install.htm -lib/vmware/help/vmtools_install_freebsd.htm -lib/vmware/help/vmtools_install_linux.htm -lib/vmware/help/vmtools_install_win.htm -lib/vmware/help/vmtools_prefs.htm -lib/vmware/help/whatsnew.htm -lib/vmware/help/CUSTOM-NETWORK.gif -lib/vmware/help/ConfigWiz.htm -lib/vmware/help/FullScreen.gif -lib/vmware/help/Help.gif -lib/vmware/bin/df -lib/vmware/messages/chef/vmware-mks.vmsg -lib/vmware/messages/chef/vmware-ui.vmsg -lib/vmware/messages/chef/vmware.vmsg -lib/vmware/messages/ja/vmware-mks.vmsg -lib/vmware/messages/ja/vmware-ui.vmsg -lib/vmware/messages/ja/vmware.vmsg -lib/vmware/messages/jive/vmware-mks.vmsg -lib/vmware/messages/jive/vmware-ui.vmsg -lib/vmware/messages/jive/vmware.vmsg -lib/vmware/bin/vmware-config.pl -lib/vmware/bin/vmware-uninstall.pl -lib/vmware/bin/vmnet-bridge -lib/vmware/bin/vmnet-dhcpd -lib/vmware/bin/vmnet-sniffer -lib/vmware/bin/vmware-ping -lib/vmware/bin/vmware-ui -lib/vmware/bin/vmware-mks -lib/vmware/bin/vmware-wizard -lib/vmware/bin/vmware -lib/vmware/bin/vmnet-natd -lib/vmware/bin/vmnet-netifup -lib/vmware/bin/vmware-nmbd -lib/vmware/bin/vmware-smbd -lib/vmware/bin/vmware-smbpasswd -lib/vmware/bin/vmware-smbpasswd.bin -lib/vmware/licenses/user/license.ws.3.0 -lib/vmware/smb/codepages/codepage.437 -lib/vmware/smb/codepages/codepage.737 -lib/vmware/smb/codepages/codepage.850 -lib/vmware/smb/codepages/codepage.852 -lib/vmware/smb/codepages/codepage.861 -lib/vmware/smb/codepages/codepage.866 -lib/vmware/smb/codepages/codepage.932 -lib/vmware/smb/codepages/codepage.936 -lib/vmware/smb/codepages/codepage.949 -lib/vmware/smb/codepages/codepage.950 -%%DOCSDIR%%/ChangeLog.FreeBSD -%%DOCSDIR%%/MultipleInstances.FreeBSD -%%DOCSDIR%%/Hints.FreeBSD -%%DOCSDIR%%/README.FreeBSD -%%DOCSDIR%%/open_source_licenses.txt -%%DOCSDIR%%/EULA -%%DOCSDIR%%/INSTALL -%%DOCSDIR%%/README -@exec mkdir -p %%LINUXBASE%%/dev;for n in 0 1 2 3 4 5 6 7 8 9; do ln -s /dev/ttyv$n %%LINUXBASE%%/dev/tty$n;done -@exec ln -s /dev/ttyva %%LINUXBASE%%/dev/tty10 -@exec ln -s /dev/ttyvb %%LINUXBASE%%/dev/tty11 -@exec mknod %%LINUXBASE%%/dev/hda b 0 0x00010002 -@exec mknod %%LINUXBASE%%/dev/hdb b 0 0x0001000a -@exec ln -sf %D/etc/vmware %%LINUXBASE%%/etc/ -@exec rm -f %%LINUXBASE%%/dev/vmmon %%LINUXBASE%%/dev/vmnet1 %%LINUXBASE%%/dev/null -@unexec rm -f %%LINUXBASE%%/etc/vmware %%LINUXBASE%%/bin/df %%LINUXBASE%%/dev/tty[0-9]* %%LINUXBASE%%/dev/hd? -@dirrm lib/vmware/bin -@dirrm lib/vmware/help -@dirrm lib/vmware/modules -@dirrm lib/vmware/xkeymap -@dirrm lib/vmware/configurator -@dirrm lib/vmware/isoimages -@dirrm lib/vmware/licenses/site -@dirrm lib/vmware/licenses/user -@dirrm lib/vmware/licenses -@dirrm lib/vmware/messages/chef -@dirrm lib/vmware/messages/jive -@dirrm lib/vmware/messages/ja -@dirrm lib/vmware/messages -@dirrm lib/vmware/smb/codepages -@dirrm lib/vmware/smb -@dirrm lib/vmware -@dirrm %%DOCSDIR%% diff --git a/emulators/vmware3/scripts/configure b/emulators/vmware3/scripts/configure deleted file mode 100644 index 1ae7d2fe8167..000000000000 --- a/emulators/vmware3/scripts/configure +++ /dev/null @@ -1,180 +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 setup" - - - -get_network_settings() { - bridged="NO" - /usr/bin/dialog --title "$title" --clear --yesno \ -"\n"\ -"Do you want to use netgraph bridging?\n"\ - 10 50 - if [ $? -eq 0 ]; then - bridged="YES" - result=`/usr/bin/dialog --title "$title" --clear --inputbox \ -"\n"\ -"To which interface would you\n"\ -"like to tie the bridge?:"\ - 10 50 "" \ - 2>&1 > /dev/tty` - case $? in - 0) - if [ -z "$result" ]; then - return 1 - fi - bdg_interface=$result - ;; - 1) - return 1 - ;; - esac - host_ip=192.168.0.1 - netmask=255.255.255.0 - else - - 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; - fi -} - -do_network() { - while true; do - get_network_settings - - if [ "X$bridged" != "XYES" ]; then - /usr/bin/dialog --title "Confirmation" --clear --yesno \ -"\n"\ -"Are the following options correct?\n\n"\ -"Configuration: host only\n"\ -"IP address: $host_ip\n"\ -"Netmask: $netmask\n"\ - 10 50 - [ $? -eq 0 ] && return 0 - else - /usr/bin/dialog --title "Confirmation" --clear --yesno \ -"\n"\ -"Are the following options correct?\n\n"\ -"Configuration: bridged\n"\ -"Interface: $bdg_interface\n"\ - 10 50 - [ $? -eq 0 ] && return 0 - fi - - /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 -} - -guided_setup() { - /usr/bin/dialog --title "$title" --clear --yesno \ -"\n"\ -"Do you want to configure vmnet interface?\n"\ - 10 50 - if [ $? -eq 0 ]; then - do_network - else - /usr/bin/dialog --title "$title" --msgbox \ -"\n"\ -"Please, refer to $PREFIX/share/doc/vmware/MultipleInstances.FreeeBSD\n"\ -"for further information on setting up your vmnet interfaces.\n"\ - 8 70 - networking=1 - return 1 - fi -} - -networking=0 -if [ _$BATCH = _ ]; then - guided_setup - - if [ $? -eq 0 ]; then - networking=1 - if [ X$bridged = XYES ]; then - /usr/bin/dialog --title "$title" --infobox \ -"\n"\ -"The following options will be used.\n\n"\ -"Configuration: bridged\n"\ -"Interface: $bdg_interface\n"\ - 10 50 - else - /usr/bin/dialog --title "$title" --infobox \ -"\n"\ -"The following options will be used.\n\n"\ -"Configuration: host only\n"\ -"IP address: $host_ip\n"\ -"Netmask: $netmask\n"\ - 10 50 - fi - fi -else #BATCH - [ -f ${WRKDIR}/Makefile.inc.net ] && exit 0 -fi #BATCH - -( -exec > ${WRKDIR}/Makefile.inc.net - -echo '#' `date` -echo VMNET_BRIDGED=$bridged -echo VMNET_BRIDGED_INTERFACE=$bdg_interface -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 f4cb4d7ebd83..000000000000 --- a/emulators/vmware3/scripts/pre-install +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -echo Setup Linux compatible /dev directory -linux_dev=${LINUXBASE}/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 -fs /dev/ttyva ${linux_dev}/tty11 -ln -fs /dev/ttyvb ${linux_dev}/tty12 -ln -fs ${linux_dev}/tty1 ${linux_dev}/tty0 -echo Creating vmmon node -mknod /dev/vmmon c 200 0 -echo Creating vmnet1 node -mknod /dev/vmnet1 c 149 ${VMNET1_MINOR} -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 diff --git a/japanese/Makefile b/japanese/Makefile index 68c67eadded1..43613d3bf2be 100644 --- a/japanese/Makefile +++ b/japanese/Makefile @@ -370,7 +370,6 @@ SUBDIR += web1913-fpw SUBDIR += webalizer SUBDIR += weblint97 - SUBDIR += wikicker SUBDIR += wnn7egg SUBDIR += wordnet-fpw SUBDIR += wwasw-fpw diff --git a/japanese/wikicker/Makefile b/japanese/wikicker/Makefile deleted file mode 100644 index 698c882749da..000000000000 --- a/japanese/wikicker/Makefile +++ /dev/null @@ -1,101 +0,0 @@ -# New ports collection makefile for: WiKicker -# Date created: 21 Sep 2003 -# Whom: Fumihiko Kimura <jfkimura@yahoo.co.jp> -# -# $FreeBSD$ -# - -PORTNAME= WiKicker -PORTVERSION= 0.26 -PORTREVISION= 1 -CATEGORIES+= japanese www perl5 -MASTER_SITES= http://www.naney.org/comp/distrib/WiKicker/archive/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Wiki like system by perl5 - - -DEPRECATED= Looks like an abandonware -EXPIRATION_DATE= 2011-07-01 - -USE_PERL5= yes -PERL_CONFIGURE= yes - -# ============================================================================ -# = You have to appoint GPG to use a function to upload an image. = -# = If it is necessary, it seems to be WITH_IMAGEUPLOAD=yes = -# ============================================================================ - -.if defined(WITH_IMAGEUPLOAD) -RUN_DEPENDS+= ${SITE_PERL}/GnuPG/Interface.pm:${PORTSDIR}/security/p5-GnuPG-Interface -.endif -RUN_DEPENDS+= ${SITE_PERL}/Time/Zone.pm:${PORTSDIR}/devel/p5-TimeDate \ - ${SITE_PERL}/${PERL_ARCH}/Unicode/String.pm:${PORTSDIR}/converters/p5-Unicode-String \ - ${SITE_PERL}/Algorithm/Diff.pm:${PORTSDIR}/devel/p5-Algorithm-Diff \ - ${JCODE}:${PORTSDIR}/japanese/p5-Jcode \ - ${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \ - ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \ - ${SITE_PERL}/Log/Log4perl.pm:${PORTSDIR}/devel/p5-Log-Log4perl - -.if defined(WITH_WIKICKER_RECENTLOG) -RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IPC/ShareLite.pm:${PORTSDIR}/devel/p5-IPC-ShareLite -.endif -# DiKicker needed -.if defined(WITH_WIKICKER_DB_FILE_LOCK) -RUN_DEPENDS+= ${SITE_PERL}/DB_File/Lock.pm:${PORTSDIR}/devel/p5-DB_File-Lock -.endif -.if !defined(WITHOUT_WIKICKER_MEMCACHED) -RUN_DEPENDS+= ${SITE_PERL}/Cache/Memcached.pm:${PORTSDIR}/databases/p5-Cache-Memcached -.endif - -JCODE= ${SITE_PERL}/Jcode.pm - -PKGMESSAGE= ${WRKDIR}/pkg-message -WIKIAUTO= ${SITE_PERL}/auto/${PORTNAME} -WIKIPM= ${SITE_PERL}/${PORTNAME} -WIKISCRIPT= wiki.cgi.in -MAN3= WiKicker.3 WiKicker::HTML.3 -SUB_FILES= pkg-message -SUB_LIST= HostName=${HOST} - -post-install: -.if !defined(NOPORTDOCS) - @${ECHO_MSG} - @${ECHO_MSG} "=============================================================" - @${ECHO_MSG} " Install Documents to ${DOCSDIR}" - @${ECHO_MSG} "=============================================================" - - @${MKDIR} ${DOCSDIR} -.for FILE in AUTHORS ChangeLog NEWS README THANKS - ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} -.endfor - @cd ${DOCSDIR} && ${FIND} . -type f -o -type l | ${SED} -e 's,^\.,${DOCSDIR:S|${LOCALBASE}/||},' >>${TMPPLIST} - @cd ${DOCSDIR} && ${FIND} . -type d -depth | ${SED} -e 's,^\.,@dirrm ${DOCSDIR:S|${LOCALBASE}/||},' >>${TMPPLIST} -.endif - - @${ECHO_MSG} - @${ECHO_MSG} "=============================================================" - @${ECHO_MSG} " Install Examples to ${EXAMPLESDIR}" - @${ECHO_MSG} "=============================================================" - - @-${MKDIR} ${EXAMPLESDIR} -.for FILE in htaccess.in wiki.cgi.properties.in wiki.css.in - ${INSTALL_DATA} ${FILESDIR}/${FILE} ${EXAMPLESDIR}/${FILE:S|.in||} -.endfor - ${INSTALL_SCRIPT} ${FILESDIR}/${WIKISCRIPT} ${EXAMPLESDIR}/${WIKISCRIPT:S|.in||} - @cd ${EXAMPLESDIR} && ${FIND} . -type f -o -type l | ${SED} -e 's,^\.,${EXAMPLESDIR:S|${LOCALBASE}/||},' >>${TMPPLIST} - @cd ${EXAMPLESDIR} && ${FIND} . -type d -depth | ${SED} -e 's,^\.,@dirrm ${EXAMPLESDIR:S|${LOCALBASE}/||},' >>${TMPPLIST} - - @${ECHO_MSG} - @${ECHO_MSG} "===> Making PLIST Phase Start" - @cd ${PREFIX}; ${FIND} ${WIKIAUTO:S/^${PREFIX}\///} -type f -o -type l | ${SED} -e 's,^\.,${WIKIAUTO:S|${PREFIX}/||},' >>${TMPPLIST} - @cd ${PREFIX}; ${FIND} ${WIKIAUTO:S/^${PREFIX}\///} -type d | \ - ${SORT} -r | ${SED} -e 's/^/@dirrm /' >>${TMPPLIST} - @cd ${PREFIX}; ${FIND} ${WIKIPM:S/^${PREFIX}\///} -type f -o -type l | ${SED} -e 's,^\.,${WIKIPM:S|${PREFIX}/||},' >>${TMPPLIST} - @cd ${PREFIX}; ${FIND} ${WIKIPM:S/^${PREFIX}\///} -type d | \ - ${SORT} -r | ${SED} -e 's/^/@dirrm /' >>${TMPPLIST} - @${ECHO_MSG} "===> Making PLIST Phase End" - - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.mk> diff --git a/japanese/wikicker/distinfo b/japanese/wikicker/distinfo deleted file mode 100644 index 45ed563b3331..000000000000 --- a/japanese/wikicker/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (WiKicker-0.26.tar.gz) = 62063035b6aaf8d9b7782291d6b8b4baf539c2ba4905d05e4cdc1b7cedf46b30 -SIZE (WiKicker-0.26.tar.gz) = 169014 diff --git a/japanese/wikicker/files/htaccess.in b/japanese/wikicker/files/htaccess.in deleted file mode 100644 index 39efdabdd18c..000000000000 --- a/japanese/wikicker/files/htaccess.in +++ /dev/null @@ -1,15 +0,0 @@ -# -# $FreeBSD$ -# - -Options -Indexes - -DirectoryIndex wiki.cgi - -<Files "*.properties"> - deny from all -</Files> - -<Files "var.*"> - deny from all -</Files> diff --git a/japanese/wikicker/files/pkg-message.in b/japanese/wikicker/files/pkg-message.in deleted file mode 100644 index 693fddfe513d..000000000000 --- a/japanese/wikicker/files/pkg-message.in +++ /dev/null @@ -1,16 +0,0 @@ - -============================================================================= -Explanation assuming there being public_html under home directory of a user. -Work habits to do after introduction: - % mkdir -p ~/public_html/wiki - % cp %%EXAMPLESDIR%%/* ~/public_html/wiki - % mv ~/public_html/wiki/htaccess ~/public_html/wiki/.htaccess - % sed -i '' -e 's,HOGE,User,' -e 's,EXAMPLE.JP,%%HostName%%,' ~/public_html/wiki/wiki.cgi.properties - -Operation person is connected to - http://%%HostName%%/~User/wiki/ , and please operate "edit". - - -See http://www.naney.org/wiki/WiKicker/INSTALL.html -============================================================================= - diff --git a/japanese/wikicker/files/wiki.cgi.in b/japanese/wikicker/files/wiki.cgi.in deleted file mode 100644 index 88892a71442b..000000000000 --- a/japanese/wikicker/files/wiki.cgi.in +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/perl -w -# $FreeBSD$ -use strict; -#use lib qw(/usr/local/wikicker/.....); -use CGI::Carp qw(fatalsToBrowser); -#use WiKicker::CGI::Controller; -use WiKicker::WikiCGI::Controller; -# -0.19 -#my $app = new WiKicker::CGI::Controller; -#$app->run; -# 0.20- -WiKicker::WikiCGI::Controller->new->run; -#WiKicker::WikiCGI::Controller->new(properties_file => '/your-path/another.properties')->run; diff --git a/japanese/wikicker/files/wiki.cgi.properties.in b/japanese/wikicker/files/wiki.cgi.properties.in deleted file mode 100644 index 17e23f876c72..000000000000 --- a/japanese/wikicker/files/wiki.cgi.properties.in +++ /dev/null @@ -1,11 +0,0 @@ -# $FreeBSD$ -# See .. http://www.naney.org/wiki/WiKicker/INSTALL.html -wikicker.name: HOGEWiki -wikicker.database.directory: /home/HOGE/var/wiki -admin.name: HOGE -admin.notify.email: HOGE@EXAMPLE.JP -html.stylesheet: http://EXAMPLE.JP/~HOGE/wiki/wiki.css -user.timezone: JST -#param.RssPage.channel.description: RssPage -#memorycache.type: memcached -#memcached.servers: 127.0.0.1:11211 diff --git a/japanese/wikicker/files/wiki.css.in b/japanese/wikicker/files/wiki.css.in deleted file mode 100644 index 8198e0f78501..000000000000 --- a/japanese/wikicker/files/wiki.css.in +++ /dev/null @@ -1,207 +0,0 @@ -/* - * CSS for WiKicker - * $FreeBSD$ - */ - -/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - defaults -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ - -/* -* { - border: 1px solid; -} -*/ - -body { - margin: .5em 20px .1em 20px; - background-color: white; - color: black; -} - -h1 { - text-align: left; - margin: 0em 0em 0em 0em; -} - -h2 { - text-align: left; - border: #999 1px solid; - color: black; - background: #eee; - padding: .3em .5em .3em .5em; - clear: both; - margin-top: .1em; - margin-bottom: .1em; -} - -h3 { - text-align: left; - border-bottom: solid 2px #999999; - clear: both; - margin-top: .1em; - margin-bottom: .1em; -} - - -hr { - clear: both; -} - -pre { - padding-top: 5px; - padding-bottom: 5px; - border-style:solid; - border-width: 1px; -} - -table { - background: gray; -} - -td { - margin: 1px; - padding: 5px; - background: white; -} - -p { - line-height: 1.4; -} - -li { - margin-bottom: 0.1em; - line-height: 1.4; -} - -/*-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - with class -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ -div.head-toolbar { - text-align: right; - font-size: small; -} - -div.page-toolbar { - text-align: right; - font-size: small; -} - -div.section-toolbar { - text-align: right; - font-size: x-small; - clear: both; - padding-bottom: 0px; - margin-bottom: .1em; -} - -div.head-hierarchy { - font-size: small; - margin: 0em 0em 0.5em 0; -} - -div.head-name { - border: #999 3px ridge; - color: black; - background: #eee; - padding: .5em .5em .2em .5em; - margin: .2em 0 0 0; -} - -div.head-lastmodified { - text-align: right; - font-size: small; - font-style: italic; - margin: .5em 0em 0em 0em; -} - -div.toc { - font-size: small; - border-style: solid; - border-width: 1px; - border-color: black; - margin-top: 1em; - margin-bottom: 1em; -} - -span.DanglingLink { - border-bottom: 1px blue dashed; - padding-bottom: 0px; -} - -table.rlog { - border-style:solid; - border-width: 1px; -} - - -.preview { - padding: 20px; - background: #fcc; -} - -.added { - color: blue; -} -.deleted { - color: red; -} -.same { - color: #666; -} - -span.Sunday { - color: red; -} - -span.Saturday { - color: blue; -} - -img.left { - margin: 1em 1em 1em 0em; - float: left; -} - -img.right { - float: right; - margin: 1em 0em 1em 1em; -} - -div.toc li { - line-height: normal; -} - -ol.changes li { - line-height: normal; -} - -ul.index li { - line-height: normal; -} - -div.trackback { - font-size: x-small; - border-style: dashed; - border-color: #999; - padding: 0.2em 1em 1em 1em; - border-width: 1px; - line-height: 1.2; -} - -div.trackback dt { - margin-top: 0.5em; -} - -div.trackbackpingurl { - margin-top: 1em; - font-size: x-small; - font-style: italic; - text-align: right; -} - -a.auto { - color: black; - text-decoration: none; - border-bottom: 1px solid gray; -} diff --git a/japanese/wikicker/pkg-descr b/japanese/wikicker/pkg-descr deleted file mode 100644 index 905dbcc767d3..000000000000 --- a/japanese/wikicker/pkg-descr +++ /dev/null @@ -1,14 +0,0 @@ -WiKicker is WikiEngine implemented by a Perl language. - -WiKicker policy: - - Not losing being integrated - - The certification be unnecessary in writing - - Do reading / editing in a spread Web browser - - Safety - (It works only in Japanese) - - See http://www.naney.org/wiki/WiKicker.html - -Copyright (C) 2003 WATANABE Yoshimasa <naney@naney.org> - -WWW: http://www.naney.org/wiki/ diff --git a/japanese/wikicker/pkg-plist b/japanese/wikicker/pkg-plist deleted file mode 100644 index 9d5558a06350..000000000000 --- a/japanese/wikicker/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -%%SITE_PERL%%/WiKicker.pm -%%SITE_PERL%%/%%PERL_ARCH%%/auto/WiKicker/.packlist -bin/importyk2 -bin/wikicker-html-exporter -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/WiKicker diff --git a/math/Makefile b/math/Makefile index cfefe0aaf5a9..4d44f303d0fa 100644 --- a/math/Makefile +++ b/math/Makefile @@ -75,7 +75,6 @@ SUBDIR += facile SUBDIR += fann SUBDIR += fbm - SUBDIR += femlab SUBDIR += fftw SUBDIR += fftw-float SUBDIR += fftw3 diff --git a/math/femlab/Makefile b/math/femlab/Makefile deleted file mode 100644 index 230728d5ec88..000000000000 --- a/math/femlab/Makefile +++ /dev/null @@ -1,56 +0,0 @@ -# New ports collection makefile for: femlab -# Date created: 19 June 1997 -# Whom: Pedro Giffuni -# -# $FreeBSD$ -# - -PORTNAME= femlab -PORTVERSION= 1.1 -PORTREVISION= 5 -CATEGORIES= math science -# mastersite disappeared in April 2000 -MASTER_SITES= # ftp://ftp.md.chalmers.se/pub/Femlab/ -DISTFILES= femlab-2d-v${PORTVERSION}.tar.gz - -MAINTAINER= ports@FreeBSD.org -COMMENT= Interactive program for solving partial differential equations in 2D - -BUILD_DEPENDS= ${LOCALBASE}/lib/libsx.a:${PORTSDIR}/x11/libsx \ - imake:${PORTSDIR}/devel/imake - -DEPRECATED= No more distfile, looks like abandonware -EXPIRATION_DATE= 2011-07-01 - -USE_XORG= xaw -USE_FORTRAN= yes - -FEMLAB_HOME= ${PREFIX}/lib/X11/femlab - -pre-patch: - @${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \ - ${WRKSRC}/source/graph.c ${WRKSRC}/source/y.tab.c \ - ${WRKSRC}/source/newdata.c ${WRKSRC}/source/post.c \ - ${WRKSRC}/source/kraftwerk.c ${WRKSRC}/source/list.c \ - ${WRKSRC}/include/xv.h ${WRKSRC}/fsource/y.tab.c - -do-install: - ${MKDIR} ${FEMLAB_HOME}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/source/femlab ${FEMLAB_HOME}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/fsource/meshgen ${FEMLAB_HOME}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/fsource/poisson ${FEMLAB_HOME}/bin - ${MKDIR} ${FEMLAB_HOME}/config - ${INSTALL_DATA} ${WRKSRC}/config/modules ${FEMLAB_HOME}/config - ${SED} -e "s|@@FEMLAB_HOME@@|${FEMLAB_HOME}|" <${FILESDIR}/femlab.sh >${PREFIX}/bin/femlab - ${CHMOD} +x ${PREFIX}/bin/femlab - -post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${PREFIX}/share/examples/femlab - @${INSTALL_DATA} ${WRKSRC}/examples/*.fem ${PREFIX}/share/examples/femlab - @${MKDIR} ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/docs/manual.dvi ${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/docs/manual.ps ${DOCSDIR} -.endif - -.include <bsd.port.mk> diff --git a/math/femlab/distinfo b/math/femlab/distinfo deleted file mode 100644 index 5a6ffda7075b..000000000000 --- a/math/femlab/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (femlab-2d-v1.1.tar.gz) = c36ba87ce75fe50ee37caa00b481c8e830ca63a81520110ea851d948b1076dc1 -SIZE (femlab-2d-v1.1.tar.gz) = 826980 diff --git a/math/femlab/files/femlab.sh b/math/femlab/files/femlab.sh deleted file mode 100644 index 89a178c77853..000000000000 --- a/math/femlab/files/femlab.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -FEMLAB_HOME=@@FEMLAB_HOME@@ -export FEMLAB_HOME - -exec ${FEMLAB_HOME}/bin/femlab diff --git a/math/femlab/files/patch-aa b/math/femlab/files/patch-aa deleted file mode 100644 index 70c091be4b34..000000000000 --- a/math/femlab/files/patch-aa +++ /dev/null @@ -1,23 +0,0 @@ ---- source/Imakefile.orig Tue Sep 19 16:22:29 1995 -+++ source/Imakefile Sat Sep 22 01:04:55 2001 -@@ -17,18 +17,17 @@ - - OBJS = $(SRCS:.c=.o) - -- CC = gcc -O - CDEBUGFLAGS = - EXTRA_INCLUDES = -I../include - # - # Change next line to the location of the libsx library - # --EXTRA_LOAD_FLAGS = -L/users/math/martenl/projects/lib -+EXTRA_LOAD_FLAGS = -L$(LOCALBASE) - LOCAL_LIBRARIES = -lfreq -lsx -lm XawClientLibs - DEPLIBS = XawClientDepLibs - - PROGRAMS = femlab - --ComplexProgramTarget($(PROGRAMS)) -+ComplexProgramTargetNoMan($(PROGRAMS)) - DependTarget() - diff --git a/math/femlab/files/patch-ab b/math/femlab/files/patch-ab deleted file mode 100644 index e2679899f721..000000000000 --- a/math/femlab/files/patch-ab +++ /dev/null @@ -1,57 +0,0 @@ - -$FreeBSD$ - ---- source/graph.c.orig Wed Jul 24 00:01:06 2002 -+++ source/graph.c Wed Jul 24 00:01:07 2002 -@@ -608,7 +608,7 @@ - void getDrawingScale() - { - float xoff, yoff; -- float scl; -+ float iscl; /* inverse scale */ - int width, height; - int ww; - int nx, ny, id; -@@ -630,25 +630,27 @@ - width = width / nx; - height = height / ny; - -- if(state > HAVE_NOTHING){ -- scl = 1./max(xmax-xmin,ymax-ymin); -- xoff = -scl*(xmin+.5*(xmax-xmin)-.5/scl); -- yoff = -scl*(ymin+.5*(ymax-ymin)-.5/scl); -- -- xoff = - xmin*scl*.85; -- yoff = - ymin*scl*.85; -- -- ww = min(width, height); -- Xscl = (int) ((float)ww * 0.85 * scl); -- Xxoff = (int) ww * xoff ; -- Xyoff = (int) ww * yoff; -- Xxoff += (int) (width - ( Xscl*xmax +Xxoff))/2 + (id+nx-1)%nx *width; -- Xyoff += (int) (height - ( Xscl*ymax +Xyoff))/2 + (int)(id/(nx+.5)) *height; -- } -+ iscl = max(xmax-xmin,ymax-ymin); -+ if (iscl != 0.0) { -+ if(state > HAVE_NOTHING) { -+/* These are recalculated ?? -+ xoff = .5-(xmin+.5*(xmax-xmin))/iscl; -+ yoff = .5-(ymin+.5*(ymax-ymin))/iscl; -+*/ -+ xoff = - xmin*.85/iscl; -+ yoff = - ymin*.85/iscl; -+ ww = min(width, height); -+ Xscl = (int) ((float)ww * 0.85 / iscl); -+ Xxoff = (int) ww * xoff ; -+ Xyoff = (int) ww * yoff; -+ Xxoff += (int) (width - ( Xscl*xmax +Xxoff))/2 + (id+nx-1)%nx *width; -+ Xyoff += (int) (height - ( Xscl*ymax +Xyoff))/2 + (int)(id/(nx+.5)) *height; -+ } - - SetDrawArea(drawWindow); - if(device == PS) - psGetScale(); -+ } - } - - void getBoundaryScale(Widget w, void *data) diff --git a/math/femlab/files/patch-fsource_makepoisson b/math/femlab/files/patch-fsource_makepoisson deleted file mode 100644 index e3ab16ae0335..000000000000 --- a/math/femlab/files/patch-fsource_makepoisson +++ /dev/null @@ -1,11 +0,0 @@ - -$FreeBSD$ - ---- fsource/makepoisson.orig Thu Sep 14 09:47:27 1995 -+++ fsource/makepoisson Wed Jul 24 00:06:17 2002 -@@ -1,4 +1,4 @@ --FFLAGS= -O -+FFLAGS= -O2 - - FFILES= dwm1.f startpo.f preproc.f rhslhs.f poisson.f output.f - diff --git a/math/femlab/files/patch-fsource_y.tab.c b/math/femlab/files/patch-fsource_y.tab.c deleted file mode 100644 index 9d34ab611752..000000000000 --- a/math/femlab/files/patch-fsource_y.tab.c +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- fsource/y.tab.c.orig Wed Jul 24 00:14:46 2002 -+++ fsource/y.tab.c Wed Jul 24 00:14:56 2002 -@@ -38,7 +38,7 @@ - #include <memory.h> - #endif - --#include <values.h> -+#include <float.h> - - #ifdef __cplusplus - diff --git a/math/femlab/files/patch-source_y.tab.c b/math/femlab/files/patch-source_y.tab.c deleted file mode 100644 index 0b62ac04f66a..000000000000 --- a/math/femlab/files/patch-source_y.tab.c +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- source/y.tab.c.orig Wed Jul 24 00:01:34 2002 -+++ source/y.tab.c Wed Jul 24 00:01:44 2002 -@@ -38,7 +38,7 @@ - #include <memory.h> - #endif - --#include <values.h> -+#include <float.h> - - #ifdef __cplusplus - diff --git a/math/femlab/pkg-descr b/math/femlab/pkg-descr deleted file mode 100644 index 35e3b0ebc4aa..000000000000 --- a/math/femlab/pkg-descr +++ /dev/null @@ -1,10 +0,0 @@ -Femlab is built up by several different programs. Currently the -X11-interface, a meshgenerator and one solver. These programs communicate -with each other with two ASCII files called "area.scratch" and -"solu.scratch". The programs reside in FEMLAB_HOME/bin. These allows you -to for instance run the solver directly from the csh as a batch job. The -aim is to provide more solvers for different applications, such as 2D -incompressible flow problems, transient problems etc. It should also be -possible to use the X11 interface for your own applications. - -WWW: http://www.math.chalmers.se/Math/Research/Femlab/ diff --git a/math/femlab/pkg-plist b/math/femlab/pkg-plist deleted file mode 100644 index f45930d0dc43..000000000000 --- a/math/femlab/pkg-plist +++ /dev/null @@ -1,19 +0,0 @@ -bin/femlab -lib/X11/femlab/config/modules -lib/X11/femlab/bin/femlab -lib/X11/femlab/bin/meshgen -lib/X11/femlab/bin/poisson -%%PORTDOCS%%share/doc/femlab/manual.dvi -%%PORTDOCS%%share/doc/femlab/manual.ps -%%PORTDOCS%%share/examples/femlab/capacitor.fem -%%PORTDOCS%%share/examples/femlab/convection.fem -%%PORTDOCS%%share/examples/femlab/man.fem -%%PORTDOCS%%share/examples/femlab/pot-cyl.fem -%%PORTDOCS%%share/examples/femlab/soap.fem -%%PORTDOCS%%share/examples/femlab/spark-plug.fem -%%PORTDOCS%%share/examples/femlab/torsion.fem -@dirrm lib/X11/femlab/config -@dirrm lib/X11/femlab/bin -@dirrm lib/X11/femlab -%%PORTDOCS%%@dirrm share/doc/femlab -%%PORTDOCS%%@dirrm share/examples/femlab |