diff options
author | 2002-03-14 22:27:00 +0000 | |
---|---|---|
committer | 2002-03-14 22:27:00 +0000 | |
commit | 59995b800963169d85646f09d307e6dc8f0490c8 (patch) | |
tree | e3a46eccb1e805d3ae8dd02733053db4353a386c /sys-apps/sh-utils | |
parent | sash statically links in zlib... bumping dep up to 1.1.4 (diff) | |
download | historical-59995b800963169d85646f09d307e6dc8f0490c8.tar.gz historical-59995b800963169d85646f09d307e6dc8f0490c8.tar.bz2 historical-59995b800963169d85646f09d307e6dc8f0490c8.zip |
Added the nuname patch to uname to allow AMD and Cyrix users' processors to appear in uname -a output
Diffstat (limited to 'sys-apps/sh-utils')
-rw-r--r-- | sys-apps/sh-utils/ChangeLog | 10 | ||||
-rw-r--r-- | sys-apps/sh-utils/files/digest-sh-utils-2.0.11-r2 | 2 | ||||
-rw-r--r-- | sys-apps/sh-utils/sh-utils-2.0.11-r2.ebuild | 60 |
3 files changed, 71 insertions, 1 deletions
diff --git a/sys-apps/sh-utils/ChangeLog b/sys-apps/sh-utils/ChangeLog index 24a872c7ccc5..c1d3167fbe8f 100644 --- a/sys-apps/sh-utils/ChangeLog +++ b/sys-apps/sh-utils/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for sys-apps/sh-utils # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/sys-apps/sh-utils/ChangeLog,v 1.1 2002/02/01 21:53:37 gbevin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/sh-utils/ChangeLog,v 1.2 2002/03/14 22:27:00 seemant Exp $ + +*sh-utils-2.0.11-r2 (12 Mar 2002) + + 12 Mar 2002 Seemant Kulleen <seemant@gentoo.org> ChangeLog : + + Added a patch to uname.c from the nuname package. This allows display in the + uname output of more kinds of processors (AuthenticAMD, Cyrix, and possibly + Alpha, even though Gentoo does not exist for Alphas yet :). *sh-utils-2.0.11-r1 (1 Feb 2002) 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 new file mode 100644 index 000000000000..675c7c442e76 --- /dev/null +++ b/sys-apps/sh-utils/files/digest-sh-utils-2.0.11-r2 @@ -0,0 +1,2 @@ +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 new file mode 100644 index 000000000000..3b5136357f34 --- /dev/null +++ b/sys-apps/sh-utils/sh-utils-2.0.11-r2.ebuild @@ -0,0 +1,60 @@ +# 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 +} |