Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Jan 2002 10:56:25 -0800 (PST)
From:      Kenneth Stailey <kstailey@yahoo.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        alane@geeksrus.net, kstailey@surfbest.net
Subject:   ports/33817: Bootable ITS image for KLH-10 PDP-10 emulator
Message-ID:  <20020112185625.49258.qmail@web10006.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help

>Number:         33817
>Category:       ports
>Synopsis:       Bootable ITS image for KLH-10 PDP-10 emulator
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 12 11:00:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ken Stailey
>Release:        FreeBSD 4.5-PRERELEASE i386
>Organization:
self
>Environment:
System: FreeBSD hermes.surfbest.net 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #2:
Fri Dec 28 21:36:50 EST 2001
kstailey@hermes.surfbest.net:/usr/src/sys/compile/HERMES i386


	
>Description:
	Bootable ITS image for KLH-10 PDP-10 emulator.  Disregart prior
submission.  The image is rather large.  45MB compressed download and
170MB uncompressed.  The port tries not to store two uncompressed copies
during installation ever.

>How-To-Repeat:
	N/A
>Fix:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	its
#	its/pkg-comment
#	its/Makefile
#	its/distinfo
#	its/pkg-plist
#	its/pkg-descr
#	its/files
#	its/files/its.sh
#
echo c - its
mkdir -p its > /dev/null 2>&1
echo x - its/pkg-comment
sed 's/^X//' >its/pkg-comment << 'END-of-its/pkg-comment'
XBootable ITS filesystem for KLH-10 PDP-10 emulator
END-of-its/pkg-comment
echo x - its/Makefile
sed 's/^X//' >its/Makefile << 'END-of-its/Makefile'
X# New ports collection makefile for:   its
X# Date created:        11 January 2002
X# Whom:                kstailey
X#
X# $FreeBSD$
X#
X
XPORTNAME=	its
XPORTVERSION=	a11110
XCATEGORIES=	emulators
XMASTER_SITES=	ftp://ftp.its.os.org/its/klh10/
XDISTNAME=	pi-${PORTNAME}-${PORTVERSION}
XEXTRACT_SUFX=	.tar
X
XMAINTAINER=	kstailey@yahoo.com
X
XBUILD_DEPENDS=	${KLH10_HOME}/kn10-ks:${PORTSDIR}/emulators/klh10
X
XONLY_FOR_ARCHS=	i386	# really the emulator has this problem.
X
XNO_WRKSUBDIR=
XNO_BUILD=
X
XKLH10_HOME=	${PREFIX}/libexec/klh10-ks-its
XIMAGE_NAME=	PI-ITS-RP06.0-dbd9
X
Xpost-patch:
X	@zcat ${WRKDIR}/${IMAGE_NAME}.gz > ${KLH10_HOME}/${IMAGE_NAME}
X	@ ${SED} -e "s;@KLH10_HOME@;${KLH10_HOME};g" \
X		${FILESDIR}/its.sh >${WRKSRC}/its
X
Xdo-install:
X	@ ${INSTALL_SCRIPT} ${WRKSRC}/its ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-its/Makefile
echo x - its/distinfo
sed 's/^X//' >its/distinfo << 'END-of-its/distinfo'
XMD5 (pi-its-a11110.tar) = 277494d17643ca2d90ff04122be4e993
END-of-its/distinfo
echo x - its/pkg-plist
sed 's/^X//' >its/pkg-plist << 'END-of-its/pkg-plist'
Xbin/its
Xlibexec/klh10-ks-its/PI-ITS-RP06.0-dbd9
END-of-its/pkg-plist
echo x - its/pkg-descr
sed 's/^X//' >its/pkg-descr << 'END-of-its/pkg-descr'
XThis is an image of a PI (Public ITS) filesystem that can be booted on
Xthe klh10 PDP-10 emulator.
END-of-its/pkg-descr
echo c - its/files
mkdir -p its/files > /dev/null 2>&1
echo x - its/files/its.sh
sed 's/^X//' >its/files/its.sh << 'END-of-its/files/its.sh'
X#!/bin/sh
X#
X# $FreeBSD$
X
Xif [ `id -un` != root ]; then
X    echo WARNING: networking only works when you start this script as root
Xfi
X
Xcase "$1" in
Xklh10-md.ini)
X#	MD == Mostly Development MIT AI lab machine
X	echo WARNING: using the MD configuration with IP addr = 192.168.0.203
X	INI=$1 ; shift
X;;
Xklh10-pi.ini)
X#	PI == Public ITS
X	echo WARNING: using the PI configuration with IP addr = 199.34.53.51
X	INI=$1 ; shift
X;;
X*)
X#	what does KN stand for?
X	echo INFO: using the KN configuration with IP addr = 10.134.198.236
X	INI=klh10-kn.ini
X;;
Xesac
X
Xcd @KLH10_HOME@
Xexec ./kn10-ks $INI "$@"
END-of-its/files/its.sh
exit


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020112185625.49258.qmail>