ports/128466: ksh93-devel port

Joe Kelsey joe at zircon.seattle.wa.us
Wed Oct 29 22:40:02 UTC 2008


>Number:         128466
>Category:       ports
>Synopsis:       ksh93-devel port
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 29 22:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Joe Kelsey
>Release:        FreeBSD 7.1-PRERELEASE amd64
>Organization:
Joseph M. Kelsey
>Environment:
System: FreeBSD zircon.zircon.seattle.wa.us 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #26: Mon Oct 27 20:08:55 PDT 2008 root at zircon.zircon.seattle.wa.us:/usr/obj/usr/src/sys/ZIRCON amd64


>Description:
	Add ksh93-devel port for beta testers.
>How-To-Repeat:
	Allow beta testing of ksh93 stuff.
>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:
#
#	.
#	./Makefile
#	./pkg-plist
#	./pkg-descr
#	./distinfo
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19'
X# New ports collection makefile for:   ksh93
X# Date created:                2008-10-29
X# Whom:                        Joe Kelsey <joe at zircon.seattle.wa.us>
X#
X# $FreeBSD: ports/shells/ksh93/Makefile,v 1.53 2008/08/18 18:36:36 miwi Exp $
X#
X# This port is intended to allow interested users to easily install the
X# beta versions of ksh93 releases.
X#
X# WARNING:
X#
X# No official FreeBSD support is provided to anything related to the
X# ksh93 beta testing process.  Anyone who uses this port is personally
X# responsible for signing up and monitoring the ast-users and
X# ast-developers mailing lists and for personally reporting any ksh93
X# problems on thos mailing lists.  If you try to report a ksh93-devel
X# problem on the FreeBSD bug list, I will ignore it completely.
X#
X# I will attempt to keep the date of the beta port more or less current,
X# but I will not make sure that the date is correct at all times.
X# Keeping the date current in a rapidly changing beta schedule will
X# depend on how quickly the various port updaters respond to correction
X# notices and whether or not the ports tree is even open.  The best
X# thing to do is to personally monitor the ast-users and ast-developers
X# mailing lists and keep the date correct on your own copy of the port.
X#
X# Cannot have both ksh93 and ksh93-devel on the same machine.
X#
X# Visit http://www.research.att.com/sw/ for information about the
X# mailing lists.
X#
X
XPORTNAME=	ksh93-devel
XCONFLICTS=	ksh93-200*
XPORTVERSION=	${VERSION:S/-//g}
XCATEGORIES=	shells
XMASTER_SITES=	http://www.research.att.com/sw/download/beta/
XDISTNAME=	${PORTNAME}-${VERSION}
XDISTFILES=	INIT.${VERSION}.tgz ast-ksh.${VERSION}.tgz
XDIST_SUBDIR=	${PORTNAME}
X
XMAINTAINER=	joe at zircon.seattle.wa.us
XCOMMENT=	Official AT&T Beta release of KornShell 93
X
XMANUAL_PACKAGE_BUILD=Doesn't build in tinderbox environment
X
XVERSION=	2008-10-24
XRESTRICTED=	Source recipient must acknowledge license
X
XFETCH_ENV=	HTTP_AUTH='basic:*:I accept www.opensource.org/licenses/cpl:.'
XFETCH_CMD=	/usr/bin/fetch -Rr		# see bin/76134
XNO_WRKSUBDIR=	yes
XMAKE_ENV=	CCFLAGS="${CFLAGS}"
X.if defined(WANT_STATIC)
XMAKE_ENV+=	LDFLAGS=-static
X.endif
X
XMAN1=		ksh93.1
X
X.include <bsd.port.pre.mk>
X
XINSTALLROOT=	${WRKSRC}/arch/freebsd${OSREL:R}.${ARCH}
X
Xdo-build:
X	@cd ${WRKSRC} && ${SETENV} -i ${MAKE_ENV} ${SH} bin/package make
X
Xdo-install:
X	${INSTALL_PROGRAM} ${INSTALLROOT}/bin/ksh ${PREFIX}/bin/ksh93
X	${INSTALL_MAN} ${INSTALLROOT}/man/man1/sh.1 \
X	    ${MANPREFIX}/man/man1/ksh93.1
X	${MKDIR} ${PREFIX}/share/examples/ksh93
X.for fun in dirs popd pushd
X	${INSTALL_SCRIPT} ${INSTALLROOT}/fun/${fun} \
X	    ${PREFIX}/share/examples/ksh93/
X.endfor
X
Xpost-install:
X	@${ECHO} "updating /etc/shells"
X	@${CP} /etc/shells /etc/shells.bak
X	@(${GREP} -v ${PREFIX}/bin/ksh93 /etc/shells.bak; \
X	  ${ECHO_CMD} ${PREFIX}/bin/ksh93) >/etc/shells
X	@${RM} -f /etc/shells.bak
X
Xtest: build
X	@cd ${WRKSRC}/src/cmd/ksh93/tests && \
X	    ${SETENV} SHELL=${INSTALLROOT}/bin/ksh \
X		${INSTALLROOT}/bin/ksh shtests
X
X.include <bsd.port.post.mk>
464ef7c6571951809b23e262cbe26e19
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6'
X at comment $FreeBSD: ports/shells/ksh93/pkg-plist,v 1.8 2006/02/13 09:46:26 garga Exp $
Xbin/ksh93
X at exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells; rm -f /etc/shells.bak
X at unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells; rm -f /etc/shells.bak
X%%EXAMPLESDIR%%/dirs
X%%EXAMPLESDIR%%/popd
X%%EXAMPLESDIR%%/pushd
X at dirrm %%EXAMPLESDIR%%
ef3e7f63841ae908ba397c2bef1fbad6
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5'
XKSH93-DEVEL is the beta-test version of the latest ksh93 package.
X
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/
0e313719ff012ceaf97a028d51caa8f5
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2'
XMD5 (ksh93-devel/INIT.2008-10-24.tgz) = 57e5f4c449c930dd586e4177e0c5fc4d
XSHA256 (ksh93-devel/INIT.2008-10-24.tgz) = 7a1c4c2c51047fb161e849b995d08af0e5381e32d27d2faf3c4a2d59154edfd6
XSIZE (ksh93-devel/INIT.2008-10-24.tgz) = 350821
XMD5 (ksh93-devel/ast-ksh.2008-10-24.tgz) = 046101ff5cced33adb91527482f0e031
XSHA256 (ksh93-devel/ast-ksh.2008-10-24.tgz) = 3d500f9e50d5b19a67d2631b46bd321c2c17b4c72eb8e857bf6abc19a22c5700
XSIZE (ksh93-devel/ast-ksh.2008-10-24.tgz) = 1777199
aec8793adfd5b7c3f00e62ae41a09ac2
exit

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list