Subject: pkg/34876: pkgsrc port pkgtools/digest doesn't install correctly on Darwin/MacOS X
To: None <email@example.com, firstname.lastname@example.org,>
From: None <email@example.com>
Date: 10/22/2006 10:00:01
>Synopsis: pkgsrc port pkgtools/digest doesn't install correctly on Darwin/MacOS X
>Arrival-Date: Sun Oct 22 10:00:00 +0000 2006
>Originator: Ulrich Hobelmann
Darwin firebird.heh.uni-oldenburg.de 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh powerpc
The pkgtools/digest port doesn't work on Darwin, as it uses a hardwired path to install itself.
I followed the instructions for Darwin to install pkgsrc into a UFS diskimage and set the path accordingly. Bootstrap worked fine.
The problem: digest doesn't install into the correct path, but into /usr/pkg/bin, where other ports or parts of the pkgsrc-make system don't find it (they look in the correct path).
Install pkgsrc on a Mac into a non-obvious location, such as /Volumes/PKGSRC (according to instructions).
Install digest (which is AFAIK done automatically by audit-packages).
Try /your-path/pkg/sbin/download-vulnerability-list. It'll say:
/Volumes/PKGSRC/pkg/sbin/download-vulnerability-list: line 1: /Volumes/PKGSRC/pkg/bin/digest: No such file or directory
***WARNING*** Checksum mismatch - recorded SHA1 checksum "7baf0475d421a435a1852f8a62036aec0debf93b", calculated checksum ""
Don't know enough about the pkgsrc build system...
Digest should respect the global settings, and install into /my-path/pkg/bin, not into /usr/pkg/bin.