Subject: xsrc/7638: xsrc still uses bin:bin and /usr/pkg/bin should be in path
To: None <gnats-bugs@gnats.netbsd.org>
From: None <windsor@warthog.com>
List: netbsd-bugs
Date: 05/24/1999 09:35:56
>Number:         7638
>Category:       xsrc
>Synopsis:       xsrc still uses bin:bin and /usr/pkg/bin should be in path
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    xsrc-manager (NetBSD X11 bug manager)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon May 24 09:35:00 1999
>Last-Modified:
>Originator:     Rob Windsor
>Organization:
Nose Pickers Anonymous
>Release:        1.4
>Environment:
System: NetBSD nimh 1.4 NetBSD 1.4 (NIMH) #10: Sun May 16 22:35:02 PDT 1999 windsor@nimh:/usr/src/sys/arch/i386/compile/NIMH i386


>Description:
	It would appear that we are dropping bin:bin, and it would be
	nice if xsrc were consistent with that.

	Also, we should add /usr/pkg/bin to DefaultUserPath and /usr/pkg/sbin
	to DefaultSystemPath.

>How-To-Repeat:
	ls -l /usr/X11R6/bin /usr/bin
>Fix:
	Patch xsrc/xc/config/cf/NetBSD.cf as follows:
--- NetBSD.cf~	Sat May 22 12:37:03 1999
+++ NetBSD.cf	Mon May 24 11:12:09 1999
@@ -352,17 +352,17 @@
 #define StripInstalledPrograms	YES
 #define CompressAllFonts	YES
 #define GzipFontCompression	YES
-#define DefaultUserPath		/bin:/usr/bin:/usr/local/bin:$(BINDIR)
-#define DefaultSystemPath	/sbin:/usr/sbin:/bin:/usr/bin:$(BINDIR)
+#define DefaultUserPath		/bin:/usr/bin:/usr/local/bin:/usr/pkg/bin:$(BINDIR)
+#define DefaultSystemPath	/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:$(BINDIR)
 
-#define InstPgmFlags		-s -m 0555 -o bin -g bin
-#define InstBinFlags		-m 0555 -o bin -g bin
-#define InstUidFlags		-m 4511 -o root -g bin
-#define InstLibFlags		-m 0444 -o bin -g bin
-#define InstIncFlags		-m 0444 -o bin -g bin
-#define InstManFlags		-m 0444 -o bin -g bin
-#define InstDatFlags		-m 0444 -o bin -g bin
-#define InstKmemFlags		-m 2555 -o bin -g kmem
+#define InstPgmFlags		-s -m 0555 -o root -g wheel
+#define InstBinFlags		-m 0555 -o root -g wheel
+#define InstUidFlags		-m 4511 -o root -g wheel
+#define InstLibFlags		-m 0444 -o root -g wheel
+#define InstIncFlags		-m 0444 -o root -g wheel
+#define InstManFlags		-m 0444 -o root -g wheel
+#define InstDatFlags		-m 0444 -o root -g wheel
+#define InstKmemFlags		-m 2555 -o root -g kmem
 
 #ifdef  InstallCmd
 # undef  InstallCmd
>Audit-Trail:
>Unformatted: