diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-03-21 04:48:02 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-03-21 04:48:02 +0000 |
commit | eb54ce685751a84fc9d4376bc3772fda2561de80 (patch) | |
tree | 02f0831890babc7a671b8cb781245e1dc57c6b72 /sys-apps/sh-utils | |
parent | New uname patch from LKML and rant-patch combined. (diff) | |
download | gentoo-2-eb54ce685751a84fc9d4376bc3772fda2561de80.tar.gz gentoo-2-eb54ce685751a84fc9d4376bc3772fda2561de80.tar.bz2 gentoo-2-eb54ce685751a84fc9d4376bc3772fda2561de80.zip |
-r2 and -r3 have been removed because they use the old uname patch and may cause breakage for static compiles.
Diffstat (limited to 'sys-apps/sh-utils')
-rw-r--r-- | sys-apps/sh-utils/files/digest-sh-utils-2.0.11-r2 | 2 | ||||
-rw-r--r-- | sys-apps/sh-utils/files/digest-sh-utils-2.0.11-r3 | 2 | ||||
-rw-r--r-- | sys-apps/sh-utils/sh-utils-2.0.11-r2.ebuild | 60 | ||||
-rw-r--r-- | sys-apps/sh-utils/sh-utils-2.0.11-r3.ebuild | 74 |
4 files changed, 0 insertions, 138 deletions
diff --git a/sys-apps/sh-utils/files/digest-sh-utils-2.0.11-r2 b/sys-apps/sh-utils/files/digest-sh-utils-2.0.11-r2 deleted file mode 100644 index 675c7c442e76..000000000000 --- a/sys-apps/sh-utils/files/digest-sh-utils-2.0.11-r2 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 78ba650ef854d0b8f2bfcf12997295c2 sh-utils-2.0.11.tar.gz 1667803 -MD5 0b61a85851c2197b62bd07376867e1a1 nuname-1.0.tar.gz 46757 diff --git a/sys-apps/sh-utils/files/digest-sh-utils-2.0.11-r3 b/sys-apps/sh-utils/files/digest-sh-utils-2.0.11-r3 deleted file mode 100644 index 675c7c442e76..000000000000 --- a/sys-apps/sh-utils/files/digest-sh-utils-2.0.11-r3 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 78ba650ef854d0b8f2bfcf12997295c2 sh-utils-2.0.11.tar.gz 1667803 -MD5 0b61a85851c2197b62bd07376867e1a1 nuname-1.0.tar.gz 46757 diff --git a/sys-apps/sh-utils/sh-utils-2.0.11-r2.ebuild b/sys-apps/sh-utils/sh-utils-2.0.11-r2.ebuild deleted file mode 100644 index 3b5136357f34..000000000000 --- a/sys-apps/sh-utils/sh-utils-2.0.11-r2.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-apps/sh-utils/sh-utils-2.0.11-r2.ebuild,v 1.1 2002/03/14 22:27:00 seemant Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="Your standard GNU shell utilities" -SRC_URI="ftp://alpha.gnu.org/gnu/fetish/${P}.tar.gz http://www2.cddc.vt.edu/linux/utils/shell/nuname-1.0.tar.gz" - -DEPEND="virtual/glibc nls? ( sys-devel/gettext )" - -RDEPEND="virtual/glibc" - -src_unpack() { - unpack ${P}.tar.gz - tar zxf ${DISTDIR}/nuname-1.0.tar.gz - cd ${S} - patch src/uname.c ../nuname/lin_uname_patch - mv ../nuname/README ../nuname/README.nuname -} - -src_compile() { - local myconf - use nls || myconf="--disable-nls" - CFLAGS="${CFLAGS}" ./configure --host=${CHOST} --build=${CHOST} \ - --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \ - --without-included-regex ${myconf} || die - - if [ -z "`use static`" ] - then - emake || die - else - emake LDFLAGS=-static || die - fi -} - -src_install() { - make prefix=${D}/usr mandir=${D}/usr/share/man infodir=${D}/usr/share/info install || die - rm -rf ${D}/usr/lib - dodir /bin - cd ${D}/usr/bin - mv date echo false pwd stty su true uname sleep ${D}/bin - - if [ -z "`use build`" ] - then - # We must use hostname from net-base - rm ${D}/usr/bin/hostname - cd ${S} - dodoc AUTHORS COPYING ChangeLog ChangeLog.0 NEWS README THANKS TODO - dodoc ../nuname/README.nuname - else - rm -rf ${D}/usr/share - fi - #we use the /bin/su from the sys-apps/shadow package - rm ${D}/bin/su - rm ${D}/usr/share/man/man1/su.1.gz - #we use the /usr/bin/uptime from the sys-apps/procps package - rm ${D}/usr/bin/uptime - rm ${D}/usr/share/man/man1/uptime.1.gz -} diff --git a/sys-apps/sh-utils/sh-utils-2.0.11-r3.ebuild b/sys-apps/sh-utils/sh-utils-2.0.11-r3.ebuild deleted file mode 100644 index b128fb03de6a..000000000000 --- a/sys-apps/sh-utils/sh-utils-2.0.11-r3.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-apps/sh-utils/sh-utils-2.0.11-r3.ebuild,v 1.2 2002/03/20 23:11:13 seemant Exp $ - -S=${WORKDIR}/${P} -DESCRIPTION="Your standard GNU shell utilities" -SRC_URI="ftp://alpha.gnu.org/gnu/fetish/${P}.tar.gz http://www2.cddc.vt.edu/linux/utils/shell/nuname-1.0.tar.gz" - -DEPEND="virtual/glibc nls? ( sys-devel/gettext )" - -RDEPEND="virtual/glibc" - -src_unpack() { - unpack ${P}.tar.gz - if [ -z "`use build`" ] - then - # patch to add Chipset info. in uname output - # this is not important for the static version, though - # and anyway, it breaks compilation on that version - tar zxf ${DISTDIR}/nuname-1.0.tar.gz - cd ${S} - patch src/uname.c ../nuname/lin_uname_patch - rm src/uname.c~ - mv ../nuname/README ../nuname/README.nuname - fi - cd ${S} - # patch to remove Stallman's rant about su and the wheel group - patch doc/sh-utils.texi ${FILESDIR}/${P}-gentoo.diff - rm doc/sh-utils.info -} - -src_compile() { - local myconf - use nls || myconf="--disable-nls" - CFLAGS="${CFLAGS}" ./configure --host=${CHOST} --build=${CHOST} \ - --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \ - --without-included-regex ${myconf} || die - - if [ -z "`use static`" ] - then - make || die - else - make LDFLAGS=-static || die - cd doc - make - fi -} - -src_install() { - make prefix=${D}/usr mandir=${D}/usr/share/man infodir=${D}/usr/share/info install || die - rm -rf ${D}/usr/lib - dodir /bin - cd ${D}/usr/bin - mv date echo false pwd stty su true uname sleep ${D}/bin - - if [ -z "`use build`" ] - then - # We must use hostname from net-base - rm ${D}/usr/bin/hostname - - cd ${S} - dodoc AUTHORS COPYING ChangeLog ChangeLog.0 NEWS README THANKS TODO - dodoc ../nuname/README.nuname - else - rm -rf ${D}/usr/share - fi - #we use the /bin/su from the sys-apps/shadow package - rm ${D}/bin/su - rm ${D}/usr/share/man/man1/su.1.gz - #we use the /usr/bin/uptime from the sys-apps/procps package - rm ${D}/usr/bin/uptime - rm ${D}/usr/share/man/man1/uptime.1.gz -} |