pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/simh Update simh to 3.3.0. Too many new feat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ea3a4d295bcb
branches:  trunk
changeset: 486097:ea3a4d295bcb
user:      skrll <skrll%pkgsrc.org@localhost>
date:      Wed Dec 22 21:07:01 2004 +0000

description:
Update simh to 3.3.0. Too many new features and bug fixes to list here.

diffstat:

 emulators/simh/Makefile         |   6 ++--
 emulators/simh/PLIST            |  10 ++++++--
 emulators/simh/distinfo         |  12 +++++-----
 emulators/simh/patches/patch-aa |  37 ++++++++++++++++++++++++-----------
 emulators/simh/patches/patch-ab |  42 ++++++++++++++++++++++++++++++++++------
 emulators/simh/patches/patch-ac |   8 +++---
 6 files changed, 80 insertions(+), 35 deletions(-)

diffs (229 lines):

diff -r 0583cfd9f18e -r ea3a4d295bcb emulators/simh/Makefile
--- a/emulators/simh/Makefile   Wed Dec 22 18:36:50 2004 +0000
+++ b/emulators/simh/Makefile   Wed Dec 22 21:07:01 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.17 2004/01/20 12:14:41 agc Exp $
+# $NetBSD: Makefile,v 1.18 2004/12/22 21:07:01 skrll Exp $
 #
 
-DISTNAME=      simhv30-2
-PKGNAME=       simh-3.0.2
+DISTNAME=      simhv33-0
+PKGNAME=       simh-3.3.0
 CATEGORIES=    emulators
 MASTER_SITES=  http://simh.trailing-edge.com/sources/
 EXTRACT_SUFX=  .zip
diff -r 0583cfd9f18e -r ea3a4d295bcb emulators/simh/PLIST
--- a/emulators/simh/PLIST      Wed Dec 22 18:36:50 2004 +0000
+++ b/emulators/simh/PLIST      Wed Dec 22 21:07:01 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2003/09/26 21:36:11 jmmv Exp $
+@comment $NetBSD: PLIST,v 1.8 2004/12/22 21:07:01 skrll Exp $
 bin/simh-altair
 bin/simh-altairz80
 bin/simh-eclipse
@@ -10,6 +10,7 @@
 bin/simh-ibm1130
 bin/simh-id16
 bin/simh-id32
+bin/simh-lgp
 bin/simh-nova
 bin/simh-pdp1
 bin/simh-pdp10
@@ -22,10 +23,10 @@
 bin/simh-s3
 bin/simh-sds
 bin/simh-vax
-share/doc/simh/0readme_30.txt
+share/doc/simh/0readme_33.txt
 share/doc/simh/0readme_ethernet.txt
 share/doc/simh/altair.txt
-share/doc/simh/altairz80.txt
+share/doc/simh/altairz80_doc.txt
 share/doc/simh/eclipse.txt
 share/doc/simh/gri_doc.txt
 share/doc/simh/h316_doc.txt
@@ -36,10 +37,12 @@
 share/doc/simh/i1620_doc.txt
 share/doc/simh/id_diag.txt
 share/doc/simh/id_doc.txt
+share/doc/simh/lgp_doc.txt
 share/doc/simh/nova_doc.txt
 share/doc/simh/pdp10_diag.txt
 share/doc/simh/pdp10_doc.txt
 share/doc/simh/pdp11_doc.txt
+share/doc/simh/pdp18b_diag.txt
 share/doc/simh/pdp18b_doc.txt
 share/doc/simh/pdp1_doc.txt
 share/doc/simh/pdp8_doc.txt
@@ -52,6 +55,7 @@
 share/doc/simh/simh_faq.txt
 share/doc/simh/simh_swre.txt
 share/doc/simh/system3.txt
+share/doc/simh/vax780_doc.txt
 share/doc/simh/vax_doc.txt
 share/simh/ka655.bin
 @dirrm share/simh
diff -r 0583cfd9f18e -r ea3a4d295bcb emulators/simh/distinfo
--- a/emulators/simh/distinfo   Wed Dec 22 18:36:50 2004 +0000
+++ b/emulators/simh/distinfo   Wed Dec 22 21:07:01 2004 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.10 2003/09/26 21:36:11 jmmv Exp $
+$NetBSD: distinfo,v 1.11 2004/12/22 21:07:01 skrll Exp $
 
-SHA1 (simhv30-2.zip) = 539822d9c3c87a49483c3a14310a02bee1372c09
-Size (simhv30-2.zip) = 1757964 bytes
-SHA1 (patch-aa) = caa25e4f265d03f65347a2e873e0e736baa43750
-SHA1 (patch-ab) = 97d66b3fcf79c51feb54a6cba3cdc3f58d15eb3f
-SHA1 (patch-ac) = 1366392ef1fcdf8de64d8606fde10df20212b49a
+SHA1 (simhv33-0.zip) = 99a021afe2fd8dfb32bb479e383347e2b883e0f9
+Size (simhv33-0.zip) = 2153444 bytes
+SHA1 (patch-aa) = a1c1e10f81b5883c5388084d1b9f31d3560353fe
+SHA1 (patch-ab) = aff84028d4184b773b2bd4ebf2ee166357f18924
+SHA1 (patch-ac) = 0f1ddee6f69c0337c8ea02cf24ed6fdecc0ca1f4
diff -r 0583cfd9f18e -r ea3a4d295bcb emulators/simh/patches/patch-aa
--- a/emulators/simh/patches/patch-aa   Wed Dec 22 18:36:50 2004 +0000
+++ b/emulators/simh/patches/patch-aa   Wed Dec 22 21:07:01 2004 +0000
@@ -1,28 +1,41 @@
-$NetBSD: patch-aa,v 1.6 2003/05/31 16:10:53 thorpej Exp $
+$NetBSD: patch-aa,v 1.7 2004/12/22 21:07:01 skrll Exp $
 
---- Makefile.orig      2003-03-02 15:44:14.000000000 -0800
-+++ Makefile   2003-05-31 08:55:03.000000000 -0700
-@@ -3,24 +3,24 @@
+--- Makefile.orig      2004-10-30 18:32:50.000000000 +0100
++++ Makefile
+@@ -3,28 +3,30 @@
  # Note: -O2 is sometimes broken in GCC when setjump/longjump is being
  # used. Try -O2 only with released simulators.
  #
 -ifeq ($(WIN32),)
 +#ifeq ($(WIN32),)
  #Unix Environments
- CC = gcc -O2 -lm -I . 
- #CC = gcc -O2 -g -lm -I . 
+-ifeq ($(OSTYPE),solaris)
+-OS_CCDEFS = -lsocket -lnsl -lpthread -D_GNU_SOURCE
+-else
+-OS_CCDEFS = -D_GNU_SOURCE
+-endif
+-CC = gcc -std=c99 -O2 -U__STRICT_ANSI__ -g -lm $(OS_CCDEFS) -I .
 -ifeq ($(USE_NETWORK),)
 -else
+-NETWORK_OPT = -DUSE_NETWORK -isystem /usr/local/include /usr/local/lib/libpcap.a
+-endif
+-else
++#ifeq ($(OSTYPE),solaris)
++#OS_CCDEFS = -lsocket -lnsl -lpthread -D_GNU_SOURCE
++#else
++#OS_CCDEFS = -D_GNU_SOURCE
++#endif
++#CC = gcc -std=c99 -O2 -U__STRICT_ANSI__ -g -lm $(OS_CCDEFS) -I .
++CC = gcc -O2 -g -lm -I . -DDONT_USE_PCAP_FINDALLDEVS -DNEED_PCAP_SENDPACKET
 +#ifeq ($(USE_NETWORK),)
 +#else
- NETWORK_OPT = -DUSE_NETWORK -lpcap
--endif
--else
++#NETWORK_OPT = -DUSE_NETWORK -isystem /usr/local/include /usr/local/lib/libpcap.a
++NETWORK_OPT = -DUSE_NETWORK -lpcap
 +#endif
 +#else
  #Win32 Environments
 -LDFLAGS = -lm -lwsock32
--CC = gcc -O0 -I.
+-CC = gcc -std=c99 -U__STRICT_ANSI__ -O0 -I.
 -EXE = .exe
 -ifeq ($(USE_NETWORK),)
 -else
@@ -30,7 +43,7 @@
 -endif
 -endif
 +#LDFLAGS = -lm -lwsock32
-+#CC = gcc -O0 -I.
++#CC = gcc -std=c99 -U__STRICT_ANSI__ -O0 -I.
 +#EXE = .exe
 +#ifeq ($(USE_NETWORK),)
 +#else
@@ -40,7 +53,7 @@
  
  
  #
-@@ -223,11 +223,11 @@
+@@ -252,11 +254,11 @@ ALL = ${BIN}pdp1${EXE} ${BIN}pdp4${EXE} 
  all : ${ALL}
  
  clean :
diff -r 0583cfd9f18e -r ea3a4d295bcb emulators/simh/patches/patch-ab
--- a/emulators/simh/patches/patch-ab   Wed Dec 22 18:36:50 2004 +0000
+++ b/emulators/simh/patches/patch-ab   Wed Dec 22 21:07:01 2004 +0000
@@ -1,11 +1,27 @@
-$NetBSD: patch-ab,v 1.4 2003/05/31 16:10:53 thorpej Exp $
+$NetBSD: patch-ab,v 1.5 2004/12/22 21:07:01 skrll Exp $
 
---- sim_ether.c.orig   2003-01-16 09:45:04.000000000 -0800
-+++ sim_ether.c        2003-05-31 08:51:54.000000000 -0700
-@@ -383,6 +383,14 @@
-     /* set data in passed read packet */
+--- sim_ether.c.orig   2004-03-31 13:38:58.000000000 +0100
++++ sim_ether.c
+@@ -830,6 +830,15 @@ void eth_callback(u_char* info, const st
+     tmp_packet.len = header->len;
+     memcpy(tmp_packet.msg, data, header->len);
+ 
++    /*
++     * Pad packet to minimum ethernet len, in case it comes from the local
++     * host.
++     */
++    if (header->len < 60) {
++        tmp_packet.len = 60;
++        memset(dev->read_packet->msg + header->len, 0, 60 - header->len);
++    }
++
+     eth_packet_trace (dev, tmp_packet.msg, tmp_packet.len, "rcvqd");
+ 
+     pthread_mutex_lock (&dev->lock);
+@@ -840,6 +849,15 @@ void eth_callback(u_char* info, const st
      dev->read_packet->len = header->len;
      memcpy(dev->read_packet->msg, data, header->len);
+ 
 +    /*
 +     * Pad packet to minimum ethernet len, in case it comes from the local
 +     * host.
@@ -14,6 +30,18 @@
 +        dev->read_packet->len = 60;
 +        memset(dev->read_packet->msg + header->len, 0, 60 - header->len);
 +    }
++
+     eth_packet_trace (dev, dev->read_packet->msg, dev->read_packet->len, "reading");
  
- #ifdef ETH_DEBUG
-     eth_packet_trace (dev->read_packet, "reading");
+     /* call optional read callback function */
+@@ -1080,8 +1098,10 @@ int eth_host_devices(int used, int max, 
+ 
+ int eth_devices(int max, ETH_LIST* list)
+ {
++#ifndef DONT_USE_PCAP_FINDALLDEVS
+   pcap_if_t* alldevs;
+   pcap_if_t* dev;
++#endif
+   int i = 0;
+   char errbuf[PCAP_ERRBUF_SIZE];
+ 
diff -r 0583cfd9f18e -r ea3a4d295bcb emulators/simh/patches/patch-ac
--- a/emulators/simh/patches/patch-ac   Wed Dec 22 18:36:50 2004 +0000
+++ b/emulators/simh/patches/patch-ac   Wed Dec 22 21:07:01 2004 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-ac,v 1.3 2003/09/26 21:36:11 jmmv Exp $
+$NetBSD: patch-ac,v 1.4 2004/12/22 21:07:01 skrll Exp $
 
---- scp.c.orig Thu Sep 11 17:24:08 2003
-+++ scp.c
-@@ -3731,13 +3731,13 @@ for (i = 0; i < sec; i++) {                            /* loop *
+--- sim_console.c.orig 2004-11-05 19:39:24.000000000 +0000
++++ sim_console.c
+@@ -347,13 +347,13 @@ for (i = 0; i < sec; i++) {                              /* loop *
        if (tmxr_poll_conn (&sim_con_tmxr) >= 0) {      /* poll connect */
            sim_con_ldsc.rcve = 1;                      /* rcv enabled */
            if (i) {                                    /* if delayed */



Home | Main Index | Thread Index | Old Index