Subject: pkg/24010: Bootstrapping pkgsrc on MacOS X 10.3.2
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <andreas@planix.com>
List: netbsd-bugs
Date: 01/07/2004 08:58:27
>Number:         24010
>Category:       pkg
>Synopsis:       Bootstrapping pkgsrc on MacOS X 10.3.2
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 07 13:59:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Wrede <andreas@planix.com>
>Release:        Darwin 7.2.0
>Organization:
Planix, Inc.
>Environment:
System: Darwin wacko.wrede.pvt 7.2.0 Darwin Kernel Version 7.2.0: Thu Dec 11 16:20:23 PST 2003; root:xnu/xnu-517.3.7.obj~1/RELEASE_PPC  Power Macintosh powerpc
Architecture: powerpc
Machine: powerpc
>Description:
	I am trying to setup a build environment for pkgsrc on a 
MacOSX 10.3.2/Darwin 7.2.0 system.  I have installed the bootstrap-pkgsrc 
distribution,  followed the instructions in README.Darwin/README.MacOSX 
and had to make a couple of changes to get things to work.
>How-To-Repeat:
	Fetch bootstrap-pkgsrc and start following instructions
>Fix:
1. in ufsdiskimage, change
	line 35.  newfs  ->  /sbin/newfs
 	line 40.  disktool  ->  /usr/sbin/disktool

2. line 3 if the "Terse instructions" in README.Darwin should read
	"sudo /usr/sbin/chown ...." instead of "sudo chown ..."

3.  in bootstrap, change
	line 162.   need_mtree=no  ->  need_mtree=yes
	delete line 166 (check_prog mtreeprog mtree)

4.	add instructions for initial mk.conf
	$ cp mk.conf.example /etc/mk.conf

>Release-Note:
>Audit-Trail:
>Unformatted: