summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2008-10-02 02:59:30 +0000
committerJeremy Olexa <darkside@gentoo.org>2008-10-02 02:59:30 +0000
commit02fcac4b7386db23c61b35c91421c7d84d942146 (patch)
treee21b738841c67459f69a79f2ac88541dd6afa9de /app-shells
parentVersion bump <http://my.opera.com/desktopteam/blog/2008/10/01/opera-9-6-rc-1>... (diff)
downloadgentoo-2-02fcac4b7386db23c61b35c91421c7d84d942146.tar.gz
gentoo-2-02fcac4b7386db23c61b35c91421c7d84d942146.tar.bz2
gentoo-2-02fcac4b7386db23c61b35c91421c7d84d942146.zip
(non-maintainer commit) version bump app-shells/ksh for bug 230097, simple rename. remove old
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo x86_64)
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/ksh/ChangeLog9
-rw-r--r--app-shells/ksh/ksh-93.20040229.ebuild80
-rw-r--r--app-shells/ksh/ksh-93.20080725.ebuild70
3 files changed, 78 insertions, 81 deletions
diff --git a/app-shells/ksh/ChangeLog b/app-shells/ksh/ChangeLog
index 3eceb7b66945..c16f64105683 100644
--- a/app-shells/ksh/ChangeLog
+++ b/app-shells/ksh/ChangeLog
@@ -1,6 +1,13 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/app-shells/ksh/ChangeLog,v 1.36 2008/10/02 02:59:30 darkside Exp $
+
+*ksh-93.20080725 (02 Oct 2008)
+
+ 02 Oct 2008; Jeremy Olexa <darkside@gentoo.org> -ksh-93.20040229.ebuild,
+ +ksh-93.20080725.ebuild:
+ (non-maintainer commit) version bump app-shells/ksh for bug 230097, simple
+ rename. remove old
06 Feb 2008; nixnut <nixnut@gentoo.org> ksh-93.20071105.ebuild:
stable on ppc wrt bug #140705
diff --git a/app-shells/ksh/ksh-93.20040229.ebuild b/app-shells/ksh/ksh-93.20040229.ebuild
deleted file mode 100644
index cbfbd89fb25b..000000000000
--- a/app-shells/ksh/ksh-93.20040229.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# 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
-}
diff --git a/app-shells/ksh/ksh-93.20080725.ebuild b/app-shells/ksh/ksh-93.20080725.ebuild
new file mode 100644
index 000000000000..786457d1e203
--- /dev/null
+++ b/app-shells/ksh/ksh-93.20080725.ebuild
@@ -0,0 +1,70 @@
+# 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.20080725.ebuild,v 1.1 2008/10/02 02:59:30 darkside Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+RELEASE="2008-07-25"
+LOCALE_RELEASE="2008-07-25"
+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
+}