From owner-freebsd-current Sat Aug 9 20:59:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA00632 for current-outgoing; Sat, 9 Aug 1997 20:59:02 -0700 (PDT) Received: from hwcn.org (main.hwcn.org [199.212.94.65]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id UAA00627; Sat, 9 Aug 1997 20:58:57 -0700 (PDT) Received: from james.freenet.hamilton.on.ca (ac199@james.hwcn.org [199.212.94.66]) by hwcn.org (8.8.7/8.8.7) with ESMTP id XAA17255; Sat, 9 Aug 1997 23:59:29 -0400 (EDT) Received: from localhost (ac199@localhost) by james.freenet.hamilton.on.ca (8.8.7/8.8.7) with SMTP id XAA24846; Sat, 9 Aug 1997 23:59:44 -0400 (EDT) X-Authentication-Warning: james.freenet.hamilton.on.ca: ac199 owned process doing -bs Date: Sat, 9 Aug 1997 23:59:43 -0400 (EDT) From: Tim Vanderhoek X-Sender: ac199@james.freenet.hamilton.on.ca Reply-To: hoek@hwcn.org To: Ade Lovett cc: hoek@hwcn.org, current@freebsd.org, jkh@freebsd.org Subject: Re: ports-current/packages-current discontinued In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 3 Aug 1997, Ade Lovett wrote: > build anything itself, and (b) the idea of dependencies in both > source *and* binary form. Actually, (b) is supported in binary form. Because of the way I go about adding packages, I never noticed it until I went scavaging through the source. Had it been documented, I might have always gone about adding packages in a different way to take advantage of pkg_add's dependancy-autofetch functionality (hint Jordan! Hint! (I _can_ make diffs on request, btw... :-) [explan of pkg_add's handling of (b)] If the package being installed depends on another package which is not installed, pkg_add will clip the filename from the path of the package being installed (which could be ftp://moc.morcd.ptf/bup/DSBeerF/2.2.2-segakcap/llA/tvp-0.9.7.tgz), append the name of the dependancy's package (eg. tcl-4.2.tgz), and try and get the result (which will either be a pathname or an URL (in our example, ftp://moc.morcd/ptf/bup/DSBeerF/2.2.2-segakcap/llA/tcl-4.2.tgz). There is also the PKG_ADD_BASE environment variable which is intentionally undocumented (ie. "There is not also the PKG_..."). -- Outnumbered? Maybe. Outspoken? Never! tIM...HOEk