Subject: pkg/34503: pkgsrc change to use sparseimages on OS X 10.3+/Darwin 7+ [patch]
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 09/09/2006 17:25:00
>Number:         34503
>Category:       pkg
>Synopsis:       pkgsrc change to use sparseimages on OS X 10.3+/Darwin 7+ [patch]
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 09 17:25:00 +0000 2006
>Originator:     Andy Carrel
>Release:        n/a
Darwin mac.local 8.7.1 Darwin Kernel Version 8.7.1: Wed Jun  7 16:19:56 PDT 2006; root:xnu-792.9.72.obj~2/RELEASE_I386 i386 i386

The current pkgsrc instructions for Darwin advise creation of a fixed size disk image for storing pkgsrc information on. OS X and Darwin both support flexible size images for HFSX (HFS+ case-sensitive) images that can grow as needed. Being able to grow and compact the case-sensitive image on disk takes the guess work out of a pkgsrc installation on these operating systems.

A patch to pkgsrc/bootstrap/darwindiskimage from HEAD is linked below. Please contact me if it doesn't make it through successfully. 

I can work on additional fixes to the documentation for both README.Darwin and README.MacOSX if this looks acceptable to the maintainer of the Darwin bootstrapping code.

Assuming root and making appropriate symlinks for the disk image is also likely advisable.
See full description.
patch at
(contains a gratuitous -x on the #!/bin/sh line, sorry about that.)