ChangeLog

# ChangeLog for app-shells/ksh
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/ksh/ChangeLog,v 1.35 2008/02/06 17:50:45 nixnut Exp $

06 Feb 2008; nixnut ksh-93.20071105.ebuild:
stable on ppc wrt bug #140705

29 Jan 2008; Raúl Porcel
-files/ksh-20050202-uname.patch, -files/ksh-20060124-syntax.patch,
-files/ksh-20060214-ed.patch, -ksh-93.20030724.ebuild,
-ksh-93.20050202.ebuild, -ksh-93.20060214.ebuild,
-ksh-93.20060214-r1.ebuild, -ksh-93.20070628.ebuild,
ksh-93.20071105.ebuild:
alpha/ia64/sparc/x86 stable, remove old

*ksh-93.20071105 (28 Jan 2008)

28 Jan 2008; Raúl Porcel +ksh-93.20071105.ebuild:
Version bump, fix bug #145400

25 Dec 2007; Christian Heim metadata.xml:
Removing taviso from metadata.xml as per #202471. Assigning to
maintainer-needed.

05 Jul 2007; Tavis Ormandy ksh-93.20070628.ebuild:
sync releases correctly #184231

*ksh-93.20070628 (02 Jul 2007)

02 Jul 2007; Tavis Ormandy +ksh-93.20070628.ebuild:
bump

29 Apr 2007; Ryan Hill
+files/ksh-20060214-ed.patch, ksh-93.20060214-r1.ebuild:
Add patch from kevquinn for bug #165982.

21 Feb 2007; Piotr Jaroszyński ChangeLog:
Transition to Manifest2.

13 Oct 2006; Markus Rothe ksh-93.20060214-r1.ebuild:
Added ~ppc64

*ksh-93.20060214-r1 (12 May 2006)

12 May 2006; Stefan Jones
+files/ksh-20041225-gcc4.patch, +files/ksh-20050202-uname.patch,
+files/ksh-20060124-syntax.patch, +ksh-93.20060214-r1.ebuild:
Bump with compile fixes for #50000 #97795 #120724 #130740 hopefully

*ksh-93.20060214 (21 Apr 2006)

21 Apr 2006; Tavis Ormandy +ksh-93.20060214.ebuild:
bump

26 Aug 2005; Carlos Silva ksh-93.20040229.ebuild:
Marking ksh-93.20040229 ~amd64

24 Apr 2005; Michael Hanselmann
ksh-93.20040229.ebuild:
Stable on ppc.

31 Mar 2005; Aron Griffis ksh-93.20040229.ebuild:
stable on ia64

*ksh-93.20050202 (27 Mar 2005)

27 Mar 2005; Tavis Ormandy +ksh-93.20050202.ebuild:
bump

02 Jan 2005; Ciaran McCreesh :
Change encoding to UTF-8 for GLEP 31 compliance

01 Jan 2005; Joseph Jezak ksh-93.20040229.ebuild:
Marked ~ppc.

26 Oct 2004; Tavis Ormandy ksh-93.20040229.ebuild:
use toolchain-funcs to determine compiler

23 Oct 2004; Akinori Hattori ksh-93.20040229.ebuild:
add ~ia64, bug #68321.

05 Oct 2004; Bryan Østergaard ksh-93.20040229.ebuild:
Stable on alpha.

23 Sep 2004; Tavis Ormandy
+files/ksh-build-problems.diff, ksh-93.20040229.ebuild:
attempting to fix #50000

14 Sep 2004; Gustavo Zacarias ksh-93.20040229.ebuild:
Stable on sparc

27 Apr 2004; Aron Griffis ksh-93.20030724.ebuild,
ksh-93.20040229.ebuild:
Add flag-o-matic for bug 49179

15 Apr 2004; Michael McCabe ksh-93.20040229.ebuild:
adding s390 keywords

*ksh-93.20040229 (10 Apr 2004)

10 Apr 2004; Tavis Ormandy ksh-93.20040229.ebuild:
new release

06 Dec 2003; Jason Wever ksh-93.20030724.ebuild:
Marked stable on sparc, closes #25668

02 Dec 2003; Tavis Ormandy ksh-93.20030724.ebuild:
die if build script fails, no longer required to fail first.

11 Oct 2003; Jason Wever ksh-93.20030724.ebuild:
Added ~sparc keyword, resolves bug #25668.

22 Sep 2003; metadata.xml:
Fix metadata.xml

17 Sep 2003; Tavis Ormandy ksh-93.20030422.ebuild:
removing old ebuilds.

*ksh-93.20030724 (10 Sep 2003)

10 Sep 2003; Tavis Ormandy ksh-93.20030724.ebuild:
--> stable

06 Sep 2003; Tavis Ormandy :
New version of ast-ksh and INIT, testing a patch that seems to
stop linking errors.
some syntax changes.
make repomans whitespace checker happy.

20 Jul 2003; Tavis Ormandy ksh-93.20030422.ebuild:
save some bandwidth, and mark stable on Alpha

*ksh-93.20030422 (29 May 2003)

29 May 2003; Tavis Ormandy ksh-93.20030422.ebuild:
Initial import of David Korn's original shell.

Manifest

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

AUX ksh-93.20030724-libs.diff 12867 RMD160 acf9b6da5e793ede841545f07cdd05b077a2f097 SHA1 de57310b9f6aa2f50dbf2fc4fbd2331e2dd47acc SHA256 06249e684247caf85672347fd94bb463466d0a195056e0fd72c8eb9bdfda824b
AUX ksh-build-problems.diff 303 RMD160 c454ef7e6d9aad10afa057d9b6ae7f6f17b7e56e SHA1 dd3e5cc9b80ae6e24faed3f15af354cf34fb16a0 SHA256 99c829558a93a842e8840b93219d69e8485cc68c2ac277a7e018dad04c606dec
DIST INIT.2004-02-29.tgz 268141 RMD160 e89bdb1ab03b153eb8b9688703a17f622f1c5c49 SHA1 8a15f53b0ab8b140ea2b011ed60a9a9ed75e295f SHA256 fc6c8587cf0aa9aeda6577b5a80cac7142cc901760dfcf8cc5c04d832bed362b
DIST INIT.2007-11-05.tgz 346223 RMD160 77e7f0c543edfe5e16dde1948b8c14f77c7525bd SHA1 c5ed975f75f49d1849e8c1e099b8e9bb4fb0aaff SHA256 d53e0cd6c96a12d279c2994104f636240bd28d73d0ae046557c0d8eed1c00d30
DIST ast-ksh-locale.2003-04-22.tgz 516623 RMD160 7f13fab0c1c0389ea6d445d696be15ec0977dd5b SHA1 5a06e582dbbeed5963f6170c7329812c37c32a90 SHA256 0b02c0f58caf2cb372d9f1170aff3c61d67b295190319bfccf0aff9618ad166e
DIST ast-ksh-locale.2007-11-05.tgz 621289 RMD160 ca766ab613eb07553683785204272df909984307 SHA1 bf9b12dbd1f60dc8c504ed83a338b2a1b6e16b13 SHA256 fdbac41d366f64b37ee3c64555de1b9dd4252ec4c908d4353d7e2ffdfce5a970
DIST ast-ksh.2004-02-29.tgz 2501552 RMD160 24ad154365dbbabc21cf597d50181dae45b4c2ad SHA1 f91839d00e895fe680871a728af863b0ce5858b2 SHA256 be9ed7df0180859a69f60a34723e9592e6662bc2a2e4829240ad8228132de413
DIST ast-ksh.2007-11-05.tgz 1675958 RMD160 16b762ab7da6ad974f7773a772c8ab0f736e9734 SHA1 17c83bb64d80a3a9670bdfdc245e069ac7414de6 SHA256 36bac8b479a656102746961f1cc22a81dd62e304279130cce7d9a0d8c6734a4d
EBUILD ksh-93.20040229.ebuild 2293 RMD160 6d88e3f25bf0e68178fe7f393902c18ee52ec77f SHA1 85ff2a78398476c0451ccd3da2bd8fb27401d89a SHA256 6c9633d2fa89175dae5647b00b8822c506a5256d3eeae42fa96c78b0ee722fec
EBUILD ksh-93.20071105.ebuild 1822 RMD160 bfe315f2001154ba65cb3a076e6a1c56e2e53447 SHA1 efc58950ed3060831c82e4f2a1ba5319056e9092 SHA256 68f831c8e438279d7ad38ab40a9581ee1ee696d120c687af26f0f0ae6913f34c
MISC ChangeLog 4530 RMD160 ab22288ece3267491937b8c787b89d8d2396f553 SHA1 301c9a951c37ed16f66d43a64dca435ec4bece45 SHA256 e6c477e85b783311f6b39f41503c14f38c5894af12165279543ffcc88239d14b
MISC metadata.xml 1289 RMD160 2b4029b2b939fbf211946c34ed91e7a6bdf9aae1 SHA1 d97c3b3063deaaee0440108cc3e0fa873c5b97b4 SHA256 6b2cda03debe55486727e7408c0f98103848c533be2c6a72fb8584b368ae948e
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFIHoHbj9hvisErhMIRAigCAJ9cjQn9VjfGj/Ey05E+tpg1AMpDTACdG28Q
LzwTGymNFpd3aYOyQ+tSJ3Q=
=FxGF
-----END PGP SIGNATURE-----

files

ksh-93.20040229.ebuild

# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/ksh/ksh-93.20040229.ebuild,v 1.18 2006/04/21 17:13:34 taviso Exp $

inherit ccc eutils flag-o-matic toolchain-funcs

RELEASE="2004-02-29"
DESCRIPTION="The Original Korn Shell, 1993 revision (ksh93)"
HOMEPAGE="http://www.kornshell.com/"
SRC_URI="http://www.research.att.com/~gsf/download/tgz/INIT.${RELEASE}.tgz
http://www.research.att.com/~gsf/download/tgz/ast-ksh.${RELEASE}.tgz
nls? ( http://www.research.att.com/~gsf/download/tgz/ast-ksh-locale.2003-04-22.tgz )"

LICENSE="ATT"
SLOT="0"
KEYWORDS="alpha ~amd64 arm ia64 ppc s390 sparc x86"
IUSE="static nls"

DEPEND="virtual/libc !app-shells/pdksh"

S=${WORKDIR}

src_unpack() {
# the AT&T build tools look in here for packages.
mkdir -p ${S}/lib/package/tgz

# move the packages into place.
cp ${DISTDIR}/ast-ksh.${RELEASE}.tgz ${S}/lib/package/tgz/ || die

if use nls; then
cp ${DISTDIR}/ast-ksh-locale.2003-04-22.tgz ${S}/lib/package/tgz/ || die
fi

# INIT provides the basic tools to start building.
unpack INIT.${RELEASE}.tgz

# `package read` will unpack any tarballs put in place.
${S}/bin/package read || die
epatch ${FILESDIR}/ksh-build-problems.diff || die
}

src_compile() {
# users who prefer ksh as there regular shell
# may want to make it static, so it can be used
# in the event of fs failure, for example
# where shared libraries are not available
use static && append-ldflags -static

# set the optimisations for the build process
export CCFLAGS="${CFLAGS}"
cd ${S}; ./bin/package only make ast-ksh CC="$(tc-getCC)" || die

# install the optional locale data.
# heh, check out locale fudd, or piglatin :)
#
# "Too many symbowic winks in paf name twavewsal"

# david korn is a funny guy! :)
if use nls; then
cd ${S}; ./bin/package only make ast-ksh-locale CC=${CC:-gcc}
fi
}

src_install() {
# check where the build scripts put them
local my_arch="${S}/arch/$(${S}/bin/package)"

exeinto /bin
doexe ${my_arch}/bin/ok/ksh

dosym /bin/ksh /bin/ksh93

newman ${my_arch}/man/man1/sh.1 ksh.1
dodoc lib/package/LICENSES/ast lib/package/gen/ast-ksh.txt

if use nls; then
dodir /usr/share
mv ${S}/share/lib/locale ${D}/usr/share
fi
}

ksh-93.20071105.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-shells/ksh/ksh-93.20071105.ebuild,v 1.4 2008/05/05 03:41:09 vapier Exp $

inherit eutils flag-o-matic toolchain-funcs

RELEASE="2007-11-05"
LOCALE_RELEASE="2007-11-05"
INIT_RELEASE="${RELEASE}"

DESCRIPTION="The Original Korn Shell, 1993 revision (ksh93)"
HOMEPAGE="http://www.kornshell.com/"
SRC_URI="nls? ( mirror://gentoo/ast-ksh-locale.${LOCALE_RELEASE}.tgz )
mirror://gentoo/INIT.${INIT_RELEASE}.tgz
mirror://gentoo/ast-ksh.${RELEASE}.tgz"

LICENSE="CPL-1.0"
SLOT="0"
KEYWORDS="alpha ~amd64 arm ia64 ppc ~ppc64 s390 sparc x86"
IUSE="nls"

DEPEND="!app-shells/pdksh"

S=${WORKDIR}

src_unpack() {
# the AT&T build tools look in here for packages.
mkdir -p ${S}/lib/package/tgz

# move the packages into place.
cp ${DISTDIR}/ast-ksh.${RELEASE}.tgz ${S}/lib/package/tgz/ || die

if use nls; then
cp ${DISTDIR}/ast-ksh-locale.${LOCALE_RELEASE}.tgz ${S}/lib/package/tgz/ || die
fi

# INIT provides the basic tools to start building.
unpack INIT.${INIT_RELEASE}.tgz

# `package read` will unpack any tarballs put in place.
${S}/bin/package read || die
}

src_compile() {
strip-flags; export CCFLAGS="${CFLAGS}"

cd ${S}; ./bin/package only make ast-ksh CC="$(tc-getCC)" || die

# install the optional locale data.
if use nls; then
cd ${S}; ./bin/package only make ast-ksh-locale CC="$(tc-getCC)"
fi
}

src_install() {
exeinto /bin

doexe ${S}/arch/linux.*/bin/ksh || die

newman ${S}/arch/linux.*/man/man1/sh.1 ksh.1

dodoc lib/package/LICENSES/ast
dohtml lib/package/ast-ksh.html

if use nls; then
dodir /usr/share
mv ${S}/share/lib/locale ${D}/usr/share
find ${D}/usr/share/locale -type f -name 'LC_TIME' -exec rm -rf {} \; 2>/dev/null
fi
}

metadata.xml




no-herd

maintainer-needed@gentoo.org


The KornShell language was designed and developed by David G. Korn at
AT&T Bell Laboratories. It is an interactive command language that
provides access to the UNIX system and to many other systems, on the
many different computers and workstations on which it is implemented.

ksh has the functionality of other scripting languages such as awk,
icon, perl, rexx, and tcl. For this and many other reasons, ksh is a
much better scripting language than any of the other popular shells.
The code size for ksh is larger than the Bourne shell or C shell
programs. The revised version is even larger.

In spite of its increased size, ksh provides better performance. You
can write programs to run faster with ksh than with either the Bourne
shell or the C shell, sometimes an order of magnitude faster. ksh has
evolved and matured with extensive user feedback. It has been used by
many thousands of people at AT&T since 1982, and at many other
companies and universities.