Subject: pkg/19066 -- please add uname to sh-utils
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 03/14/2003 11:22:23
Will someone fix sysutils/sh-utils so uname is built and installed?
It works fine under NetBSD:
rainier:/usr/pkgsrc/sysutils/sh-utils$ ./work.rainier/sh-utils-2.0/src/uname -a
NetBSD rainier.reedmedia.net 1.6 NetBSD 1.6 (JCR-20020927) #3: Sat Sep 28
13:40:20 PDT 2002
reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/JCR-20020927
i386 unknown
Here's a patch (which also includes longer DESCR -- I wonder if that part
that indicates that these GNU tools are better is necessary):
? sysutils/sh-utils/README.html
Index: sysutils/sh-utils/DESCR
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/sh-utils/DESCR,v
retrieving revision 1.1
diff -b -u -r1.1 DESCR
--- sysutils/sh-utils/DESCR 2001/10/31 22:53:46 1.1
+++ sysutils/sh-utils/DESCR 2003/03/14 19:20:47
@@ -1,3 +1,8 @@
These are the GNU shell utilities. Most of these programs have
significant advantages over their Unix counterparts, such as
greater speed, additional options, and fewer arbitrary limits.
+
+This package includes essential tools (and corresponding manuals)
+for: basename, chroot, date, echo, env, hostname, nice, nohup, id,
+printf, pwd, sleep, stty, tee, test, uname, who, whoami, yes, true
+and false, and a few other commands.
Index: sysutils/sh-utils/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/sh-utils/Makefile,v
retrieving revision 1.11
diff -b -u -r1.11 Makefile
--- sysutils/sh-utils/Makefile 2003/02/13 19:20:21 1.11
+++ sysutils/sh-utils/Makefile 2003/03/14 19:20:47
@@ -27,7 +27,6 @@
.endif
PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX}
BUILD_DEFS+= GNU_PROGRAM_PREFIX
-CONFIGURE_ENV+= ac_cv_func_uname=no
.include "../../mk/texinfo.mk"
.include "../../mk/bsd.pkg.mk"
Index: sysutils/sh-utils/PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/sh-utils/PLIST,v
retrieving revision 1.4
diff -b -u -r1.4 PLIST
--- sysutils/sh-utils/PLIST 2003/02/13 17:38:58 1.4
+++ sysutils/sh-utils/PLIST 2003/03/14 19:20:48
@@ -27,6 +27,7 @@
bin/${GNU_PROGRAM_PREFIX}test
bin/${GNU_PROGRAM_PREFIX}true
bin/${GNU_PROGRAM_PREFIX}tty
+bin/${GNU_PROGRAM_PREFIX}uname
bin/${GNU_PROGRAM_PREFIX}users
bin/${GNU_PROGRAM_PREFIX}who
bin/${GNU_PROGRAM_PREFIX}whoami
@@ -61,6 +62,7 @@
man/man1/${GNU_PROGRAM_PREFIX}test.1
man/man1/${GNU_PROGRAM_PREFIX}true.1
man/man1/${GNU_PROGRAM_PREFIX}tty.1
+man/man1/${GNU_PROGRAM_PREFIX}uname.1
man/man1/${GNU_PROGRAM_PREFIX}users.1
man/man1/${GNU_PROGRAM_PREFIX}who.1
man/man1/${GNU_PROGRAM_PREFIX}whoami.1
Index: sysutils/sh-utils/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/sh-utils/distinfo,v
retrieving revision 1.3
diff -b -u -r1.3 distinfo
--- sysutils/sh-utils/distinfo 2001/10/12 21:20:37 1.3
+++ sysutils/sh-utils/distinfo 2003/03/14 19:20:48
@@ -3,4 +3,3 @@
SHA1 (sh-utils-2.0.tar.gz) = a2970bb68eafc4b35f44e8121390adb44409067c
Size (sh-utils-2.0.tar.gz) = 1243391 bytes
SHA1 (patch-aa) = a025d8665c6e4d9ccb17166a318c01c19c808861
-SHA1 (patch-ab) = bc904b6f3f0c7a48ca0f91533f0544e5ae1b974a
Thanks,
Jeremy C. Reed
http://bsd.reedmedia.net/