Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 1999 19:32:55 +0200 (CEST)
From:      Christian Weisgerber <naddy@mips.rhein-neckar.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14497: New (binary) port: ksh93
Message-ID:  <199910241732.TAA44127@bigeye.rhein-neckar.de>

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

>Number:         14497
>Category:       ports
>Synopsis:       New (binary) port: ksh93
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 24 10:40:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Christian Weisgerber
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

i386

>Description:

This is a port of AT&T ksh93. It installs the statically linked
BSD/OS i386 binary. Users must register at AT&T's website and fetch
the archive themselves. The source is not available.

Blurb:
KSH-93 is the most recent version of the KornShell Language described
in "The KornShell Command and Programming Language," by Morris
Bolsky and David Korn of AT&T Bell Laboratories. The KornShell is
a shell programming language, which is upward compatible with "sh"
(the Bourne Shell), and is intended to conform to the IEEE P1003.2/ISO
9945.2 Shell and Utilities standard. KSH-93 provides an enhanced
programming environment in addition to the major command-entry
features of the BSD shell "csh". With KSH-93, medium-sized programming
tasks can be performed at shell-level without a significant loss
in performance. In addition, "sh" scripts can be run on KSH-93
without modification.

WWW: http://www.kornshell.com/

>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:
#
#	ksh93
#	ksh93/Makefile
#	ksh93/pkg
#	ksh93/pkg/COMMENT
#	ksh93/pkg/DESCR
#	ksh93/pkg/PLIST
#	ksh93/files
#	ksh93/files/md5
#	ksh93/patches
#	ksh93/patches/patch-aa
#
echo c - ksh93
mkdir -p ksh93 > /dev/null 2>&1
echo x - ksh93/Makefile
sed 's/^X//' >ksh93/Makefile << 'END-of-ksh93/Makefile'
X# New ports collection makefile for:	ksh93
X# Version required:	98
X# Date created:		1999-10-24
X# Whom:			Christian Weisgerber <naddy@mips.rhein-neckar.de>
X#
X# $FreeBSD$
X#
X
X# ast-base-99 is linked dynamically for BSD/OS and will not work
XDISTNAME=		ast-base-98.bsd.i386
XPKGNAME=		ksh-19931228
XCATEGORIES=     	shells
X# Users must register with AT&T before downloading tarball.
X#MASTER_SITES=		http://www.research.att.com/sw/tools/reuse/
XEXTRACT_SUFX=		.tgz
X
XMAINTAINER=		naddy@mips.rhein-neckar.de
X
XONLY_FOR_ARCHS=		i386
XRESTRICTED=		"Requires user to register with AT&T."
X
XNO_BUILD=	yes
XNO_WRKSUBDIR=	yes
XMAN1=		ksh93.1
XSTRIP=
X
Xdo-fetch:
X	@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
X	  ${ECHO} ""; \
X	  ${ECHO} "Please read http://www.research.att.com/sw/tools/reuse/"; \
X	  ${ECHO} "for details of how to obtain the ksh93 binary.  Put the"; \
X	  ${ECHO} "file ${DISTFILES} in the directory"; \
X	  ${ECHO} "${DISTDIR} and run make again."; \
X	  ${ECHO} ""; \
X	  exit 1; \
X	fi
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/bin/ksh ${PREFIX}/bin/ksh93
X	${INSTALL_MAN} ${WRKSRC}/man/man1/sh.1 ${PREFIX}/man/man1/ksh93.1
X
X.include <bsd.port.mk>
END-of-ksh93/Makefile
echo c - ksh93/pkg
mkdir -p ksh93/pkg > /dev/null 2>&1
echo x - ksh93/pkg/COMMENT
sed 's/^X//' >ksh93/pkg/COMMENT << 'END-of-ksh93/pkg/COMMENT'
XThe official AT&T release of KornShell 93
END-of-ksh93/pkg/COMMENT
echo x - ksh93/pkg/DESCR
sed 's/^X//' >ksh93/pkg/DESCR << 'END-of-ksh93/pkg/DESCR'
XKSH-93 is the most recent version of the KornShell Language described
Xin "The KornShell Command and Programming Language," by Morris
XBolsky and David Korn of AT&T Bell Laboratories. The KornShell is
Xa shell programming language, which is upward compatible with "sh"
X(the Bourne Shell), and is intended to conform to the IEEE P1003.2/ISO
X9945.2 Shell and Utilities standard. KSH-93 provides an enhanced
Xprogramming environment in addition to the major command-entry
Xfeatures of the BSD shell "csh". With KSH-93, medium-sized programming
Xtasks can be performed at shell-level without a significant loss
Xin performance. In addition, "sh" scripts can be run on KSH-93
Xwithout modification.
X
XWWW: http://www.kornshell.com/
X
X- Christian Weisgerber
X  naddy@mips.rhein-neckar.de
END-of-ksh93/pkg/DESCR
echo x - ksh93/pkg/PLIST
sed 's/^X//' >ksh93/pkg/PLIST << 'END-of-ksh93/pkg/PLIST'
Xbin/ksh93
END-of-ksh93/pkg/PLIST
echo c - ksh93/files
mkdir -p ksh93/files > /dev/null 2>&1
echo x - ksh93/files/md5
sed 's/^X//' >ksh93/files/md5 << 'END-of-ksh93/files/md5'
XMD5 (ast-base-98.bsd.i386.tgz) = 17f5400480af4b0d6ae1835324e7d6ab
END-of-ksh93/files/md5
echo c - ksh93/patches
mkdir -p ksh93/patches > /dev/null 2>&1
echo x - ksh93/patches/patch-aa
sed 's/^X//' >ksh93/patches/patch-aa << 'END-of-ksh93/patches/patch-aa'
X--- man/man1/sh.1.orig	Tue Apr  6 05:01:44 1999
X+++ man/man1/sh.1	Wed Oct 20 19:39:36 1999
X@@ -4,7 +4,7 @@
X .\"
X .\" @(#)sh.1 (research!dgk) 12/28/93
X .\"
X-.nr Z 0 \" set to 1 when command name is ksh rather than sh
X+.nr Z 1 \" set to 1 when command name is ksh rather than sh
X .nr Y 0 \" set to 1 for R&D UNIX
X .if \nY=1 .nr Z 1
X .ds OK [\|
END-of-ksh93/patches/patch-aa
exit


>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?199910241732.TAA44127>