Subject: DIST_PATH and local ftp mirrors
To: None <tech-pkg@netbsd.org>
From: Ron Roskens <roskens@elfin.net>
List: tech-pkg
Date: 10/04/2001 11:14:56
I have the following settings in my /etc/mk.conf:

MASTER_SITE_GNU=ftp://ftp/pub/gnu/
DIST_PATH=/ftp/gnu

When I build a GNU package, the system will always download a copy of the
source tarball, rather than making a symlink from DIST_PATH.

If I modify the Makefile to use
MASTER_SITES=${MASTER_SITE_GNU}
DIST_SUBDIR=package

It does the symlinking which I want, but fails in the checksum because the
file is now package/package-number.tar.gz.

Any thoughts on how to make the pkgsrc utilize the local copy rather than
downloading the file into $DISTFILES?

Ron