Bug 33817

Summary: Bootable ITS image for KLH-10 PDP-10 emulator
Product: Ports & Packages Reporter: kstailey <kstailey>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me CC: alane
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description kstailey 2002-01-12 19:00:01 UTC
	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.

Fix: 

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/--7eKQnUGs6p8aggSNWg7tXco9cElWph2blHw1jZIhRG3uLtDQ
Content-Type: text/plain; name="file.shar"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.shar"

# 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
How-To-Repeat: 	N/A
Comment 1 Tetsurou Okazaki freebsd_committer freebsd_triage 2002-01-13 18:02:10 UTC
State Changed
From-To: open->closed

superseded by ports/33818