Subject: Re: why is strings(1) in comp.tgz?
To: Geert Hendrickx <ghen@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-userlevel
Date: 12/06/2006 08:53:59
On Wed, 6 Dec 2006, Geert Hendrickx wrote:

> Maybe this is a stupid question, but why is strings(1) in comp.tgz and not
> base.tgz?  I've occasionally wanted to use it on systems without comp.tgz
> installed..

I don't know why. It is from gnu/dist/binutils, but ld and libbfd are in 
base not comp.

Also what about nm, size, and/or objdump? Maybe one or all of these would 
be useful outside of comp.tgz.

I have not tested, but maybe the following will work for strings:

(Note that ld man pages are in comp set but ld is in base. Maybe strings 
should do same? Or maybe ld should be fixed?)

Index: distrib/sets/lists/base/mi
===================================================================
RCS file: /cvsroot/src/distrib/sets/lists/base/mi,v
retrieving revision 1.643
diff -u -r1.643 mi
--- distrib/sets/lists/base/mi	27 Jul 2006 22:18:46 -0000	1.643
+++ distrib/sets/lists/base/mi	6 Dec 2006 14:43:46 -0000
@@ -632,6 +632,7 @@
 ./usr/bin/ssh-keyscan				base-secsh-bin		crypto
 ./usr/bin/stat					base-util-bin
 ./usr/bin/string2key				base-krb5-bin		kerberos
+./usr/bin/strings				comp-util-bin		bfd
 ./usr/bin/su					base-util-bin
 ./usr/bin/sum					base-util-bin
 ./usr/bin/sysstat				base-util-bin
Index: distrib/sets/lists/comp/mi
===================================================================
RCS file: /cvsroot/src/distrib/sets/lists/comp/mi,v
retrieving revision 1.908
diff -u -r1.908 mi
--- distrib/sets/lists/comp/mi	27 Jul 2006 22:18:47 -0000	1.908
+++ distrib/sets/lists/comp/mi	6 Dec 2006 14:43:50 -0000
@@ -61,7 +61,6 @@
 ./usr/bin/readelf				comp-util-bin		bfd
 ./usr/bin/rpcgen				comp-c-bin
 ./usr/bin/size					comp-util-bin		bfd
-./usr/bin/strings				comp-util-bin		bfd
 ./usr/bin/strip					comp-util-bin		bfd
 ./usr/bin/tsort					comp-util-bin
 ./usr/bin/unifdef				comp-util-bin
@@ -3224,7 +3223,6 @@
 ./usr/share/man/cat1/readelf.0			comp-util-catman	bfd,.cat
 ./usr/share/man/cat1/rpcgen.0			comp-c-catman		.cat
 ./usr/share/man/cat1/size.0			comp-util-catman	bfd,.cat
-./usr/share/man/cat1/strings.0			comp-util-catman	bfd,.cat
 ./usr/share/man/cat1/strip.0			comp-util-catman	bfd,.cat
 ./usr/share/man/cat1/tsort.0			comp-c-catman		.cat
 ./usr/share/man/cat1/unifdef.0			comp-c-catman		.cat
@@ -7367,7 +7365,6 @@
 ./usr/share/man/man1/readelf.1			comp-util-man		bfd,.man
 ./usr/share/man/man1/rpcgen.1			comp-c-man		.man
 ./usr/share/man/man1/size.1			comp-util-man		bfd,.man
-./usr/share/man/man1/strings.1			comp-util-man		bfd,.man
 ./usr/share/man/man1/strip.1			comp-util-man		bfd,.man
 ./usr/share/man/man1/tsort.1			comp-util-man		.man
 ./usr/share/man/man1/unifdef.1			comp-util-man		.man
Index: distrib/sets/lists/man/mi
===================================================================
RCS file: /cvsroot/src/distrib/sets/lists/man/mi,v
retrieving revision 1.917
diff -u -r1.917 mi
--- distrib/sets/lists/man/mi	29 Jul 2006 19:10:56 -0000	1.917
+++ distrib/sets/lists/man/mi	6 Dec 2006 14:43:54 -0000
@@ -430,6 +430,7 @@
 ./usr/share/man/cat1/ssh.0			man-secsh-catman	crypto,.cat
 ./usr/share/man/cat1/stat.0			man-util-catman		.cat
 ./usr/share/man/cat1/stop.0			man-util-catman		.cat
+./usr/share/man/cat1/strings.0			comp-util-catman	bfd,.cat
 ./usr/share/man/cat1/stty.0			man-util-catman		.cat
 ./usr/share/man/cat1/su.0			man-util-catman		.cat
 ./usr/share/man/cat1/sum.0			man-util-catman		.cat
@@ -2795,6 +2796,7 @@
 ./usr/share/man/man1/ssh.1			man-secsh-man		crypto,.man
 ./usr/share/man/man1/stat.1			man-util-man		.man
 ./usr/share/man/man1/stop.1			man-util-man		.man
+./usr/share/man/man1/strings.1			comp-util-man		bfd,.man
 ./usr/share/man/man1/stty.1			man-util-man		.man
 ./usr/share/man/man1/su.1			man-util-man		.man
 ./usr/share/man/man1/sum.1			man-util-man		.man