summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2003-09-06 11:11:09 +0000
committerTavis Ormandy <taviso@gentoo.org>2003-09-06 11:11:09 +0000
commit22c59e12f7b3fac1ece0c716922bfd342237b22a (patch)
tree5c7cc3235b4ecbe5b2663609a2dc031514872fa1 /app-shells
parentnew versoin, syntax changes, repoman whitespace thingy. (diff)
downloadgentoo-2-22c59e12f7b3fac1ece0c716922bfd342237b22a.tar.gz
gentoo-2-22c59e12f7b3fac1ece0c716922bfd342237b22a.tar.bz2
gentoo-2-22c59e12f7b3fac1ece0c716922bfd342237b22a.zip
new versoin, syntax changes, repoman whitespace thingy.
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/ksh/ChangeLog8
-rw-r--r--app-shells/ksh/Manifest5
-rw-r--r--app-shells/ksh/files/digest-ksh-93.200307243
-rw-r--r--app-shells/ksh/files/ksh-93.20030724-libs.diff309
-rw-r--r--app-shells/ksh/ksh-93.20030724.ebuild86
5 files changed, 408 insertions, 3 deletions
diff --git a/app-shells/ksh/ChangeLog b/app-shells/ksh/ChangeLog
index 4ab486c5bdbc..89cdc777f9a3 100644
--- a/app-shells/ksh/ChangeLog
+++ b/app-shells/ksh/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-shells/ksh
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-shells/ksh/ChangeLog,v 1.2 2003/07/20 18:36:48 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/ksh/ChangeLog,v 1.3 2003/09/06 11:11:05 taviso Exp $
+
+ 06 Sep 2003; Tavis Ormandy <taviso@gentoo.org> :
+ 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 <taviso@gentoo.org> ksh-93.20030422.ebuild:
save some bandwidth, and mark stable on Alpha
diff --git a/app-shells/ksh/Manifest b/app-shells/ksh/Manifest
index d6035471e356..74cf14dab549 100644
--- a/app-shells/ksh/Manifest
+++ b/app-shells/ksh/Manifest
@@ -1,6 +1,7 @@
-MD5 0b3533a137bab3cff4a3662462b8a5ba ksh-93.20030724.ebuild 3029
+MD5 c101f022dd2cd0b3128ddd44f9033030 ksh-93.20030724.ebuild 2423
MD5 a86b257cbf69621e08c7dca6786fdf44 ksh-93.20030422.ebuild 3192
-MD5 1c9fcb1023b44dfc23154f138251318a ChangeLog 487
+MD5 61dc4c4a922764ececfb7932e9b237ee ChangeLog 693
MD5 e1baa44340503f92d40f821f1c389419 metadata.xml 1264
+MD5 fc05a830ab720e8d3462bb10f0474258 files/ksh-93.20030724-libs.diff 12867
MD5 ae6a966c5c8702e7199266a3b73a9291 files/digest-ksh-93.20030422 206
MD5 75a91bdad38d09a163894fd8ebc8adff files/digest-ksh-93.20030724 206
diff --git a/app-shells/ksh/files/digest-ksh-93.20030724 b/app-shells/ksh/files/digest-ksh-93.20030724
new file mode 100644
index 000000000000..df71a762ebfe
--- /dev/null
+++ b/app-shells/ksh/files/digest-ksh-93.20030724
@@ -0,0 +1,3 @@
+MD5 aabd19505eba0ac65a4ff450ab7a935b INIT.2003-07-24.tgz 258944
+MD5 e8c764fb40c8720c105448da406b5e9b ast-ksh.2003-07-24.tgz 1459120
+MD5 a8288401b0a6984cac48864fc9a835b5 ast-ksh-locale.2003-04-22.tgz 516623
diff --git a/app-shells/ksh/files/ksh-93.20030724-libs.diff b/app-shells/ksh/files/ksh-93.20030724-libs.diff
new file mode 100644
index 000000000000..64b01bd25860
--- /dev/null
+++ b/app-shells/ksh/files/ksh-93.20030724-libs.diff
@@ -0,0 +1,309 @@
+diff -ruN ksh-93.20030724.orig/work/src/cmd/ksh93/Makefile ksh-93.20030724/work/src/cmd/ksh93/Makefile
+--- ksh-93.20030724.orig/work/src/cmd/ksh93/Makefile 2003-06-02 19:31:54.000000000 +0100
++++ ksh-93.20030724/work/src/cmd/ksh93/Makefile 2003-09-06 03:01:51.000000000 +0100
+@@ -78,9 +78,6 @@
+ BASH_MACHTYPE == "$(BASH_HOSTTYPE)-unknown-$(CC.HOSTTYPE:B)"
+ end
+
+-/* use the following libraries only if they exist */
+-LIBS_opt := +ljobs +li
+-
+ if CC.HOSTTYPE == "sol[89].*"
+ LIBS_opt += -lsecdb
+ LDFLAGS += $(CC.LD.LAZY) $(CC.LD.NORECORD)
+@@ -97,7 +94,7 @@
+ /* the linux.sparc linker still has some problems */
+ LIBS_opt += -ldll
+ end
+-LIBS_opt += +lintl -ldl
++LIBS_opt += -ldl
+ $(LIBS_opt) : .DONTCARE
+
+ LDLIBRARIES = $(LIBS_opt)
+diff -ruN ksh-93.20030724.orig/work/src/cmd/ksh93/Mamfile ksh-93.20030724/work/src/cmd/ksh93/Mamfile
+--- ksh-93.20030724.orig/work/src/cmd/ksh93/Mamfile 2003-07-25 19:58:41.000000000 +0100
++++ ksh-93.20030724/work/src/cmd/ksh93/Mamfile 2003-09-06 03:03:42.000000000 +0100
+@@ -162,7 +162,7 @@
+ exec - case "" in
+ exec - *?) echo " " ;;
+ exec - esac
+-exec - for i in shell cmd dll ast m jobs i intl dl
++exec - for i in shell cmd dll ast m dl
+ exec - do case $i in
+ exec - "shell"|shell)
+ exec - ;;
+@@ -190,12 +190,6 @@
+ bind -lcmd
+ bind -ldll
+ bind -lm dontcare
+-make +ljobs
+-done +ljobs dontcare virtual
+-make +li
+-done +li dontcare virtual
+-make +lintl
+-done +lintl dontcare virtual
+ make ${mam_libdl}
+ done ${mam_libdl} dontcare virtual
+ bind -last
+@@ -213,9 +207,6 @@
+ make features/dynamic
+ done features/dynamic
+ prev shell.req
+-prev +ljobs
+-prev +li
+-prev +lintl
+ prev ${mam_libdl}
+ exec - iffe -v -c '${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ' ref ${mam_cc_L+-L.} ${mam_cc_L+-L${PACKAGE_ast_LIB}} -I${PACKAGE_ast_INCLUDE} -I${INSTALLROOT}/include ${mam_libcmd} ${mam_libdll} ${mam_libm} ${mam_libast} ${mam_libm} : run features/dynamic
+ make ../../../include/ast/fs3d.h implicit
+@@ -227,9 +218,6 @@
+ make features/options.sh
+ done features/options.sh
+ prev shell.req
+-prev +ljobs
+-prev +li
+-prev +lintl
+ prev ${mam_libdl}
+ exec - iffe -v -c '${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ' ref ${mam_cc_L+-L.} ${mam_cc_L+-L${PACKAGE_ast_LIB}} -I${PACKAGE_ast_INCLUDE} -I${INSTALLROOT}/include ${mam_libcmd} ${mam_libdll} ${mam_libm} ${mam_libast} ${mam_libm} : run features/options.sh
+ done FEATURE/options dontcare generated
+@@ -247,9 +235,6 @@
+ make features/sigfeatures
+ done features/sigfeatures
+ prev shell.req
+-prev +ljobs
+-prev +li
+-prev +lintl
+ prev ${mam_libdl}
+ exec - iffe -v -c '${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ' ref ${mam_cc_L+-L.} ${mam_cc_L+-L${PACKAGE_ast_LIB}} -I${PACKAGE_ast_INCLUDE} -I${INSTALLROOT}/include ${mam_libcmd} ${mam_libdll} ${mam_libm} ${mam_libast} ${mam_libm} : run features/sigfeatures
+ done FEATURE/sigfeatures dontcare generated
+@@ -257,9 +242,6 @@
+ make features/setjmp
+ done features/setjmp
+ prev shell.req
+-prev +ljobs
+-prev +li
+-prev +lintl
+ prev ${mam_libdl}
+ exec - iffe -v -c '${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ' ref ${mam_cc_L+-L.} ${mam_cc_L+-L${PACKAGE_ast_LIB}} -I${PACKAGE_ast_INCLUDE} -I${INSTALLROOT}/include ${mam_libcmd} ${mam_libdll} ${mam_libm} ${mam_libast} ${mam_libm} : run features/setjmp
+ done FEATURE/setjmp dontcare generated
+@@ -292,9 +274,6 @@
+ make include/path.h implicit
+ make FEATURE/acct implicit
+ prev shell.req
+-prev +ljobs
+-prev +li
+-prev +lintl
+ prev ${mam_libdl}
+ exec - iffe -v -c '${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ' ref ${mam_cc_L+-L.} ${mam_cc_L+-L${PACKAGE_ast_LIB}} -I${PACKAGE_ast_INCLUDE} -I${INSTALLROOT}/include ${mam_libcmd} ${mam_libdll} ${mam_libm} ${mam_libast} ${mam_libm} : def acct
+ done FEATURE/acct dontcare generated
+@@ -360,9 +339,6 @@
+ make features/ttys
+ done features/ttys
+ prev shell.req
+-prev +ljobs
+-prev +li
+-prev +lintl
+ prev ${mam_libdl}
+ exec - iffe -v -c '${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ' ref ${mam_cc_L+-L.} ${mam_cc_L+-L${PACKAGE_ast_LIB}} -I${PACKAGE_ast_INCLUDE} -I${INSTALLROOT}/include ${mam_libcmd} ${mam_libdll} ${mam_libm} ${mam_libast} ${mam_libm} : run features/ttys
+ done FEATURE/ttys dontcare generated
+@@ -373,9 +349,6 @@
+ make features/locale
+ done features/locale
+ prev shell.req
+-prev +ljobs
+-prev +li
+-prev +lintl
+ prev ${mam_libdl}
+ exec - iffe -v -c '${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ' ref ${mam_cc_L+-L.} ${mam_cc_L+-L${PACKAGE_ast_LIB}} -I${PACKAGE_ast_INCLUDE} -I${INSTALLROOT}/include ${mam_libcmd} ${mam_libdll} ${mam_libm} ${mam_libast} ${mam_libm} : run features/locale
+ done FEATURE/locale dontcare generated
+@@ -471,9 +444,6 @@
+ make features/poll
+ done features/poll
+ prev shell.req
+-prev +ljobs
+-prev +li
+-prev +lintl
+ prev ${mam_libdl}
+ exec - iffe -v -c '${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ' ref ${mam_cc_L+-L.} ${mam_cc_L+-L${PACKAGE_ast_LIB}} -I${PACKAGE_ast_INCLUDE} -I${INSTALLROOT}/include ${mam_libcmd} ${mam_libdll} ${mam_libm} ${mam_libast} ${mam_libm} : run features/poll
+ make cell_sys_headers.h implicit
+@@ -503,9 +473,6 @@
+ make features/externs
+ done features/externs
+ prev shell.req
+-prev +ljobs
+-prev +li
+-prev +lintl
+ prev ${mam_libdl}
+ exec - iffe -v -c '${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ' ref ${mam_cc_L+-L.} ${mam_cc_L+-L${PACKAGE_ast_LIB}} -I${PACKAGE_ast_INCLUDE} -I${INSTALLROOT}/include ${mam_libcmd} ${mam_libdll} ${mam_libm} ${mam_libast} ${mam_libm} : run features/externs
+ done FEATURE/externs generated
+@@ -541,9 +508,6 @@
+ make features/rlimits
+ done features/rlimits
+ prev shell.req
+-prev +ljobs
+-prev +li
+-prev +lintl
+ prev ${mam_libdl}
+ exec - iffe -v -c '${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ' ref ${mam_cc_L+-L.} ${mam_cc_L+-L${PACKAGE_ast_LIB}} -I${PACKAGE_ast_INCLUDE} -I${INSTALLROOT}/include ${mam_libcmd} ${mam_libdll} ${mam_libm} ${mam_libast} ${mam_libm} : run features/rlimits
+ done FEATURE/rlimits dontcare generated
+@@ -603,17 +567,11 @@
+ prev FEATURE/externs implicit
+ make FEATURE/execargs implicit
+ prev shell.req
+-prev +ljobs
+-prev +li
+-prev +lintl
+ prev ${mam_libdl}
+ exec - iffe -v -c '${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ' ref ${mam_cc_L+-L.} ${mam_cc_L+-L${PACKAGE_ast_LIB}} -I${PACKAGE_ast_INCLUDE} -I${INSTALLROOT}/include ${mam_libcmd} ${mam_libdll} ${mam_libm} ${mam_libast} ${mam_libm} : def execargs
+ done FEATURE/execargs generated
+ make FEATURE/pstat implicit
+ prev shell.req
+-prev +ljobs
+-prev +li
+-prev +lintl
+ prev ${mam_libdl}
+ exec - iffe -v -c '${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ' ref ${mam_cc_L+-L.} ${mam_cc_L+-L${PACKAGE_ast_LIB}} -I${PACKAGE_ast_INCLUDE} -I${INSTALLROOT}/include ${mam_libcmd} ${mam_libdll} ${mam_libm} ${mam_libast} ${mam_libm} : def pstat
+ done FEATURE/pstat generated
+@@ -1091,9 +1049,6 @@
+ make features/math
+ done features/math
+ prev shell.req
+-prev +ljobs
+-prev +li
+-prev +lintl
+ prev ${mam_libdl}
+ exec - iffe -v -c '${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ' ref ${mam_cc_L+-L.} ${mam_cc_L+-L${PACKAGE_ast_LIB}} -I${PACKAGE_ast_INCLUDE} -I${INSTALLROOT}/include ${mam_libcmd} ${mam_libdll} ${mam_libm} ${mam_libast} ${mam_libm} : run features/math
+ done FEATURE/math generated
+@@ -1157,9 +1112,6 @@
+ make features/cmds
+ done features/cmds
+ prev shell.req
+-prev +ljobs
+-prev +li
+-prev +lintl
+ prev ${mam_libdl}
+ exec - iffe -v -c '${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ' ref ${mam_cc_L+-L.} ${mam_cc_L+-L${PACKAGE_ast_LIB}} -I${PACKAGE_ast_INCLUDE} -I${INSTALLROOT}/include ${mam_libcmd} ${mam_libdll} ${mam_libm} ${mam_libast} ${mam_libm} : run features/cmds
+ done FEATURE/cmds dontcare generated
+@@ -1226,9 +1178,6 @@
+ exec - (ranlib libshell.a) >/dev/null 2>&1 || true
+ done libshell.a generated
+ bind -lshell
+-prev +ljobs
+-prev +li
+-prev +lintl
+ prev ${mam_libdl}
+ exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ${mam_cc_L+-L.} ${mam_cc_L+-L${PACKAGE_ast_LIB}} -o ksh pmain.o ${mam_libshell} ${mam_libast} ${mam_libm}
+ done ksh generated
+@@ -1246,9 +1195,6 @@
+ exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -Iinclude -I${PACKAGE_ast_INCLUDE} -DSH_DICT=\""libshell"\" -DSHOPT_KIA -D_PACKAGE_ast -DSHOPT_DYNAMIC -DSHOPT_OO -DUSAGE_LICENSE=\""[-author?David Korn <dgk@research.att.com>][-copyright?Copyright (c) 1982-2003 AT&T Corp.][-license?http://www.research.att.com/sw/license/ast-open.html][--catalog?libshell]"\" -c sh/shcomp.c
+ done shcomp.o generated
+ prev libshell.a archive
+-prev +ljobs
+-prev +li
+-prev +lintl
+ prev ${mam_libdl}
+ setv CC.DLL -UCC.DLL
+ setv SH_DICT -DSH_DICT="\"libshell\""
+@@ -1273,9 +1219,6 @@
+ setv _BLD_shell -U_BLD_shell
+ exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} -I. -I${PACKAGE_ast_INCLUDE} -D_PACKAGE_ast -c sh/suid_exec.c
+ done suid_exec.o generated
+-prev +ljobs
+-prev +li
+-prev +lintl
+ prev ${mam_libdl}
+ setv CC.DLL -UCC.DLL
+ exec - ${CC} ${mam_cc_FLAGS} ${CCFLAGS} ${LDFLAGS} ${mam_cc_L+-L.} ${mam_cc_L+-L${PACKAGE_ast_LIB}} -o suid_exec suid_exec.o ${mam_libast} ${mam_libm}
+diff -ruN ksh-93.20030724.orig/work/src/lib/libast/features/iconv ksh-93.20030724/work/src/lib/libast/features/iconv
+--- ksh-93.20030724.orig/work/src/lib/libast/features/iconv 2002-09-16 14:39:13.000000000 +0100
++++ ksh-93.20030724/work/src/lib/libast/features/iconv 2003-09-06 03:00:26.000000000 +0100
+@@ -1,6 +1,6 @@
+ set prototyped
+ hdr iconv
+-lib iconv_open,iconv_close,iconv -liconv
++lib iconv_open,iconv_close,iconv -lc
+ nxt iconv
+
+ tst output{
+diff -ruN ksh-93.20030724.orig/work/src/lib/libast/Makefile ksh-93.20030724/work/src/lib/libast/Makefile
+--- ksh-93.20030724.orig/work/src/lib/libast/Makefile 2003-06-24 03:03:59.000000000 +0100
++++ ksh-93.20030724/work/src/lib/libast/Makefile 2003-09-06 03:00:26.000000000 +0100
+@@ -195,8 +195,7 @@
+ err.c exp.c exp__E.c expm1.c gamma.c getpass.c lgamma.c log.c log1p.c \
+ log__L.c rand48.c random.c rcmd.c rint.c support.c \
+ /* obsolete */ \
+- spawn.c \
+- -liconv /* this *has* to be wrong */
++ spawn.c
+
+ /*
+ * man is stdio.h problematic
+diff -ruN ksh-93.20030724.orig/work/src/lib/libast/Mamfile ksh-93.20030724/work/src/lib/libast/Mamfile
+--- ksh-93.20030724.orig/work/src/lib/libast/Mamfile 2003-07-25 19:59:21.000000000 +0100
++++ ksh-93.20030724/work/src/lib/libast/Mamfile 2003-09-06 03:00:26.000000000 +0100
+@@ -210,7 +210,7 @@
+ exec - case "" in
+ exec - *?) echo " " ;;
+ exec - esac
+-exec - for i in ast iconv
++exec - for i in ast
+ exec - do case $i in
+ exec - "ast"|ast)
+ exec - ;;
+diff -ruN ksh-93.20030724.orig/work/src/lib/libcmd/features/ids ksh-93.20030724/work/src/lib/libcmd/features/ids
+--- ksh-93.20030724.orig/work/src/lib/libcmd/features/ids 1996-05-10 04:18:49.000000000 +0100
++++ ksh-93.20030724/work/src/lib/libcmd/features/ids 2003-09-06 03:00:26.000000000 +0100
+@@ -1,5 +1,4 @@
+ lib endgrent,getgrent,setgrent
+-lib fsid,getfsgid,isfsg sys/types.h sys/fss.h fsg.h -lfsg
+ mac fsid sys/types.h sys/fss.h fsg.h
+ cat{
+ #if !_lib_fsid && _mac_fsid
+diff -ruN ksh-93.20030724.orig/work/src/lib/libcmd/Makefile ksh-93.20030724/work/src/lib/libcmd/Makefile
+--- ksh-93.20030724.orig/work/src/lib/libcmd/Makefile 2003-04-15 16:05:19.000000000 +0100
++++ ksh-93.20030724/work/src/lib/libcmd/Makefile 2003-09-06 03:00:26.000000000 +0100
+@@ -18,8 +18,7 @@
+ cp.c cut.c dirname.c date.c expr.c fmt.c fold.c getconf.c head.c \
+ id.c join.c ln.c logname.c mkdir.c mkfifo.c mv.c paste.c \
+ pathchk.c rev.c rm.c rmdir.c stty.c tail.c tee.c tty.c \
+- uname.c uniq.c wc.c revlib.c wclib.c \
+- -lfsg
++ uname.c uniq.c wc.c revlib.c wclib.c
+
+ $(INCLUDEDIR) :INSTALLPROTO: cmd.h
+
+diff -ruN ksh-93.20030724.orig/work/src/lib/libcmd/Mamfile ksh-93.20030724/work/src/lib/libcmd/Mamfile
+--- ksh-93.20030724.orig/work/src/lib/libcmd/Mamfile 2003-07-25 19:59:30.000000000 +0100
++++ ksh-93.20030724/work/src/lib/libcmd/Mamfile 2003-09-06 03:00:26.000000000 +0100
+@@ -48,7 +48,7 @@
+ exec - case "" in
+ exec - *?) echo " " ;;
+ exec - esac
+-exec - for i in cmd fsg ast
++exec - for i in cmd ast
+ exec - do case $i in
+ exec - "cmd"|cmd)
+ exec - ;;
+diff -ruN ksh-93.20030724.orig/work/src/lib/libdll/Makefile ksh-93.20030724/work/src/lib/libdll/Makefile
+--- ksh-93.20030724.orig/work/src/lib/libdll/Makefile 2002-07-26 07:43:05.000000000 +0100
++++ ksh-93.20030724/work/src/lib/libdll/Makefile 2003-09-06 03:00:26.000000000 +0100
+@@ -4,7 +4,7 @@
+
+ CCFLAGS = $(CC.OPTIMIZE) $(CC.DLL)
+
+-dll 1.0 :LIBRARY: dlfcn.c dllfind.c dllnext.c dlllook.c dllscan.c -ldl -ldld
++dll 1.0 :LIBRARY: dlfcn.c dllfind.c dllnext.c dlllook.c dllscan.c -ldl
+
+ $(INCLUDEDIR) :INSTALLPROTO: dlldefs.h
+
+diff -ruN ksh-93.20030724.orig/work/src/lib/libdll/Mamfile ksh-93.20030724/work/src/lib/libdll/Mamfile
+--- ksh-93.20030724.orig/work/src/lib/libdll/Mamfile 2003-07-25 19:59:33.000000000 +0100
++++ ksh-93.20030724/work/src/lib/libdll/Mamfile 2003-09-06 03:00:26.000000000 +0100
+@@ -48,7 +48,7 @@
+ exec - case "" in
+ exec - *?) echo " " ;;
+ exec - esac
+-exec - for i in dll dl dld ast
++exec - for i in dll dl ast
+ exec - do case $i in
+ exec - "dll"|dll)
+ exec - ;;
diff --git a/app-shells/ksh/ksh-93.20030724.ebuild b/app-shells/ksh/ksh-93.20030724.ebuild
new file mode 100644
index 000000000000..bdf395a9d462
--- /dev/null
+++ b/app-shells/ksh/ksh-93.20030724.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-shells/ksh/ksh-93.20030724.ebuild,v 1.1 2003/09/06 11:11:05 taviso Exp $
+
+inherit ccc eutils
+
+RELEASE="2003-07-24"
+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="~x86 ~alpha"
+IUSE="static nls"
+
+DEPEND="virtual/glibc
+ >=sys-apps/sed-4"
+RDEPEND="virtual/glibc"
+
+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
+
+ # fix some craziness.
+ epatch ${FILESDIR}/ksh-93.20030724-libs.diff
+}
+
+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=${CC:-gcc} || true
+
+ # 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
+ newexe ${my_arch}/bin/ok/ksh ksh93
+
+ # FIXME: talk to pdksh maintainer about making this nicer,
+ # how can we co-exist nicely without blocking?
+ [ ! -f /bin/ksh ] && dosym /bin/ksh93 /bin/ksh
+
+ 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
+}