From kstailey@yahoo.com  Sat Jan 12 10:56:28 2002
Return-Path: <kstailey@yahoo.com>
Received: from web10006.mail.yahoo.com (web10006.mail.yahoo.com [216.136.130.42])
	by hub.freebsd.org (Postfix) with SMTP id C8D4E37B419
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 12 Jan 2002 10:56:26 -0800 (PST)
Received: from [206.148.74.27] by web10006.mail.yahoo.com via HTTP; Sat, 12 Jan 2002 10:56:25 PST
Message-Id: <20020112185625.49258.qmail@web10006.mail.yahoo.com>
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: Bootable ITS image for KLH-10 PDP-10 emulator

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 12 11:00:01 PST 2002
>Closed-Date:    Sun Jan 13 10:02:10 PST 2002
>Last-Modified:  Sun Jan 13 10:02:49 PST 2002
>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:
State-Changed-From-To: open->closed 
State-Changed-By: okazaki 
State-Changed-When: Sun Jan 13 10:02:10 PST 2002 
State-Changed-Why:  
superseded by ports/33818 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=33817 
>Unformatted:
