pkgsrc-WIP-changes archive

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

klh10: updated version of emulators/klh10



Module Name:	pkgsrc-wip
Committed By:	Olaf Seibert <rhialto%falu.nl@localhost>
Pushed By:	rhialto
Date:		Mon Jan 3 21:01:49 2022 +0100
Changeset:	b8bb0c10975ee292d6ac4768be2913e47d95c7a5

Modified Files:
	Makefile
Added Files:
	klh10/DESCR
	klh10/MESSAGE
	klh10/Makefile
	klh10/PLIST
	klh10/TODO
	klh10/distinfo

Log Message:
klh10: updated version of emulators/klh10

but there are some loose ends...

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b8bb0c10975ee292d6ac4768be2913e47d95c7a5

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile       |   1 +
 klh10/DESCR    |   4 +++
 klh10/MESSAGE  |  21 ++++++++++++
 klh10/Makefile |  49 +++++++++++++++++++++++++++
 klh10/PLIST    | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 klh10/TODO     |   4 +++
 klh10/distinfo |   5 +++
 7 files changed, 187 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index fe24045008..fb3f4bb431 100644
--- a/Makefile
+++ b/Makefile
@@ -1941,6 +1941,7 @@ SUBDIR+=	kivaloo
 SUBDIR+=	klatexformula
 SUBDIR+=	klayout
 SUBDIR+=	kleopatra
+SUBDIR+=	klh10
 SUBDIR+=	kmail
 SUBDIR+=	kmail-account-wizard
 SUBDIR+=	kmailtransport
diff --git a/klh10/DESCR b/klh10/DESCR
new file mode 100644
index 0000000000..bdf52e0a80
--- /dev/null
+++ b/klh10/DESCR
@@ -0,0 +1,4 @@
+PDP-10 emulator, models KS, KS-its and KL. KL10B model supports extended
+addressing.
+See http://panda.trailing-edge.com/ for a the Panda TOPS-20 distribution.
+See PREFIX/share/klh10/usage.txt for usage information.
diff --git a/klh10/MESSAGE b/klh10/MESSAGE
new file mode 100644
index 0000000000..a0914c86d7
--- /dev/null
+++ b/klh10/MESSAGE
@@ -0,0 +1,21 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2013/10/17 15:41:09 ryoon Exp $
+
+To boot TOPS-20 with TCP/IP support, you will need to perform the
+following steps.
+
+In detail see ${PREFIX}/share/klh10/klt20.txt for TOPS-20 installation, and
+http://bitsavers.trailing-edge.com/pdf/dec/pdp10/TOPS20/V7/INSTALL.MEM.txt
+for TCP/IP installation.
+
+In short, you should download the following magtape images from
+http://pdp-10.trailing-edge.com/tapes/ .
+bb-h137f-bm.tap.bz2 for TOPS-20, and bb-ev83b-bm_longer.tap.bz2 for TCP/IP.
+
+To run kn10-kl command, you should copy all binary in
+${PREFIX}/share/klh10/bin to your TOPS-10 directory. And run
+./kn10-kl configfile.ini .
+
+To enable tap networking support, kn10-kl command may be run with root
+privilege.
+===========================================================================
diff --git a/klh10/Makefile b/klh10/Makefile
new file mode 100644
index 0000000000..a82187b323
--- /dev/null
+++ b/klh10/Makefile
@@ -0,0 +1,49 @@
+# $NetBSD$
+
+DISTNAME=	klh10-2.0
+PKGNAME=	klh10-2.0.12.2021.08.19
+CATEGORIES=	emulators
+MASTER_SITES=	${MASTER_SITE_GITHUB:=PDP-10/}
+GITHUB_PROJECT= klh10
+GITHUB_TAG=	c92bb5f10426f24cdeadd27651c5d068ef7a4230
+
+# TODO: also fetch this file
+#DISTFILES+=	panda-dist.tar.gz
+#MASTER_SITE.panda-dist.tar.gz = http://panda.trailing-edge.com/
+
+MAINTAINER=	rhialto%NetBSD.org@localhost
+HOMEPAGE=	http://panda.trailing-edge.com/
+COMMENT=	PDP-10 KS10/KL10B CPU model emulator
+#LICENSE=	# KLH10 Free-Fork License
+
+USE_TOOLS+=	automake autoconf autoheader
+USE_TOOLS+=	pax
+GNU_CONFIGURE=	yes
+
+CONFIGURE_DIRS=		${WRKSRC}/build
+CONFIGURE_SCRIPT=	../configure
+CONFIGURE_ARGS+=	--enable-bridge
+CONFIGURE_ARGS+=	--disable-lights	# req's libusb
+CONFIGURE_ARGS+=	--with-vde=no		# no pkg for this
+
+BUILD_DIRS=	${WRKSRC}/build
+
+KLH10_HOME=	${DESTDIR}${PREFIX}/libexec/klh10
+
+pre-configure:
+	cd ${WRKSRC} && ./autogen.sh
+	cd ${WRKSRC} && mkdir build
+
+do-install:
+.for _DIR_ in kl ks ks-its
+	cd ${WRKSRC}/build/bld-${_DIR_} && env KLH10_HOME=${KLH10_HOME}/home-${_DIR_} make install
+	rmdir ${KLH10_HOME}/home-${_DIR_}/flushed
+.endfor
+	cd ${WRKSRC}/run; ${FIND} . -type f \! -name '*.orig' -print | \
+		pax -rw ${DESTDIR}${PREFIX}/share/klh10
+	cd ${WRKSRC}/doc; ${FIND} . -type f \! -name '*.orig' -print | \
+		pax -rw ${DESTDIR}${PREFIX}/share/klh10
+# TODO: also install Panda TOPS-20 disk image and related files
+#       if not present already
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/klh10/PLIST b/klh10/PLIST
new file mode 100644
index 0000000000..6f35707adb
--- /dev/null
+++ b/klh10/PLIST
@@ -0,0 +1,103 @@
+@comment $NetBSD: PLIST,v 1.1 2013/10/17 15:41:09 ryoon Exp $
+libexec/klh10/home-kl/dpni20
+libexec/klh10/home-kl/dprpxx
+libexec/klh10/home-kl/dptm03
+libexec/klh10/home-kl/enaddr
+libexec/klh10/home-kl/kn10-kl
+libexec/klh10/home-kl/tapedd
+libexec/klh10/home-kl/udlconv
+libexec/klh10/home-kl/uexbconv
+libexec/klh10/home-kl/vdkfmt
+libexec/klh10/home-kl/wfconv
+libexec/klh10/home-kl/wxtest
+libexec/klh10/home-ks-its/dpchaos
+libexec/klh10/home-ks-its/dpimp
+libexec/klh10/home-ks-its/dprpxx
+libexec/klh10/home-ks-its/dptm03
+libexec/klh10/home-ks-its/enaddr
+libexec/klh10/home-ks-its/kn10-ks-its
+libexec/klh10/home-ks-its/tapedd
+libexec/klh10/home-ks-its/udlconv
+libexec/klh10/home-ks-its/uexbconv
+libexec/klh10/home-ks-its/vdkfmt
+libexec/klh10/home-ks-its/wfconv
+libexec/klh10/home-ks-its/wxtest
+libexec/klh10/home-ks/dprpxx
+libexec/klh10/home-ks/dptm03
+libexec/klh10/home-ks/enaddr
+libexec/klh10/home-ks/kn10-ks
+libexec/klh10/home-ks/tapedd
+libexec/klh10/home-ks/udlconv
+libexec/klh10/home-ks/uexbconv
+libexec/klh10/home-ks/vdkfmt
+libexec/klh10/home-ks/wfconv
+libexec/klh10/home-ks/wxtest
+share/klh10/Intro.txt
+share/klh10/backgrnd.txt
+share/klh10/bugs.txt
+share/klh10/cmdref.txt
+share/klh10/cmdsum.txt
+share/klh10/coding.txt
+share/klh10/dfkfb.txt
+share/klh10/dfkfb/README
+share/klh10/dfkfb/dfkfb
+share/klh10/dfkfb/dfkfb-all.savh
+share/klh10/dfkfb/dfkfb.ini
+share/klh10/dvhost.txt
+share/klh10/history.txt
+share/klh10/install.txt
+share/klh10/kldiff.txt
+share/klh10/klnic/README
+share/klh10/klnic/boot-nic.sav
+share/klh10/klnic/dist-klnic.ini
+share/klh10/klnic/dist51-klnic.ini
+share/klh10/klnic/klh10.ini
+share/klh10/klnic/mtboot-nic.sav
+share/klh10/klt10.txt
+share/klh10/klt10/README
+share/klh10/klt10/klbddt.exe
+share/klh10/klt10/klboot.exe
+share/klh10/klt10/klt10.ini
+share/klh10/klt10/twonky.ini
+share/klh10/klt20.txt
+share/klh10/klt20/README
+share/klh10/klt20/boot.sav
+share/klh10/klt20/inst-klt20.ini
+share/klh10/klt20/klt20.ini
+share/klh10/klt20/mtboot.sav
+share/klh10/ksits.txt
+share/klh10/ksits/@.ddt-u
+share/klh10/ksits/@.its-647kn-u
+share/klh10/ksits/@.its-647md-u
+share/klh10/ksits/@.its-647pi-u
+share/klh10/ksits/@.nsalv-260-u
+share/klh10/ksits/README
+share/klh10/ksits/itsbin.647kn-u
+share/klh10/ksits/itsbin.647md-u
+share/klh10/ksits/itsbin.647pi-u
+share/klh10/ksits/klh10-kn.ini
+share/klh10/ksits/klh10-md.ini
+share/klh10/ksits/klh10-pi.ini
+share/klh10/ksits/pubits/adm/hosts.its
+share/klh10/ksits/pubits/adm/its.ipfw
+share/klh10/ksits/pubits/adm/rc.firewall-its
+share/klh10/ksits/pubits/adm/router.notes
+share/klh10/ksits/pubits/doc/bootload.files
+share/klh10/ksits/pubits/doc/distrib.its
+share/klh10/ksits/pubits/doc/dumpsys.help
+share/klh10/ksits/setvt100
+share/klh10/ksits/setvt52
+share/klh10/kst10.txt
+share/klh10/kst10/README
+share/klh10/kst10/ksbddt.exe
+share/klh10/kst10/ksboot.exe
+share/klh10/kst20.txt
+share/klh10/kst20/README
+share/klh10/kst20/inst-kst20.ini
+share/klh10/kst20/kst20.ini
+share/klh10/kst20/smboot-k.sav
+share/klh10/kst20/smmtbt-k.sav
+share/klh10/news.txt
+share/klh10/usage.txt
+share/klh10/utils.txt
+share/klh10/vtape.txt
diff --git a/klh10/TODO b/klh10/TODO
new file mode 100644
index 0000000000..a8cde04bb3
--- /dev/null
+++ b/klh10/TODO
@@ -0,0 +1,4 @@
+* How to fetch multiple distfiles, from github and from a normal URL?
+* The executables in libexec/ are ugly
+* Where to put instructions on using the emulator (which requires its helper
+  programs linked into the current directory when running).
diff --git a/klh10/distinfo b/klh10/distinfo
new file mode 100644
index 0000000000..806c9b5391
--- /dev/null
+++ b/klh10/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.5 2021/10/26 10:23:53 nia Exp $
+
+BLAKE2s (klh10-2.0-c92bb5f10426f24cdeadd27651c5d068ef7a4230.tar.gz) = 377e5cfbe662884eb54f0b8b11b724c787e930626a2512f7c416840eeaa691a7
+SHA512 (klh10-2.0-c92bb5f10426f24cdeadd27651c5d068ef7a4230.tar.gz) = 98fbdfba7f9264d04b0f5e3b979b5a8aba93bd5fa6bdadd2af610843237e3304600c692c377a60032208f47b8209224b5bcc386bcb6c24ad45678e30900458ec
+Size (klh10-2.0-c92bb5f10426f24cdeadd27651c5d068ef7a4230.tar.gz) = 2355010 bytes


Home | Main Index | Thread Index | Old Index