summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
Diffstat (limited to 'emulators')
-rw-r--r--emulators/Makefile4
-rw-r--r--emulators/dynamips-devel/Makefile58
-rw-r--r--emulators/dynamips-devel/distinfo2
-rw-r--r--emulators/dynamips-devel/files/patch-Makefile19
-rw-r--r--emulators/dynamips-devel/files/patch-README16
-rw-r--r--emulators/dynamips-devel/files/patch-dev_vtty.c30
-rw-r--r--emulators/dynamips-devel/files/patch-dynamips.128
-rw-r--r--emulators/dynamips-devel/files/patch-dynamips.c56
-rw-r--r--emulators/dynamips-devel/files/patch-gen_eth.c26
-rw-r--r--emulators/dynamips-devel/files/patch-hypervisor_mode.711
-rw-r--r--emulators/dynamips-devel/files/patch-net.c10
-rw-r--r--emulators/dynamips-devel/files/patch-nvram_export.111
-rw-r--r--emulators/dynamips-devel/pkg-descr5
-rw-r--r--emulators/dynamips/Makefile54
-rw-r--r--emulators/dynamips/distinfo2
-rw-r--r--emulators/dynamips/files/patch-Makefile35
-rw-r--r--emulators/dynamips/files/patch-README11
-rw-r--r--emulators/dynamips/files/patch-README.hypervisor11
-rw-r--r--emulators/dynamips/files/patch-dev_vtty.c33
-rw-r--r--emulators/dynamips/files/patch-dynamips.120
-rw-r--r--emulators/dynamips/files/patch-dynamips.c87
-rw-r--r--emulators/dynamips/files/patch-gen_eth.c26
-rw-r--r--emulators/dynamips/files/patch-hypervisor.c20
-rw-r--r--emulators/dynamips/files/patch-hypervisor.h10
-rw-r--r--emulators/dynamips/files/patch-hypervisor_mode.711
-rw-r--r--emulators/dynamips/files/patch-net.c46
-rw-r--r--emulators/dynamips/files/patch-net.h10
-rw-r--r--emulators/dynamips/files/patch-nvram_export.111
-rw-r--r--emulators/dynamips/files/patch-utils.c11
-rw-r--r--emulators/dynamips/files/patch-utils.h20
-rw-r--r--emulators/dynamips/pkg-descr5
-rw-r--r--emulators/minivmac/Makefile36
-rw-r--r--emulators/minivmac/distinfo4
-rw-r--r--emulators/minivmac/files/patch-Makefile13
-rw-r--r--emulators/minivmac/pkg-descr9
-rw-r--r--emulators/minivmac/pkg-message6
-rw-r--r--emulators/sim6811/Makefile36
-rw-r--r--emulators/sim6811/distinfo2
-rw-r--r--emulators/sim6811/files/patch-main.c37
-rw-r--r--emulators/sim6811/files/patch-sim6811.176
-rw-r--r--emulators/sim6811/pkg-descr13
41 files changed, 0 insertions, 931 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index f6b56df47ba0..364704e87dbf 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -29,9 +29,7 @@
SUBDIR += dtcyber
SUBDIR += dynagen
SUBDIR += dynagui
- SUBDIR += dynamips
SUBDIR += dynamips-community
- SUBDIR += dynamips-devel
SUBDIR += e-uae
SUBDIR += fceux
SUBDIR += fmsx
@@ -82,7 +80,6 @@
SUBDIR += mastergear
SUBDIR += mednafen
SUBDIR += mess
- SUBDIR += minivmac
SUBDIR += mtools
SUBDIR += mupen64plus
SUBDIR += mupen64plus-audio-sdl
@@ -129,7 +126,6 @@
SUBDIR += raine
SUBDIR += rtc
SUBDIR += rubygem-fission
- SUBDIR += sim6811
SUBDIR += simh
SUBDIR += skyeye
SUBDIR += snes9express
diff --git a/emulators/dynamips-devel/Makefile b/emulators/dynamips-devel/Makefile
deleted file mode 100644
index e3777ffcb16e..000000000000
--- a/emulators/dynamips-devel/Makefile
+++ /dev/null
@@ -1,58 +0,0 @@
-# Created by: Pavel I Volkov <pavelivolkov@googlemail.com>
-# $FreeBSD$
-
-PORTNAME= dynamips
-DISTVERSION= 0.2.8-RC2
-PORTREVISION= 3
-CATEGORIES= emulators
-MASTER_SITES= http://www.ipflow.utc.fr/dynamips/
-PKGNAMESUFFIX= -devel
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Cisco 1700/2600/3600/3700/7200 Simulator
-
-LICENSE= GPLv2
-
-BROKEN= Does not fetch
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2016-07-04
-LIB_DEPENDS= libelf.so.0:devel/libelf
-
-CONFLICTS= dynamips-[0-9]* dynamips-community-[0-9]*
-
-USES= gmake
-ALL_TARGET= ${PORTNAME} nvram_export
-MAKE_ENV= DYNAMIPS_ARCH=${DYNAMIPS_ARCH} \
- HAS_POSIX_MEMALIGN=1
-MAKE_JOBS_UNSAFE= yes
-
-PLIST_FILES= bin/${PORTNAME} bin/nvram_export
-PLIST_FILES+= man/man1/${PORTNAME}.1.gz man/man1/nvram_export.1.gz
-PLIST_FILES+= man/man7/hypervisor_mode.7.gz
-PORTDOCS= README README.hypervisor
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "sparc64"
-BROKEN= Does not compile
-.endif
-
-.if ${ARCH} == "i386"
-DYNAMIPS_ARCH= "x86"
-.elif ${ARCH} == "amd64"
-DYNAMIPS_ARCH= "amd64"
-.else
-DYNAMIPS_ARCH= "nojit"
-.endif
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/nvram_export ${STAGEDIR}${PREFIX}/bin
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.hypervisor ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/nvram_export.1 ${STAGEDIR}${PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/hypervisor_mode.7 ${STAGEDIR}${PREFIX}/man/man7
-
-.include <bsd.port.post.mk>
diff --git a/emulators/dynamips-devel/distinfo b/emulators/dynamips-devel/distinfo
deleted file mode 100644
index 8a537d24e534..000000000000
--- a/emulators/dynamips-devel/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (dynamips-0.2.8-RC2.tar.gz) = a8b377ce631119e285c401fdb7cb4d0bcc600a15508bdffcf337546957e252de
-SIZE (dynamips-0.2.8-RC2.tar.gz) = 578935
diff --git a/emulators/dynamips-devel/files/patch-Makefile b/emulators/dynamips-devel/files/patch-Makefile
deleted file mode 100644
index bab0bab9ab7d..000000000000
--- a/emulators/dynamips-devel/files/patch-Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
---- Makefile.orig 2007-10-14 12:43:07.000000000 +0400
-+++ Makefile 2007-10-24 19:48:14.000000000 +0400
-@@ -45,14 +45,14 @@
- -DHAS_POSIX_MEMALIGN=$(HAS_POSIX_MEMALIGN)
-
- #PCAP_LIB=/usr/local/lib/libpcap.a
--PCAP_LIB=-lpcap
-+PCAP_LIB?=-lpcap
-
- ifeq ($(shell uname), FreeBSD)
- PTHREAD_LIBS?=-pthread
- LOCALBASE?=/usr/local
- CFLAGS+=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/libelf \
- $(PTHREAD_CFLAGS) -D_FILE_OFFSET_BITS=64
-- LIBS=-L$(LOCALBASE)/lib -L. -ldl -lelf $(PTHREAD_LIBS) $(LDFLAGS)
-+ LIBS=-L$(LOCALBASE)/lib -L. -lelf $(PTHREAD_LIBS) $(LDFLAGS)
- else
- ifeq ($(shell uname), Linux)
- PTHREAD_LIBS?=-lpthread
diff --git a/emulators/dynamips-devel/files/patch-README b/emulators/dynamips-devel/files/patch-README
deleted file mode 100644
index 3ed2557be73f..000000000000
--- a/emulators/dynamips-devel/files/patch-README
+++ /dev/null
@@ -1,16 +0,0 @@
---- README.orig Wed Sep 12 14:35:13 2007
-+++ README Thu Sep 13 19:47:58 2007
-@@ -52,11 +52,12 @@
- -R <rom_file> : Load an alternate ROM (default: embedded)
- -k <clock_div> : Set the clock divisor (default: 4)
-
-- -T <port> : Console is on TCP <port>
-+ -T [ip_address:]<port> : Console is on TCP <port>
- -U <si_desc> : Console in on serial interface <si_desc>
- (default is on the terminal)
-
- -A <port> : AUX is on TCP <port>
-+ (AUX binding IP == Console binding IP)
- -B <si_desc> : AUX is on serial interface <si_desc>
- (default is no AUX port)
-
diff --git a/emulators/dynamips-devel/files/patch-dev_vtty.c b/emulators/dynamips-devel/files/patch-dev_vtty.c
deleted file mode 100644
index 5ae681aef706..000000000000
--- a/emulators/dynamips-devel/files/patch-dev_vtty.c
+++ /dev/null
@@ -1,30 +0,0 @@
---- dev_vtty.c.orig Fri Sep 7 12:03:11 2007
-+++ dev_vtty.c Fri Sep 14 10:24:02 2007
-@@ -24,6 +24,8 @@
- #include <fcntl.h>
- #include <errno.h>
- #include <assert.h>
-+#include <netinet/in.h>
-+#include <arpa/inet.h>
-
- #include <arpa/telnet.h>
-
-@@ -43,6 +45,8 @@
- #include "dev_c2600.h"
- #include "dev_vtty.h"
-
-+extern char *hypervisor_ip_address;
-+
- /* VTTY list */
- static pthread_mutex_t vtty_list_mutex = PTHREAD_MUTEX_INITIALIZER;
- static vtty_t *vtty_list = NULL;
-@@ -132,7 +136,8 @@
-
- memset(&serv,0,sizeof(serv));
- serv.sin_family = AF_INET;
-- serv.sin_addr.s_addr = htonl(INADDR_ANY);
-+ if (hypervisor_ip_address && strlen(hypervisor_ip_address))
-+ serv.sin_addr.s_addr = inet_addr(hypervisor_ip_address);
- serv.sin_port = htons(vtty->tcp_port);
-
- if (bind(vtty->accept_fd,(struct sockaddr *)&serv,sizeof(serv)) < 0) {
diff --git a/emulators/dynamips-devel/files/patch-dynamips.1 b/emulators/dynamips-devel/files/patch-dynamips.1
deleted file mode 100644
index e8431179b2ee..000000000000
--- a/emulators/dynamips-devel/files/patch-dynamips.1
+++ /dev/null
@@ -1,28 +0,0 @@
---- dynamips.1.orig Thu Sep 13 18:45:02 2007
-+++ dynamips.1 Thu Sep 13 19:45:49 2007
-@@ -44,7 +44,7 @@
- .SH OPTIONS
- A summary of options is included below.
- .TP
--.B -H <tcp_port>
-+.B -H [<ip_address>:]<tcp_port>
- Enable hypervisor mode.
- .br
- The hypervisor mode of dynamips allows you to run simultaneously
-@@ -133,7 +133,7 @@
- The command "show clock" at the IOS' CLI will help you set this value.
-
- .TP
--.B -T <port>
-+.B -T [<ip_address>:]<port>
- Console is on TCP <port>
- .TP
- .B -U <si_desc>
-@@ -141,6 +141,7 @@
- .TP
- .B -A <port>
- AUX is on TCP <port>
-+AUX binding IP == Console binding IP
- .TP
- .B -B <si_desc>
- AUX is on serial interface <si_desc> (default is no AUX port)
diff --git a/emulators/dynamips-devel/files/patch-dynamips.c b/emulators/dynamips-devel/files/patch-dynamips.c
deleted file mode 100644
index d21756542a79..000000000000
--- a/emulators/dynamips-devel/files/patch-dynamips.c
+++ /dev/null
@@ -1,56 +0,0 @@
---- dynamips.c.orig Fri Sep 7 12:03:11 2007
-+++ dynamips.c Fri Sep 14 10:18:10 2007
-@@ -193,7 +193,7 @@
- " -R <rom_file> : Load an alternate ROM (default: embedded)\n"
- " -k <clock_div> : Set the clock divisor (default: %d)\n"
- "\n"
-- " -T <port> : Console is on TCP <port>\n"
-+ " -T [<ip_address>:]<port> : Console is on TCP <port>\n"
- " -U <si_desc> : Console in on serial interface <si_desc>\n"
- " (default is on the terminal)\n"
- "\n"
-@@ -374,6 +374,8 @@
- int instance_id;
- int option;
- char *str;
-+ char *index;
-+ size_t len;
-
- /* Get the instance ID */
- instance_id = 0;
-@@ -541,7 +543,25 @@
- /* TCP server for Console Port */
- case 'T':
- vm->vtty_con_type = VTTY_TYPE_TCP;
-- vm->vtty_con_tcp_port = atoi(optarg);
-+
-+ index = strrchr(optarg,':');
-+
-+ if (!index) {
-+ vm->vtty_con_tcp_port = atoi(optarg);
-+ } else {
-+ len = index - optarg;
-+ hypervisor_ip_address = malloc(len + 1);
-+
-+ if (!hypervisor_ip_address) {
-+ fprintf(stderr,"Unable to set console IP address!\n");
-+ exit(EXIT_FAILURE);
-+ }
-+
-+ memcpy(hypervisor_ip_address,optarg,len);
-+ hypervisor_ip_address[len] = '\0';
-+
-+ vm->vtty_con_tcp_port = atoi(++index);
-+ }
- break;
-
- /* Serial interface for Console port */
-@@ -687,6 +707,8 @@
-
- memcpy(hypervisor_ip_address,optarg,len);
- hypervisor_ip_address[len] = '\0';
-+
-+ hypervisor_tcp_port = atoi(++index);
- }
- break;
-
diff --git a/emulators/dynamips-devel/files/patch-gen_eth.c b/emulators/dynamips-devel/files/patch-gen_eth.c
deleted file mode 100644
index 97f60cdd3222..000000000000
--- a/emulators/dynamips-devel/files/patch-gen_eth.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- gen_eth.c.orig 2007-05-26 18:52:33.000000000 +0900
-+++ gen_eth.c 2009-07-21 03:18:35.194759073 +0900
-@@ -22,6 +22,7 @@
- #include <sys/types.h>
- #include <sys/socket.h>
- #include <sys/wait.h>
-+#include <sys/ioctl.h>
- #include <netinet/in.h>
- #include <arpa/inet.h>
- #include <pthread.h>
-@@ -45,8 +46,13 @@
- if (!(p = pcap_open_live(device,2048,TRUE,10,pcap_errbuf)))
- goto pcap_error;
-
-- /* Accept only incoming packets */
-- pcap_setdirection(p,PCAP_D_IN);
-+ pcap_setdirection(p,PCAP_D_INOUT);
-+#ifdef BIOCFEEDBACK
-+ {
-+ int on = 1;
-+ ioctl(pcap_fileno(p), BIOCFEEDBACK, &on);
-+ }
-+#endif
- #else
- p = pcap_open(device,2048,
- PCAP_OPENFLAG_PROMISCUOUS |
diff --git a/emulators/dynamips-devel/files/patch-hypervisor_mode.7 b/emulators/dynamips-devel/files/patch-hypervisor_mode.7
deleted file mode 100644
index d11ced491f95..000000000000
--- a/emulators/dynamips-devel/files/patch-hypervisor_mode.7
+++ /dev/null
@@ -1,11 +0,0 @@
---- hypervisor_mode.7.orig Wed Mar 21 11:02:14 2007
-+++ hypervisor_mode.7 Wed Mar 21 11:02:40 2007
-@@ -5,7 +5,7 @@
- or Frame-Relay networks.
- .SH SYNOPSIS
- .B dynamips -H
--\fItcp_port\fP
-+\fI[ip_address:]tcp_port\fP
-
- .SH DESCRIPTION
- You can connect directly to the TCP control port with telnet, or use
diff --git a/emulators/dynamips-devel/files/patch-net.c b/emulators/dynamips-devel/files/patch-net.c
deleted file mode 100644
index 6fd2599d92d6..000000000000
--- a/emulators/dynamips-devel/files/patch-net.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- net.c.orig 2009-07-20 16:23:20.000000000 +0400
-+++ net.c 2009-07-20 16:24:14.000000000 +0400
-@@ -209,6 +209,7 @@
- addr->eth_addr_byte[3] = v[1] & 0xFF;
- addr->eth_addr_byte[4] = (v[2] >> 8) & 0xFF;
- addr->eth_addr_byte[5] = v[2] & 0xFF;
-+ return(0);
- }
-
- return(-1);
diff --git a/emulators/dynamips-devel/files/patch-nvram_export.1 b/emulators/dynamips-devel/files/patch-nvram_export.1
deleted file mode 100644
index 477b8b7e65d1..000000000000
--- a/emulators/dynamips-devel/files/patch-nvram_export.1
+++ /dev/null
@@ -1,11 +0,0 @@
---- nvram_export.1.orig Thu May 3 12:46:51 2007
-+++ nvram_export.1 Thu May 3 12:47:10 2007
-@@ -13,7 +13,7 @@
- Please send bug reports to http://www.ipflow.utc.fr/bts/
- .SH SEE ALSO
- .br
--\fBdynmips\fP(1), \fBhypervisor_mode\fP(7)
-+\fBdynamips\fP(1), \fBhypervisor_mode\fP(7)
- .br
- .UR
- http://www.ipflow.utc.fr/index.php/
diff --git a/emulators/dynamips-devel/pkg-descr b/emulators/dynamips-devel/pkg-descr
deleted file mode 100644
index b23d58899ea6..000000000000
--- a/emulators/dynamips-devel/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-Cisco 1700/2600/3600/3700/7200 simulator.
-
-WWW: http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
- http://www.ipflow.utc.fr/blog/
- http://hacki.at/7200emu/index.php
diff --git a/emulators/dynamips/Makefile b/emulators/dynamips/Makefile
deleted file mode 100644
index 7758be424b04..000000000000
--- a/emulators/dynamips/Makefile
+++ /dev/null
@@ -1,54 +0,0 @@
-# Created by: Max Khon <fjoe@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= dynamips
-DISTVERSION= 0.2.7
-PORTREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= http://www.ipflow.utc.fr/dynamips/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Cisco 3600/7200 Simulator
-
-BROKEN= Does not fetch
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2016-07-04
-
-LIB_DEPENDS= libelf.so:devel/libelf
-
-USES= gmake
-ALL_TARGET= ${PORTNAME} nvram_export
-MAKE_ENV= DYNAMIPS_ARCH=${DYNAMIPS_ARCH}
-MAKE_JOBS_UNSAFE= yes
-
-CONFLICTS= dynamips-community-[0-9]* dynamips-devel-[0-9]*
-
-PLIST_FILES= bin/${PORTNAME} bin/nvram_export man/man1/${PORTNAME}.1.gz \
- man/man1/nvram_export.1.gz man/man7/hypervisor_mode.7.gz
-PORTDOCS= README README.hypervisor
-
-OPTIONS_DEFINE= DOCS
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "i386"
-DYNAMIPS_ARCH= "x86"
-.elif ${ARCH} == "amd64"
-DYNAMIPS_ARCH= "amd64"
-.else
-DYNAMIPS_ARCH= "nojit"
-.endif
-
-MAKE_ENV+= HAS_POSIX_MEMALIGN=1
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/nvram_export ${STAGEDIR}${PREFIX}/bin
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.hypervisor ${STAGEDIR}${DOCSDIR}
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/nvram_export.1 ${STAGEDIR}${PREFIX}/man/man1
- ${INSTALL_MAN} ${WRKSRC}/hypervisor_mode.7 ${STAGEDIR}${PREFIX}/man/man7
-
-.include <bsd.port.post.mk>
diff --git a/emulators/dynamips/distinfo b/emulators/dynamips/distinfo
deleted file mode 100644
index 24547692dbf8..000000000000
--- a/emulators/dynamips/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (dynamips-0.2.7.tar.gz) = f8fc6fc8f66e10f6afcffa832a6071dffeeb9356ed97fe2690bc678d977717ef
-SIZE (dynamips-0.2.7.tar.gz) = 522620
diff --git a/emulators/dynamips/files/patch-Makefile b/emulators/dynamips/files/patch-Makefile
deleted file mode 100644
index f5ef297cafed..000000000000
--- a/emulators/dynamips/files/patch-Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
---- Makefile.orig Thu Feb 8 15:23:36 2007
-+++ Makefile Thu Feb 8 15:34:39 2007
-@@ -12,6 +12,9 @@
- # (WinPcap is used for Cygwin)
- HAS_PCAP?=1
-
-+# Change this to 1 if your system has posix_memalign
-+HAS_POSIX_MEMALIGN?=0
-+
- # Current dynamips release
- VERSION_TRAIN=0.2.7
- VERSION_SUB=
-@@ -34,16 +37,17 @@
- -DJIT_ARCH=\"$(DYNAMIPS_ARCH)\" \
- -DARCH_INC_FILE=$(ARCH_INC_FILE) -DDYNAMIPS_VERSION=\"$(VERSION)\" \
- -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE \
-- -DHAS_RFC2553=$(HAS_RFC2553)
-+ -DHAS_RFC2553=$(HAS_RFC2553) -DHAS_POSIX_MEMALIGN=$(HAS_POSIX_MEMALIGN)
-
--PCAP_LIB=/usr/local/lib/libpcap.a
--#PCAP_LIB=-lpcap
-+#PCAP_LIB=/usr/local/lib/libpcap.a
-+PCAP_LIB=-lpcap
-
- ifeq ($(shell uname), FreeBSD)
- PTHREAD_LIBS?=-pthread
-- CFLAGS+=-I/usr/local/include -I/usr/local/include/libelf $(PTHREAD_CFLAGS) \
-+ LOCALBASE?=/usr/local
-+ CFLAGS+=-I$(LOCALBASE)/include -I$(LOCALBASE)/include/libelf $(PTHREAD_CFLAGS) \
- -D_FILE_OFFSET_BITS=64
-- LIBS=-L/usr/local/lib -L. -lelf $(PTHREAD_LIBS)
-+ LIBS=-L$(LOCALBASE)/lib -L. -lelf $(PTHREAD_LIBS) $(LDFLAGS)
- else
- ifeq ($(shell uname), Linux)
- PTHREAD_LIBS?=-lpthread
diff --git a/emulators/dynamips/files/patch-README b/emulators/dynamips/files/patch-README
deleted file mode 100644
index 4b092b6bc69b..000000000000
--- a/emulators/dynamips/files/patch-README
+++ /dev/null
@@ -1,11 +0,0 @@
---- README.orig Fri Apr 6 20:53:59 2007
-+++ README Fri Apr 6 20:57:02 2007
-@@ -50,7 +50,7 @@
- -R <rom_file> : Load an alternate ROM (default: embedded)
- -k <clock_div> : Set the clock divisor (default: 4)
-
-- -T <port> : Console is on TCP <port>
-+ -T [ip_address:]<port> : Console is on TCP <port>
- -U <si_desc> : Console in on serial interface <si_desc>
- (default is on the terminal)
-
diff --git a/emulators/dynamips/files/patch-README.hypervisor b/emulators/dynamips/files/patch-README.hypervisor
deleted file mode 100644
index 6575388ea27d..000000000000
--- a/emulators/dynamips/files/patch-README.hypervisor
+++ /dev/null
@@ -1,11 +0,0 @@
---- README.hypervisor.orig Wed Mar 21 10:00:28 2007
-+++ README.hypervisor Wed Mar 21 10:01:22 2007
-@@ -8,7 +8,7 @@
- Running dynamips in hypervisor mode
- ===================================
-
--dynamips -H <tcp_port>
-+dynamips -H [ip_address:]<tcp_port>
-
- Managing the hypervisor
- =======================
diff --git a/emulators/dynamips/files/patch-dev_vtty.c b/emulators/dynamips/files/patch-dev_vtty.c
deleted file mode 100644
index e99df79b2592..000000000000
--- a/emulators/dynamips/files/patch-dev_vtty.c
+++ /dev/null
@@ -1,33 +0,0 @@
---- dev_vtty.c.orig Fri Apr 6 16:44:07 2007
-+++ dev_vtty.c Fri Apr 6 19:43:37 2007
-@@ -24,6 +24,8 @@
- #include <fcntl.h>
- #include <errno.h>
- #include <assert.h>
-+#include <netinet/in.h>
-+#include <arpa/inet.h>
-
- #include <arpa/telnet.h>
-
-@@ -43,6 +45,8 @@
- #include "dev_c2600.h"
- #include "dev_vtty.h"
-
-+extern char hypervisor_ip_address[];
-+
- /* VTTY list */
- static pthread_mutex_t vtty_list_mutex = PTHREAD_MUTEX_INITIALIZER;
- static vtty_t *vtty_list = NULL;
-@@ -132,7 +136,11 @@
-
- memset(&serv,0,sizeof(serv));
- serv.sin_family = AF_INET;
-- serv.sin_addr.s_addr = htonl(INADDR_ANY);
-+ if (strlen(hypervisor_ip_address) != 0 &&
-+ inet_addr(hypervisor_ip_address) != INADDR_NONE)
-+ serv.sin_addr.s_addr = inet_addr(hypervisor_ip_address);
-+ else
-+ serv.sin_addr.s_addr = htonl(INADDR_ANY);
- serv.sin_port = htons(vtty->tcp_port);
-
- if (bind(vtty->accept_fd,(struct sockaddr *)&serv,sizeof(serv)) < 0) {
diff --git a/emulators/dynamips/files/patch-dynamips.1 b/emulators/dynamips/files/patch-dynamips.1
deleted file mode 100644
index cfa724c388d8..000000000000
--- a/emulators/dynamips/files/patch-dynamips.1
+++ /dev/null
@@ -1,20 +0,0 @@
---- dynamips.1.orig Wed Feb 14 20:37:58 2007
-+++ dynamips.1 Fri Apr 6 20:59:41 2007
-@@ -44,7 +44,7 @@
- .SH OPTIONS
- A summary of options is included below.
- .TP
--.B -H <tcp_port>
-+.B -H [ip_address:]<tcp_port>
- Enable hypervisor mode.
- .br
- The hypervisor mode of dynamips allows you to run simultaneously
-@@ -133,7 +133,7 @@
- The command "show clock" at the IOS' CLI will help you set this value.
-
- .TP
--.B -T <port>
-+.B -T [ip_address:]<port>
- Console is on TCP <port>
- .TP
- .B -U <si_desc>
diff --git a/emulators/dynamips/files/patch-dynamips.c b/emulators/dynamips/files/patch-dynamips.c
deleted file mode 100644
index a2631b8f28be..000000000000
--- a/emulators/dynamips/files/patch-dynamips.c
+++ /dev/null
@@ -1,87 +0,0 @@
---- dynamips.c.orig Wed Feb 14 20:37:58 2007
-+++ dynamips.c Fri Apr 6 21:11:38 2007
-@@ -61,6 +61,7 @@
- /* Hypervisor */
- int hypervisor_mode = 0;
- int hypervisor_tcp_port = 0;
-+char hypervisor_ip_address[263]="\000"; /* 256(MAXHOSTNAMELEN)+1(:)+5(port)+NULL */
-
- /* Log file */
- char *log_file_name = NULL;
-@@ -227,7 +228,7 @@
- printf("Usage: %s [options] <ios_image>\n\n",argv[0]);
-
- printf("Available options:\n"
-- " -H <tcp_port> : Run in hypervisor mode\n\n"
-+ " -H [ip_address:]<tcp_port> : Run in hypervisor mode\n\n"
- " -P <platform> : Platform to emulate (7200, 3600, "
- "2691, 3725 or 3745) "
- "(default: 7200)\n\n"
-@@ -254,7 +255,7 @@
- " -R <rom_file> : Load an alternate ROM (default: embedded)\n"
- " -k <clock_div> : Set the clock divisor (default: %d)\n"
- "\n"
-- " -T <port> : Console is on TCP <port>\n"
-+ " -T [ip_address:]<port> : Console is on TCP <port>\n"
- " -U <si_desc> : Console in on serial interface <si_desc>\n"
- " (default is on the terminal)\n"
- "\n"
-@@ -780,6 +781,7 @@
- int instance_id;
- int res,option;
- char *str;
-+ char *index;
-
- /* Get the instance ID */
- instance_id = 0;
-@@ -944,7 +946,15 @@
- /* TCP server for Console Port */
- case 'T':
- vm->vtty_con_type = VTTY_TYPE_TCP;
-- vm->vtty_con_tcp_port = atoi(optarg);
-+ strncpy(hypervisor_ip_address,optarg,sizeof(hypervisor_ip_address));
-+ index=strrchr(hypervisor_ip_address,':');
-+ if (index != NULL) {
-+ *index++='\000';
-+ vm->vtty_con_tcp_port = atoi(index);
-+ } else {
-+ vm->vtty_con_tcp_port = atoi(hypervisor_ip_address);
-+ hypervisor_ip_address[0]='\000';
-+ }
- break;
-
- /* Serial interface for Console port */
-@@ -1061,6 +1071,7 @@
- static int run_hypervisor(int argc,char *argv[])
- {
- char *options_list = "H:l:hN:";
-+ char *index;
- int i,option;
-
- for(i=1;i<argc;i++)
-@@ -1079,7 +1090,15 @@
- {
- /* Hypervisor TCP port */
- case 'H':
-- hypervisor_tcp_port = atoi(optarg);
-+ strncpy(hypervisor_ip_address,optarg,sizeof(hypervisor_ip_address));
-+ index=strrchr(hypervisor_ip_address,':');
-+ if (index != NULL) {
-+ *index++='\000';
-+ hypervisor_tcp_port = atoi(index);
-+ } else {
-+ hypervisor_tcp_port = atoi(hypervisor_ip_address);
-+ hypervisor_ip_address[0]='\000';
-+ }
- break;
-
- /* Log file */
-@@ -1244,7 +1263,7 @@
- /* Free resources used by instance */
- vm_release(vm);
- } else {
-- hypervisor_tcp_server(hypervisor_tcp_port);
-+ hypervisor_tcp_server(hypervisor_ip_address,hypervisor_tcp_port);
- }
-
- dynamips_reset();
diff --git a/emulators/dynamips/files/patch-gen_eth.c b/emulators/dynamips/files/patch-gen_eth.c
deleted file mode 100644
index 97f60cdd3222..000000000000
--- a/emulators/dynamips/files/patch-gen_eth.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- gen_eth.c.orig 2007-05-26 18:52:33.000000000 +0900
-+++ gen_eth.c 2009-07-21 03:18:35.194759073 +0900
-@@ -22,6 +22,7 @@
- #include <sys/types.h>
- #include <sys/socket.h>
- #include <sys/wait.h>
-+#include <sys/ioctl.h>
- #include <netinet/in.h>
- #include <arpa/inet.h>
- #include <pthread.h>
-@@ -45,8 +46,13 @@
- if (!(p = pcap_open_live(device,2048,TRUE,10,pcap_errbuf)))
- goto pcap_error;
-
-- /* Accept only incoming packets */
-- pcap_setdirection(p,PCAP_D_IN);
-+ pcap_setdirection(p,PCAP_D_INOUT);
-+#ifdef BIOCFEEDBACK
-+ {
-+ int on = 1;
-+ ioctl(pcap_fileno(p), BIOCFEEDBACK, &on);
-+ }
-+#endif
- #else
- p = pcap_open(device,2048,
- PCAP_OPENFLAG_PROMISCUOUS |
diff --git a/emulators/dynamips/files/patch-hypervisor.c b/emulators/dynamips/files/patch-hypervisor.c
deleted file mode 100644
index d3e5cbf09360..000000000000
--- a/emulators/dynamips/files/patch-hypervisor.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- hypervisor.c.orig Wed Mar 21 11:11:12 2007
-+++ hypervisor.c Wed Mar 21 11:29:55 2007
-@@ -535,7 +535,7 @@
- }
-
- /* Hypervisor TCP server */
--int hypervisor_tcp_server(int tcp_port)
-+int hypervisor_tcp_server(char* ip_address,int tcp_port)
- {
- int fd_array[HYPERVISOR_MAX_FD];
- struct sockaddr_storage remote_addr;
-@@ -565,7 +565,7 @@
- if (!tcp_port)
- tcp_port = HYPERVISOR_TCP_PORT;
-
-- fd_count = ip_listen(tcp_port,SOCK_STREAM,HYPERVISOR_MAX_FD,fd_array);
-+ fd_count = ip_listen(ip_address,tcp_port,SOCK_STREAM,HYPERVISOR_MAX_FD,fd_array);
-
- if (fd_count <= 0) {
- fprintf(stderr,"Hypervisor: unable to create TCP sockets.\n");
diff --git a/emulators/dynamips/files/patch-hypervisor.h b/emulators/dynamips/files/patch-hypervisor.h
deleted file mode 100644
index 2b7458bd5aaf..000000000000
--- a/emulators/dynamips/files/patch-hypervisor.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- hypervisor.h.orig Wed Mar 21 10:58:06 2007
-+++ hypervisor.h Wed Mar 21 11:09:40 2007
-@@ -136,6 +136,6 @@
- int hypervisor_stopsig(void);
-
- /* Hypervisor TCP server */
--int hypervisor_tcp_server(int tcp_port);
-+int hypervisor_tcp_server(char *ip_address,int tcp_port);
-
- #endif
diff --git a/emulators/dynamips/files/patch-hypervisor_mode.7 b/emulators/dynamips/files/patch-hypervisor_mode.7
deleted file mode 100644
index d11ced491f95..000000000000
--- a/emulators/dynamips/files/patch-hypervisor_mode.7
+++ /dev/null
@@ -1,11 +0,0 @@
---- hypervisor_mode.7.orig Wed Mar 21 11:02:14 2007
-+++ hypervisor_mode.7 Wed Mar 21 11:02:40 2007
-@@ -5,7 +5,7 @@
- or Frame-Relay networks.
- .SH SYNOPSIS
- .B dynamips -H
--\fItcp_port\fP
-+\fI[ip_address:]tcp_port\fP
-
- .SH DESCRIPTION
- You can connect directly to the TCP control port with telnet, or use
diff --git a/emulators/dynamips/files/patch-net.c b/emulators/dynamips/files/patch-net.c
deleted file mode 100644
index 88746365ed8f..000000000000
--- a/emulators/dynamips/files/patch-net.c
+++ /dev/null
@@ -1,46 +0,0 @@
---- net.c.orig 2007-05-26 18:52:33.000000000 +0900
-+++ net.c 2009-07-21 03:16:45.891581213 +0900
-@@ -208,6 +208,7 @@
- addr->eth_addr_byte[3] = v[1] & 0xFF;
- addr->eth_addr_byte[4] = (v[2] >> 8) & 0xFF;
- addr->eth_addr_byte[5] = v[2] & 0xFF;
-+ return(0);
- }
-
- return(-1);
-@@ -353,7 +354,7 @@
-
- #if HAS_RFC2553
- /* Listen on the specified port */
--int ip_listen(int port,int sock_type,int max_fd,int fd_array[])
-+int ip_listen(char *ip_address,int port,int sock_type,int max_fd,int fd_array[])
- {
- struct addrinfo hints,*res,*res0;
- char port_str[20];
-@@ -370,7 +371,7 @@
-
- snprintf(port_str,sizeof(port_str),"%d",port);
-
-- if ((error = getaddrinfo(NULL,port_str,&hints,&res0)) != 0) {
-+ if ((error = getaddrinfo((strlen(ip_address)==0)?NULL:ip_address,port_str,&hints,&res0)) != 0) {
- fprintf(stderr,"ip_listen: %s", gai_strerror(error));
- return(-1);
- }
-@@ -405,7 +406,7 @@
- }
- #else
- /* Listen on the specified port */
--int ip_listen(int port,int sock_type,int max_fd,int fd_array[])
-+int ip_listen(char *ip_address,int port,int sock_type,int max_fd,int fd_array[])
- {
- struct sockaddr_in sin;
- int i,sck,reuse=1;
-@@ -422,6 +423,8 @@
- memset(&sin,0,sizeof(sin));
- sin.sin_family = PF_INET;
- sin.sin_port = htons(port);
-+ if (strlen(ip_address) != 0 && inet_addr(ip_address) != INADDR_NONE)
-+ sin.sin_addr = inet_addr(ip_address);
-
- setsockopt(fd_array[0],SOL_SOCKET,SO_REUSEADDR,&reuse,sizeof(reuse));
-
diff --git a/emulators/dynamips/files/patch-net.h b/emulators/dynamips/files/patch-net.h
deleted file mode 100644
index c464eda2bac6..000000000000
--- a/emulators/dynamips/files/patch-net.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- net.h.orig Wed Mar 21 11:32:05 2007
-+++ net.h Wed Mar 21 11:33:28 2007
-@@ -218,6 +218,6 @@
- int udp_connect(int local_port,char *remote_host,int remote_port);
-
- /* Listen on the specified port */
--int ip_listen(int port,int sock_type,int max_fd,int fd_array[]);
-+int ip_listen(char *ip_address,int port,int sock_type,int max_fd,int fd_array[]);
-
- #endif
diff --git a/emulators/dynamips/files/patch-nvram_export.1 b/emulators/dynamips/files/patch-nvram_export.1
deleted file mode 100644
index 477b8b7e65d1..000000000000
--- a/emulators/dynamips/files/patch-nvram_export.1
+++ /dev/null
@@ -1,11 +0,0 @@
---- nvram_export.1.orig Thu May 3 12:46:51 2007
-+++ nvram_export.1 Thu May 3 12:47:10 2007
-@@ -13,7 +13,7 @@
- Please send bug reports to http://www.ipflow.utc.fr/bts/
- .SH SEE ALSO
- .br
--\fBdynmips\fP(1), \fBhypervisor_mode\fP(7)
-+\fBdynamips\fP(1), \fBhypervisor_mode\fP(7)
- .br
- .UR
- http://www.ipflow.utc.fr/index.php/
diff --git a/emulators/dynamips/files/patch-utils.c b/emulators/dynamips/files/patch-utils.c
deleted file mode 100644
index 970f89eb2e78..000000000000
--- a/emulators/dynamips/files/patch-utils.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- utils.c.orig Wed Mar 8 22:53:21 2006
-+++ utils.c Wed Mar 8 22:53:37 2006
-@@ -187,7 +187,7 @@
- {
- void *p;
-
--#ifdef __linux__
-+#if defined(__linux__) || HAS_POSIX_MEMALIGN
- if (posix_memalign((void *)&p,boundary,size))
- #else
- #ifdef __CYGWIN__
diff --git a/emulators/dynamips/files/patch-utils.h b/emulators/dynamips/files/patch-utils.h
deleted file mode 100644
index f3219655f78b..000000000000
--- a/emulators/dynamips/files/patch-utils.h
+++ /dev/null
@@ -1,20 +0,0 @@
---- utils.h.orig Wed Feb 14 20:37:58 2007
-+++ utils.h Tue Feb 20 18:56:54 2007
-@@ -12,6 +12,8 @@
- #include <sys/time.h>
- #include <time.h>
- #include <netinet/in.h>
-+#include <pthread.h>
-+#include <signal.h>
-
- /* True/False definitions */
- #ifndef FALSE
-@@ -35,6 +37,8 @@
- #elif defined(__i386) || defined(__i386__) || defined(i386)
- #define ARCH_BYTE_ORDER ARCH_LITTLE_ENDIAN
- #elif defined(__x86_64__)
-+#define ARCH_BYTE_ORDER ARCH_LITTLE_ENDIAN
-+#elif defined(__ia64__)
- #define ARCH_BYTE_ORDER ARCH_LITTLE_ENDIAN
- #endif
-
diff --git a/emulators/dynamips/pkg-descr b/emulators/dynamips/pkg-descr
deleted file mode 100644
index 95f5c789459f..000000000000
--- a/emulators/dynamips/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-Cisco 3600/7200 simulator.
-
-WWW: http://www.ipflow.utc.fr/index.php/Cisco_7200_Simulator
- http://www.ipflow.utc.fr/blog/
- http://hacki.at/7200emu/index.php
diff --git a/emulators/minivmac/Makefile b/emulators/minivmac/Makefile
deleted file mode 100644
index bb7812b27320..000000000000
--- a/emulators/minivmac/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-# Created by: Marc Fonvieille <blackend@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= minivmac
-PORTVERSION= 3.0.0
-CATEGORIES= emulators
-MASTER_SITES= SF
-DISTFILES= ${DISTNAME}.src${EXTRACT_SUFX} \
- ${DISTNAME}.prj${EXTRACT_SUFX}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Miniature Macintosh emulator
-
-BROKEN= unfetchable
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2016-07-04
-
-LICENSE= GPLv2
-
-WRKSRC= ${WRKDIR}/projects/bgclx86d
-
-USE_XORG= x11 xext
-USES= gmake tar:tgz
-CFLAGS+= -I${LOCALBASE}/include
-ALL_TARGET= # nothing
-
-PLIST_FILES= bin/minivmac
-
-post-patch:
- @${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|; s|gcc|${CC}|' \
- ${WRKSRC}/Makefile
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/minivmac ${STAGEDIR}${PREFIX}/bin
-
-.include <bsd.port.mk>
diff --git a/emulators/minivmac/distinfo b/emulators/minivmac/distinfo
deleted file mode 100644
index c1e9f0227627..000000000000
--- a/emulators/minivmac/distinfo
+++ /dev/null
@@ -1,4 +0,0 @@
-SHA256 (minivmac-3.0.0.src.tgz) = 9878fed94a0b9d02dbcb4add21533dd2b7b14b5bf1ed3720ba1809912f457998
-SIZE (minivmac-3.0.0.src.tgz) = 221288
-SHA256 (minivmac-3.0.0.prj.tgz) = 690b4d678ac64dc3dd0f8dcf31ede3884910009f4e99602f2ba343332984e756
-SIZE (minivmac-3.0.0.prj.tgz) = 23418
diff --git a/emulators/minivmac/files/patch-Makefile b/emulators/minivmac/files/patch-Makefile
deleted file mode 100644
index 42e703a3dd30..000000000000
--- a/emulators/minivmac/files/patch-Makefile
+++ /dev/null
@@ -1,13 +0,0 @@
---- Makefile.orig Sat Mar 31 18:39:10 2007
-+++ Makefile Sat Mar 31 18:40:08 2007
-@@ -13,8 +13,8 @@
- mk_lang_d = $(mk_source_d)language/
- mk_lang_src_d = $(mk_lang_d)eng/
-
--mk_CallC = gcc
--mk_COptions = -c -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-uninitialized -Os -I$(mk_config_d)
-+mk_CallC = cc
-+mk_COptions = -c $(CFLAGS) -I$(mk_config_d)
-
- TheApplication : $(mk_built_program)
-
diff --git a/emulators/minivmac/pkg-descr b/emulators/minivmac/pkg-descr
deleted file mode 100644
index 97565a84baef..000000000000
--- a/emulators/minivmac/pkg-descr
+++ /dev/null
@@ -1,9 +0,0 @@
-Mini vMac is a minor spin off of the program vMac. Its goal is to
-provide the simplest usable emulation of a Macintosh, instead of
-the fastest or most usable emulation. It can serve as a programmers
-introduction to vMac, having only about one tenth as much source
-code.
-
-Mini vMac, like vMac, emulates an Apple Macintosh Plus(tm).
-
-WWW: http://minivmac.sourceforge.net/
diff --git a/emulators/minivmac/pkg-message b/emulators/minivmac/pkg-message
deleted file mode 100644
index 3053b298e1de..000000000000
--- a/emulators/minivmac/pkg-message
+++ /dev/null
@@ -1,6 +0,0 @@
- - ----------------------------------------------------------------- -
- - -
- - You need to obtain a Mac Plus ROM file to use Mini vMac. -
- - Instructions can be found on vMac Website: http://www.vmac.org/ -
- - -
- - ----------------------------------------------------------------- -
diff --git a/emulators/sim6811/Makefile b/emulators/sim6811/Makefile
deleted file mode 100644
index 26f8ea366036..000000000000
--- a/emulators/sim6811/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-# Created by: erich@rrnet.com
-# $FreeBSD$
-
-PORTNAME= sim6811
-PORTVERSION= 1.6
-PORTREVISION= 2
-CATEGORIES= emulators
-MASTER_SITES= ftp://ftp.SpringDaemons.com/soft/
-DISTNAME= sim
-EXTRACT_SUFX= .tar.Z
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Motorola 6811 simulator
-
-BROKEN= unfetchable
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2016-07-04
-
-NO_WRKSUBDIR= yes
-
-ALL_TARGET= sim
-
-PLIST_FILES= bin/sim6811 man/man1/sim6811.1.gz
-
-post-patch:
- @${REINPLACE_CMD} -e \
- 's|^CC =|CC ?=| ; \
- s|^CFLAGS =|#CFLAGS =| ; \
- s|-O2|| ; \
- s|-o sim |-o sim6811 |' ${WRKSRC}/Makefile
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/sim6811 ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/sim6811.1 ${STAGEDIR}${MANPREFIX}/man/man1
-
-.include <bsd.port.mk>
diff --git a/emulators/sim6811/distinfo b/emulators/sim6811/distinfo
deleted file mode 100644
index 3c427d5880c0..000000000000
--- a/emulators/sim6811/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (sim.tar.Z) = 44b029462d8f3bfd7e6bc3d63cb590760269c98f3b8b3c9d3342d18cb85b7e88
-SIZE (sim.tar.Z) = 29193
diff --git a/emulators/sim6811/files/patch-main.c b/emulators/sim6811/files/patch-main.c
deleted file mode 100644
index 4553b0f45d3c..000000000000
--- a/emulators/sim6811/files/patch-main.c
+++ /dev/null
@@ -1,37 +0,0 @@
---- main.c.orig Tue Mar 22 17:16:59 1994
-+++ main.c Tue Aug 10 21:28:07 2004
-@@ -70,13 +70,6 @@
- #include <ctype.h>
- #include "sim.h"
-
--extern int printf();
--extern int fprintf();
--extern int fclose();
--extern int fscanf();
--extern int sscanf();
--extern int fflush();
--
- /* how to handle all other op codes */
- void bad_op(m6811 state)
- {
-@@ -323,19 +316,7 @@
-
- case '?': /* help */
- (void) fgets(line, sizeof(line), stdin);
-- printf(
-- "
--
-- (empty line) step once
--s [n] step n times
--b [add [n]] set break at add which will survive n hits
--g [add [n]] set pc to add, step n times
--l [add [n]] list n lines of disassembly starting from pc
--m add n set specified memory location to n
--R Reset memory, regs and reload code
--t [add [n]] set temporary break at add which will survive n hits
--q or EOF exit simulator
--? print this list\n\n");
-+ printf("\n\n (empty line) step once\ns [n] step n times\nb [add [n]] set break at add which will survive n hits\ng [add [n]] set pc to add, step n times\nl [add [n]] list n lines of disassembly starting from pc\nm add n set specified memory location to n\nR Reset memory, regs and reload code\nt [add [n]] set temporary break at add which will survive n hits\nq or EOF exit simulator\n? print this list\n\n");
- printf("hit return to continue");
- fflush(stdout);
- fgets(line, sizeof(line), stdin);
diff --git a/emulators/sim6811/files/patch-sim6811.1 b/emulators/sim6811/files/patch-sim6811.1
deleted file mode 100644
index 58b932f662ee..000000000000
--- a/emulators/sim6811/files/patch-sim6811.1
+++ /dev/null
@@ -1,76 +0,0 @@
-*** sim6811.1~ Wed Sep 6 10:58:03 1995
---- sim6811.1 Wed Sep 6 10:59:11 1995
-***************
-*** 0 ****
---- 1,71 ----
-+ .Dd June 5, 1993
-+ .Dt sim6811 1
-+ .Os BSD 4
-+ .Sh NAME
-+ .Nm sim6811
-+ .Nd very simple and crude simulator for the 6811
-+ .Sh SYNOPSIS
-+ .Nm sim6811
-+ .Ar s19-file
-+ .Sh DESCRIPTION
-+ .Ar s19-file
-+ is a Motorola s19 assembler output file
-+
-+ some instructions aren't there yet (notably converning multiplication
-+ and interrupts) and the interface only allows stepping. this should
-+ be easily rectifiable, however, and the simple structure should make
-+ grafting on a graphical interface quite simple.
-+
-+ to run the simulator, just provide the name of an object file on the
-+ command line. the object file must be in s19 format, and must include
-+ a reset vector in order to tell the simulator where to start
-+ execution. simulation proceeds one instruction at a time, with a
-+ register and page zero memory dump being performed at each step.
-+
-+ several simple commands are supported, but additional commands to
-+ modify memory, cause interrupts and simulate the special registers
-+ would all be nice, and relatively easy to add.
-+
-+ .Sh COMMANDS
-+
-+ The current
-+ .Nm sim6811
-+ command set includes
-+
-+ .Bl -tag -width Ds
-+
-+ .Nm l [address [n]]
-+ .br
-+ .ti 8
-+ disassemble n instructions starting at address
-+
-+ .Nm g [address [n]]
-+ .br
-+ .ti 8
-+ go starting at address for n steps.
-+
-+ .Nm s [n]
-+ .br
-+ .ti 8
-+ step n times (n=1 default)
-+
-+ .Nm b [address[cnt]]
-+ .br
-+ .ti 8
-+ set a breakpoint, which will stop cnt times
-+
-+ .Nm t [address[cnt]]
-+ .br
-+ .ti 8
-+ set a temporary breakpoint.
-+
-+ .Nm <empty-line>
-+ .br
-+ .ti 8
-+ step once
-+
-+ .Sh HISTORY
-+ .Nm sim6811
-+ was written by Ted Dunning <ted@nmsu.edu>. This manual page was created out of
-+ various C-sources by Eric L. Hernes <erich@rrnet.com>. Some example sources
-+ and s19 files can be found in ftp://crl.nmsu.edu/pub/non-lexical/6811
diff --git a/emulators/sim6811/pkg-descr b/emulators/sim6811/pkg-descr
deleted file mode 100644
index 4589e92990f3..000000000000
--- a/emulators/sim6811/pkg-descr
+++ /dev/null
@@ -1,13 +0,0 @@
-from main.c:
-
- very simple and crude simulator for the 6811
-
- some instructions aren't there yet (notably converning multiplication
- and interrupts) and the interface only allows stepping. this should
- be easily rectifiable, however, and the simple structure should make
- grafting on a graphical interface quite simple.
-
-I am calling this version 1.6, to reflect the revision number of
-sim.h, which appears to be common to all (three) source files.
-
-eric.