Subject: Re: binary packages for Mac OS X?
To: Greg Troxel <gdt@ir.bbn.com>
From: Louis Guillaume <lguillaume@berklee.edu>
List: pkgsrc-users
Date: 10/23/2007 22:43:55
Greg Troxel wrote:
> I am trying to help someone run subversion on a Mac, and the server is
> https (DAV over SSL).  Apparently the svn clients from other packaging
> systems don't do https, or perhaps there's something else wrong.
> Because of this (and the reason isn't really important), I wanted to use
> pkgsrc to get subversion for macs.
> 
> I've never used pkgsrc on other than NetBSD.
> 
> Reading the documentation, it seems there are two paths:
> 
> 1) a) untar binary bootstrap kit
>    b) pkg_add from binary packages
> 
> 2) run bootstrap from source, and then 'make package'
> 
> Normally I would do #2, but it seems that because Macs have a
> case-preserving filesystem, one can't just unpack and instead must
> create a UFS filesystem for pkgsrc.  So I looked into 1, and it seems
> the available builds are for Darwin 7.6, 8.1, and 8.2, and they seem to
> be built from the head of pkgsrc.
> 
> ver	bootstrap	subversion
> 7.6	December 2004   missing
> 8.0	March 2005	missing
> 8.1	June 2005	June 2005
> 
> Am I missing something, or are recent builds for Darwin just not
> available?
> 
> Is bootstrappnig with --ignore-case-check a reasonable thing to do?  All
> I want for now is subversion-base, and later amanda and a few other
> 'reasonable' packages.  This seems to indicated that it's ok:
> 
>   http://wiki.netbsd.se/How_to_use_pkgsrc_on_Mac_OS_X
> 
> I suppose creating a case-sensitive filesystem and checking out again is
> all I'd need to do to recover.
> 
> I found the contents of /usr/pkgsrc/bootstrap/README.{Darwin,MacOSX} to
> be a bit confusing - it seems partly duplicative at first, but then I
> figured out that it isn't really.  Plus, there's no discussion of
> --ignore-case-check and the cost/benefit of that approach.
> 
> (Finally, I'd like to suggest that commands to be run in README files
> not have any $ prefixes, so they can be cut/pasted.)


If you're interested (and have a way for me to send files to you), I 
have a binary bootstrap kit for Darwin: 
bootstrap-pkgsrc-Darwin-8.10.3-universal-20070921.pkg

I was able to build subversion-base and py24-subversion (enough for 
trac). But haven't attempted a full-on subversion meta-package build.

I have binaries for those too. And a bunch of others from pkgsrc-2007Q3...

ImageMagick-6.3.5.10.tgz
ap2-php5-5.2.4nb1.tgz
ap2-py24-python-3.2.10.tgz
apache-2.0.61.tgz
apr-0.9.16.2.0.61.tgz
autoconf-2.61.tgz
automake-1.10.tgz
bigreqsproto-1.0.2.tgz
bison-2.3.tgz
compositeproto-0.4.tgz
damageproto-1.1.0.tgz
digest-20070803.tgz
evieext-1.0.2.tgz
expat-2.0.1.tgz
fixesproto-4.0.tgz
fontconfig-2.4.2nb3.tgz
fontsproto-2.0.2.tgz
freetype2-2.3.5.tgz
gawk-3.1.5nb1.tgz
gettext-lib-0.14.6.tgz
gettext-tools-0.14.6.tgz
ghostscript-fonts-8.11nb1.tgz
glproto-1.4.8.tgz
gnupg-1.4.7.tgz
inputproto-1.4.2.1.tgz
jpeg-6bnb4.tgz
kbproto-1.0.3.tgz
lcms-1.16.tgz
libX11-1.1.3.tgz
libXau-1.0.3.tgz
libXdmcp-1.0.2.tgz
libXext-1.0.3.tgz
libXi-1.1.3.tgz
libexif-0.6.16.tgz
libgcrypt-1.2.4.tgz
libgpg-error-1.4nb2.tgz
libnbcompat-20070731.tgz
libtool-base-1.5.24nb5.tgz
libxml2-2.6.30.tgz
libxslt-1.1.22.tgz
neon-0.26.3nb1.tgz
p5-Digest-1.15.tgz
p5-Digest-SHA1-2.11.tgz
p5-MIME-Base64-3.07.tgz
p5-enum-1.016.tgz
p5-pkgsrc-Dewey-1.0nb1.tgz
perl-5.8.8nb4.tgz
php-5.2.4nb3.tgz
php5-dom-5.2.4.tgz
php5-gd-5.2.4.tgz
php5-pear-1.5.4nb1.tgz
php5-pgsql-5.2.4.tgz
php5-xsl-5.2.4nb1.tgz
php5-zlib-5.2.4.tgz
pkg-config-0.21nb1.tgz
pkg_chk-1.87.tgz
pkglint-4.79.tgz
png-1.2.20.tgz
postgresql81-client-8.1.10.tgz
postgresql82-8.2.5.tgz
postgresql82-client-8.2.5.tgz
postgresql82-server-8.2.5.tgz
py24-clearsilver-0.10.1nb1.tgz
py24-mxDateTime-2.0.6nb1.tgz
py24-sqlite-1.0.1nb1.tgz
py24-subversion-1.4.4.tgz
python24-2.4.4.tgz
randrproto-1.2.1.tgz
rc.subr-20041011nb1.tgz
rcorder-20031013.tgz
readline-5.2.tgz
renderproto-0.9.2.tgz
resourceproto-1.0.2.tgz
ruby18-base-1.8.6.111.tgz
scrnsaverproto-1.1.0.tgz
sqlite-2.8.16nb1.tgz
subversion-base-1.4.4nb1.tgz
tiff-3.8.2nb3.tgz
trac-0.10.3.1.tgz
trapproto-3.4.3.tgz
user-20040801.tgz
videoproto-2.2.2.tgz
vim-7.1.116.tgz
vim-share-7.1.116.tgz
xcmiscproto-1.1.2.tgz
xextproto-7.0.2.tgz
xf86bigfontproto-1.1.2.tgz
xf86dgaproto-2.0.2.tgz
xmlcatmgr-2.2nb1.tgz
xorg-dirs-1.1nb2.tgz
xorg-imake-6.9.0nb5.tgz
xproto-7.0.10.tgz
xtrans-1.0.4nb1.tgz


I think those xorg packages are left over from 2007Q2 (failed attempts 
to build xorg as a whole.) Otherwise most things are probably up-to-date.

Apart from a few PKG_OPTIONS, the only funky thing is that I have 
PKG_SYSCONFBASE=/etc

Louis